html, body{
    height: 100%;
}

body{
    background-image: url(../images/admin-img/bg.jpg) !important;
    color: #fff !important;
    position: relative;
}

header{
    position: fixed;
    top: 0;
    height: 15%;
    background-color: #caaf76;
    width: 100%;
    border-bottom: 40px solid #fff;
}

header img{
    width: 180px;
    height: auto !important;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

#wrapper{
    height: 100%;
}

#container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#container img{
    max-width: 400px;
}

#ctr{
   display: flex;
   justify-content: flex-end;
   margin-right: 10%;
}

#ctr img{
    max-width: 230px;
    margin-bottom: 15px;
}

.login{
    min-width: 340px;
}

.login-form{
    max-width: 340px !important;
    display: flex;
    flex-direction: column;
    margin-right: 15%;
    padding: 20px;
    background-color: rgba(255,255,255,0.3);
}

.login-text{
    position: absolute;
    bottom: 10px;
    color: #fff;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
}

.form-block input{
    width: 100%;
}

.btn-primary{
    background-color: #caaf76;
    border: 1px solid #caaf76;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active{
    background-color: #caaf76 !important;
    border: 1px solid #caaf76;
    outline: none !important;
}

.error_list{
    display: none;
}

.remember{
    display: flex;
    justify-content: center;
}


@media(max-width: 768px){
#ctr{
   display: flex;
   justify-content: center !important;
   margin-right: 0%;
}

header{
    height: 12%;
}
}

@media(max-width: 564px){
    header{
        display: none;
    }

    #container img{
        max-width: 300px !important;
    }
}

@media(max-height: 564px){
    html, body{
        height: auto !important;
    }
    header{
        display: none;
    }

    #ctr{
        display: flex;
        justify-content: center !important;
        margin-right: 0%;
        padding:50px;
    }

    .login-text{
        bottom: 0;
    }


}

@media(max-width: 320px){
    .login-form{
        max-width: 300px !important;
    }


.login{
    min-width: 300px;
}
}

.remember-me{
    float: left;
}
.remember-me .inputcheck{
    margin-left: 10px;
}










