/* Fonts */

@font-face {
    font-family: "Noto Sans";
    src: url('../assets/fonts/noto_sans/NotoSans-Regular.ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Noto Sans Bold";
    src: url('../assets/fonts/noto_sans/NotoSans-Bold.ttf');
    font-weight: 400;
    font-style: normal;
}

/* Hintergrundbild */
body.login {
    background: url('../assets/img/loginpage/stg-login-background.jpg') no-repeat center center fixed;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

/* Logo */
body.login #login > h1 a {
    background-image: url('../assets/img/loginpage/stg-logo.png');
    height: 95px;
    width: 300px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 40px auto;
}

body.login #login > h1 {
    background: #fff;
    padding: 40px 0 20px 0;
    border-radius: 15px 15px 0 0;
}

body.login #login {
    padding: 0;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 12px 16px rgba(0, 0, 0, .35);
    border-radius: 15px;
    position: absolute;
    left: calc(50% - 250px);
    top: 10%;
}

@media (max-width: 780px) {
    body.login #login {
        position: relative;
        left: unset;
        top: unset;
    }

    .mo_oauth_login_button::before {
        background: none !important;
    }

    .mo_oauth_login_button_text {
        margin-left: 0 !important;
    }

    .stg_login_footer {
        display: flex;
        flex-wrap: wrap;
    }
}

body.login #login #loginform, body.login #registerform {
    border: none;
    margin-top: 0;
    padding: 20px 40px 0 40px;
}

body.login #login #loginform .stg_lost_password {
    float: right;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    text-decoration: none;
    color: #162262;
}

body.login #login #loginform p label[for="user_login"], body.login #login #loginform .user-pass-wrap label[for="user_pass"], body.login #registerform p label[for="user_login"], body.login #registerform p label[for="user_email"], body.login #registerform #billing_first_name_field label[for="billing_first_name"], body.login #registerform #billing_last_name_field label[for="billing_last_name"], body.login #registerform #billing_state_field label[for="billing_state"] {
    font-family: "Noto Sans Bold", sans-serif;
    font-size: 14px;
    color: #162262;
}

body.login #login #loginform p #user_login, body.login #login #loginform .user-pass-wrap .wp-pwd #user_pass, body.login #registerform p #user_login, body.login #registerform p #user_email, body.login #registerform #billing_first_name_field .woocommerce-input-wrapper #billing_first_name, body.login #registerform #billing_last_name_field .woocommerce-input-wrapper #billing_last_name, body.login #registerform #billing_state_field .woocommerce-input-wrapper #billing_state {
    border-radius: 0;
    min-height: 40px;
}

input.login-error {
    border: 2px solid #d63638 !important;
    background-color: #fff5f5 !important;
}

input:focus.login-error {
    box-shadow: 0 0 0 3px #2271b1 !important;
}

body.login #registerform #billing_state_field .woocommerce-input-wrapper #billing_state {
    width: 100%;
    margin-bottom: 20px;
    max-width: unset;
}

body.login #registerform #billing_state_field .woocommerce-input-wrapper #billing_state {
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
}

body.login #registerform #billing_state_field .woocommerce-input-wrapper #billing_state::placeholder {
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
}

body.login #login #loginform .user-pass-wrap .wp-pwd .button .dashicons-visibility {
    color: #162262;
}

body.login #login #loginform .forgetmenot label[for="rememberme"], body.login #registerform #accept_terms_field .woocommerce-input-wrapper .checkbox, body.login #registerform p:nth-child(6) label {
    font-family: "Noto Sans";
    font-size: 14px;
    color: #162262;
}

.row {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    margin-top: 5px;
}

.row > a > .mo_oauth_login_button {
    margin: 0px;
    width: 99%
}

.row > a:focus {
    display: block;
    box-shadow: 0 0 0 1px #fff, 0 0 0 3px #2271b1;
}

input#rememberme:focus {
    box-shadow: 0 0 0 1px #fff, 0 0 0 3px #2271b1;
}

body.login #login #loginform .forgetmenot #rememberme, body.login #registerform #accept_terms_field .woocommerce-input-wrapper #accept_terms, body.login #registerform p label input[name="newsletter"] {
    background: #fff;
    border: 1px solid #162262;
    border-radius: 0;
    appearance: auto !important;
    -webkit-appearance: auto !important;
    accent-color: #162262;
}

body.login #registerform #accept_terms_field .woocommerce-input-wrapper .checkbox a {
    text-decoration: underline;
    color: #162262;
}

body.login #registerform #accept_terms_field .woocommerce-input-wrapper .checkbox a:hover {
    color: #FF5F6B;
}

body.login #registerform #accept_terms_field {
    margin: 20px 0;
}

body.login #registerform #accept_terms_field .woocommerce-input-wrapper #accept_terms {
    display: block;
    float: left;
    margin: 5px 10px 25px 0;
}

body.login #login #loginform .submit #wp-submit, body.login #registerform .submit #wp-submit {
    border: none;
    border-radius: 4px;
    background-color: #ffc428;
    color: #363636;
    font-family: "Noto Sans Bold", sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    height: 56px;
    width: 100%;
    margin: 20px 0;
}

body.login #login #backtoblog {
    display: none;
}

body.login #login #nav {
    text-align: center;
    margin: 0;
    background: #fff;
    padding: 0 0 10px 0;
}

body.login #login #nav .stg_login_register_txt, body.login #login #nav .stg_login_register_link, body.login #login #nav a {
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
}

body.login #login #nav .stg_login_register_txt {
    color: #162262;
    margin-right: 6px;
}

body.login #login #nav a.stg_login_register_link {
    color: #162262;
    text-decoration: underline;
}


body.login #login .stg_login_footer {
    text-align: center;
    padding: 80px 40px 40px 40px;
    background: #fff;
    border-radius: 0 0 15px 15px;
}

body.login #login .stg_login_footer a {
    padding: 0 5px;
    text-decoration: none;
    font-family: "Noto Sans";
    font-size: 14px;
    color: #6d6d6d;
}

/**** Registrierung ****/

body.login .message.register {
    border-left: 0;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    color: #363636;
    text-align: center;
    margin: 0;
    padding: 20px 0;
}

body.login #registerform #reg_passmail {
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    color: #363636;
    text-align: center;
    margin-top: 40px;
}

body.login #registerform label input[name="newsletter"] {
    display: block;
    float: left;
    margin: 5px 10px 60px 0;
}

body.login #registerform .required, body.login #registerform .optional {
    display: none;
}

body.login #login_error {
    margin: 0;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    color: #363636;
    padding: 20px 40px;
    border-left: none;
}

body.login #resetpassform, body.login form {
    margin: 0;
    border: none;
    box-shadow: none;
    padding: 20px 40px;
}

body.login #login-message, body.login .message.reset-pass, body.login-action-lostpassword #login .message {
    margin: 0;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    color: #363636;
    padding: 20px 40px;
    border-left: none;
    color: #162262;
    text-align: center;
}

body.login #login-message a {
    text-decoration: none;
    color: #50b3d7;
}

body.login .message.reset-pass a {
    text-decoration: none;
    display: block;
    background: #162262;
    margin-top: 20px;
    border: 2px solid #162262;
    text-transform: uppercase;
    height: 56px;
    line-height: 56px;
    font-size: 16px;
    font-family: "Noto Sans Bold", sans-serif;
    border-radius: 4px;
    color: #fff;
    transition: all .3s;
}

body.login .message.reset-pass a:hover {
    color: #162262;
    background: none;
}

/* Passwort zurücksetzen/festlegen */

body.login #resetpassform .user-pass1-wrap label[for="pass1"], body.login #resetpassform .description {
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    color: #6d6d6d;
    margin-bottom: 10px;
}

body.login #resetpassform .reset-pass-submit .wp-generate-pw {
    font-family: "Noto Sans", sans-serif;
    background: none;
    color: #162262;
    border: 2px solid #162262;
    font-size: 14px;
    padding: 3px 12px;
    border-radius: 8px;
    transition: all .3s;
}

body.login #resetpassform .reset-pass-submit .wp-generate-pw:hover {
    background: #162262;
    color: #fff;
}

body.login #resetpassform .reset-pass-submit #wp-submit, body.login-action-lostpassword #login #lostpasswordform .submit #wp-submit {
    font-family: "Noto Sans", sans-serif;
    background: #162262;
    color: #fff;
    border: 2px solid #162262;
    font-size: 14px;
    padding: 3px 12px;
    border-radius: 8px;
    transition: all .3s;
}

body.login #resetpassform .reset-pass-submit #wp-submit, body.login-action-lostpassword #login #lostpasswordform .submit #wp-submit:focus {
    box-shadow: 0 0 0 1px #fff, 0 0 0 3px #6EC0DE;
}

body.login #resetpassform .reset-pass-submit #wp-submit:hover, body.login-action-lostpassword #login #lostpasswordform .submit #wp-submit:hover {
    background: #fff;
    color: #162262;
}

body.login-action-rp #nav {
    display: none;
}

body.login-action-lostpassword #login #lostpasswordform p label[for="user_login"] {
    font-family: "Noto Sans Bold", sans-serif;
    font-size: 14px;
    color: #162262;
}

body.login-action-lostpassword #login #lostpasswordform p #user_login {
    border-radius: 0;
    min-height: 40px;
}

body.login-action-lostpassword #login #nav {
    display: none;
}

/* Media Queries */

@media screen and (min-width: 360px) {
    body.login #login {
        width: 100%;
        max-width: 360px;
        box-shadow: 0 6px 8px rgba(0, 0, 0, .35);
        border-radius: 15px;
        position: absolute;
        left: calc(50% - 180px);
        top: 10%;
    }

    body.login #login .stg_login_footer {
        padding: 40px 10px;
    }

    body.login #login #loginform, body.login #login #registerform {
        padding: 20px 20px 0 20px;
    }

    body.login #registerform label input[name="newsletter"] {
        margin: 5px 10px 80px 0;
    }

    body.login #login-message, body.login .message.reset-pass, body.login-action-lostpassword #login .message, body.login #resetpassform, body.login form {
        padding: 20px;
    }
}

@media screen and (min-width: 768px) {
    body.login #login {
        width: 100%;
        max-width: 500px;
        box-shadow: 0 12px 16px rgba(0, 0, 0, .35);
        border-radius: 15px;
        position: absolute;
        left: calc(50% - 250px);
        top: 10%;
    }

    body.login #login #loginform, body.login #login #registerform {
        padding: 20px 40px 0 40px;
    }

    body.login #login .stg_login_footer {
        padding: 60px 40px 40px 40px;
    }

    body.login #registerform label input[name="newsletter"] {
        margin: 5px 10px 60px 0;
    }

    body.login #login-message, body.login .message.reset-pass, body.login-action-lostpassword #login .message, body.login #resetpassform, body.login form {
        padding: 20px 40px;
    }
}