/**
 * @copyright 2015 MarkCon
 * @link http://www.markcon.hu
 */

@CHARSET "UTF-8";

/* Login oldal 

    Mindegyik elején: #login
    Alváltozatok: #login.Index, #login.PasswordReset, #login.NewPassword
*/

#login {
    background-image: url("../../Global/image/pattern-blue.png");
    background-repeat: repeat;
    padding: 60px 0;
    color: #fff;
}

#login h2 {
    text-align: left;
    margin-bottom: 1em;
    color: #fff;
}

#login p {
    font-size: 26px;
    line-height: 1.2em;
    margin-bottom: 30px;
}

#login .Form .Element {
    margin-bottom: 20px;
}

#login .Form label {
    display: block;
    float: left;
    width: 23%;
    line-height: 44px;
    text-transform: uppercase;
    font-size: 26px;
    font-family: 'PT Sans Narrow';
    margin-right: 2%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#login .TextCenter{
    text-align: center;
}

#login .TextUnderlined{
    text-decoration: underline;
}

#login .Form input[type="text"],
#login .Form input[type="email"],
#login .Form input[type="password"] {
    width: 100%;
    height: 44px;
    color: #888;
    font-size: 22px;
    padding: 0 10px 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background-clip: padding-box;
    border-radius: 3px;
    font-family: 'PT Sans';
}

#login .Button,
#login .Form button {
    display: block;
    height: 44px;
    width: 75%;
    margin: 0 auto;
    border-radius: 3px;
    line-height: 42px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 24px;
    font-family: 'PT Sans Narrow';
    padding: 0 15px;
    cursor: pointer;
    background-clip: padding-box;
    font-weight: bold;
    border: 1px solid #8affdf;
    background-color: #1ce4ae;
    color: #fff;
}

#login .ButtonTransparent{
    margin-bottom: 30px;
    display: inline-block;
    text-align: center;
    color: #fff;
    padding: 12px 15px;
    border: 1px solid #fff;
    border-radius: 3px;
    text-transform: uppercase;
    font-size: 24px;
    font-family: 'PT Sans Narrow';
    font-weight: bold;
}

#login .Button:hover{
    color: #fff !important;
}

#login .Info {
    margin: 20px auto;
    width: 100%;
    font-size: 26px;
    font-family: 'PT Sans Narrow';
    color: #fff;
    line-height: 1.2em;
}

#login .Info .Button{
    width: 75%;
}

#login .Info > div {
    margin-bottom: 5px;
}

#login .Info > div a {
    color: #fff;
}

#login .Message {
    width: 75%;
    margin-left: 25%;
    margin-bottom: 20px;
    font-size: 22px;
    border-radius: 3px;
    line-height: 22px;
    padding: 10px;
}

#login .Message.Success {
    border: 1px solid #8affdf;
    background-color: #1ce4ae;
}

#login .Message.Error {
    background-color: #e60d0d;
    border: 1px solid #b40000;
}

#login .Info a{
    -webkit-transition: color 150ms;
    -moz-transition: color 150ms;
    -ms-transition: color 150ms;
    -o-transition: color 150ms;
    transition: color 150ms;
}
#login .Info a:hover{
    color: #1ce4ae;
}

#login .Warning,
#login .Warning a{
    color: #e60d0d;
}

#login .Form label {
    display: block;
    width: 100%;
    line-height: 44px;
    text-transform: uppercase;
    font-size: 26px;
    font-family: 'PT Sans Narrow';
    margin-right: 2%;
    /* white-space: nowrap; */
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

#login .Checkbox{
    background-color: #fff;
    margin: 0px 15px 10px 0;
    float: left;
    clear: left;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 3px;
    cursor: pointer;
}

#login .Checkbox.Checked{
    background: #1ce4ae url("image/checked.png") no-repeat center;
    background-size: 20px;
}

#login .Checkbox input[type=checkbox]{
    width: 22px;
    height: 22px;
    opacity: 0;
    cursor: pointer;
}

#login .Form .Element.teacher {
    position: relative;
    margin-bottom: 0;
}

#login .Form .Element.accept label {
    float: none;
    display: inline-block;
    width: calc(100% - 58px);
    /*margin-left: 40px;*/
    text-transform: none;
    line-height: 1.2;
    font-size: 24px;
}

#login .Form .Element.accept a{
    color: #fff;
    text-decoration: underline;
}

#SelectLogin{

}

#SelectLogin .Column{
    padding-left: 6px;
    padding-right: 6px;
    overflow: hidden;
}

#SelectLogin .Column a{
    position: relative;
    padding-bottom: 58.8%;
    width: 100%;
    overflow: hidden;
    display: block;
}

#SelectLogin .Column a:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.25s ease;
}

#SelectLogin .Column a:hover:before{
    transform: scale(1.05);
}

#SelectLogin .Student a:before {background-image: url('image/diak-inactive.jpg');}
#SelectLogin .Student a:hover:before {background-image: url('image/diak-active.jpg');}
#SelectLogin .Teacher a:before {background-image: url('image/tanar-inactive.jpg');}
#SelectLogin .Teacher a:hover:before {background-image: url('image/tanar-active.jpg');}

#login .SocialInfo{
    line-height: 44px;
    text-transform: uppercase;
    font-size: 26px;
    font-family: 'PT Sans Narrow';
    margin-left: 25%;
    margin-top: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

#login .Social{
    height: 37px;
    width: 30%;
    display: inline-block;
    margin-top: 20px;
}

#login .Social a{
    display: block;
    text-transform: uppercase;
    font-size: 22px;
    padding: 2px 20px 2px 57px;
    border-radius: 3px;
    line-height: 34px;
    width: 100%;
    background-size: contain !important;
    text-align: center;
}

#login .Social.Facebook a{
    background: #11668c url("../../Global/image/icon/icon-fb.png") no-repeat center left;
}
#login .Social.Google{
    margin-left: 13%;
}
#login .Social.Google a{
    background: #e60d0d url("../../Global/image/icon/icon-gplus.png") no-repeat center left;
}


#login.PasswordReset .Form button,
#login.PasswordReset label,
#login.PasswordReset input[type="email"],
#login.PasswordReset input[type="text"],
#login.PasswordReset input[type="password"],
#login.PasswordReset .Message,
#login.PasswordReset .Info,
#login.NewPassword .Form button,
#login.NewPassword label,
#login.NewPassword input[type="email"],
#login.NewPassword input[type="text"],
#login.NewPassword input[type="password"],
#login.NewPassword .Message,
#login.NewPassword .Info,
#login.NewPassword .Form button{
    width: 100%;
    margin-left: auto;
}

#login.PasswordReset label,
#login.NewPassword label{
    float: none;
}


/* Responsive */
@media (min-width: 768px) {
    #login.PasswordReset .Column:nth-of-type(1),
    #login.NewPassword .Column:nth-of-type(1){
        width: 60%;
    }

    #login.PasswordReset .Column:nth-of-type(2),
    #login.NewPassword .Column:nth-of-type(2){
        width: 40%;
    }
}

@media (max-width: 480px) {
    #login .Form input[type="text"],
    #login .Form input[type="password"],
    #login .Form input[type="email"],
    #login .Form label{
        width: 100%;
    }
    #login .Checkbox{margin: 0 10px 0 0;}

    #login .Form .Element,
    #login .Info,
    #login .SocialInfo{
        margin-left: 0 !important;
    }

    #login .Form button{
        margin: 0 auto;
    }

    #login .Social{
        width: 100%;
        max-width: 173px;
        display: block;
        margin: 15px auto !important;
    }
}