/*
Element Styles: Login Redirect
*/
html, body {
    height: 100%;
}

::-webkit-input-placeholder { /* Edge */
    font-family: "Comfortaa";
    font-size: 16px;
    line-height: 1em;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    font-family: "Comfortaa";
    font-size: 16px;
    line-height: 1em;
}

::placeholder {
    font-family: "Comfortaa";
    font-size: 16px;
    line-height: 1em;
}

body.ae-login {
    font-family: "Comfortaa", cursive;
    /* height: 100vh; */
}

.ae-login{
    background-image:url('/wp-content/themes/understrap-child-master/assets/img/askdrjonny_login1.jpg');
    background-repeat: no-repeat;
    background-size: 130%;
    background-position: bottom;
}

.ae-loginform {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
}

#login h1 { text-align: center; }
    
.ae-login #login h1 a {
    background-image: url(/wp-content/uploads/2025/08/cropped-cropped-askdrjonny_logo_resized-1.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: 80px !important;
    margin: 0.3em auto 0.8em;
    text-indent: -9999px;
    display: block;
    background-position: center;
}

.ae-loginform form {
    margin-top: -100px;
    margin-left: 0;
    padding: 100px 24px 24px;
    font-weight: 400;
    overflow: hidden;
}

.ae-formbox {
    max-width: 600px;
    width: 600px;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
    background-color: #fff;
    padding: 50px;
}

.ae-formbox label {
    color: #6e6e6e;
    font-weight: bold;
    margin-bottom: 0;
    font-family: "Comfortaa";
    font-size: 16px;
    display: none;
}

.ae-formbox p {
    margin-bottom: 0;
}

.ae-loginform .ae-formbox .btn-sign-up,
.ae-loginform .ae-formbox .reset-link {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
}

.ae-loginform .ae-formbox .btn-sign-up:hover,
.ae-loginform .ae-formbox .btn-sign-up:focus,
.ae-loginform .ae-formbox .btn-sign-up:active,
.ae-loginform .ae-formbox .reset-link:hover,
.ae-loginform .ae-formbox .reset-link:focus,
.ae-loginform .ae-formbox .reset-link:active {
    color: #e8403f !important;
    text-decoration: none !important;
    border-bottom: 1px solid #e8403f !important;
}

.ae-loginform a.btn-fb-login {
    font-family: "Helvetica", sans-serif;
    font-weight: 700;
    color: #fff;
    background: #4467b1;
    width: 380px;
    text-align: center;
    border: 0 none;
    border-radius: 25px 25px;
    padding: 12px 16px;
    margin: 20px auto 0;
    line-height: 1.5em;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ae-loginform a.btn-fb-login:hover,
.ae-loginform a.btn-fb-login:active,
.ae-loginform a.btn-fb-login:focus {
    color: #fff;
    background: #4f72bd;
}

.ae-loginform a.btn-fb-login .fa-facebook {
    font-size: 24px;
    margin-right: 15px;
    display: inline-block;
}

.ae-loginform .separator-or {
    font-family: "Comfortaa";
    font-size: 18px;
    color: #e8403f;
    text-align: center;
    margin: 1em auto 2em;
    width: 100%;
    position: relative;
    line-height: 1em;
}

.ae-loginform .separator-or span {
    display: inline-block;
    padding: 0 1em;
    background: #fff;
    position: relative;
    z-index: 1;
}

.ae-loginform .separator-or:after {
    content: '';
    border-bottom: 1px solid #eaeaea;
    position: absolute;
    top: 7px;
    left: 0;
    width: 100%;
    z-index: 0;
}

.ae-loginform form .input,
.login input[type=text] {
    font-family: "Helvetica", sans-serif;
    font-size: 16px;
    width: 380px;
    padding: 10px 20px;
    line-height: 1em;
    margin: 0 auto 10px;
    border: 1px solid #f0f0f0;
    border-radius: 0;
    display: block;
    outline: none;

    -webkit-appearance: none;
    appearance: none;
}

.ae-formbox .login-submit input#wp-submit {
    font-family: "Comfortaa";
    font-weight: 400 !important;
    color: #fff;
    background: #e8403f;
    width: 380px;
    border: 0 none;
    border-radius: 25px 25px;
    padding: 16px;
    margin: 20px auto 0;
    line-height: 1em;
    outline: none;
    display: block;
}

.ae-loginform #newnav {
    padding: 0 24px 10px;
    /*font-family: sans-serif;*/
    color: #6e6e6e;
    text-align: center;
    font-size: 13px;
}

.ae-login .wp_login_error {
    padding: 0 24px 24px;
    /* margin-top: 12px; */
    text-align: center;
    font-size: 13px;
    color:#6e6e6e;
}

.ae-formbox .login-submit input#wp-submit:hover {
    background-color:#CB3E3E;
}


.ae-loginform #newnav a:hover {
    color:#CB3E3E;
    text-decoration:underline;
}

#nsl-custom-login-form-1 {
    display: none;
}

@media only screen and (max-width: 864px) {
    .ae-login {
        background-size: 150%;
    }
}

@media only screen and (max-width: 768px) {
    .ae-login {
        background-size: 200%;
    }
}

@media only screen and (max-width: 600px) {
    .ae-login{
        background-size: 220%;
    }
    .ae-login #login h1 a {
        width: 100% !important;
    }
    .ae-loginform form {
        padding: 100px 0 24px;
    }
    .ae-formbox {
        max-width: 90%;
        width: 100%;
        padding: 25px;
        margin: auto;
    }
    .ae-formbox form input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
    .ae-formbox form input[type=button], .ae-formbox form input[type=submit],
    .ae-loginform a.btn-fb-login {
        width: 100% !important;
    }
}

@media only screen and (max-width: 480px) {
    .ae-login{
        background-size: 270%;
    }
    .ae-loginform form .input,
    .login input[type=text] {
        padding: 12px 20px 8px;
    }
}

@media only screen and (max-width: 320px) {
    .ae-login #login h1 a {
        margin: 0.3em auto 0.3em;
    }
    .ae-loginform .separator-or {
        margin: 0 auto 1em;
    }
}