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

body {
    flex-direction: column;
    justify-content: space-between;
    display: flex;
    margin: 0;
    padding: 0;
    font-family: var(--minion-pro);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    background-color: #FFFFFF;
    background-repeat: no-repeat;
    background-size: cover;
}

a {
    text-decoration: underline;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* Hide the password strength progress bar */
#strengthProgressBar {
    display: none !important;
}

/* header and logo */
header {
  padding: 0;
  background-color: white;
  width:100%;
}
header img {
  vertical-align: middle;
  padding: 20px;
  height: 100px;
}

/* Title: Central Authentication Service */
.navbar-brand {
    display: inline-block;
    padding-top: .3125rem;
    padding-bottom: .3125rem;
    margin: 0;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
    font-weight: normal;
}
nav .container-fluid {
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 0;
  background-color: #A8353A;
}

nav.navbar-default {
  border: 0;
  margin-bottom: 0;
  padding: 0;
}

nav.navbar-default .navbar-brand, .navbar-default .navbar-brand:focus, .navbar-default .navbar-brand:hover {
  color: #FFF;
}


.cas-brand {
    height: 48px;
    width: auto;
}

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

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

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

footer {
  padding: 20px;
  color: white;
}

footer .container{
  width: inherit;
}

footer .footer-links a {
	color: var(--mdc-theme-text-hint-on-light);
	padding: .5rem .25rem;
	background-color: transparent;
	transition: background-color .2s ease-in-out;
}

footer .footer-links a:focus, footer .footer-links a:hover {
	color: var(--mdc-theme-text-hint-on-light);
	text-decoration: none;
}

footer hr {
    display: block;
	padding-left: .25rem;
	padding-bottom: .75rem;
	margin-bottom: .25rem;
	border-top: 1px solid #3f3f3f;
    margin-top: 5rem;
}

footer ul {
    padding-left: 0;
}

footer ul > li{
    margin: 1rem 0;
    list-style-type: none;
}

/* a hack to force left alignment on "Please enter your credentials" title */
#login-form-controls>h2.text-center {
  text-align: left;
}

/* From Apereo CAS  */
/* https://github.com/apereo/cas/blob/master/support/cas-server-support-thymeleaf/src/main/resources/static/css/cas.css */

.mdc-card a,
.mdc-card a:hover,
.mdc-card a:visited,
.mdc-card a:active,
.mdc-card a.mdc-list-item {
    color: var(--cas-theme-primary-light);
    text-decoration: none;
    transition: background-position-x .4s ease;
    background: linear-gradient(90deg, currentcolor 50%, transparent 50%) no-repeat 100% 95% / 200% .1em;
    background-position-y: 100%;
    background-position-x: 0;
}
.mdc-card a:hover {
    background-position-x: 100%;
}

a, a:hover, a:visited, a:active, a.mdc-list-item {
    color: var(--cas-theme-secondary);
}

aside, section, main {
    display: block;
}

/* Material */

.mdc-drawer {
    top: 56px;
}

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

.main-content {
    display: flex;
}

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

/* widgets */

.notifications-count {
    position: absolute;
    top: 8px;
    right: 4px;
    background-color: var(--mdc-theme-error, #b00020);
    color: #fff;
    border-radius: 50%;
    padding: 1px 3px;
    font: 11px Verdana;
}

.cas-brand {
    height: 48px;
    width: auto;
}

.caps-warn {
    display: none;
}

.caps-on{
    order: 3
}

.caps-on DIV SPAN {
    display: block;
}

.caps-on span:before {
    vertical-align: sub;
    content: "\F0027";
    font-size: 24px;
    font: normal normal normal 24px/1 "Material Design Icons";
}

.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;
}

@media screen and (max-width: 767.99px) {
    .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 1.5rem;
    }
}

.noborder {
    border: 0 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;
}

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

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

@media screen and (max-width: 767.99px) {
    .logout-banner {
        width: 100%;
    }
}

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

.cas-footer a {
    color: deepskyblue;
}

.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: 80%;
    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: #664d03;
    color: var(--cas-theme-warning, #664d03);
}

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

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

.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: #664d03;
    border-color: var(--cas-theme-warning, #664d03);
}

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

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

.mdc-text-field--outlined {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.mdc-text-field {
    width: 100%;
}

.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading, .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch, .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing {
    border-color: #cfc9dc;
}

.mdc-card {
  color: var(--mdc-theme-on-surface);
  border-radius: var(--mdc-shape-corner);
}
.mdc-card__media-content {
  position: relative;
}
.mdc-card .mdc-form-field, .mdc-card .mdc-checkbox .mdc-checkbox__native-control {
  color: var(--mdc-theme-on-surface);
}

input.mdc-text-field__input {
  border-radius: 40px;
}

.mdc-card .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background {
  border-color: white;
}

.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 {
    background-color: var(--mdc-theme-background, rgb(232, 240, 254));
    border-color: #153e50;
    border: 1px solid var(--cas-theme-primary, #153e50);
    border-radius: var(--mdc-shape-small, 40px);
    padding-left: 16px;
    padding-right: 16px;
}

.mdc-input-group .mdc-input-group-field .mdc-notched-outline__trailing {
    border-top-right-radius: var(--mdc-shape-small, 40px);
    border-bottom-right-radius: var(--mdc-shape-small, 40px);
    background-position-x: right;
    background-repeat: no-repeat;
    background-size: 60px 56px;
    background-image: url("/cas/themes/apu/images/white-9101f023c1dbc50d7ea8c800f492b42d.gif");
}

.mdc-input-group .mdc-input-group-append {
    order: 2;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    align-self: flex-end !important;
    height: 56px;
    z-index: 2;
}

.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-helper-line .mdc-text-field-helper-text.text-danger {
    color: var(--cas-theme-danger, #58151c);
}

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

.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
    color: var(--cas-theme-secondary);
    font-size: 1rem;
    /* apply the shadow multiple times (x7) to make the tiny text readable */
    text-shadow: 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff;
}

.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label {
    font-weight: bold;
}

.reveal-password {
    min-width: 52px;
    padding-top: 8px;
    padding-right: 16px;
    padding-bottom: 16px;
    padding-left: 16px;
    height: 50px !important;
    width: 30px;
    top: -3px;
    left: -3px;
    order: 2;
    border-top-left-radius: 40px !important;
    border-bottom-left-radius: 40px !important;
    border: 6px solid #CA3940;
    margin-left: 8px;
    align-self: flex-end!important;
}
.reveal-password .mdi:before {
    top: -7px;
    left: -8px;
    position: relative;
}

.generate-password .mdi {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

.generate-password {
    min-width: 52px !important;
    padding-top: 8px !important;
    padding-right: 16px !important;
    padding-bottom: 16px !important;
    padding-left: 16px !important;
    height: 50px !important;
    width: 30px !important;
    top: -3px !important;
    left: -3px !important;
    order: 2 !important;
    border-top-left-radius: 40px !important;
    border-bottom-left-radius: 40px !important;
    border: 2px solid #153E50 !important;
    margin-left: 8px !important;
    align-self: flex-end !important;
    border-radius: 40px !important;
}
.mdc-card .mdc-button--outlined:not(:disabled) {
    color: white
}

#passwordValidationMessage, #usernameValidationMessage {
  color: white;
}

.mdc-button--outline:not(:disabled, .reveal-password) {
    background-color: var(--cas-theme-secondary, #018077);
    border-radius: 40px;
    filter: drop-shadow(2px 2px 4px #018077);
}

.mdc-button--raised:not(:disabled, .reveal-password) {
    margin-right: 4px;
    border-radius: 40px;
    filter: drop-shadow(2px 2px 4px #023b53);
    background-color: var(--cas-theme-primary, #153E50);
}

.mdc-button--unelevated {
    height: 3rem;
}

.mdc-button--outlined {
    height: 3rem;
}

.mdc-card .mdc-tab-indicator .mdc-tab-indicator__content--underline {
    border-color: var(--mdc-theme-text-hint-on-background);
}
.mdc-card .mdc-tab__icon {
    color: var(--mdc-theme-text-hint-on-background); 
    fill: currentColor;
}
.mdc-card .mdc-tab--active .mdc-tab__icon {
    color: var(--mdc-theme-text-hint-on-background); 
    fill: currentColor;
}
.mdc-card .mdc-tab__text-label {
    color: var(--mdc-theme-text-hint-on-background);
}
.mdc-card .mdc-tab--active .mdc-tab__text-label {
    color: var(--mdc-theme-text-hint-on-background);
}
.mdc-card .mdc-tab .mdc-tab__ripple::before, .mdc-tab .mdc-tab__ripple::after {
    background-color: var(--mdc-ripple-color, var(--mdc-theme-text-hint-on-background));
}

.mdc-card .mdc-data-table__pagination-total, .mdc-card  .mdc-data-table__pagination-rows-per-page-label, .mdc-card .mdc-data-table__cell {
    color: var(--mdc-theme-text-primary-on-dark);
}
.mdc-card .mdc-data-table__header-cell {
    color: var(--mdc-theme-text-primary-on-dark);
}

@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%;
    }
}

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

*, ::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;
}

.dataTables_wrapper {
    margin-left: 5px;
    margin-top: 5px;
    margin-right: 5px;
}

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

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

/* IE flex fix */

#main-content {
    margin-right: 10px;
    margin-left: 10px;
}

/* 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 */
    }
}

/* flex-basis: auto works in IE with the column view,
     but a specific value needs to be set for row view
   */

/* fix for not showing password reveal icon on MSEdge and MSIE */
.pwd::-ms-reveal,
.pwd::-ms-clear {
    display: none;
}

@media (min-width: 1400px) {
    .container-xxl {
        max-width: 90%;
    }
}

.row>* {
    padding-right: calc(var(--bs-gutter-x) * 1);
    padding-left: calc(var(--bs-gutter-x) * 1);
    margin-top: 25px;
}

.bg-surface-soft {
  background-color: var(--mdc-theme-surface-soft);
}

.bg-surface-warm {
  background-color: var(--mdc-theme-surface-warm);
}

.five-percent-darker {
  filter: brightness(95%);
}

.five-percent-lighter {
  filter: brightness(105%);
}

.ten-percent-lighter {
  filter: brightness(110%);
}

.fifty-percent-lighter {
  filter: brightness(150%);
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 600000s 0s, color 600000s 0s;
}
input[data-autocompleted] {
    background-color: transparent !important;
}
