@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap");
.fa-exclamation-circle:before {
  content: "";
  background: url(../img/invalid.svg);
  width: 1.25rem;
  height: 1.188rem;
  display: inline-block;
}

form .form-group {
  margin-block-end: 1.5rem;
}
form .form-group:last-child {
  margin-block-end: 0;
}
form .form-group label {
  font-size: 1rem;
  font-weight: 400;
  margin-block-end: 0.5rem;
  display: block;
  color: #4B5563;
  font-family: "Montserrat", sans-serif;
}
form .form-group label .required {
  color: #C90745;
  font-weight: 600;
}
form .form-group input {
  font-size: 1.125rem;
  font-weight: 400;
  padding: 0.625rem 1rem;
  border: 1px solid #D1D5DB;
  border-radius: 0.25rem;
  color: #1F2937;
  font-family: "Montserrat", sans-serif;
  height: 3.125rem;
}
form .form-group input:focus-within {
  padding-block: 0;
}
form .form-group input[type=checkbox] {
  height: 1rem;
  width: 0.9375rem;
  margin: 0 0.5rem 0 0;
  position: relative;
  accent-color: #C90745;
}
form .form-group .checkbox {
  margin: 0;
}
form .form-group .checkbox label {
  display: flex;
  align-items: center;
  height: auto;
  padding-inline-start: 0;
  min-height: 1rem;
}
form .form-group .checkbox .label-text {
  line-height: 1.5;
}
form .form-group .checkbox .toggle {
  height: 1rem;
  display: flex;
}
form .form-group .pf-c-form-control[aria-invalid=true] {
  border: 1px solid #DC1F26;
  background-image: url(../img/invalid.svg);
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem 1.1875rem;
}
form .form-group button, form .form-group input.pf-c-button {
  display: block;
  font-weight: 600;
  text-align: center;
  padding: 0.625rem 1.25rem;
  font-size: 1.125rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  background-image: none;
  border: 1px solid transparent;
  color: #F9FAFB;
  background-color: #000000;
}
form .form-group button:hover, form .form-group input.pf-c-button:hover {
  cursor: pointer;
  background: #4d4d4d;
  color: #F9FAFB;
}
form .form-group button:focus, form .form-group input.pf-c-button:focus {
  outline-offset: 0.25rem;
}
form .form-group button + button, form .form-group input.pf-c-button + button {
  display: block;
  font-weight: 600;
  text-align: center;
  padding: 0.625rem 1.25rem;
  font-size: 1.125rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  background-image: none;
  border: 1px solid #D1D5DB;
  background-color: transparent;
  color: #1F2937;
  margin-block-start: 1rem;
}
form .form-group button + button:hover, form .form-group input.pf-c-button + button:hover {
  cursor: pointer;
  background: #4d4d4d;
  color: #F9FAFB;
}
form .form-group button.pf-m-control {
  display: none;
}
form .form-group .pf-c-form__helper-text.pf-m-error {
  color: #DC1F26;
  border: none;
  font-size: 1rem;
  font-weight: 400;
  margin-block-end: 1.25rem;
  font-family: "Montserrat", sans-serif;
  line-height: 1.5;
  margin: 0.5rem 0 0;
}
form .form-group .pf-c-form__helper-text.pf-m-error .pf-c-alert__headingbox {
  font-weight: 600;
  display: flex;
  align-items: center;
  margin-block-end: 0.5rem;
}
form .form-group .pf-c-form__helper-text.pf-m-error .pf-c-alert__headingbox p {
  color: #991B1B;
  font-size: 1.125rem;
}
form .form-group .pf-c-form__helper-text.pf-m-error .pf-c-alert__headingbox .pf-c-alert__icon {
  margin: 0 0.5rem 0 0;
}
form .form-group .pf-c-form__helper-text.pf-m-error .pf-c-alert__icon {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.125rem 0.5rem 0 0;
}
form .form-group .pf-c-form__helper-text.pf-m-error .pf-c-alert__fields {
  list-style: disc;
  padding-left: 3rem;
}
form .form-group .pf-c-form__helper-text.pf-m-error .pf-c-alert__title {
  font-weight: 400;
}
form .form-group .pf-c-form__helper-text.pf-m-error.alert-warning {
  background: #FEF9C3;
}
form .form-group .pf-c-form__helper-text.pf-m-error.alert-warning span {
  color: #b45309;
}
form .form-group .pf-c-form__helper-text.pf-m-error.alert-warning .pf-c-alert__icon span::before {
  color: #ff8c00;
}
form .form-group .pf-c-form__helper-text.pf-m-error.alert-info {
  background: #e0f2fe;
  display: flex;
  align-items: flex-start;
}
form .form-group .pf-c-form__helper-text.pf-m-error.alert-info .form-group {
  margin-block-end: 0;
}
form .form-group .pf-c-form__helper-text.pf-m-error.alert-info span {
  color: #0369a1;
}
form .form-group .pf-c-form__helper-text.pf-m-error.alert-info span a {
  display: inline-block;
  font-weight: 600;
  margin-block-start: 0.5rem;
  color: #0369a1;
}
form .form-group .pf-c-form__helper-text.pf-m-error.alert-info .pf-c-alert__icon span::before {
  font-size: 1.25rem;
  color: #0369a1;
}
form .form-group.login-pf-settings {
  margin-block-end: 1rem;
  align-items: center;
}
form .form-group #kc-form-reset-psw a {
  font-weight: 600;
  color: #2c4b57;
  font-size: 1rem;
}
form a:not(button) {
  font-weight: 600;
  color: #C90745;
  font-size: 1rem;
}
form #kc-register-form .form-group:last-child {
  margin-block-end: 0;
}

#kc-reset-password-form span > a {
  margin-block-end: 0.8rem;
  display: inline-block;
  color: #C90745;
}
#kc-reset-password-form #kc-form-buttons {
  margin-block-end: 0.8rem;
}

.kc-register {
  margin-block-start: 1rem;
  text-align: center;
  color: #1F2937;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  display: block;
}
.kc-register a {
  font-weight: 600;
  color: #2c4b57;
}

/* Patternfly CSS places a "bg-login.jpg" as the background on this ".login-pf" class.
This clashes with the "keycloak-bg.png' background defined on the body below.
Therefore the Patternfly background must be set to none. */
.login-pf {
  background: none;
  height: unset;
  font-family: "Montserrat", sans-serif;
}
.login-pf body {
  background: url("../img/background-circles.svg") white no-repeat;
  background-position: center;
  background-size: cover;
  height: 100vh;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
}
.login-pf .login-pf-page {
  margin: 0 auto;
  padding: 1.5rem;
}
.login-pf .login-pf-page .login-pf-page-header {
  display: none;
}
.login-pf .login-pf-page .card-pf {
  margin: 0;
  background: #FFFFFF;
  padding: 1.5rem;
  margin: 0 auto;
  border: 1px solid #E5E7EB;
  border-radius: 0.375rem;
}
@media (min-width: 768px) {
  .login-pf .login-pf-page .card-pf {
    padding: 2rem;
    width: 36.875rem;
  }
}
.login-pf .login-pf-page .card-pf .login-pf-header {
  margin-bottom: 2rem;
}
.login-pf .login-pf-page .card-pf .login-pf-header h1 {
  font-size: 1.5rem;
  line-height: 1.333;
  font-weight: 600;
  margin: 0;
  text-align: center;
  color: #000;
  font-family: "Montserrat", sans-serif;
  padding-block-start: 4rem;
  position: relative;
}
@media (min-width: 768px) {
  .login-pf .login-pf-page .card-pf .login-pf-header h1 {
    width: 29.0625rem;
    margin: 0 auto;
  }
}
.login-pf .login-pf-page .card-pf .login-pf-header h1 img {
  margin: 0 auto 1.5rem;
  display: block;
}
.login-pf .login-pf-page .card-pf .login-pf-header h1:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16.875rem;
  height: 3.125rem;
  background: url("../img/ebsco.svg") no-repeat;
  background-size: cover;
}
.login-pf .login-pf-page .card-pf #kc-content .pf-c-alert.pf-m-inline {
  color: #DC1F26;
  border: none;
  font-size: 1rem;
  font-weight: 400;
  margin-block-end: 1.25rem;
  font-family: "Montserrat", sans-serif;
  line-height: 1.5;
}
.login-pf .login-pf-page .card-pf #kc-content .pf-c-alert.pf-m-inline .pf-c-alert__headingbox {
  font-weight: 600;
  display: flex;
  align-items: center;
  margin-block-end: 0.5rem;
}
.login-pf .login-pf-page .card-pf #kc-content .pf-c-alert.pf-m-inline .pf-c-alert__headingbox p {
  color: #991B1B;
  font-size: 1.125rem;
}
.login-pf .login-pf-page .card-pf #kc-content .pf-c-alert.pf-m-inline .pf-c-alert__headingbox .pf-c-alert__icon {
  margin: 0 0.5rem 0 0;
}
.login-pf .login-pf-page .card-pf #kc-content .pf-c-alert.pf-m-inline .pf-c-alert__icon {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.125rem 0.5rem 0 0;
}
.login-pf .login-pf-page .card-pf #kc-content .pf-c-alert.pf-m-inline .pf-c-alert__fields {
  list-style: disc;
  padding-left: 3rem;
}
.login-pf .login-pf-page .card-pf #kc-content .pf-c-alert.pf-m-inline .pf-c-alert__title {
  font-weight: 400;
}
.login-pf .login-pf-page .card-pf #kc-content .pf-c-alert.pf-m-inline.alert-warning {
  background: #FEF9C3;
}
.login-pf .login-pf-page .card-pf #kc-content .pf-c-alert.pf-m-inline.alert-warning span {
  color: #b45309;
}
.login-pf .login-pf-page .card-pf #kc-content .pf-c-alert.pf-m-inline.alert-warning .pf-c-alert__icon span::before {
  color: #ff8c00;
}
.login-pf .login-pf-page .card-pf #kc-content .pf-c-alert.pf-m-inline.alert-info {
  background: #e0f2fe;
  display: flex;
  align-items: flex-start;
}
.login-pf .login-pf-page .card-pf #kc-content .pf-c-alert.pf-m-inline.alert-info .form-group {
  margin-block-end: 0;
}
.login-pf .login-pf-page .card-pf #kc-content .pf-c-alert.pf-m-inline.alert-info span {
  color: #0369a1;
}
.login-pf .login-pf-page .card-pf #kc-content .pf-c-alert.pf-m-inline.alert-info span a {
  display: inline-block;
  font-weight: 600;
  margin-block-start: 0.5rem;
  color: #0369a1;
}
.login-pf .login-pf-page .card-pf #kc-content .pf-c-alert.pf-m-inline.alert-info .pf-c-alert__icon span::before {
  font-size: 1.25rem;
  color: #0369a1;
}
.login-pf .login-pf-page .card-pf #kc-content .pf-c-alert.pf-m-inline.pf-m-block {
  display: block;
}
.login-pf .login-pf-page .card-pf #kc-content .instruction p {
  color: #4B5563;
  font-size: 1rem;
}
.login-pf .login-pf-page .card-pf #kc-content .instruction a {
  color: #2c4b57;
  font-weight: 600;
}
.login-pf .login-pf-page .card-pf #kc-error-message {
  color: #4B5563;
  font-size: 1rem;
}
.login-pf .login-pf-page .card-pf #kc-error-message a {
  color: #C90745;
  font-weight: 600;
}
.login-pf .login-pf-page .card-pf #kc-info-message p > a {
  color: #C90745;
  font-weight: 600;
  font-size: 1rem;
}
.login-pf .login-pf-page .card-pf .kc-required-fields-text {
  color: #C90745;
  font-weight: 600;
  font-size: 1rem;
}
.login-pf .login-pf-page .card-pf ul.pf-c-login__main-footer-links {
  margin-top: 1.5rem;
  align-items: center;
  gap: 0.75rem;
}
.login-pf .login-pf-page .card-pf ul.pf-c-login__main-footer-links li {
  flex: 1 1 100%;
  max-width: 100%;
}
@media screen and (min-width: 768px) {
  .login-pf .login-pf-page .card-pf ul.pf-c-login__main-footer-links li:only-child {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .login-pf .login-pf-page .card-pf ul.pf-c-login__main-footer-links li:first-child:nth-last-child(2), .login-pf .login-pf-page .card-pf ul.pf-c-login__main-footer-links li:first-child:nth-last-child(2) ~ li {
    flex: 1 1 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
  }
  .login-pf .login-pf-page .card-pf ul.pf-c-login__main-footer-links li:first-child:nth-last-child(3), .login-pf .login-pf-page .card-pf ul.pf-c-login__main-footer-links li:first-child:nth-last-child(3) ~ li {
    flex: 1 1 calc(33.333% - 0.5rem);
    max-width: calc(33.333% - 0.5rem);
  }
}
.login-pf .login-pf-page .card-pf .gsi-material-button {
  display: block;
  font-weight: 600;
  text-align: center;
  padding: 0.625rem 1.25rem;
  font-size: 1.125rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  background-image: none;
  border: 1px solid #D1D5DB;
  background-color: transparent;
  color: #1F2937;
  font-size: 1rem;
  font-weight: 600;
  width: 100%;
}
.login-pf .login-pf-page .card-pf .gsi-material-button:hover {
  cursor: pointer;
  background: #4d4d4d;
  color: #F9FAFB;
}
.login-pf .login-pf-page .card-pf .gsi-material-button-icon {
  display: flex;
  align-items: center;
}
.login-pf .login-pf-page .card-pf .gsi-material-button a {
  color: #2c4b57;
}
.login-pf .login-pf-page .card-pf .gsi-material-button:hover {
  background: none;
  color: #2c4b57;
}
.login-pf .login-pf-page .card-pf .gsi-material-button .gsi-material-button-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.login-pf .login-pf-page .login-pf-signup {
  margin: 0;
}
