/*************************************************************************************/
/*************************************************************************************/
/**                                                                                 **/
/**                          CHANGES FOR UTC                                        **/
/**                                                                                 **/
/*************************************************************************************/
/*************************************************************************************/


/* this file is loaded after official CAS/apero CSS */


/* layout */

html {
  overflow: auto !important;
  height: 100%;
}
body {
  font-size: 1.2em;
  height: 100%;
  overflow: auto !important;
  background: linear-gradient(135deg, #184e5b, #76B7C7) !important;
  background-color: transparent !important;
}
.bgimage {
  background-image:none !important;
}
div#content {
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
}

.mdc-card {
  border-radius: 10px;
}
header#app-bar {
  display: none;
}
#serviceui {
  display: none;
}
.mdc-top-app-bar {
  position: relative;
}
.mdc-top-app-bar--fixed {
  transition: none;
}
.mdc-drawer-app-content {
  overflow: default !important;
}


/* all content */

h1, h2, h3 {
  color: var(--cas-theme-primary);
}

/* main form */


.fa-shield-alt {
  display:none;
}

.login-section {
  padding: 0rem 2.5rem 2rem 2.5rem;
}

#cas-logo-inline img {
  width: 11em;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#login-form-controls > .form-check,
.form-wrapper > hr {
  display:none !important;
}

.mdc-button--raised {
  text-transform:none;
}

.mdc-button--raised:not(:disabled, .reveal-password) {
  width: 100%;
  box-shadow: none;
  filter: none;
}
.mdc-button--raised:not(:disabled, .reveal-password):hover {
  transform: none;
  box-shadow: none;
  filter: none;
}

.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading, .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch, .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing {
  border-color: rgba(0, 0, 0, 0.22);
}

#login-form-controls #submitBtn .mdi::before {
  content:none;
}
#submitBtn {
  height: 3.8em;
}
#submitBtn .mdc-button__label {
  font-size: 1.8em;
}

#fieldsLegend, #termsOfUse, code.host {
  display: none;
}

/* background image */

span.utcimg {
  min-width: 30%;
  background-image: url("/cas/themes/utc/images/background_ci-6133fd012f72ce231cf06bae99f30a2a.jpg");
  background-size: cover;
  border-radius: 0px 10px 10px 0px;
  background-position: center;
}

.sidebar-content {
  border: 1px solid #CCC;
  border-radius: 10px;
  background-color: #F7F7F7;
  padding-left: 0.5em;
  padding-right: 0.5em;
  margin-top: 2em;
}

.sidebar-content h3 {
  text-align:center;
  margin-top:1em;
}
.sidebar-content p {
  margin-left:1em;
  margin-right:1em;
  margin-bottom:2em;
}



/* security message */
.image-container {
  margin: 1em auto 1em auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}
.image-container .good,
.image-container .bad {
  font-weight: bold;
  text-align: center;
  margin: 0px auto;
}
.image-container .good {
  color: #1C784D;
}
.image-container .bad {
  color: #C01C28;
}
.image-container img {
  display: block;  
  margin-bottom: 0.5em;
}

/* footer (mostly disabled) */
.cas-footer {
  background-color:transparent !important;
}
#poweredBy {
  display: none !important;
}

.cas-footer a {
  color: #FFFFFF !important;
  text-shadow: 0px 0px 8px black;
}


.mdc-drawer-app-content {
  overflow: unset;
}

.mdc-top-app-bar--fixed-adjust {
  padding-top: 0.1em;
}

.mdc-button--raised, .mdc-button {
  letter-spacing: unset;
}

/* cas 7.3 force a small max-width */
main:has(.d-flex > section:only-of-type) {
  max-width: 1320px;
}


@media all and (max-height: 768px) {
  body {
    font-size:1em;
  }
  #submitBtn {
    height: 2.5em;
  }
  #submitBtn .mdc-button__label {
    font-size: 1.4em;
  }
  .sidebar-content {
    padding-left: 0.2em;
    padding-right: 0.2em;
    margin-top: 0.2em;
  }
  .sidebar-content h3 {
    text-align:center;
    margin-top:0.2em;
    margin-bottom:0.1em;
  }
  .sidebar-content p {
    margin-left:0.4em;
    margin-right:0.4em;
    margin-bottom:0.2em;
  }
}

:root {
  --cas-theme-primary: #184e5b;
  --cas-theme-button-bg: #184e5b;
  --cas-theme-button-bg-hover: #133a45;
  --cas-theme-button-bg-lite: ##36798a;
  --cas-theme-primary-light: ##36798a;
}

