﻿/*
    Main color: #192e44
    Secondary color: #4d5b6b
*/

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    overflow-y: auto;
    vertical-align: baseline;
    background: url(../images/home/login-background.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100%;
}

body {
    overflow-x: hidden;
    background-color: transparent;
}

.main-login{
    position: relative;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 1000;
    margin-top: 170px;
    margin-bottom: 170px;
    overflow: hidden;
    animation: fadeIn;
}

/*.login-bg{
    position:fixed;
    top:0;
    left:0;
    margin:0;
    padding:0;
    width:100%;
    height:100%;
    background-color: #000;
    opacity:0.6;
    z-index: -1;
}*/

/*img.bg {
    min-height: 100%;
    min-width: 1024px;
    width: 100%;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
}*/

.login{
    position: relative;
    margin-top: 170px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 400px;
    height: auto;
    background-color: #FFF;
    border-radius: 3px;
    padding-bottom: 20px;
}

.login-header{
    position: relative;
    width: 100%;
    height: 120px;
    /*background-color: #29323c;*/
    background-color: #e8e8e8;
    color: #fff;
    padding: 10px 20px;
    margin-bottom: 15px;
    /*padding-bottom: 25px;*/
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.login-header img{
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
}

.login-title{
    font-size: 1.7em;
    font-weight: 100;
}

.username, .password{
    position:relative;
    padding:10px 55px !important;
}

.username i.usr, .password i.psw{
    position:absolute;
    top: 20px;
    left: 57px;
    opacity: 0.3;
}

.username input[type=text], .password input[type=password]{
    text-indent: 33px;
}

.username i.active, .password i.active{
    color: #4d5b6b;
    opacity:1;
}

.login-button{
    position:relative;
    padding:10px 55px !important;
}

.full-btn {
    width: 100%;
}

.lock{
    position:absolute;
    width:100%;
    height:98%;
    top:0px;
    background-color: #FFF;
    opacity:0.7;
    z-index:1;
    display: none;
}

.main-progress{
    position: absolute;
    bottom: -15px;
    width: 100%;
    display: none;
}

.login-msg{
    position:fixed;
    top:45%;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align:center;
    min-height: 48px;
    max-width: 300px;
    line-height: 1.5em;
    background-color: #323232;
    padding: 10px 25px;
    font-size: 1.1rem;
    font-weight: 300;
    color: #fff;
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    display:none;
    z-index:99;
}

.login-msg.success{
    background-color: #4fa944 !important;
}

.recover-text{
    text-align:center;
}

.recover-text a{
    color: #192e44;
    cursor:pointer;
}

.title{
    font-size: 1.7em;
    font-weight: 100;
}

.recover-text-email{
    position:relative;
    width:100%;
    min-height:50px;
    line-height:50px;
    text-align: right;
    font-size: 1.1em;
    font-weight: 400;
    color: #4d5b6b;
}

.recover-text-email i.material-icons{
    position:relative;
    top:6px;
}

.error-message {
    height: 0px;
    overflow: hidden;
    transition: height 300ms;
    text-align: center;
    color: #a66e26;
}

.input-error input[type=text], .input-error input[type=password], .input-error input[type=text]:focus, .input-error input[type=password]:focus{
    border-bottom: 1px solid #bd7c29 !important;
    -webkit-box-shadow: 0 1px 0 0 #bd7c29 !important;
    box-shadow: 0 1px 0 0 #bd7c29 !important;
}

.username.input-error i.active, .password.input-error i.active, .rcvr.input-error i.active, .rcvr.input-error i{
    color: #bd7c29 !important;
}

.footer{
    position: fixed;
    bottom:0;
    width: 100%;
    height: auto;
    text-align: center;
    padding-bottom: 10px;
    z-index: 1000;
}

/*@media screen and (max-width: 1024px)
{
    img.bg {
        left: 50%;
        margin-left: -512px;
    }
}*/

@media (max-width: 601px)
{
    
    .recover-text-email{
        text-align: center;
        font-size:1em;
        font-weight: 400;
    }

    .recover-input{
        text-align:center;
    }

}

@media (max-width: 430px)
{
    
    .login{
        width:90%;
    }

}

@media screen and (max-width: 350px)
{

    .username, .password {
        position: relative;
        padding: 10px 30px !important;
    }

    .username i.usr, .password i.psw {
        left: 31px;
    }

}

@media screen and (max-height: 800px)
{
    .footer{
        position: relative;
    }

    .main-login{
        margin-top:100px;
    }

}