/*********************************************/
/**************** Containers *****************/
/*********************************************/
html, body{
    padding:0;
    margin:0;
    height:100%;
    width:100%;
    min-height:730px;
    min-width:300px;
    overflow: hidden; /* Solve IE11 and Edge scrollable login page*/
}
#backend_main{
    background:rgba(0, 0, 0, 1) url("/img/backend/login_background.jpg") no-repeat center center/cover;
    position:relative;
    height:100%;
    margin-top: 0;
    margin-left: 0;
    font-size:24px;
}
#frontend_main{
    background:rgba(0, 0, 0, 1) url("/img/backend/login_background.jpg") no-repeat center center/cover;
    position:relative;
    height:100%;
    margin-top: 0;
    margin-left: 0;
    font-size:24px;
}
main form{
    position:absolute;
    width:640px;
    left:50%;
    top:50%;
    transform: translate(-50%, -50%);
    background-color:white;
    box-shadow: 0 24px 48px 0 rgba(0,0,0,0.16);
    border-radius: 16px;
    padding:80px 160px;
}
main > form > section{
    position:relative;
}
/*********************************************/
/*************** Logo Elements ***************/
/*********************************************/

main .logo-container, .reset-password{
    text-align:center;
}
main h1{
    font-family: 'Ubuntu', sans-serif;
    font-size: 2rem;
    margin-bottom: 6rem;
    margin-top: 2.5rem;
    text-transform: uppercase;
    font-weight: 500;
}
/*********************************************/
/*************** Form Elements ***************/
/*********************************************/


.form-container > div, .email{
    width:100%;
    border-radius:5px;
}
.form-container img, .forgot-password img{
    width: 24px !important;
    transform: translateY(-214%);
    right: 15px;
    margin-left: 285px;
}
.reset-password img{
    width: 24px !important;
    transform: translateY(-202%);
    right: 15px;
    margin-left: 353px;
}

.alert-danger {
    margin-top:20px;
}

.form-container input {
    height: 42px;
    margin-bottom: 10px !important;
}
.form-container > div > input, .email > input{
    padding:12px;
    width:100%;
    border-radius:5px;
}
.form-container > .forgot{
    display:block;
    text-align:right;
    color:var(--tertiary_color_shade);
    text-decoration: underline !important;
    margin-top:5px;
    margin-bottom:45px;
    font-size: 1.4rem;
    font-weight:500;
}
.form-container > div > label, .email > label{
    margin:0;
    position:relative;
}
.form-container > div > label > img, .email > label > img{
    height:25px;
    position:absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
}
input[type="submit"], button{
    /* margin-bottom:20px; */
    border-radius:5px;
    width: 100%;
    height:48px;
    text-align:center;
    padding:5px 0;
}

input{
    border:0;
    outline:0;
    padding:10px 5px 10px 0;
    font-size:0.65em;
}

#cancel-button{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
#confirmation-button{
    background-color: #DC0D15;
    /* margin-bottom: 20px; */
    border-radius: 5px;
    color: white;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 5px 0;
    transition: background-color 0.2s cubic-bezier(0.33, 0.95, 0.88, 0.98);
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.14rem;
    cursor: pointer;
}

#password-input{
    width: 100%;
}

#not-equal {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.5rem;
    color: #DC0D15;
    margin-bottom: .5rem;
    margin-top: .5rem;
    text-transform: none;
    letter-spacing: 0.08rem;
    word-wrap: normal;
    text-align: center;
    display: none;
}
/*********************************************/
/****************** Popups *******************/
/*********************************************/
.forgot-password{
    position:absolute;
    width:100%;
    height:100%;
    z-index:2;
    display:none;
    background-color:rgba(0, 0, 0, 0.5);
}
.alert-danger{
    color: #DC0D15;
    font-size: 1.4rem;
    text-align: center;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
}
.alert-danger .close{
    display: none !important;
}
.forgot-password > form, .email-sent  > form{
    width: 590px;
    padding: 55px;
}
section p {
    color: rgba(0,0,0,0.54);
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.4rem;
    text-align: center;
}
h4{
    text-align: center;
}
.forgot-password .email{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.forgot-password .email > div{
    width: 320px;
}

.forgot-password .email input {
    align-self: center;
}

.forgot-password .button-container {
    margin-top: 25px;
    display: flex;
}

.forgot-password .button-container > *  {
    width: 240px;
    margin-left: 7.5px;
    margin-right: 7.5px;
}


#email{
    padding-left: 15px;
}

.email-sent {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
}

.email-sent button {
    margin-top: 40px;
}
    /*position:absolute;*/
    /*z-index:2;*/
    /*display:none;*/
    /*background-color:rgba(0, 0, 0, 0.5);*/
    /*width:650px;*/
    /*left:50%;*/
    /*top:50%;*/
    /*transform: translate(-50%, -50%);*/
    /*background-color:white;*/
    /*-webkit-box-shadow: 2px 0px 22px 0px rgba(46,45,45,0.5);*/
    /*-moz-box-shadow: 2px 0px 22px 0px rgba(46,45,45,0.5);*/
    /*box-shadow: 2px 0px 22px 0px rgba(46,45,45,0.5);*/
    /*border-radius: 10px;*/
    /*padding:65px 130px;*/
    /*position: absolute;*/

    /*width: 100%;*/

    /*height: 100%;*/

/*}*/

.email-sent >a{
    background-color: var(--primary_color);
    color: white;
    box-shadow:0 8px 16px 0 rgba(86,31,24,0.16);
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.14rem;
    border-radius: 4px;
    border-style: none;
    cursor: pointer;
    width: 280px;
    height: 48px;
}

.reset-password{
    z-index:2;
    background-color:white;
}
.reset-success{
    position:absolute;
    z-index:2;
    background-color:rgba(0, 0, 0, 0.5);
    width:650px;
    left:50%;
    top:50%;
    transform: translate(-50%, -50%);
    background-color:white;
    -webkit-box-shadow: 2px 0px 22px 0px rgba(46,45,45,0.5);
    -moz-box-shadow: 2px 0px 22px 0px rgba(46,45,45,0.5);
    box-shadow: 2px 0px 22px 0px rgba(46,45,45,0.5);
    border-radius: 10px;
    padding:65px 130px;
}

.reset-password .button-container, .reset-success .button-container {
    text-align: center;
    margin-top:25px;
}

.reset-password input {
    height: 42px;
}

#submit-reset-password {

}

.reset-password > form > div > .alert-danger{
    margin: 0px 0 15px;
}
.reset-password > form{
    width:575px;
    padding: 45px 40px;
}
.forgot-password-icon{
    margin-right: 80px;
    transform: translateY(-60px) !important
}


/*********************************************/
/****************** Alerts *******************/
/*********************************************/
.alert{
    font-weight:500;
    background-color:transparent;
    border:none;

    padding:0;
}

.error input{
    /*border: 1px solid #DC0D15;*/
}

/*********************************************/
/****************** developer link *******************/
/*********************************************/
.developer-link-container{
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    bottom: 25px;
    text-align: center;
}

.developer-link{
    color: black;
    font-size: 16px;
}

.developer-link:hover {
    text-decoration: underline !important;
}

/*********************************************/
/*************** Media Queries ***************/
/*********************************************/
@media (max-width:770px){
    html, body{
        min-height:550px;
    }
    main{
        font-size:20px;
    }
    main form{
        width:500px;
    }
    .forgot-password form{
        width:450px;
    }
    .form-container img, .forgot-password img, .reset-password img{
        transform: translateY(-207%);
        margin-left: 147px;
    }
}
@media (max-width:525px){
    html, body{
        min-height:500px;
    }
    main .logo-container img{
        height:50px;
    }
    main form{
        width:300px;
        padding:30px;
    }
    .forgot-password form{
        width:275px;
        padding: 30px;
    }
    .form-container img, .forgot-password img, .reset-password img{
        margin-left: 200px;
    }
}

@media (max-width: 1413px){
    main {
        margin-left: 0 !important;
    }

    .developer-link-container{
        bottom: 10px;
    }

    .developer-link{
        font-size: 14px;
    }
}
