/*
  Whitman overrides on top of the default CAS theme (/css/cas.css).
  Loaded second per cas.standard.css.file
 */

/* Primary brand color, whitman blue */
:root {
    --cas-theme-primary: #002868;
}

/* Drop the stock /images/background.jpg and use a plain white page. */
.bgimage {
    background-image: none;
    background-color: #fff;
}

/* body sits behind the content area (default: rgb(27, 39, 51)) and shows
   through on overscroll, so match it. */
body {
    background: #fff;
}

/*
  Service UI banner (fragments/serviceui.html, shown above the login form)
  remove the info styling, keep it plain
 */
#serviceui {
    border: 0;
    box-shadow: none;
    background: none;
    padding: 0;
    text-align: start;
}

/* globe icon, only present in the non-MDUI branch */
#servicedesc .mdi-web {
    display: none;
}

/*
  Login form: take the "Enter Username & Password" heading out of the visual
  layout but leave it for screen readers, so the form keeps its accessible
  heading. Same technique as cas.css .sr-only. `display:none` would drop it
  from the accessibility tree too, which is the opposite of what we want.
  Child selector only: the "Authentication Failure" h2 sits deeper, inside
  #loginErrorsPanel, and must stay visible.
 */
#login-form-controls > h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* remove submit button animation */
button#submitBtn:hover:before, button#submitBtn:hover:after {
    animation: none;
}

/* remove submit button shadows*/
button#submitBtn,
button#submitBtn:hover,
button#submitBtn:focus-visible {
    filter: none;
    box-shadow: none;
}

/*
  Footer: show only the copyright. "Powered by", the CAS version, the host,
  and the client IP stay in the markup (cas.footer.show-* are left true) so
  they remain readable in devtools / view-source for debugging -- display:none
  hides them visually without removing them from the DOM.
 */
#casFooter > *:not(#copyright) {
    display: none !important;
}

/* hide auth data after login */
/* using css to hide it because the info is useful, we don't want to disable it */
div#view-genericsuccess-authn-data {
    display: none;
}
