@font-face {
  font-family: "Franklin Gothic Medium";
  src: url("../fonts/franklin_gothic_medium.ttf");
  src: url("../fonts/franklin_gothic_medium.ttf") format("truetype");
}

@font-face {
  font-family: "Franklin Gothic Book";
  src: url("../fonts/franklin_gothic_book.ttf");
  src: url("../fonts/franklin_gothic_book.ttf") format("truetype");
}

body {
  font-family: "Franklin Gothic Book", sans-serif;
}

.pf-v5-c-title {
  font-family: "Franklin Gothic Medium", sans-serif;
}

.pf-v5-c-form__label-text {
  font-weight: 400;
}

.pf-v5-c-login__main-footer-band-item {
  font-weight: 700;
}

:root {
  --pf-v5-global--primary-color--100: var(--pf-v5-global--palette--green-400);
  --pf-v5-global--primary-color--200: var(--pf-v5-global--palette--green-500);
  --pf-v5-global--primary-color--300: var(--pf-v5-global--palette--green-600);
  --pf-v5-global--primary-color--dark-100: var(
    --pf-v5-global--palette--gold-200
  );
}

.login-pf body {
  background: none;
}

.ih-brand {
  height: 50px;
  background: url("../img/ih-logo.png") no-repeat center/contain;
  margin-bottom: 8px;
}

.ih-error-text {
  font-size: 0.75rem;
  color: red;
}

.ih-alert {
  width: 100%;
  max-width: 500px;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;
}

.ih-announcement {
  display: block;
  font-size: 14px;
  padding: 8px 20px;
  text-align: center;
  transition: opacity 0.75s ease;
  position: absolute;
  width: 100%;
  background: rgb(41 65 114) !important;
  color: white;
}

.ih-announcement a {
  color: white;
  text-decoration: underline;
}

.ih-password-reset-text {
  font-size: 12px;
  color: #3f3f3f;
  margin-top: 4px;
}

.ih-password-policy h4 {
  font-size: 1rem;
  font-weight: 700;
  max-width: 300px;
}

.ih-description {
  width: calc(500px - 48px * 2 - 16px * 2);
  height: auto;
}

.ih-password-policy ul {
  font-weight: normal;
  list-style: disc;
  padding-left: 20px;
  height: auto;
}

.ih-password-policy li {
  width: auto;
  word-break: break-word;
  overflow-wrap: break-word;
}

.ih-hidden {
  display: none;
}

.pf-v5-c-login__main-body .subtitle {
  display: none;
}

.pf-v5-c-form-control {
  width: 100%;
}

.pf-v5-c-form-control::before,
.pf-v5-c-form-control::after {
  content: none !important;
  position: static !important;
  inset: auto !important;
  pointer-events: auto !important;
  display: none !important;
}

.pf-v5-c-form-control input {
  background: #9f9f9f17;
  border: none;
  /* border-width: 0 !important; */
  /* border-color: transparent; */
  border: 0.5px solid #6b6b6b;
  border-radius: 10px;
  font-size: 14px;
  font-family: Franklin Gothic Book;
  width: 100%;
  padding: 0.5rem 1.75rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.pf-v5-c-form-control > select {
  background: #9f9f9f17;
  border: 0.5px solid #6b6b6b;
  border-radius: 10px;
  font-size: 14px;
  font-family: Franklin Gothic Book;
  width: 100%;
  padding: 0.5rem 1.75rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.pf-v5-c-form-control input:focus,
.pf-v5-c-form-control input:focus-visible,
.pf-v5-c-form-control > select:focus {
  outline: none;
  border: 0.5px solid #e59700;
}

.pf-v5-c-form-control input[type="password"] {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
}

.pf-v5-c-button.pf-m-control {
  background: #9f9f9f17;
  border: 10px;
  /* border-width: 0 !important; */
  /* border-color: transparent; */
  border: 0.5px solid #6b6b6b;
  border-radius: 10px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.pf-v5-c-button.pf-m-control {
  --pf-v5-c-button--after--BorderColor: transparent;
}

.pf-v5-c-form-control:after {
  --pf-v5-c-form-control--after--BorderBottomWidth: 0;
}

@media (min-width: 1200px) {
  .pf-v5-c-login__header {
    margin-block-start: var(--pf-v5-c-login__header--md--MarginTop);
  }
  .ih-announcement {
    font-size: 18px;
  }
  .ih-brand {
    height: 75px;
  }
}

.pf-v5-c-login__header {
  --pf-v5-c-login--PaddingTop: var(--pf-v5-global--spacer--xs);
}

.pf-v5-c-form {
  --pf-v5-c-form--GridGap: var(--pf-v5-global--gutter);
}

input[type="date"]::-webkit-calendar-picker-indicator {
  transform: scale(1.4) translateX(16px);
  cursor: pointer;
}

@media (min-width: 992px) {
  .ih-alert {
    top: 20px;
    right: 40px;
  }
  .pf-v5-c-login__main-header {
    --pf-v5-c-login__main-header--PaddingTop: var(--pf-v5-global--spacer--xl);
  }
}

@media (max-width: 575px) {
  .pf-v5-c-title {
    --pf-v5-c-title--m-3xl--FontSize: var(--pf-v5-global--FontSize--xl);
  }
  .pf-v5-c-login {
    --pf-v5-c-login--PaddingTop: var(--pf-v5-global--spacer--sm);
    --pf-v5-c-login__main-header--PaddingTop: var(--pf-v5-global--spacer--md);
  }
  .pf-v5-c-form {
    --pf-v5-c-form--GridGap: var(--pf-v5-global--spacer--md);
  }

  .ih-brand {
    height: 50px;
    background-size: contain;
  }
  .ih-announcement {
    position: static;
  }

  .ih-description {
    width: calc(360px - 32px * 2 - 8px);
  }
}
