@charset "UTF-8";

html {
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    background-color: #FFF;
    font-family: Arial, sans-serif;
    color: #2a2a2a;
    margin: 0;
}

a, .btn-link {
    text-decoration: none;
    color: #8C1D40;
}

a:hover {
    color: #d23153;
    transition: all 0.25s ease-in-out 0s;
}

.btn {
    border: none;
    color: #FFF;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    padding: 0px 20px !important;
    height: 36px;
    line-height: 1;
    appearance: none;
    background-color: #8C1D40;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    background-color: #d23153;
    transition: all 0.25s ease-in-out 0s;
    color: #FFF;
}

.btn.btn-link {
    background: none;
    color: #8C1D40;
    font-size: 14px;
}

.btn.btn-link:hover {
    background: none;
    color: #62142d;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only-focusable:active, .sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

.mdc-drawer-app-content {
    background: #FBFBFB;
}

div>#serviceui, div>#sidebar {
    display: none;
}

#webauthnLoginPanel > div {
    display: none;
}

#webauthnLoginPanel #errorPanel {
    display: none;
}

#usernameSection .invalid-feedback {
    display: none;
}

#passwordSection .invalid-feedback {
    display: none;
}

#passwordSection .caps-warn {
    display: none;
}

.form-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.form-wrapper hr {
    display: none;
}

#errorsPanel {
    display: none;
}

#login #diagnostics + div #messages {
    display: none;
}

#registerButton {
    display: none !important;
}

#login #mainPanel h2 {
    font-size: 26px;
    margin: 30px;
    text-align: center;
    font-weight: normal;
}

#login #processing {
    text-align: center;
    background: transparent url(/cas/images/loader.gif) bottom center no-repeat;
    padding-bottom: 70px;
}

#login #wait {
    text-align: center;
    margin-top: 30px;
}

/* casPasswordWarningView */
#password_warning .headline {
    font-size: 26px;
    margin: 30px;
    text-align: center;
}

#password_warning .subtext {
    font-size: 20px;
    text-align: center;
    margin: 20px;
    font-weight: bold;
}

#password_warning .more {
    margin: 35px;
    font-size: 12px;
    color: #aaa;
    padding: 0 45px;
}

#password_warning #button_container {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
}

.header {
    background: #FFC627;
}

.header h1 {
    margin: 0;
}

.header h1 a {
    background-image: url(/cas/images/asu_sunburst_logo_mobile_125px.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left center;
    height: 55px;
    width: 125px;
    display: block;
    text-indent: -9999px;
    overflow: hidden;
}

.header .ad {
    display: none;
    height: 80px;
    overflow: hidden;
}

.footer {
    background-color: #E5E5E5;
    padding: 30px 0 15px 0;
}

.footer .help {
    color: #999;
    text-align: center;
    font-size: 12px;
}

.footer .help .teaser {
    color: #666;
    font-weight: bold;
}

.footer ul.link-list {
    list-style-type: none;
    margin: 0;
    text-align: center;
    padding: 5px 0;
    font-size: 10px;
}

.footer ul.link-list li {
    border-right: 1px solid #999;
    display: inline;
    font-weight: bold;
    padding: 0 6px 0 5px;
}

.footer ul.link-list li:last-child {
    border: none;
}

.footer ul.link-list li a {
    color: #999;
}

#login-form-controls h2, #login-form-controls div:has(>#existingSsoMsg) {
    text-align: center;
    font-weight: normal;
    font-size: 36px;
    margin: 10px 0;
}
#login-form-controls .mdc-floating-label {
    margin: 6px 0;
    display: inline-block;
    font-size: 15px;
    font-weight: bold;
}
#username, #password {
    background-color: #FFF;
    border: 1px solid #CCC;
    border-radius: 4px;
    color: #000;
    font-size: 16px;
    padding: 12px 40px 12px 5px;
    width: calc(100% - 50px);
}
label[for='username'] > span:first-child, label[for='password'] > span:first-child {
    display: block;
}

#usernameSection {
    padding: 8px 0;
}
#passwordSection {
    padding: 8px 0;
    margin-bottom: 25px;
}
#passwordSection .reveal-password {
    background-color: transparent;
    padding: 0px !important;
    display: inline-flex;
    vertical-align: middle;
    margin: 0 0 0 -35px;
    height: 30px;
    width: 30px;
}
#passwordSection .reveal-password i {
    background: transparent url(/cas/images/unhide.png) center center no-repeat;
    background-size: contain;
    height: 30px;
    width: 30px;
}
#passwordSection .reveal-password i.mdi-eye-off {
    background-image: url(/cas/images/hide.png);
}
#passwordSection .reveal-password span {
    text-indent: -9999px;
    overflow: hidden;
}
#login-form-controls {
    display: flex;
    flex-direction: column;
}
#login-form-controls .btn[name="submitBtn"] {
    margin: 0 100px 0 auto;
    order: 100;
}
#loginErrorsPanel {
    order: 200;
    margin-top: 20px;
}
#loginErrorsPanel .title {
    color: #dd3c10;
    font-weight: bold;
    padding: 5px 15px 5px 40px;
    background: transparent url(/cas/images/warning_48.png) left center no-repeat;
    background-size: 30px;
    font-size: 16px;
}
#loginErrorsPanel p {
    display: none;
}
div:has(>#pmlinks) {
    margin-top: 65px;
    height: 76px;
    font-size: 12px;
}
.request-id-link, .forgot-password-link {
    height: 14px;
    padding: 9px 8px;
    margin-bottom: 17px;
}
.form-type-checkbox {
    margin-top: 38px;
    font-size: 14px;
    margin-left: -80px;
}
.form-type-checkbox input[type="checkbox"] {
    height: 1.5em;
    width: 1.5em;
    vertical-align: middle;
}
.form-type-checkbox label {
    padding-left: 3px;
    vertical-align: middle;
}
#webauthnLoginPanel {
    order: 100;
    display: none;
    width: 100%;
}
#diagnostics + div {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 30px 0 30px;
    text-align: center;
}
#diagnostics + div #status {
    font-size: 20px;
    font-weight: normal;
    padding: 30px 0 0 0;
    border-top: 1px solid #e5e5e5;
    margin: 30px 0 10px 0;
}
#login #diagnostics + div {
    /* text-align: left; */
}
#login #diagnostics + div #status {
    border-top: none;
    padding: 0;
    font-size: 26px;
    margin: 20px 0;
}
#webauthnLoginPanel #messages {
    margin: 0;
}
#webauthnLoginPanel #messages p {
    font-weight: bold;
    color: #dd3c10;
    background: transparent url(/cas/images/warning_48.png) left center no-repeat;
    font-size: 16px;
    margin: 0 0 20px 0;
    background-size: 30px;
    padding: 5px 5px 5px 40px;
}
div:has(> #authnButton) {
    order: 100;
}
#deviceTable {
    display: none;
}
#divDeviceInfo {
    min-height: 50px;
    background: transparent url(/cas/images/loader.gif) top center no-repeat;
}
#login #device-info {
    background: transparent url(/cas/images/loader.gif) top center no-repeat;
}
#login #device-info + div {
    display: flex;
    flex-direction: column;
    text-align: left;
    align-items: center;
}
#residentKeysPanel {
    order: -1;
}
#residentKeysPanel p {
    margin-bottom: 0;
}
#deviceNamePanel {
    padding: 0;
    margin: 20px 0;
}
#deviceNamePanel br {
    display: none;
}
#deviceNamePanel > div div {
    width: 190px;
}
#credentialNickname {
    background-color: #FFF;
    border: 1px solid #CCC;
    border-radius: 4px;
    color: #000;
    font-size: 14px;
    padding: 6px 5px;
    width: 180px;
}
#registerDiscoverableCredentialButton {
    width: fit-content;
    border: none;
    color: #FFF;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    padding: 0px 20px !important;
    height: 36px;
    line-height: 1;
    appearance: none;
    background-color: #8C1D40;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}
#logoutBody, #content:has(#logoutMessage) {
    padding: 10px;
}
#logoutBody .banner-heading, div:has(>#logoutMessage) h2 {
    background: transparent url(/cas/images/green_checkmark.png) 0 0 no-repeat;
    color: #333;
    font-size: 20px;
    font-weight: bold;
    padding: 5px 0 15px 40px;
    margin: 25px 0 0 0;
}
#logoutBody .banner-message, div:has(>#logoutMessage) p {
    font-weight: bold;
    margin: 15px 0 25px 40px;
    padding-right: 65px;
}
#logoutMessage + ul {
    display: none;
}

@media only screen and (max-width: 767px) {
    html {
        background: #fbfbfb;
    }
    body {
        background-color: #FBFBFB;
        min-height: 800px;
        min-width: 350px;
    }
    #main-content {
        padding: 0 25px;
    }
    #fm1 {
        width: 100%;
    }
    #usernameSection {
        padding: 15px 0;
    }
    #passwordSection {
        padding: 15px 0;
    }
    #login-form-controls .btn[name="submitBtn"] {
        margin: 0 auto 0 0;
    }
    div:has(>#pmlinks) {
        width: 0;
        margin-top: 80px;
    }
    .request-id-link, .forgot-password-link {
        width: 180px;
        font-size: 16px;
        text-align: right;
        margin: 72px 0 0 -200px;
    }
    .form-type-checkbox {
        margin-top: 20px;
        width: 200px;
        margin-left: -212px;
        text-align: right;
        font-size: 16px;
    }
    #loginErrorsPanel .title {
        margin-top: 10px;
        background-size: 30px;
        padding: 7px 0px 5px 40px;
    }
    #diagnostics + div #status {
        padding-top: 20px;
    }
    .footer {
        position: fixed;
        right: 0;
        left: 0;
        bottom: 0;
        min-width: 350px;
        padding: 10px 0;
    }
    .footer .advice {
        display: inline-block;
        padding-top: 5px;
    }
}

@media only screen and (min-width: 768px) {
    html {
        height: auto;
    }

    /* global header */
    .header {
        width: 542px;
        margin: 50px auto 0;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
    }
    .header h1 a {
        background-image: url("/cas/images/asu_university_horiz_rgb_maroongold_150_275px.png");
        height: 60px;
        width: 275px;
    }
    .header .ad {
        display: block;
    }

    /* casLoginView */
    #loginErrorsPanel {
        text-align: center;
        margin: 30px -90px 0 auto;
    }
    .mdc-drawer-app-content {
        margin: 0 auto;
        width: 500px;
        border-left: 1px solid #E5E5E5;
        border-right: 1px solid #E5E5E5;
        padding: 20px;
    }
    #fm1:has(#login-form-controls) {
        margin-left: 10px;
    }
    #login-form-controls h2, #login-form-controls div:has(>#existingSsoMsg) {
        margin: 0 0 16px 0;
        text-align: right;
    }
    #login-form-controls h2 span {
        padding-right: 28px;
    }
    #existingSsoMsg {
        display: inline-block;
        width: 185px;
        text-align: center;
        font-size: 28px;
        padding-right: 5px;
    }
    #login-form-controls .mdc-floating-label {
        width: 125px;
        text-align: right;
        padding-right: 4px;
    }
    #username, #password {
        padding: 6px 5px;
        width: 180px;
    }
    #password {
        padding-right: 25px;
        width: 160px;
    }
    label[for='username'] > span:first-child, label[for='password'] > span:first-child {
        display: inline-block;
    }
    #passwordSection .reveal-password {
        margin-left: -30px;
    }
    #passwordSection .reveal-password i {
        width: 20px;
        height: 20px;
    }
    #passwordSection .reveal-password i.mdi-eye-off {
        background-image: url(/cas/images/hide.png);
    }
    #diagnostics + div {
        align-items: center;
        margin: 30px 100px 0 100px;
    }
    #diagnostics + div #status {
        margin: 10px;
        text-align: center;
    }
    #divDeviceInfo {
        margin: 0px 8px 0 8px;
        padding: 2px;
        min-height: 50px;
        background: transparent url(/cas/images/loader.gif) top center no-repeat;
    }
    #deviceTable {
        font-size: 12px;
        text-indent: 10px;
    }
    #deviceTable th {
        text-align: left;
    }

    /* error */
    #errorMsg {
        font-size: 12px;
        margin: 0 40px;
        border: 1px solid #ebebeb;
        background: white;
        padding: 10px;
    }
    #errorHeader {
        text-align: center;
        margin-bottom: 40px;
    }
    #errorContent {
        text-align: center;
        margin: 50px;
    }

    /* casGenericSuccessView */
    #content:has(> div h2 #principalId) div {
        background: transparent url(/cas/images/green_checkmark.png) 20px 57px no-repeat;
    }
    #content:has(> div h2 #principalId) div h2 {
        text-align: center;
        margin: 0 0 25px 0;
    }
    #content:has(> div h2 #principalId) div h2 span {
        font-size: 36px;
        font-weight: normal;
    }
    #content:has(> div h2 #principalId) div p {
        font-size: 1.1em;
        padding: 0 65px;
    }

    /* casWebauthnRegistrationView */
    #login #diagnostics + div {
        flex-direction: column;
        margin-top: 0;
    }
    #residentKeysPanel {
        margin: 0 10px;
    }
    #residentKeysPanel p {
        margin: 0px !important;
    }
    #deviceNamePanel {
        display: inline;
        margin: 20px 50px;
    }
    #login #diagnostics + div #status {
        text-align: center;
        border-top: none;
        padding: 0;
    }

    /* casLogoutView, casPropagateLogoutView */
    #logoutBody .banner-heading, div:has(>#logoutMessage) h2 {
        line-height: 35px;
        padding: 5px 5px 5px 75px;
        background-position: 25px 5px;
        font-size: 22px;
    }
    #logoutBody .banner-message, div:has(>#logoutMessage) p {
        margin: 0 0 25px 75px;
    }

    /* global footer */
    .footer {
        position: static;
        padding: 50px 0 30px 0;
        width: 540px;
        margin: 0 auto;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
        border: 1px solid #E5E5E5;
        border-top: none;
        background: #FBFBFB;
    }
    .footer .help {
        display: flex;
        justify-content: center;
    }
    .footer .help .teaser {
        margin-right: 4px;
    }
    .footer ul.link-list {
        font-size: 11px;
    }
}
