/*
 * Styling for wp-login.php on the SSO server.
 * Replaces the "Custom Login" plugin and aligns the login screen with logout.php.
 */

@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600');

body.login {
    background-color: #e3e5e7;
    font-family: 'Open Sans', HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Replace the default WordPress logo with the RIC flag. */
#login h1 a {
    background-image: url('../images/ricvlag.svg');
    background-position: center;
    background-size: contain;
    height: 125px;
    width: 190px;
}

/* The login card, matching the logout page container. */
.login form {
    border-top: 4px solid #e57200;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
    color: #2d2d2d;
}

.login label {
    color: #2d2d2d;
}

.login input[type="text"],
.login input[type="password"] {
    background-color: #fefefe;
    color: #444;
}

.login input[type="text"]:focus,
.login input[type="password"]:focus {
    border-color: #e57200;
    box-shadow: 0 0 0 1px #e57200;
}

/* Primary button (Login, plus the two-factor "Authenticate" button). */
.wp-core-ui .button-primary {
    background: #e57200;
    border-color: #e57a00;
    color: #fff;
    text-shadow: none;
}

.wp-core-ui .button-primary:hover,
.wp-core-ui .button-primary:focus {
    background: #e67300;
    border-color: #e57a00;
    color: #fff;
}

.wp-core-ui .button-primary:focus {
    box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e57200;
}

/* The eye / show-password toggle. */
.login .button.wp-hide-pw:focus {
    border-color: #e57200;
    box-shadow: 0 0 0 1px #e57200;
}

.login .button.wp-hide-pw .dashicons {
    color: #e57200;
}

/* Footer nav: "Je wachtwoord vergeten?" left, "webmaster" right, on one line. */
.login #nav {
    display: flex;
    justify-content: space-between;
}

.login #nav a {
    color: #666;
}

.login #nav a:hover,
.login #nav a:focus {
    color: #e57200;
}

.login .ric-webmaster .dashicons {
    font-size: 1.1em;
    height: 1.1em;
    vertical-align: text-bottom;
    width: 1.1em;
}

/* This site only does SSO, so "Ga naar RIC Single Sign-On" is not useful. */
#backtoblog {
    display: none;
}

/* Checkbox accent for "Onthoud mij". */
.login input[type="checkbox"]:checked::before {
    content: "\f147";
    color: #e57200;
}
