body {
  margin: 0px;
  padding: 0px;
}

.password-wrapper {
  position: relative;
}

.eye-icon {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  width: 0.9rem;
  height: 0.9rem;
  background: url("../img/eye.svg") no-repeat center center;
  background-size: contain;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.eye-icon:hover {
  opacity: 1;
}

.eye-icon.active {
  background-image: url("../img/eye-open.svg");
}

.pf-c-alert__icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.copyright a {
  text-decoration: underline;
}

/*..Common Elements..*/

/*copyright and MA logo section*/
div.MALogo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0rem;
  /* Space between child elements */
}

/*Disabling round exclaimation error icon */
.pf-c-form-control[aria-invalid="true"] {
  background-image: none;
}

#message {
  /* position: fixed;
	top: 10px;
	right: 10px;
	background-color: white;
	color: black;
	padding: 10px;
	border-radius: 5px;
	z-index: 1000;
	font-size: 12px; */
  display: none;
}

body::after {
  /* content: "Viewport Width: " attr(data-viewport-width) "px, Viewport Height: " attr(data-viewport-height) "px ,Entire Screen Width: " attr(data-screen-width) "px, Entire Screen Height: " attr(data-screen-height) "px";
	position: fixed;
	bottom: 10px;
	right: 10px;
	background-color: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 5px 10px;
	border-radius: 5px;
	font-family: Arial, sans-serif;
	font-size: 14px; */
  display: none;
}

.login-pf-page {
  max-height: 95vh;
}

#withoutIDP {
  width: 100vw;
  max-height: 95vh;
  margin: 0px;
  padding: 0px;
  background-size: 100% 100%;
}

#withIDP {
  width: 100vw;
  max-height: 95vh;
  margin: 0px;
  padding: 0px;
  background-size: 100% 100%;
}

.card-pf {
  box-shadow: none;
  margin: 0 auto;
  background-color: transparent;
  min-height: 30vh;
  text-align: center;
  padding-bottom: 0%;
  margin-bottom: 0%;
}

#kc-content-wrapper {
  margin-bottom: 0%;
  padding-bottom: 0%;
}

.login-pf-page .card-pf {
  max-width: none;
  margin: 0 auto;
  border-top: 0;
  box-shadow: 0 0;
  background-color: transparent;
  padding: 0rem 0.5rem 0.5rem 0.5rem;
  /*padding between IDP and footer*/
}

/*IE compatibility*/
.pf-c-form-control {
  border-radius: 4px;
  font-size: 14px;
  border: none;
  font-family: GothamBook;
  color: rgb(53, 66, 82);
  -webkit-text-fill-color: rgb(53, 66, 82);
  background-color: white;
  height: 46px;
  height: calc(
    var(--pf-c-form-control--FontSize) * var(--pf-c-form-control--LineHeight) +
      var(--pf-c-form-control--BorderWidth) * 2 +
      var(--pf-c-form-control--PaddingTop) +
      var(--pf-c-form-control--PaddingBottom)
  );
  padding: 5px 10px;
  color: grey;
}

.pf-m-primary {
  background-image: linear-gradient(-180deg, #7d8594 0%, #5e6877 100%);
  width: 100%;
  border: none;
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 0rem;
  padding: 0.6rem;
  font-size: 0.7rem;
}

.pf-m-primary {
  border-radius: 0.3rem;
}

h1#kc-page-title {
  margin: 3vh 0 0;
  color: #19234f;
  font-family: "Roboto", sans-serif;
  font-weight: normal;
  font-size: 1.1rem;
  width: 100%;
  text-align: center;
}

#kc-error-message .instruction {
  color: darkred;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
}

.card-pf p {
  color: #5c4738 !important;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
}

div.headerMA-logo.login {
  background-repeat: no-repeat;
  color: white;
  padding-top: 0%;
  background-size: 100%;
  height: auto;
  width: 140px;
  background-position: center;
  margin: 0 auto;
  text-align: center;
}

div.copyright {
  text-align: center;

  margin-top: 0;
  font-size: 9px;
  margin-bottom: 1%;
}

div.kc-logo-text {
  background-image: url(../img/OMNI.png);
  background-repeat: no-repeat;
  font-size: 15rem;
  color: white;
  padding-top: 15px;
  padding-bottom: 15px;
  background-size: contain;
  margin-top: 12px;
  margin-bottom: 0px;
  height: 7vh;
  width: 18vw;
  background-position: center;
  margin: 0 auto;
}

.kc-social-grid {
  grid-column-end: 12;
  --pf-l-grid__item--GridColumnEnd: span 12;
}

.kc-social-grid .kc-social-icon-text {
  left: -15px;
}

#kc-social-providers {
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
}

#kc-social-providers.kc-social-section.kc-social-gray {
  margin: 0 auto;
}

#horizontal-list {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin-bottom: 0%;
}

#horizontal-list li {
  margin-right: 15px;
}

#horizontal-list li:last-child {
  margin-right: 0;
}

#idp {
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  margin-bottom: 0%;
  background-color: transparent;
}

/*forgot password*/
div.form-group.login-pf-settings {
  font-size: 0.75rem;
  margin: 2% 0;
}

h4 {
  font-size: 0.8rem;
  color: white;
  margin-bottom: 0vh;
  margin-top: 1vh;
}

#kc-info-wrapper {
  font-size: 0.85rem;
  padding: 15px 35px;
  background-color: #f0f0f0;
  font-weight: bold;
  color: black;
  box-shadow: 0 0 15px blue;
}

.form-group {
  margin-bottom: 0rem;
}

#kc-form-login {
  max-width: 20vw;
  margin: 0 auto;
}

#kc-form-buttons.form-group {
  margin-top: 0px;
}

#kc-form-buttons {
  padding: 0;
}

.HorizontalIDPSeparator {
  max-width: 22vw;
  margin: 0.5rem auto 0;
}

/*Size of alert and icon*/
.pf-c-alert__title,
.pf-c-alert__icon span {
  font-size: 0.8rem !important;
}

#kc-reset-password-form,
#kc-passwd-update-form,
#kc-logout-confirm {
  max-width: 20vw;
  margin: 0 auto;
}

#kc-info {
  max-width: 60vw;
  margin: 1rem auto 0;
}

/*..Common Elements..*/

/*Margin on top of horizontal IDP rows*/
.kc-social-links {
  margin-top: 0px;
}

.pf-c-alert {
  display: inline-block;
  margin: 0 auto;
  padding: 0.5% 0;
  width: max-content;
  /*Dynamic width adjustment*/
  max-width: 100%;
  /* Ensure it doesn't exceed the page width */
  border-radius: 5px;
  box-sizing: border-box;
  /* Include padding and border in width calculations */
  overflow: hidden;
  /* Prevents content from overflowing */
}

.pf-c-alert__title {
  text-align: center;
  word-wrap: break-word;
  /* Break long words */
  word-break: break-word;
  /* Ensure text doesn't overflow */
}

/* Default font size */
html {
  font-size: 16px !important;
}

/*list of IDP*/
#horizontal-list li {
  margin-bottom: 0px !important;
  /*Remove extra space below all IDPs*/
  margin-top: 0.75rem;
  /*Add extra space top of all IDPs*/
}

:root {
  --pf-global--active-color--100: #0099d3;
}

.HorizontalIDPSeparator {
  border: 0 grey;
  height: 0.2rem;
  background: linear-gradient(
    to right,
    #1f375d 33%,
    #95aec8 33%,
    #95aec8 66%,
    #1f375d 66%
  );
}

.pf-c-button {
  --pf-c-button--disabled--Color: #1f375d;
  --pf-c-button--m-control--hover--after--BorderBottomColor: #1f375d;
  font-weight: bold;
}

/* default - IE compatibility */
.pf-m-primary:hover {
  color: #1f375d;
  font-weight: bold;
}

#username {
  text-align: center;
}

#password {
  text-align: center;
}

.center-input {
  display: flex;
  justify-content: center;
  align-items: center;
}

#input-error-username {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0.3rem;
  text-align: center;
  margin-bottom: 0.75rem;
}

#input-error-password,
#input-error-password-confirm {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0.3rem;
  text-align: center;
  margin-bottom: 0.75rem;
}

#password-new {
  text-align: center;
}

#password-confirm {
  text-align: center;
}

/* Works in Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #666 #546478;
}

/* Works in Chrome, Edge, Safari */
*::-webkit-scrollbar {
  width: 0.4rem;
}

*::-webkit-scrollbar-thumb {
  background-color: #666;
  border-radius: 0.5rem;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: #666;
  border-radius: 0.5rem;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

#cancelTOTPBtn {
  margin: 0.75rem;
  color: red;
  font: 1rem;
  background-color: #ccc;
  color: #333;
  border: 1px solid #666;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 0 25px #154080;
}

#cancelRecoveryAuthnCodesBtn {
  margin: 0.75rem;
  color: red;
  font: 1rem;
  background-color: #ccc;
  color: #333;
  border: 1px solid #666;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 0 25px #154080;
}

#kc-totp-settings {
  color: white;
}

a#kc-current-locale-link {
  visibility: hidden;
}

ul.pf-c-dropdown__menu.pf-m-align-right {
  visibility: hidden;
}

label.pf-c-form__label.pf-c-form__label-text {
  display: none;
}

div.footer {
  max-height: 65vh;
}

.pf-m-error {
  color: white;
  font-size: 1rem;
  background-color: #a8290a;
  padding-top: 2%;
  padding-bottom: 2%;
}

#input-error {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0.3rem;
  text-align: center;
}

:root {
  --pf-global--primary-color--100: white;
}

.img-fluid {
  height: auto;
  max-width: 100%;
}

.pageExpired {
  text-align: center;
}

.login-pf body {
  background-image: none;
  background: radial-gradient(circle at top center, #95aec8, #354252);
  overflow: hidden;
  margin: 0px;
  padding: 0px;
  background-attachment: fixed;
}

.pf-c-form-control:hover,
.pf-c-form-control:focus {
  outline: none !important;
  padding: 5px 10px;
}

.pf-c-form-control[aria-invalid="true"] {
  border-bottom-width: 2px;
  border-bottom-width: var(--pf-global--BorderWidth--md);
  background-color: white;
}

.login-pf a:hover {
  /* color: #0099d3; */
}

.pf-c-form-control {
  /*	--pf-global--primary-color--100: unset;*/
}

div.kc-logo-text span {
  display: none;
}

#kc-header-wrapper {
  font-size: 6rem;
  color: white;
}

#kc-header {
  margin: 0px;
  padding: 0px;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: grey;
  opacity: 0.5;
  font-weight: bold;
  /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: grey;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: grey;
}

.footer {
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  object-fit: fill;
}

.footer.logout {
  height: 42%;
}

.footer {
  background-image: url("../img/footer-tablet.png");
  clip-path: polygon(50% 0%, 100% 15%, 100% 100%, 0% 100%, 0% 15%);
  background-repeat: no-repeat;
  height: 100vh;
  width: 100vw;
}

.footer-copyright {
  font-family: "Source Sans Pro", sans-serif;
  position: absolute;
  width: 90vh;
  right: 4vw;
  bottom: 1vh;
  z-index: 999;
  font-size: 0.9rem;
  text-align: right;
}

.content-logo span,
.content-logo a,
.footer-copyright span,
.footer-copyright a {
  color: #ffffff;
}

.content-logo {
  font-family: "Source Sans Pro", sans-serif;
  position: absolute;
  z-index: 999;
  right: 3vw;
  bottom: 2vh;
  text-align: right;
}

#input-error-otp-code {
  border-radius: 0.3rem;
}

a {
  color: white;
  text-decoration: none;
}

a:hover {
  color: #19234f !important;
}

input#username.pf-c-form-control {
  margin-bottom: 0.5rem;
}

.login-pf-page {
  padding-top: 10px;
}

/*Media Queries*/

/*Very small screen portrait, Manhattan's TC 52 device*/
@media screen and (max-width: 380px) {
  .eye-icon {
    width: 1.2rem;
    height: 1.2rem;
  }

  .login-pf-page {
    padding-top: 20px;
  }

  input#username.pf-c-form-control {
    margin-bottom: 0.5rem;
  }

  /*list of IDP*/
  #horizontal-list li {
    margin-top: 0.05rem !important;
    /*Add custom space on top of IDP of very small screen*/
  }

  .footer {
    background-image: url("../img/footer-handheld.png");
  }

  .pf-c-alert__title,
  .pf-c-alert__icon span {
    font-size: 0.75rem !important;
  }

  .pf-c-alert {
    --pf-c-alert--PaddingTop: 0.1rem !important;
    --pf-c-alert--PaddingBottom: 0.1rem !important;
  }

  .login-pf-page {
    max-height: 99vh;
    padding-top: 0.25rem;
  }

  div.footer {
    max-height: 60vh;
  }

  .pf-m-error {
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
  }

  /*IE compatibility*/
  .pf-c-form-control {
    font-size: 1rem;
    border-radius: 3px;
    border: none;
    font-family: GothamBook;
    color: rgb(53, 66, 82);
    -webkit-text-fill-color: rgb(53, 66, 82);
    background-color: white;
    height: 1.5rem !important;
    padding: 5px 10px;
    color: grey;
    margin: 0px;
  }

  h1#kc-page-title {
    margin: 0px auto;
    color: #19234f;
    font-family: "Roboto", sans-serif;
    font-weight: normal;
    font-size: 1rem;
    width: 100%;
    text-align: center;
  }

  #kc-error-message .instruction {
    font-size: 1rem;
  }

  div.headerMA-logo.login {
    background-repeat: no-repeat;
    color: white;
    padding-top: 0%;
    background-size: 100%;
    height: auto;
    width: 9rem;
    background-position: center;
    margin: 0 auto;
    text-align: center;
  }

  div.copyright {
    text-align: center;
    margin-top: 0;
    font-size: 0.5rem;
    margin-bottom: 0%;
  }

  div.kc-logo-text {
    background-repeat: no-repeat;
    font-size: 15rem;
    color: white;
    padding-top: 0px;
    padding-bottom: 4rem;
    background-size: contain;
    margin-top: 1px;
    margin-bottom: 0px;
    height: 55px;
    width: 200px;
    background-position: center;
    margin: 0 auto;
  }

  .login-pf-page .card-pf {
    padding: 0rem 0.25rem 0.5rem 0.25rem;
  }

  #horizontal-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
  }

  #horizontal-list li {
    margin-right: 15px;
  }

  #idp {
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    margin: 1vh 0 0;
  }

  /*Line separator*/
  .kc-social-section hr {
    margin: 2vh auto;
    color: grey;
  }

  /*forget password*/
  div.form-group.login-pf-settings {
    font-size: 0.9rem;
    margin: 0.5rem;
  }

  h4 {
    font-size: 0.75rem;
    color: white;
    margin: 0%;
    padding: 0%;
  }

  .pf-m-primary {
    width: 100%;
    border: none;
    cursor: pointer;
    margin-top: 0.1rem;
    padding: 0.5rem;
    font-size: 1rem;
  }

  .kc-social-grid {
    grid-row-gap: 0px;
  }

  .kc-social-links {
    margin-top: 2px;
  }

  #input-error {
    border-radius: 0.3rem !important;
  }

  .form-group {
    margin-bottom: 0.25rem;
  }

  #kc-form-login {
    max-width: none;
    margin: 0 auto;
  }

  .HorizontalIDPSeparator {
    max-width: none;
    margin: 1rem auto;
  }

  #kc-reset-password-form,
  #kc-passwd-update-form,
  #kc-logout-confirm {
    max-width: none;
    margin: 0 auto;
  }

  #kc-info {
    max-width: none;
    margin: 1rem auto 0;
  }
}

/*Phone screens in landscape mode*/
@media screen and (max-height: 600px) and (max-width: 1000px) and (orientation: landscape) {
  .eye-icon {
    width: 1.2rem;
    height: 1.2rem;
  }

  .login-pf-page {
    padding-top: 20px;
  }

  input#username.pf-c-form-control {
    margin-bottom: 0.5rem;
  }

  .login-pf-page {
    max-height: none;
  }

  .footer {
    background-image: url("../img/footer-handheld.png");
  }

  .pf-m-primary {
    width: 100%;
    border: none;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 0rem;
    padding: 1rem;
    font-size: 1rem;
  }

  .login-pf body {
    overflow: scroll;
  }

  .login-pf-page .card-pf {
    max-width: 95vw;
    margin: 0 auto;
    border-top: 0;
    box-shadow: 0 0;
  }

  body,
  main,
  footer {
    margin: initial;
    padding: initial;
    min-height: initial;
    display: initial;
    flex-direction: initial;
    flex-grow: initial;
    flex-shrink: initial;
  }

  #kc-info-wrapper {
    font-size: 0.85rem;
    padding: 15px 35px;
    background-color: #f0f0f0;
    font-weight: bold;
    color: black;
    box-shadow: 0 0 15px blue;
  }

  div.footer {
    width: 100vw;
    height: 45vh;
    margin: 0px;
    padding: 0px;
    background-size: 100% 100%;
  }

  /*IE compatibility*/
  .pf-c-form-control {
    font-size: 18px;
    border-radius: 4px;
    border: none;
    font-family: GothamBook;
    color: rgb(53, 66, 82);
    -webkit-text-fill-color: rgb(53, 66, 82);
    background-color: white;
    height: 36px;
    height: calc(
      var(--pf-c-form-control--FontSize) * var(--pf-c-form-control--LineHeight) +
        var(--pf-c-form-control--BorderWidth) * 2 +
        var(--pf-c-form-control--PaddingTop) +
        var(--pf-c-form-control--PaddingBottom)
    );
    padding: 5px 10px;
    color: grey;
  }

  h1#kc-page-title {
    margin-top: 0px;
    color: #19234f;
    font-family: "Roboto", sans-serif;
    font-weight: normal;
    font-size: 1.25rem;
    width: 100%;
    text-align: center;
  }

  #kc-error-message .instruction {
    font-size: 1.25rem;
  }

  div.headerMA-logo.login {
    background-repeat: no-repeat;
    color: white;
    padding-top: 1%;
    background-size: 100%;
    height: auto;
    width: 180px;
    background-position: center;
    margin: 0 auto;
    text-align: center;
  }

  div.copyright {
    text-align: center;
    margin-top: 0;
    font-size: 0.6rem;
    margin-bottom: 3%;
  }

  div.kc-logo-text {
    background-repeat: no-repeat;
    font-size: 15rem;
    color: white;
    padding-top: 25px;
    padding-bottom: 45px;
    background-size: contain;
    margin-top: 12px;
    margin-bottom: 0px;
    height: 85px;
    width: 225px;
    background-position: center;
    margin: 0 auto;
  }

  #horizontal-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
  }

  #horizontal-list li {
    margin-right: 15px;
  }

  #idp {
    color: white;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0%;
  }

  /*forgot password*/
  div.form-group.login-pf-settings {
    font-size: 0.9rem;
    margin: 1rem;
  }

  h4 {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1vh;
    margin-top: 5vh;
  }

  .form-group {
    margin-bottom: 0.5rem;
  }

  #kc-form-login {
    max-width: none;
    margin: 0 auto;
  }

  .HorizontalIDPSeparator {
    max-width: none;
    margin: 1rem auto;
  }

  #kc-reset-password-form,
  #kc-passwd-update-form,
  #kc-logout-confirm {
    max-width: none;
    margin: 0 auto;
  }

  .pf-c-alert__title,
  .pf-c-alert__icon span {
    font-size: 0.8rem !important;
  }

  #kc-info {
    max-width: none;
    margin: 1rem auto 0;
  }
}

/*iphone-SE, 8, 6 inch screen portrait*/
@media screen and (min-width: 381px) and (max-width: 400px) {
  .eye-icon {
    width: 1.2rem;
    height: 1.2rem;
  }

  .login-pf-page {
    padding-top: 20px;
  }

  input#username.pf-c-form-control {
    margin-bottom: 0.5rem;
  }

  .pf-c-alert__title,
  .pf-c-alert__icon span {
    font-size: 0.75rem !important;
  }

  .footer {
    background-image: url("../img/footer-handheld.png");
  }

  .pf-c-alert {
    --pf-c-alert--PaddingTop: 0.1rem !important;
    --pf-c-alert--PaddingBottom: 0.1rem !important;
  }

  /*IE compatibility*/
  .pf-c-form-control {
    border-radius: 4px;
    font-size: 16px;
    border: none;
    font-family: GothamBook;
    color: rgb(53, 66, 82);
    -webkit-text-fill-color: rgb(53, 66, 82);
    background-color: white;
    height: 36px;
    height: calc(
      var(--pf-c-form-control--FontSize) * var(--pf-c-form-control--LineHeight) +
        var(--pf-c-form-control--BorderWidth) * 2 +
        var(--pf-c-form-control--PaddingTop) +
        var(--pf-c-form-control--PaddingBottom)
    );
    padding: 5px 10px;
    color: grey;
  }

  h1#kc-page-title {
    margin-top: 3vh;
    color: #19234f;
    font-family: "Roboto", sans-serif;
    font-weight: normal;
    font-size: 1.25rem;
    width: 100%;
    text-align: center;
  }

  #kc-error-message .instruction {
    font-size: 1.25rem;
  }

  div.headerMA-logo.login {
    background-repeat: no-repeat;
    color: white;
    padding-top: 1%;
    background-size: 100%;
    height: auto;
    width: 180px;
    background-position: center;
    margin: 0 auto;
    text-align: center;
  }

  div.copyright {
    text-align: center;
    margin-top: 0;
    font-size: 0.65rem;
    margin-bottom: 1%;
  }

  div.kc-logo-text {
    background-repeat: no-repeat;
    font-size: 15rem;
    color: white;
    padding-top: 1vh;
    padding-bottom: 1vh;
    background-size: contain;
    margin-top: 1vh;
    margin-bottom: 0px;
    height: 4rem;
    width: 15rem;
    background-position: center;
    margin: 0 auto;
  }

  /* default - IE compatibility */
  .pf-m-primary {
    width: 100%;
    border: none;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 0.75rem;
    padding: 0.75rem;
    font-size: 15px;
  }

  #horizontal-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
  }

  #horizontal-list li {
    margin-right: 5px;
  }

  #idp {
    color: white;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 0%;
  }

  /*Line separator*/
  .kc-social-section hr {
    margin: 1.5vh auto;
  }

  /*forgot password*/
  div.form-group.login-pf-settings {
    font-size: 0.8rem;
    margin: 0.5rem;
  }

  h4 {
    font-size: 0.85rem;
    color: white;
  }

  .form-group {
    margin-bottom: 0.25rem;
  }

  #kc-form-login {
    max-width: none;
    margin: 0 auto;
  }

  .HorizontalIDPSeparator {
    max-width: none;
    margin: 1rem auto;
  }

  #kc-reset-password-form,
  #kc-passwd-update-form,
  #kc-logout-confirm {
    max-width: none;
    margin: 0 auto;
  }

  #kc-info {
    max-width: none;
    margin: 1rem auto 0;
  }
}

/*iphone-8 plus, 6.4 inch screen portrait*/
@media screen and (min-width: 401px) and (max-width: 650px) and (orientation: portrait) {
  .eye-icon {
    width: 1.2rem;
    height: 1.2rem;
  }

  .login-pf-page {
    padding-top: 20px;
  }

  input#username.pf-c-form-control {
    margin-bottom: 0.5rem;
  }

  .pf-c-alert__title,
  .pf-c-alert__icon span {
    font-size: 0.75rem !important;
  }

  .footer {
    background-image: url("../img/footer-handheld.png");
  }

  .pf-c-alert {
    --pf-c-alert--PaddingTop: 0.3rem !important;
    --pf-c-alert--PaddingBottom: 0.3rem !important;
  }

  /*IE compatibility*/
  .pf-c-form-control {
    border-radius: 4px;
    font-size: 18px;
    border: none;
    font-family: GothamBook;
    color: rgb(53, 66, 82);
    -webkit-text-fill-color: rgb(53, 66, 82);
    background-color: white;
    height: 36px;
    height: calc(
      var(--pf-c-form-control--FontSize) * var(--pf-c-form-control--LineHeight) +
        var(--pf-c-form-control--BorderWidth) * 2 +
        var(--pf-c-form-control--PaddingTop) +
        var(--pf-c-form-control--PaddingBottom)
    );
    padding: 5px 10px;
    color: grey;
  }

  h1#kc-page-title {
    margin-top: 0px;
    color: #19234f;
    font-family: "Roboto", sans-serif;
    font-weight: normal;
    font-size: 22px;
    width: 100%;
    text-align: center;
  }

  #kc-error-message .instruction {
    font-size: 22px;
  }

  div.headerMA-logo.login {
    background-repeat: no-repeat;
    color: white;
    padding-top: 1%;
    background-size: 100%;
    height: auto;
    width: 180px;
    background-position: center;
    margin: 0 auto;
    text-align: center;
  }

  div.copyright {
    text-align: center;
    margin-top: 0;
    font-size: 0.7rem;
    margin-bottom: 1%;
  }

  div.kc-logo-text {
    background-repeat: no-repeat;
    font-size: 15rem;
    color: white;
    padding-top: 1vh;
    padding-bottom: 2vh;
    background-size: contain;
    margin-top: 12px;
    margin-bottom: 0px;
    height: 6rem;
    width: 270px;
    background-position: center;
    margin: 0 auto;
  }

  /* default - IE compatibility */
  .pf-m-primary {
    width: 100%;
    border: none;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 0.75rem;
    padding: 0.75rem;
    font-size: 15px;
  }

  #horizontal-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
  }

  #horizontal-list li {
    margin-right: 5px;
  }

  #idp {
    color: white;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 0%;
  }

  /*forgot password*/
  div.form-group.login-pf-settings {
    font-size: 0.9rem;
    margin: 1rem 0;
  }

  /*Line separator*/
  .kc-social-section hr {
    margin: 1.5vh auto;
  }

  h4 {
    font-size: 1rem;
    color: white;
  }

  .form-group {
    margin-bottom: 0.5rem;
  }

  #kc-form-login {
    max-width: none;
    margin: 0 auto;
  }

  .HorizontalIDPSeparator {
    max-width: none;
    margin: 1rem auto;
  }

  #kc-reset-password-form,
  #kc-passwd-update-form,
  #kc-logout-confirm {
    max-width: none;
    margin: 0 auto;
  }

  #kc-info {
    max-width: none;
    margin: 1rem auto 0;
  }
}

/*ipad mini & ipad and tablets portrait*/
@media screen and (min-width: 651px) and (max-width: 768px) and (min-height: 741px) and (max-height: 1130px) {
  .eye-icon {
    width: 1.2rem;
    height: 1.2rem;
  }

  .login-pf-page {
    padding-top: 10px;
  }

  input#username.pf-c-form-control {
    margin-bottom: 0.6rem;
  }

  .pf-c-alert__title,
  .pf-c-alert__icon span {
    font-size: 1rem !important;
  }

  .pf-c-alert {
    padding: 0.5rem !important;
  }

  .footer {
    background-image: url("../img/footer-handheld.png");
  }

  .login-pf-page .card-pf {
    max-width: 90vw;
    margin: 0 auto;
    border-top: 0;
    box-shadow: 0 0;
    background-color: transparent;
  }

  /*IE compatibility*/
  .pf-c-form-control {
    border-radius: 4px;
    font-size: 20px;
    border: none;
    font-family: GothamBook;
    color: rgb(53, 66, 82);
    -webkit-text-fill-color: rgb(53, 66, 82);
    background-color: white;
    height: 46px;
    height: calc(
      var(--pf-c-form-control--FontSize) * var(--pf-c-form-control--LineHeight) +
        var(--pf-c-form-control--BorderWidth) * 2 +
        var(--pf-c-form-control--PaddingTop) +
        var(--pf-c-form-control--PaddingBottom)
    );
    padding: 5px 10px;
    color: grey;
    margin-bottom: 5px;
  }

  /* default - IE compatibility */
  /*	login button*/
  .pf-m-primary {
    width: 100%;
    border: none;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 0.9rem;
    padding: 0.9rem;
    font-size: 1rem;
  }

  h1#kc-page-title {
    margin-top: 0px;
    color: #19234f;
    font-family: "Roboto", sans-serif;
    font-weight: normal;
    font-size: 25px;
    padding-bottom: 25px;
    width: 100%;
    text-align: center;
  }

  #kc-error-message .instruction {
    font-size: 25px;
  }

  div.headerMA-logo.login {
    background-repeat: no-repeat;
    color: white;
    padding-top: 1%;
    background-size: 100%;
    height: auto;
    width: 220px;
    background-position: center;
    margin: 0 auto;
    text-align: center;
  }

  div.copyright {
    text-align: center;
    margin-top: 0;
    font-size: 0.75rem;
    margin-bottom: 1%;
  }

  div.kc-logo-text {
    background-repeat: no-repeat;
    font-size: 15rem;
    color: white;
    padding-top: 0vh;
    padding-bottom: 0vh;
    background-size: contain;
    margin-top: 0vh;
    margin-bottom: 0px;
    height: 100px;
    width: 300px;
    background-position: center;
    margin: 0 auto;
  }

  #horizontal-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
  }

  #horizontal-list li {
    margin-right: 10px;
  }

  #idp {
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0%;
  }

  /*forgot password*/
  div.form-group.login-pf-settings {
    font-size: 1rem;
    margin: 0;
  }

  h4 {
    font-size: 1rem;
    color: white;
    margin: 1vh 0;
  }

  .kc-social-section hr {
    margin: 2vh auto;
  }

  .form-group {
    margin-bottom: 0.15rem;
  }

  #kc-form-login {
    max-width: 50vw;
    margin: 0 auto;
  }

  .login-pf-page .login-pf-header {
    margin-bottom: 0.1rem;
  }

  .HorizontalIDPSeparator {
    max-width: 55vw;
    margin: 1rem auto;
  }

  #kc-reset-password-form,
  #kc-passwd-update-form,
  #kc-logout-confirm {
    max-width: 50vw;
    margin: 0 auto;
  }

  #kc-info {
    max-width: 80vw;
    margin: 1rem auto 0;
  }
}

/*medium screen tablets eg: ipad-pro portrait*/
@media screen and (min-width: 769px) and (max-width: 835px) and (min-height: 741px) and (max-height: 1200px) {
  .eye-icon {
    width: 1.2rem;
    height: 1.2rem;
  }

  .login-pf-page {
    padding-top: 20px;
  }

  input#username.pf-c-form-control {
    margin-bottom: 0.6rem;
  }

  .pf-c-alert__title,
  .pf-c-alert__icon span {
    font-size: 1rem !important;
  }

  .pf-c-alert {
    padding: 0.75rem !important;
    margin-bottom: 2vh !important;
  }

  .footer {
    background-image: url("../img/footer-handheld.png");
  }

  .login-pf-page .card-pf {
    max-width: 95vw;
    margin: 0 auto;
    border-top: 0;
    box-shadow: 0 0;
  }

  /*IE compatibility*/
  .pf-c-form-control {
    border-radius: 4px;
    font-size: 20px;
    border: none;
    font-family: GothamBook;
    color: rgb(53, 66, 82);
    -webkit-text-fill-color: rgb(53, 66, 82);
    background-color: white;
    height: 46px;
    height: calc(
      var(--pf-c-form-control--FontSize) * var(--pf-c-form-control--LineHeight) +
        var(--pf-c-form-control--BorderWidth) * 2 +
        var(--pf-c-form-control--PaddingTop) +
        var(--pf-c-form-control--PaddingBottom)
    );
    padding: 5px 10px;
    color: grey;
    margin-bottom: 15px;
  }

  /* default - IE compatibility */
  /*	login button*/
  .pf-m-primary {
    width: 100%;
    border: none;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1.25rem;
  }

  h1#kc-page-title {
    margin-top: 2vh;
    color: #19234f;
    font-family: "Roboto", sans-serif;
    font-weight: normal;
    font-size: 25px;
    padding-bottom: 25px;
    width: 100%;
    text-align: center;
  }

  #kc-error-message .instruction {
    font-size: 25px;
  }

  div.headerMA-logo.login {
    background-repeat: no-repeat;
    color: white;
    padding-top: 1%;
    background-size: 100%;
    height: auto;
    width: 250px;
    background-position: center;
    margin: 0 auto;
    text-align: center;
  }

  div.copyright {
    text-align: center;
    margin-top: 0;
    font-size: 0.9rem;
    margin-bottom: 3%;
  }

  div.kc-logo-text {
    background-repeat: no-repeat;
    font-size: 15rem;
    color: white;
    padding-top: 1vh;
    padding-bottom: 1vh;
    background-size: contain;
    margin-top: 1vh;
    margin-bottom: 0px;
    height: 125px;
    width: 365px;
    background-position: center;
    margin: 0 auto;
  }

  #horizontal-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
  }

  #horizontal-list li {
    margin-right: 10px;
  }

  #idp {
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0%;
  }

  /*forgot password*/
  div.form-group.login-pf-settings {
    font-size: 1.2rem;
    margin: 0 0 2%;
  }

  h4 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 1vh;
    margin-top: 2vh;
  }

  /*Line separator*/
  .kc-social-section hr {
    margin: 2vh auto;
  }

  .form-group {
    margin-bottom: 0.5rem;
  }

  #kc-form-login {
    max-width: 50vw;
    margin: 0 auto;
  }

  .login-pf-page .login-pf-header {
    margin-bottom: 0.1rem;
  }

  .HorizontalIDPSeparator {
    max-width: 55vw;
    margin: 1rem auto;
  }

  #kc-reset-password-form,
  #kc-passwd-update-form,
  #kc-logout-confirm {
    max-width: 50vw;
    margin: 0 auto;
  }

  #kc-info {
    max-width: 80vw;
    margin: 1rem auto 0;
  }
}

/*ipad mini, air 2 & medium sized tablets landscape*/
@media screen and (min-width: 1001px) and (max-width: 1024px) and (min-height: 600px) and (max-height: 900px) and (orientation: landscape) {
  .eye-icon {
    width: 1rem;
    height: 1rem;
  }
  .login-pf-page {
    padding-top: 10px;
  }

  input#username.pf-c-form-control {
    margin-bottom: 0.5rem;
  }

  .login-pf-page .card-pf {
    max-width: 90vw;
    margin: 0 auto;
    border-top: 0;
    box-shadow: 0 0;
  }

  /*IE compatibility*/
  .pf-c-form-control {
    border-radius: 4px;
    font-size: 1rem;
    border: none;
    font-family: GothamBook;
    color: rgb(53, 66, 82);
    -webkit-text-fill-color: rgb(53, 66, 82);
    background-color: white;
    height: 30px !important;
    /*height: calc(var(--pf-c-form-control--FontSize) * var(--pf-c-form-control--LineHeight) + var(--pf-c-form-control--BorderWidth) * 2 + var(--pf-c-form-control--PaddingTop) + var(--pf-c-form-control--PaddingBottom));*/
    padding: 5px 10px;
    color: grey;
    margin-bottom: 3px;
  }

  /* default - IE compatibility */
  /*	login button*/
  .pf-m-primary {
    width: 100%;
    border: none;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 0.65rem;
    padding: 0.4rem;
    font-size: 1rem;
  }

  h1#kc-page-title {
    margin-top: 1vh;
    color: #19234f;
    font-family: "Roboto", sans-serif;
    font-weight: normal;
    font-size: 1.25rem;
    padding-bottom: 2.25vh;
    width: 100%;
    text-align: center;
  }

  #kc-error-message .instruction {
    font-size: 1.25rem;
  }

  div.headerMA-logo.login {
    background-repeat: no-repeat;
    color: white;
    padding-top: 0%;
    background-size: 100%;
    height: auto;
    width: 170px;
    background-position: center;
    margin: 0 auto;
    text-align: center;
  }

  div.copyright {
    text-align: center;
    margin-top: 0;
    font-size: 0.6rem;
    margin-bottom: 0rem;
  }

  div.kc-logo-text {
    background-repeat: no-repeat;
    font-size: 15rem;
    color: white;
    padding-top: 15px;
    padding-bottom: 15px;
    background-size: contain;
    margin-top: 12px;
    margin-bottom: 0px;
    height: 10vh;
    width: 22vw;
    background-position: center;
    margin: 0 auto;
  }

  #horizontal-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
  }

  #horizontal-list li {
    margin-right: 15px;
  }

  #idp {
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 0%;
  }

  /*forget password*/
  div.form-group.login-pf-settings {
    font-size: 0.8rem;
    margin-top: 0.65rem 0 0;
  }

  h4 {
    font-size: 1rem;
    color: white;
    margin-bottom: 0vh;
    margin-top: 0vh;
  }

  #kc-info-wrapper {
    font-size: 0.85rem;
  }

  .form-group {
    margin-bottom: 0.15rem;
  }

  #kc-form-login {
    max-width: 30vw;
    margin: 0 auto;
  }

  .login-pf-page .login-pf-header {
    margin-bottom: 0.1rem;
  }

  .HorizontalIDPSeparator {
    max-width: 32vw;
    margin: 0.5rem auto;
  }

  #kc-reset-password-form,
  #kc-passwd-update-form,
  #kc-logout-confirm {
    max-width: 30vw;
    margin: 0 auto;
  }

  #kc-info {
    max-width: 50vw;
    margin: 1rem auto 0;
  }
}

/*ipad pro portrait 12.9 inch - bigger screen tablets */
@media screen and (min-width: 836px) and (max-width: 1031px) and (min-height: 1130px) and (max-height: 1370px) {
  .eye-icon {
    width: 1.75rem;
    height: 1.75rem;
    transform: translateY(-90%);
  }

  .login-pf-page {
    padding-top: 20px;
  }

  .footer {
    background-image: url("../img/footer-handheld.png");
  }

  #kc-info-wrapper {
    font-size: 1.25rem;
  }

  .login-pf-page .card-pf {
    max-width: 95vw;
    margin: 0 auto;
    border-top: 0;
    box-shadow: 0 0;
  }

  /*IE compatibility*/
  .pf-c-form-control {
    border-radius: 4px;
    font-size: 1.5rem;
    border: none;
    font-family: GothamBook;
    color: rgb(53, 66, 82);
    -webkit-text-fill-color: rgb(53, 66, 82);
    background-color: white;
    height: 50px !important;
    height: calc(
      var(--pf-c-form-control--FontSize) * var(--pf-c-form-control--LineHeight) +
        var(--pf-c-form-control--BorderWidth) * 2 +
        var(--pf-c-form-control--PaddingTop) +
        var(--pf-c-form-control--PaddingBottom)
    );
    padding: 5px 10px;
    color: grey;
    margin-bottom: 20px;
  }

  /* default - IE compatibility */
  /*	login button*/
  .pf-m-primary {
    width: 100%;
    border: none;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 1.5rem;
    padding: 1rem;
    font-size: 1.75rem;
  }

  h1#kc-page-title {
    margin-top: 0px;
    color: #19234f;
    font-family: "Roboto", sans-serif;
    font-weight: normal;
    font-size: 2rem;
    padding-bottom: 2%;
    width: 100%;
    text-align: center;
  }

  #kc-error-message .instruction {
    font-size: 2.25rem;
  }

  div.headerMA-logo.login {
    background-repeat: no-repeat;
    color: white;
    padding-top: 1%;
    background-size: 100%;
    height: auto;
    width: 500px;
    background-position: center;
    margin: 0 auto;
    text-align: center;
  }

  div.copyright {
    text-align: center;
    margin-top: 0;
    font-size: 15px;
    margin-bottom: 1%;
  }

  div.kc-logo-text {
    background-repeat: no-repeat;
    font-size: 15rem;
    color: white;
    padding-top: 0vh;
    padding-bottom: 0vh;
    background-size: contain;
    margin-top: 1vh;
    margin-bottom: 0px;
    height: 8rem;
    width: 25rem;
    background-position: center;
    margin: 0 auto;
  }

  #horizontal-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
  }

  #horizontal-list li {
    margin-right: 20px;
  }

  #idp {
    color: white;
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 0%;
  }

  /*forgot password*/
  div.form-group.login-pf-settings {
    font-size: 1.5rem;
    margin: 0;
  }

  h4 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1vh;
    margin-top: 1vh;
  }

  /*Line separator*/
  .kc-social-section hr {
    margin: 2vh auto;
  }

  .form-group {
    margin-bottom: 0rem;
  }

  #kc-form-login {
    max-width: 50vw;
    margin: 0 auto;
  }

  .login-pf-page .login-pf-header {
    margin-bottom: 0.1rem;
  }

  .HorizontalIDPSeparator {
    max-width: 55vw;
    margin: 1rem auto;
  }

  .pf-m-error {
    font-size: 1.5rem !important;
  }

  .pf-c-alert__title,
  .pf-c-alert__icon span {
    font-size: 1.5rem !important;
  }

  .pf-c-alert {
    padding: 0.5rem !important;
    margin-bottom: 2.5vh !important;
  }

  #kc-reset-password-form,
  #kc-passwd-update-form,
  #kc-logout-confirm {
    max-width: 50vw;
    margin: 0 auto;
  }

  #kc-info {
    max-width: 80vw;
    margin: 1rem auto 0;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1360px) and (min-height: 450px) and (max-height: 699px) {
  .eye-icon {
    width: 1rem;
    height: 1rem;
  }

  .pf-c-form-control {
    height: 25px !important;
  }

  .pf-c-alert__title {
    font-size: 0.6rem !important;
  }
}

/*Windows laptops, ipad air, ipad landscape*/
@media screen and (min-width: 1025px) and (max-width: 1360px) and (min-height: 700px) and (max-height: 1600px) {
  .eye-icon {
    width: 1rem;
    height: 1rem;
  }

  .login-pf-page {
    padding-top: 20px;
  }

  input#username.pf-c-form-control {
    margin-bottom: 0.6rem;
  }

  .login-pf-page .card-pf {
    max-width: 90vw;
    margin: 0 auto;
    border-top: 0;
    box-shadow: 0 0;
  }

  /*IE compatibility*/
  .pf-c-form-control {
    border-radius: 4px;
    font-size: 1rem;
    border: none;
    font-family: GothamBook;
    color: rgb(53, 66, 82);
    -webkit-text-fill-color: rgb(53, 66, 82);
    background-color: white;
    height: 46px;
    height: calc(
      var(--pf-c-form-control--FontSize) * var(--pf-c-form-control--LineHeight) +
        var(--pf-c-form-control--BorderWidth) * 2 +
        var(--pf-c-form-control--PaddingTop) +
        var(--pf-c-form-control--PaddingBottom)
    );
    padding: 5px 10px;
    color: grey;
    margin-bottom: 10px;
  }

  /* default - IE compatibility */
  /*	login button*/
  .pf-m-primary {
    width: 100%;
    border: none;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 0.3rem;
    padding: 0.4rem;
    font-size: 0.9rem;
  }

  h1#kc-page-title {
    margin-top: 3vh;
    color: #19234f;
    font-family: "Roboto", sans-serif;
    font-weight: normal;
    font-size: 1.2rem;
    padding-bottom: 1vh;
    width: 100%;
    text-align: center;
  }

  #kc-error-message .instruction {
    font-size: 1.2rem;
  }

  div.headerMA-logo.login {
    background-repeat: no-repeat;
    color: white;
    padding-top: 0%;
    background-size: 100%;
    height: auto;
    width: 160px;
    background-position: center;
    margin: 0 auto;
    text-align: center;
  }

  div.copyright {
    text-align: center;
    margin-top: 0;
    font-size: 0.6rem;
    margin-bottom: 1%;
  }

  div.kc-logo-text {
    background-repeat: no-repeat;
    font-size: 15rem;
    color: white;
    padding-top: 15px;
    padding-bottom: 15px;
    background-size: contain;
    margin-top: 12px;
    margin-bottom: 0px;
    height: 7vh;
    width: 20vw;
    background-position: center;
    margin: 0 auto;
  }

  #horizontal-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0 !important;
    margin-bottom: 0% !important;
  }

  #horizontal-list li {
    margin-right: 15px;
  }

  #idp {
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 0%;
  }

  /*forget password*/
  div.form-group.login-pf-settings {
    font-size: 0.8rem;
    margin: 0.5rem 0;
  }

  h4 {
    font-size: 0.8rem;
    color: white;
    margin-bottom: 0vh;
    margin-top: 0vh;
  }

  #kc-info-wrapper {
    font-size: 0.85rem;
  }

  .form-group {
    margin-bottom: 0rem;
  }

  #kc-form-login {
    max-width: 22vw;
    margin: 0 auto;
  }

  .login-pf-page .login-pf-header {
    margin-bottom: 0.1rem;
  }

  .HorizontalIDPSeparator {
    max-width: 23vw;
    margin: 1rem auto;
  }

  /*Success & Error alerts at the top*/
  .pf-c-alert__title,
  .pf-c-alert__icon span {
    font-size: 0.75rem !important;
  }

  #kc-reset-password-form,
  #kc-passwd-update-form,
  #kc-logout-confirm {
    max-width: 22vw;
    margin: 0 auto;
  }

  #kc-info {
    max-width: 40vw;
    margin: 1rem auto 0;
  }
}

/*Global Browser of medium laptops, ipad pro landscape*/
@media screen and (min-width: 1361px) and (max-width: 1900px) {
  .eye-icon {
    width: 1.1rem;
    height: 1.1rem;
  }
  .login-pf-page {
    padding-top: 20px;
  }

  input#username.pf-c-form-control {
    margin-bottom: 0.1rem;
  }

  .login-pf-page .card-pf {
    max-width: 90vw;
    margin: 0 auto;
    border-top: 0;
    box-shadow: 0 0;
  }

  /*IE compatibility*/
  .pf-c-form-control {
    border-radius: 4px;
    font-size: 1rem;
    border: none;
    font-family: GothamBook;
    color: rgb(53, 66, 82);
    -webkit-text-fill-color: rgb(53, 66, 82);
    background-color: white;
    height: 46px;
    height: calc(
      var(--pf-c-form-control--FontSize) * var(--pf-c-form-control--LineHeight) +
        var(--pf-c-form-control--BorderWidth) * 2 +
        var(--pf-c-form-control--PaddingTop) +
        var(--pf-c-form-control--PaddingBottom)
    );
    padding: 5px 10px;
    color: grey;
    margin-bottom: 1px;
  }

  /* default - IE compatibility */
  /*	login button*/
  .pf-m-primary {
    width: 100%;
    border: none;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 0.75rem;
    padding: 1rem;
    font-size: 1rem;
  }

  h1#kc-page-title {
    margin-top: 2vh;
    color: #19234f;
    font-family: "Roboto", sans-serif;
    font-weight: normal;
    font-size: 1.25rem;
    padding-bottom: 1vh;
    width: 100%;
    text-align: center;
  }

  #kc-error-message .instruction {
    font-size: 1.25rem;
  }

  div.headerMA-logo.login {
    background-repeat: no-repeat;
    color: white;
    padding-top: 0%;
    background-size: 100%;
    background-position: center;
    margin: 0 auto;
    text-align: center;
    height: auto;
    width: 200px;
  }

  div.copyright {
    text-align: center;
    margin-top: 0;
    font-size: 10px;
    margin-bottom: 1vh;
  }

  div.kc-logo-text {
    background-repeat: no-repeat;
    font-size: 15rem;
    color: white;
    padding-top: 15px;
    padding-bottom: 15px;
    background-size: contain;
    margin-top: 12px;
    margin-bottom: 0px;
    height: 7vh;
    width: 18vw;
    background-position: center;
    margin: 0 auto;
  }

  #horizontal-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
  }

  #horizontal-list li {
    margin-right: 15px;
  }

  #idp {
    color: white;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0%;
  }

  /*forget password*/
  div.form-group.login-pf-settings {
    font-size: 0.9rem;
    margin: 0.9rem 0;
  }

  h4 {
    font-size: 1rem;
    color: white;

    margin: 1.5vh 0 0.5vh;
  }

  #kc-info-wrapper {
    font-size: 0.85rem;
  }

  .form-group {
    margin-bottom: 0.75rem;
  }

  #kc-form-login {
    max-width: 20vw;
    margin: 0 auto;
  }

  .HorizontalIDPSeparator {
    max-width: 22vw;
    margin: 1.5rem auto;
  }

  #kc-reset-password-form,
  #kc-passwd-update-form,
  #kc-logout-confirm {
    max-width: 20vw;
    margin: 0 auto;
  }

  #kc-info {
    max-width: 40vw;
    margin: 1rem auto 0;
  }
}

/*Global Browser of bigger laptops & desktops*/
@media screen and (min-width: 1901px) and (max-width: 2400px) {
  .eye-icon {
    width: 1.2rem;
    height: 1.2rem;
  }

  input#username.pf-c-form-control {
    margin-bottom: 0.5rem;
  }

  .login-pf-page .card-pf {
    max-width: 90vw;
    margin: 0 auto;
    border-top: 0;
    box-shadow: 0 0;
  }

  /*IE compatibility*/
  .pf-c-form-control {
    border-radius: 4px;
    font-size: 1.25rem;
    border: none;
    font-family: GothamBook;
    color: rgb(53, 66, 82);
    -webkit-text-fill-color: rgb(53, 66, 82);
    background-color: white;
    height: 40px !important;
    height: calc(
      var(--pf-c-form-control--FontSize) * var(--pf-c-form-control--LineHeight) +
        var(--pf-c-form-control--BorderWidth) * 2 +
        var(--pf-c-form-control--PaddingTop) +
        var(--pf-c-form-control--PaddingBottom)
    );
    padding: 5px 10px;
    color: grey;
    margin-bottom: 15px;
  }

  /* default - IE compatibility */
  /*	login button*/
  .pf-m-primary {
    width: 100%;
    border: none;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1.1rem;
  }

  h1#kc-page-title {
    margin-top: 3vh;
    color: #19234f;
    font-family: "Roboto", sans-serif;
    font-weight: normal;
    font-size: 1.6rem;
    padding-bottom: 2vh;
    width: 100%;
    text-align: center;
  }

  #kc-error-message .instruction {
    font-size: 1.6rem;
  }

  div.headerMA-logo.login {
    background-repeat: no-repeat;
    color: white;
    padding-top: 0.5%;
    background-size: 100%;
    height: auto;
    width: 280px;
    background-position: center;
    margin: 0 auto;
    text-align: center;
  }

  div.copyright {
    text-align: center;
    margin-top: 0;
    font-size: 15px;
    margin-bottom: 1.5vh;
  }

  div.kc-logo-text {
    background-repeat: no-repeat;
    font-size: 15rem;
    color: white;
    padding-top: 15px;
    padding-bottom: 15px;
    background-size: contain;
    margin-top: 12px;
    margin-bottom: 0px;
    height: 7vh;
    width: 18vw;
    background-position: center;
    margin: 0 auto;
  }

  #horizontal-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin-top: 0.75rem;
  }

  #horizontal-list li {
    margin-right: 15px;
  }

  #idp {
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0%;
  }

  /*forget password*/
  div.form-group.login-pf-settings {
    font-size: 1.25rem !important;
    margin: 0.75rem 0 1.25rem;
  }

  h4 {
    font-size: 1.25rem !important;
    color: white;
    margin-bottom: 0.75vh;
    margin-top: 1.5vh;
  }

  #kc-info-wrapper {
    font-size: 1.25rem;
  }

  .form-group {
    margin-bottom: 0.75rem;
  }

  #kc-form-login {
    max-width: 20vw;
    margin: 0 auto;
  }

  .login-pf-page .login-pf-header {
    margin-bottom: 0.1rem;
  }

  .HorizontalIDPSeparator {
    max-width: 22vw;
    margin: 1.5rem auto;
  }

  .pf-c-alert {
    margin-bottom: 1.25% !important;
  }

  .pf-c-alert__title,
  .pf-c-alert__icon span {
    font-size: 1.15rem !important;
  }

  .pf-m-error {
    font-size: 1.25rem !important;
  }

  #kc-reset-password-form,
  #kc-passwd-update-form,
  #kc-logout-confirm {
    max-width: 20vw;
    margin: 0 auto;
  }

  #kc-info {
    max-width: 50vw;
    margin: 1rem auto 0;
  }
}

/*Global Browser of Bigger Desktops amd iMacs*/
@media screen and (min-width: 2401px) and (max-height: 1600px) {
  .eye-icon {
    width: 2rem;
    height: 2rem;
  }
  .login-pf-page {
    padding-top: 0px;
  }

  .card-pf p {
    font-size: 2rem;
  }

  div.footer {
    max-height: 95vh;
    margin: 0px;
    padding: 0px;
  }

  .login-pf-page .card-pf {
    max-width: 90vw;
    margin: 0 auto;
    border-top: 0;
    box-shadow: 0 0;
  }

  /*IE compatibility*/
  .pf-c-form-control {
    border-radius: 4px;
    font-size: 2rem;
    border: none;
    font-family: GothamBook;
    color: rgb(53, 66, 82);
    -webkit-text-fill-color: rgb(53, 66, 82);
    background-color: white;
    height: 50px !important;
    height: calc(
      var(--pf-c-form-control--FontSize) * var(--pf-c-form-control--LineHeight) +
        var(--pf-c-form-control--BorderWidth) * 2 +
        var(--pf-c-form-control--PaddingTop) +
        var(--pf-c-form-control--PaddingBottom)
    );
    padding: 5px 10px;
    color: grey;
  }

  /* default - IE compatibility */
  /*	login button*/
  .pf-m-primary {
    width: 100%;
    border: none;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 1rem;
    padding: 1rem;
    font-size: 2rem;
  }

  h1#kc-page-title {
    margin-top: 0vh;
    color: #19234f;
    font-family: "Roboto", sans-serif;
    font-weight: normal;
    font-size: 2.5rem;
    padding-bottom: 0.75%;
    padding-top: 0.75%;
    width: 100%;
    text-align: center;
  }

  #kc-error-message .instruction {
    font-size: 2.5rem;
  }

  div.headerMA-logo.login {
    background-repeat: no-repeat;
    color: white;
    padding-top: 0.5%;
    background-size: contain;
    height: auto;
    width: 10vw;
    background-position: center;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
    align-items: center;
    /*margin-bottom: 0.1px;*/
  }

  div.headerMA-logo.login img {
    width: 100%;
    /* Adjust width to 100% of its container */
    height: auto;
    /* Maintain aspect ratio */
  }

  div.copyright {
    text-align: center;
    margin-top: 0;
    font-size: 1rem;
    margin-bottom: 1.2vh;
  }

  div.kc-logo-text {
    background-repeat: no-repeat;
    font-size: 15rem;
    color: white;
    padding-top: 5px;
    padding-bottom: 5px;
    background-size: contain;
    margin-top: 5px;
    margin-bottom: 0px;
    height: 9vh;
    width: 20vw;
    background-position: center;
    margin: 0 auto;
  }

  #horizontal-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
  }

  #horizontal-list li {
    margin-right: 15px;
  }

  #idp {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0%;
  }

  /*forgot password*/
  div.form-group.login-pf-settings {
    font-size: 1.75rem;
    margin: 0rem;
  }

  h4 {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 0.5vh;
    margin-top: 0.5vh;
  }

  /*Line separator*/
  .kc-social-section hr {
    margin: 1.5vh auto;
  }

  #kc-info-wrapper {
    font-size: 1.75rem;
  }

  .form-group {
    margin-bottom: 0.8rem;
  }

  #kc-form-login {
    max-width: 20vw;
    margin: 0 auto;
  }

  .login-pf-page .login-pf-header {
    margin-bottom: 0.1rem;
  }

  .HorizontalIDPSeparator {
    max-width: 22vw;
    margin: 1.5rem auto;
  }

  .pf-c-alert {
    margin-bottom: 0.5% !important;
  }

  .pf-c-alert__title,
  .pf-c-alert__icon span {
    font-size: 1.75rem !important;
  }

  .pf-m-error {
    font-size: 1.75rem !important;
  }

  #kc-reset-password-form,
  #kc-passwd-update-form,
  #kc-logout-confirm {
    max-width: 20vw;
    margin: 0 auto;
  }

  #kc-info {
    max-width: 50vw;
    margin: 1rem auto 0;
  }
}

/*Lengthy Screens*/
@media screen and (min-height: 1601px) {
  .eye-icon {
    width: 1.75rem;
    height: 1.75rem;
    transform: translateY(-90%);
  }
  
  .login-pf-page {
    padding-top: 20px;
  }

  input#username.pf-c-form-control {
    margin-bottom: 0.5rem;
  }

  #kc-info-wrapper {
    font-size: 1.25rem;
  }

  #kc-error-message .instruction {
    font-size: 2rem;
  }

  .card-pf p {
    font-size: 2rem;
  }

  div.footer {
    margin: 0px;
    padding: 0px;
    width: 100vw;
    height: 100vh;
  }

  .login-pf-page .card-pf {
    max-width: 90vw;
    margin: 0 auto;
    border-top: 0;
    box-shadow: 0 0;
    max-height: 90vh;
    padding-bottom: 1rem;
  }

  /*IE compatibility*/
  .pf-c-form-control {
    border-radius: 4px;
    font-size: 2rem;
    border: none;
    font-family: GothamBook;
    color: rgb(53, 66, 82);
    -webkit-text-fill-color: rgb(53, 66, 82);
    background-color: white;
    height: 200px;
    height: calc(
      var(--pf-c-form-control--FontSize) * var(--pf-c-form-control--LineHeight) +
        var(--pf-c-form-control--BorderWidth) * 2 +
        var(--pf-c-form-control--PaddingTop) +
        var(--pf-c-form-control--PaddingBottom)
    );
    padding: 5px 10px;
    color: grey;
    margin-bottom: 5%;
  }

  /* default - IE compatibility */
  /*	login button*/
  .pf-m-primary {
    width: 100%;
    border: none;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 1rem;
    padding: 1rem;
    font-size: 2rem;
  }

  h1#kc-page-title {
    margin-top: 2.25vh;
    color: #19234f;
    font-family: "Roboto", sans-serif;
    font-weight: normal;
    font-size: 2.5rem;
    padding-bottom: 5%;
    width: 100%;
    text-align: center;
  }

  #kc-error-message .instruction {
    font-size: 2.5rem;
  }

  div.headerMA-logo.login {
    background-repeat: no-repeat;
    color: white;
    padding-top: 1%;
    background-size: 100%;
    height: auto;
    width: 250px;
    background-position: center;
    margin: 0 auto;
    text-align: center;
  }

  div.copyright {
    text-align: center;
    margin-top: 0;
    font-size: 1rem;
    margin-bottom: 1vh;
  }

  div.kc-logo-text {
    background-repeat: no-repeat;
    font-size: 15rem;
    color: white;
    padding-top: 15px;
    padding-bottom: 15px;
    background-size: contain;
    margin-top: 12px;
    margin-bottom: 0px;
    height: 10vh;
    width: 45vw;
    background-position: center;
    margin: 0 auto;
  }

  #horizontal-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
  }

  #horizontal-list li {
    margin-right: 15px;
  }

  #idp {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0%;
  }

  /*forget password*/
  div.form-group.login-pf-settings {
    font-size: 1.5rem;
    margin: 0 0 2rem;
  }

  h4 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1vh;
    margin-top: 1vh;
  }

  /*Line separator*/
  .kc-social-section hr {
    margin: 2vh auto;
  }

  input#username.pf-c-form-control,
  input#password.pf-c-form-control {
    height: 3rem;
  }

  .form-group {
    margin-bottom: 1.25rem;
  }

  #kc-form-login {
    max-width: 50vw;
    margin: 0 auto;
  }

  .login-pf-page .login-pf-header {
    margin-bottom: 0.1rem;
  }

  .HorizontalIDPSeparator {
    max-width: 55vw;
    margin: 1.5rem auto;
  }

  .footer {
    background-image: url("../img/footer-handheld.png");
  }

  .pf-c-alert {
    margin-bottom: 3% !important;
  }

  .pf-c-alert__title,
  .pf-c-alert__icon span {
    font-size: 1.5rem !important;
  }

  .pf-m-error {
    font-size: 1.5rem !important;
  }

  #kc-reset-password-form,
  #kc-passwd-update-form,
  #kc-logout-confirm {
    max-width: 50vw;
    margin: 0 auto;
  }

  #kc-info {
    max-width: 80vw;
    margin: 1rem auto 0;
  }
}

/* ── Session-expired warning: mirror #kc-form-login sizing across all breakpoints ── */
#ma-session-expired-warning {
  max-width: 20vw;
  margin: 0 auto;
  text-align: center;
}

#ma-sign-in-again {
  display: block;
}

@media screen and (max-width: 380px) {
  #ma-session-expired-warning { max-width: none; }
}

@media screen and (max-height: 600px) and (max-width: 1000px) and (orientation: landscape) {
  #ma-session-expired-warning { max-width: none; }
}

@media screen and (min-width: 381px) and (max-width: 400px) {
  #ma-session-expired-warning { max-width: none; }
}

@media screen and (min-width: 401px) and (max-width: 650px) and (orientation: portrait) {
  #ma-session-expired-warning { max-width: none; }
}

@media screen and (min-width: 651px) and (max-width: 768px) and (min-height: 741px) and (max-height: 1130px) {
  #ma-session-expired-warning { max-width: 50vw; }
}

@media screen and (min-width: 769px) and (max-width: 835px) and (min-height: 741px) and (max-height: 1200px) {
  #ma-session-expired-warning { max-width: 50vw; }
}

@media screen and (min-width: 1001px) and (max-width: 1024px) and (min-height: 600px) and (max-height: 900px) and (orientation: landscape) {
  #ma-session-expired-warning { max-width: 30vw; }
}

@media screen and (min-width: 836px) and (max-width: 1031px) and (min-height: 1130px) and (max-height: 1370px) {
  #ma-session-expired-warning { max-width: 50vw; }
}

@media screen and (min-width: 1025px) and (max-width: 1360px) and (min-height: 700px) and (max-height: 1600px) {
  #ma-session-expired-warning { max-width: 22vw; }
}

@media screen and (min-width: 1361px) and (max-width: 1900px) {
  #ma-session-expired-warning { max-width: 20vw; }
}

@media screen and (min-width: 1901px) and (max-width: 2400px) {
  #ma-session-expired-warning { max-width: 20vw; }
}

@media screen and (min-width: 2401px) and (max-height: 1600px) {
  #ma-session-expired-warning { max-width: 20vw; }
}

@media screen and (min-height: 1601px) {
  #ma-session-expired-warning { max-width: 50vw; }
}
