/* LOGO */
#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before {
    content: " ";
    width: 16px;
    height: 16px;
    margin: 2px;
    display: block;
    background-image: url("../img/admin-logo-w.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

/* LOGIN PAGE */

body.login {
    background: #000 url("../img/admin-symbol.png") no-repeat;
    background-attachment: fixed;
    background-size: 200vh;
    background-position: -70vh center;
    position: relative;
    width: 100%;
    height: 100%;
}

#login {
    position: absolute;
    right: 20vw;
    top: 30px;
    bottom: 30px;
    margin: auto 0 !important;
    width: 400px;
    height: max-content;
    padding: 40px 30px !important;
    background: white;
}

#login #backtoblog a:focus,
#login #nav a:focus {
    box-shadow: none;
    text-decoration: underline;
}

#login h1 a:focus,
.login h1 a:focus {
    box-shadow: none;
}

#login form {
    border: none !important;
    box-shadow: none !important;
}

#login form #user_login,
#login form #user_pass {
    border-color: #e5e5e5;
    background-color: #fff;
    box-shadow: none;
}

#login form #user_login:focus,
#login form #user_pass:focus,
#login form #rememberme:focus {
    border-color: var(--color-0);
    background-color: #fff;
}

#login .dashicons {
    color: var(--color-0);
}

#login .button.button-secondary:focus {
    border-color: transparent;
    box-shadow: none;
}

#login form #rememberme {
    position: relative;
    border-color: #e5e5e5;
    background-color: #fff;
    box-shadow: none;
}

#login form .button.button-primary.button-large {
    padding: 7px 22px;
}

#login h1 {
    margin-top: 20px;
    margin-bottom: 20px;
}

#login h1 a,
.login h1 a {
    background: url("../img/admin-logo-full.svg") no-repeat center center;
    width: 250px;
    height: 48px;
    -ms-background-size: contain !important;
    -o-background-size: contain !important;
    -moz-background-size: contain !important;
    -webkit-background-size: contain !important;
    background-size: contain !important;
    text-decoration: none;
    text-indent: -9999px;
    outline: 0;
    overflow: hidden;
    display: block;
    margin: 0 auto;
}

.login #backtoblog,
.login #nav {
    text-align: center;
}

.login_author_logo {
    position: fixed;
    background: url("../img/admin-logo-full-w.svg") no-repeat center center;
    background-size: contain;
    bottom: 40px;
    left: 40px;
    display: block;
    width: 180px;
    height: 35px;
    text-indent: -999999px;
}

.login_author_logo:focus {
    box-shadow: none;
}

.language-switcher {
    display: none;
}

@media (max-width: 1920px) {
    #login {
        right: 10vw;
    }
}

@media (max-width: 991px) {
    body.login {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        padding: 40px 20px 62px;
        box-sizing: border-box;
    }
    #login {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        margin: auto !important;
        width: 100%;
        max-width: 350px;
        padding: 30px 20px !important;
        box-sizing: border-box;
        height: auto;
    }

    #login form .button.button-primary.button-large {
        padding: 5px 17px;
    }
    .login_author_logo {
        position: relative;
        left: 0;
        right: 0;
        bottom: -29px;
        margin: 0 auto;
        width: 150px;
        height: 29px;
    }
}
@media (max-width: 480px) {
    #login {
        padding: 20px 20px !important;
    }
    .login form {
        margin-top: 20px;
        margin-left: 0;
        padding: 18px 0 25px;
    }
    .login label {
        font-size: 12px;
    }
    #login form .button.button-primary.button-large {
        padding: 0px 10px;
    }
    .login #backtoblog,
    .login #nav {
        margin: 5px;
    }
    .login .privacy-policy-page-link {
        margin: 2em 0 1em;
    }
}

@media (max-height: 600px) {
    body.login {
        padding: 20px 20px 40px;
    }
    .login_author_logo {
        bottom: -20px;
    }
}
