/* This stylesheet is added to wp-login.php for branding the default login page */

@font-face {
    font-family: 'TTNorm-Bold';
    src: url( ../fonts/TTNorm-Bold.woff ) format( 'woff' );
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'TiemposHeadline-Regular';
    src: url( ../fonts/TiemposHeadline-Regular.woff ) format( 'woff' );
    font-weight: 400;
    font-style: normal;
}

body {
    background-color: #f8f7f6;
}

.login h1 a {
    background-image: url( ../images/logo.svg );
    background-size: cover;
    color: #2e3928;
    height: 65px;
    width: 228px;
}

.login .message {
    border-left-color: #2e3928;
    color: #2e3928;
    font-family: TiemposHeadline-Regular, serif;
    font-size: 16px;
    letter-spacing: 0.05em;
}

.login #login_error {
    border-left-color: #bd361e;
    color: #bd361e;
    font-family: TiemposHeadline-Regular, serif;
    font-size: 16px;
    letter-spacing: 0.05em;
}

.login p#nav,
.login p#backtoblog {
    color: #2e3928;
    font-family: TiemposHeadline-Regular, serif;
    font-size: 16px;
}

#login {
    max-width: calc( 100% - 32px );
    width: 340px;
}

#loginform {
    background-color: #fafafa;
    padding: 32px;
}

#loginform p:first-of-type,
#loginform .user-pass-wrap {
    margin-bottom: 24px;
}

#loginform input[type="text"],
#loginform input[type="password"] {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    margin: 0;
    padding: 12px 16px;
}

#loginform label {
    color: #2e3928;
    font-family: 'TTNorm-Bold', sans-serif;
    font-size: 12px;
    letter-spacing: 0.1em;
    line-height: 20px;
    text-transform: uppercase;
}

#loginform .forgetmenot label {
    font-family: 'TiemposHeadline-Regular', serif;
    font-size: 15px;
    letter-spacing: 0.05em;
    line-height: 28px;
    text-transform: capitalize;
}

#loginform p.forgetmenot {
    margin-bottom: 12px;
}

.forgetmenot {
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-items: flex-start;
    width: 100%;
}

.forgetmenot input[type="checkbox"] {
    appearance: none;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    cursor: pointer;
    margin-right: 16px;
    padding: 12px !important;
    position: relative;
}

.forgetmenot input:checked:before {
    border-bottom: 2px solid #2e3928;
    border-right: 2px solid #2e3928;
    content: '';
    display: block;
    height: 20px;
    left: 8px;
    position: absolute;
    top: 0;
    transform: rotate( 35deg );
    width: 10px;
}

.submit {
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-items: flex-start;
    width: 100%;
}

.submit input[type="submit"] {
    background-color: #2e3928;
    border: none;
    border-radius: 2px;
    color: #f8f7f6;
    display: inline-block;
    font-family: 'TTNorm-Bold', sans-serif;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.25s ease-in-out;
    width: 100%;
}

.submit input[type="submit"]:hover {
    background-color: #4f6344;
    color: #f8f7f6;
}

.wp-core-ui .button.button-large {
    font-size: 14px;
    line-height: 20px;
    padding: 16px 24px;
}

.wp-core-ui .button-primary:focus {
    background-color: #2e3928;
    border: none;
    box-shadow: 0 0 0 1px #f8f7f6, 0 0 0 3px #2e3928;
    color: #f8f7f6;
}

.wp-core-ui .button-secondary {
    color: #2e3928;
}

.wp-core-ui .button-secondary:hover,
.wp-core-ui .button-secondary:focus {
    color: #4f6344;
}

.login .button.wp-hide-pw {
    height: 100%;
}

.login .button.wp-hide-pw:focus {
    border-color: #2e3928;
    box-shadow: 0 0 0 1px #2e3928;
}

@media screen and ( min-width: 768px ) {
    #login {
        max-width: 100%;
        width: 470px;
    }

    #loginform {
        padding: 64px;
    }
}