/*
 * projectEureka Custom Theme CSS for SimpleSAMLphp
*/

#header,
#footer {
    background: #BF6516 !important;
    border: none !important;
}

#header {
    height: 61px !important;
}

#header .wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- General Body and Font Styling --- */
/* Same family on the chooser and the password step. Noto Sans is the
   login image's sans. The password page used to sit in the core
   .ui-widget shell, which is Arial. */
body,
button,
input,
select,
textarea,
.ui-widget,
.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
    font-family: "Noto Sans", "Noto Sans UI", sans-serif;
}

body {
    background-color: #f7f7f7;
}

#header #logo {
    display: none;
}

.center-form.login-form-start {
    justify-content: flex-start;
}

.pure-button {
    margin-left: 1ex;
    margin-bottom: 1em;

    &:hover,
    &:focus {
        background-color: #555555;
        padding: 0.5em 1em;
        color: #FFFFFF;
    }
}

.pure-button-red {
    background-color: #808080;
    color: #FFFFFF;

    &:hover,
    &:focus {
        background-color: #555555;
        padding: 0.5em 1em;
    }
}

/* Eye sits on the right edge of the password field. The open eye is the
   hidden state; the slashed eye is the revealed state. */
.password-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
    vertical-align: middle;
}

.password-wrap input.edge {
    padding-right: 2.75rem;
}

#password::-ms-reveal {
    display: none;
}

.show-password {
    position: absolute;
    top: 50%;
    right: 2px;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    margin: -16px 0 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #333333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.show-password:hover {
    background: rgba(0, 0, 0, 0.06);
}

.show-password:focus {
    outline: 2px solid #1a1a1a;
    outline-offset: 1px;
}

.show-password:focus:not(:focus-visible) {
    outline: none;
}

.show-password:focus-visible {
    outline: 2px solid #1a1a1a;
    outline-offset: 1px;
}

.show-password .eye,
.show-password .eye-off {
    width: 1.25rem;
    height: 1.25rem;
    display: block;
    pointer-events: none;
}

.show-password .eye-off {
    display: none;
}

.show-password[aria-pressed="true"] .eye {
    display: none;
}

.show-password[aria-pressed="true"] .eye-off {
    display: block;
}

@media (max-width: 480px) {
    .password-wrap {
        display: block;
        width: 100%;
    }

    .pure-form .password-wrap input.edge {
        display: block;
        width: 100%;
    }
}

.signin-hint {
    margin: 0.25em 0 0.8em;
    color: #666666;
    font-size: 0.9em;
}

.signin-methods {
    border: 0;
    margin: 0.4em 0 0.8em;
    padding: 0;
}

.signin-methods legend {
    font-weight: 600;
    margin-bottom: 0.35em;
}

.signin-methods label {
    display: block;
    margin: 0.35em 0;
}

.signin-links {
    margin-top: 1.2em;
}

.signin-links a {
    display: block;
    margin: 0.35em 0;
}

.signing-as {
    margin: 0 0 1em;
}

#userid-error[hidden] {
    display: none;
}