/* Root / Reset */

:root {
    --cas-theme-primary: #1F3A51;
    --cas-theme-primary-bg: #1A7FB0;
    --cas-theme-primary-light: #346288;
    --cas-theme-secondary: #5A1F38;
    --cas-theme-success: var(--cas-theme-secondary);
    --cas-theme-danger: var(--mdc-theme-error);
    --cas-theme-error: #93325c;
    --cas-theme-warning: #e68910;
    --cas-theme-border-light: 1px solid rgba(0, 0, 0, .2);
    --cas-theme-twitter-color: #55acee;
    --cas-theme-vimeo-color: #1ab7ea;
    --cas-theme-vk-color: #587ea3;
    --cas-theme-yahoo-color: #720e9e;
    --cas-theme-google-color: #CC5445;
    --cas-theme-facebook-color: #3B5998;
    --atlassian-theme-primary: #0747a6;
    --mdc-theme-primary: var(--cas-theme-primary, #1F3A51);
    --mdc-theme-secondary: var(--cas-theme-secondary);
    --mdc-typography-font-family: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif;
}
/* From https://google-webfonts-helper.herokuapp.com/fonts */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url('/cas/themes/usuhs/fonts/lato-v22-latin-regular-f0aa40ea96d1920a1a96329b4a35eded.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('/cas/themes/usuhs/fonts/lato-v22-latin-regular-f0aa40ea96d1920a1a96329b4a35eded.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/cas/themes/usuhs/fonts/lato-v22-latin-regular-e1b3b5908c9cf23dfb2b9c52b9a023ab.woff2') format('woff2'), /* Super Modern Browsers */
         url('/cas/themes/usuhs/fonts/lato-v22-latin-regular-0e898c13dd6acc261bd8e1c685957057.woff') format('woff'), /* Modern Browsers */
         url('/cas/themes/usuhs/fonts/lato-v22-latin-regular-52a2ab706682d2fd67348f6d3e1490d1.ttf') format('truetype'), /* Safari, Android, iOS */
         url('/cas/themes/usuhs/fonts/lato-v22-latin-regular-9087e4a6aceecc9b2914823044951a3a.svg#Lato') format('svg'); /* Legacy iOS */
  }
  @font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: url('/cas/themes/usuhs/fonts/lato-v22-latin-700-57425a0bd70abec6f5fd38d3b2507e89.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('/cas/themes/usuhs/fonts/lato-v22-latin-700-57425a0bd70abec6f5fd38d3b2507e89.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/cas/themes/usuhs/fonts/lato-v22-latin-700-de69cf9e514df447d1b0bb16f49d2457.woff2') format('woff2'), /* Super Modern Browsers */
         url('/cas/themes/usuhs/fonts/lato-v22-latin-700-1833f9fa378fa54c6841285f72c01e0d.woff') format('woff'), /* Modern Browsers */
         url('/cas/themes/usuhs/fonts/lato-v22-latin-700-d88c6ffa2ac44113965339295cf130fb.ttf') format('truetype'), /* Safari, Android, iOS */
         url('/cas/themes/usuhs/fonts/lato-v22-latin-700-596223f7bff9598c852e949e9d2b1aa0.svg#Lato') format('svg'); /* Legacy iOS */
  }

.atlassian {
    --mdc-theme-primary: var(--atlassian-theme-primary, #0747a6);
}

body {
    display: flex;
    height: 100vh;
    margin: 0;
    padding: 0;
    flex-direction: column;
    justify-content: space-between;
    font-family:--mdc-typography-font-family,'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #EFEFEF;
}

a {
    color: #153e50;
    color: var(--cas-theme-primary, #153e50);
}

a:hover, a:active {
    color: #1e607c;
    color: var(--cas-theme-primary-light);
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.33em;
}

aside, section, main {
    display: block;
}

/* Material */

.mdc-drawer {
    top: 56px;
}

.mdc-drawer-app-content {
    flex: auto;
    overflow: initial;
    position: static;
}

.main-content {
    display: flex;
}

.mdc-top-app-bar {
    z-index: 7;
    position: static;
}

/* widgets */

.notifications-count {
    position: absolute;
    top: 10px;
    right: 12px;
    background-color: #b00020;
    background-color: var(--cas-theme-danger);
    color: #fff;
    border-radius: 50%;
    padding: 1px 3px;
    font-size: 8px;
}

.cas-brand {
    height: 48px;
    width: 100%;
    margin: 0 !important;
}

header>nav .cas-brand path.cls-1 {
    fill: white;
}

header>nav .cas-brand .cas-logo {
    height: 100%;
}

.cas-title {
    line-height: inherit;
    display: inline-block;
    margin-top:-0.16em;
    font-size: 3em;
    font-weight: 600;
}

#fm1 h3 {
    font-size: 1.5em;
}

.caps-check:not(.caps-on) .caps-warn, .caps-check:not(.caps-on)+.caps-warn {
    display: none;
}

.login-section {
    border-right: 1px solid rgba(0, 0, 0, .2);
    border-right: var(--cas-theme-border-light, 1px solid rgba(0, 0, 0, .2));
    /*padding: 2rem 2.5rem;*/
    flex: 1 1 auto;
    /* IE flex fix */
}

.login-section:last-child {
    border: none;
}

.close {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    text-transform: none;
    text-decoration: none;
    ;
}

button.close {
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
}

.banner {
    padding: 0.1rem 0.5rem;
    border: 1px solid rgba(0, 0, 0, .2);
    border: var(--cas-theme-border-light, 1px solid rgba(0, 0, 0, .2));
    position: relative;
    border-radius: 4px;
}

.banner .banner-message {
    margin: 0.375rem 0;
}

.banner .banner-heading:first-child {
    margin-top: 0;
}

.banner .banner-message:first-child {
    margin-top: 0;
}

.banner .banner-message:last-child {
    margin-bottom: 0;
}

.banner-primary {
    border-color: #153e50;
    border-color: var(--cas-theme-primary, #153e50);
}

.banner-primary .mdi {
    color: #153e50;
    color: var(--cas-theme-primary, #153e50);
}

.banner-danger {
    border-color: #b00020;
    border-color: var(--cas-theme-danger, #b00020);
    background-color: #FFF5F7;
}

.banner-danger .mdi {
    color: #b00020;
    color: var(--cas-theme-danger, #b00020);
}

.banner-warning {
    border-color: #e6a210;
    border-color: var(--cas-theme-warning, #e6a210);
    color: #e6a210;
    color: var(--cas-theme-warning, #e6a210);
}

.banner-warning .mdi {
    color: #e6a210;
    color: var(--cas-theme-warning, #e6a210);
}

.banner-success {
    border-color: var(--cas-theme-success);
    color: #153e50;
    color: var(--cas-theme-primary, #153e50);
}

.banner-dismissible {
    padding-right: 4rem;
}

.banner-dismissible .close {
    position: absolute;
    top: 0;
    right: 0;
    padding: .75rem 1.25rem;
    color: inherit;
}

.login-provider-item {
    list-style: none;
}

.login-provider-item .mdc-button .mdi {
    margin-right: 0.375rem;
}

.cas-footer {
    background-color: var(--mdc-theme-primary, #6200ee);
    color: whitesmoke;
}

.cas-footer a {
    color: #e8e8e8;
}

.cas-footer>* {
    margin-right: 0.25rem;
    display: inline-block;
}

.cas-footer>*:last-child {
    margin: 0;
}

.cas-notification-dialog .mdc-dialog__content>.cas-notification-message:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, .2);
    border-bottom: var(--cas-theme-border-light, 1px solid rgba(0, 0, 0, .2));
}

.mdc-dialog__title::before {
    display: none;
}

.mdi {
    content: "";
}

.mdi:before {
    font-size: 24px;
}

/* custom components */

.custom-select {
    display: inline-block;
    min-width: 200px;
    height: 56px;
    padding: .375rem 1.75rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.87);
    vertical-align: middle;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    -webkit-appearance: none;
}

/* utilities */

.bg-primary {
    background-color: rgba(21, 62, 80, 0.2);
    background-color: var(--cas-theme-primary-bg, rgba(21, 62, 80, 0.2));
}

.border-bottom {
    border-color: #153e50;
    border-bottom: 1px solid var(--cas-theme-primary, #153e50);
}

.strong {
    font-weight: bold;
}

.text-warning {
    color: #e6a210;
    color: var(--cas-theme-warning, #e6a210);
}

.text-danger {
    color: #b00020;
    color: var(--cas-theme-danger, #b00020);
}

.text-secondary, .text-success {
    color: var(--cas-theme-secondary);
}

.progress-bar-danger .mdc-linear-progress__bar-inner {
    border-color: #b00020;
    border-color: var(--cas-theme-danger, #b00020);
}

.progress-bar-warning .mdc-linear-progress__bar-inner {
    border-color: #e6a210;
    border-color: var(--cas-theme-warning, #e6a210);
}

.progress-bar-success .mdc-linear-progress__bar-inner {
    border-color: var(--cas-theme-success);
}

.word-break-all {
    word-break: break-all;
}

.mdc-text-field {
    width: 100%;
    height: 3rem;
}
.mdc-text-field>.mdc-text-field__input, .mdc-text-field:not(.mdc-text-field--disabled):not(.mdc-text-field--outlined):not(.mdc-text-field--textarea)>.mdc-text-field__input {
    border-color: #153e50;
    border: 1px solid var(--cas-theme-primary, #153e50);
    border-radius: 4px;
}

.mdc-input-group {
    display: flex;
    align-items: stretch;
}

.mdc-input-group .mdc-input-group-field {
    flex: 1 1 auto;
    order: 1;
}

.mdc-input-group .mdc-input-group-field .mdc-text-field {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.mdc-input-group .mdc-input-group-append {
    order: 2;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.mdc-input-group .mdc-input-group-prepend, .mdc-input-group .mdc-input-group-append {
    height: 56px;
}

.mdc-input-group .mdc-input-group-prepend {
    order: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.mdc-input-group .mdc-input-group-field.mdc-input-group-field-prepend .mdc-text-field>.mdc-text-field__input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.mdc-input-group .mdc-input-group-field.mdc-input-group-field-append .mdc-text-field>.mdc-text-field__input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.text-danger, .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon.text-danger, .mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-helper-text.text-danger {
    color: #b00020;
    color: var(--cas-theme-danger);
}

.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label {
    color: #153e50;
    color: var(--cas-theme-primary, #153e50);
}

.mdc-button--raised:not(:disabled) {
    background-color: var(--mdc-theme-primary, #153E50);
}

.mdc-button--raised.mdc-button-twitter:not(:disabled) {
    background-color: #55acee;
    background-color: var(--cas-theme-twitter-color, #55acee);
}

.mdc-button--raised.mdc-button-vimeo:not(:disabled) {
    background-color: #1ab7ea;
    background-color: var(--cas-theme-vimeo-color, #1ab7ea);
}

.mdc-button--raised.mdc-button-vk:not(:disabled) {
    background-color: #587ea3;
    background-color: var(--cas-theme-vk-color, #587ea3);
}

.mdc-button--raised.mdc-button-yahoo:not(:disabled) {
    background-color: #720e9e;
    background-color: var(--cas-theme-yahoo-color, #720e9e);
}

.mdc-button--raised.mdc-button-google:not(:disabled) {
    background-color: #CC5445;
    background-color: var(--cas-theme-google-color, #CC5445);
}

.mdc-button--raised.mdc-button-facebook:not(:disabled) {
    background-color: #3B5998;
    background-color: var(--cas-theme-facebook-color, #3B5998);
}

.list-unstyled {
    padding-left: 0;
    list-style: none;
}

.text-center {
    text-align: center;
}

.w-66 {
    width: 66%;
}

.w-33 {
    width: 33%;
}

.w-25 {
    width: 25%;
}

.w-50 {
    width: 50%;
}

.w-75 {
    width: 75%;
}

.w-100 {
    width: 100%;
}

.w-auto {
    width: auto;
}

.h-25 {
    height: 25%;
}

.h-50 {
    height: 50%;
}

.h-75 {
    height: 75%;
}

.h-100 {
    height: 100%;
}

.h-auto {
    height: auto;
}

.mw-100 {
    max-width: 100%;
}

.mh-100 {
    max-height: 100%;
}

.min-vw-100 {
    min-width: 100vw;
}

.min-vh-100 {
    min-height: 100vh;
}

.vw-100 {
    width: 100vw;
}

.vh-100 {
    height: 100vh;
}

.mw-50 {
    max-width: 50%;
}

.border-rounded {
    border-color: #153e50;
    border: 1px solid var(--cas-theme-primary, #153e50);
    border-radius: 4px;
}

.border-bottom {
    border-color: #153e50;
    border-bottom: 1px solid var(--cas-theme-primary, #153e50);
}

@media all and (min-width: 768px) {
    .w-md-50 {
        width: 50%;
    }
    .w-md-66 {
        width: 66%;
    }
}

@media all and (min-width: 992px) {
    .w-lg-50 {
        width: 50%;
    }
    .w-lg-66 {
        width: 66%;
    }
}

@media all and (max-width: 767.99px) {
    .w-md-50 {
        width: 100%;
    }
    .w-md-66 {
        width: 100%;
    }
}

@media all and (max-width: 991.99px) {
    .w-lg-50 {
        width: 100%;
    }
    .w-lg-66 {
        width: 100%;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    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;
}

*, ::after, ::before {
    box-sizing: border-box;
}

.text-justify {
text-align: justify;
}

#duo_iframe {
    width: 100%;
    min-width: 304px;
    height: 330px;
    border: none;
    padding: 0;
    margin: 0;
}

#serviceui {
    background-color: #17a3b844;
    border-radius: 4px;
}

#heroimg {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* IE flex fix */

#main-content {
    margin-right: inherit;
    margin-left: inherit;
}

.warningHead {
    font-size: 1.5em;
    text-align: center;
    padding: .25em;
    background-color: #e8e8e8;
    border-radius: 4px;
    color: #202020;
}

.warningText {
    color: #303030;
}

#pmlinks, #caclinks {
    font-size: 0.8em;
}

.sidebar-content {
    background-color: #fff7d6;
}

img#cas-logo {
    height: 93%;
}

/* oddly, the auto right and left margins caused the login form to not be centered in IE */

@media all and (min-width: 768px) {
    .login-section {
        flex: 1 1 500px;
        /* according to flexbugs, flex-basis should be explicitly set for IE */
        /* https://github.com/philipwalton/flexbugs#flexbug-4 */
    }
}
@media all and (max-width: 767.99px) {
    footer {
        position: static !important;
    }
    
    header {
        position: static !important;
    }

    .warningHead {
        font-size: 1.1em;
    }

    .warningText {
        font-size: 0.85em;
    }
    
    .login-section {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, .2);
        border-bottom: var(--cas-theme-border-light, 1px solid rgba(0, 0, 0, .2));
        max-width: none;
        padding: 0;
    }

    .cas-title {
        font-size: 1.2em;
        line-height: inherit;
        display: flex;
        text-align: center;
        white-space: normal;
        vertical-align: middle;
        margin: 0;
    }

    .logout-banner {
        width: 100%;
    }

    #main-content {
        margin-top: 0;
        padding: 0 !important;
    }

    .mdc-drawer-app-content {
        padding-top: 0;
    }

    img.cas-logo {
        margin-right: 0px;
        scale: 80%;
    }

    .cas-title {
        font-size: 1.33em;
    }

    body {
        background-color: #1F3A51;
        background-color: var(--cas-theme-primary, #1F3A51);

    }

    .sidebar-content {
        font-size: 0.85em;
    }

    .form-wrapper {
        font-size: 85%;
    }
}

