/*=====  GENERAL  =====*/
html,
body {
    height: 100%;
}

body {
    background: url("../img/bg.jpg") center center no-repeat;
    background-size: cover;
}

/*=====  Login  =====*/
#login {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    display: table;
    position: relative;
}

/*=====  Form  =====*/
#login .login-box {
    max-width: 400px;
    width: 100%;
    padding: 75px 25px;
    position: absolute;
    bottom: 50%;
    right: 50%;
    -webkit-transform: translate(50%, 50%);
    -moz-transform: translate(50%, 50%);
    -ms-transform: translate(50%, 50%);
    -o-transform: translate(50%, 50%);
    transform: translate(50%, 50%);

    background-color: rgba(255, 255, 255, 0.6);
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}

#login .img-brand {
    max-width: 250px;
    width: 100%;
    display: block;
    margin: 0 auto 30px;
}

#login .login-box form {
    display: table;
    width: 100%;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.5);
}

#login .form-group.user-name {
    margin-bottom: 20px;
}

#login .form-group.psw {
    margin-bottom: 40px;
}

#login label {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: normal;
}

#login .form-control {
    padding-left: 35px;
    background-color: rgba(224, 227, 233, 0.3);
    border: 0;
    border-bottom: 2px solid rgb(187, 189, 191);
}

#login .form-control:hover, #login .form-control:focus {
    background-color: rgba(224, 227, 233, 0.9);
    border-color: rgb(106, 109, 111);
}

#login .input-group {
    width: 100%;
}

#login .input-group .ipt-ico {
    position: absolute;
    left: 5px;
    top: 8px;
    width: 20px;
    z-index: 21;
    text-align: center;
}

#login .input-group .ipt-ico i {
    font-size: 18px;
    color: rgb(106, 109, 111);
}

#login .forgot-password {
    display: table;
    width: 100%;
    margin-bottom: 15px;
}

#login .input-group .help-block {
    width: 100%;
    float: left;
    padding: 5px 10px;
    margin-top: 0;
    background-color: #d15351;
    color: #fff;
    display: none;
}

/*=====  Footer  =====*/
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.35);
    padding: 5px;
    text-align: center;
    color: #fff;
    font-size: 18px;
}

.footer-central-links {
    display: table;
    width: 100%;
}

.footer-central-links a {
    display: inline-block;
    /*width: 60px;*/
    opacity: 1;
    vertical-align: middle;
}

.footer-central-links a:hover {
    opacity: 1;
}

.footer-central-links img {
    /*width: 35px;*/
}

@media only screen and (max-width: 520px) {
    #login .login-box {
        padding-right: 10px;
        padding-left: 10px;
    }

    footer {
        position: static;
    }

    .footer-central-links a {
        opacity: 1;
    }
}
