html,
body {
  height: 100%;
  font-family: "Roboto", sans-serif;
  min-width: 360px;
  background-color: rgba(243, 245, 247, 1);
  display: grid;
}

.page-container {
  align-items: center;
  flex-direction: column;
  display: flex;
  height: fit-content;
  min-height: 100vh;
  justify-content: space-between;
}

.splash {
  display: none;
}

.mobile-header {
  margin: 30px auto;
}

main {
  display: flex;
  align-items: center;
  width: 100%;
  flex-direction: column;
  height: 100%;
  margin-bottom: 30px;
}

#pageContent {
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: white;
  width: 300px;
  border-radius: 3px;
  border-radius: 20px;
  padding: 0 25px;
  text-align: center;
}

#pageContent h1 {
  font-size: 24px;
  text-align: center;
  margin-top: 0;
  /* once this has better support margin hacks can be removed from template h1s */
  text-wrap: balance;
}

#pageContent p {
  text-align: center;
}
.form-header {
  margin-left: 20px;
  margin-right: 20px;
  margin-top: 1rem;
}

.form-header h1 {
  margin: 0px;
}

.login-form form,
.spaced-children {
  display: flex;
  flex-direction: column;
}

.login-form {
  font-size: 14px;
}

.login-form form > *,
.spaced-children > * {
  margin: 10px 5px;
}

.login-form label {
  display: block;
  text-align: left;
}

.login-form .text-field {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  /*Safari*/
  display: -ms-flexbox;
  display: -webkit-flex;
  -webkit-flex-direction: column;
}

.no-margin {
  margin: 0;
}

.stretch-self {
  align-self: stretch;
  width: 100%;
}

.login-form input[type="text"],
.login-form input[type="password"] {
  height: 43px;
  align-self: stretch;
  margin: 0 0 0 0;
  outline-color: transparent;
  border: 2px solid black;
  font-size: 16px;
}

.login-form input[type="text"].error,
.login-form input[type="password"].error {
  border-color: #c60f13;
}

#divAlert,
.divAlert {
  margin: 0 !important;
  padding: 1em;
  max-width: 600px;
}

#divAlert .validation-summary-errors ul,
.divAlert .validation-summary-errors ul {
  list-style-type: none;
  padding: 0;
  text-align: left;
  margin: 0;
}

.error-highlight {
  background-color: #fff;
  color: #c60f13;
  border-radius: 10px;
  padding: 8px 0;
  text-align: left;
  font-size: 14px;
  line-height: 18px;
}

.login-form input.input-validation-error {
  border-color: #c60f13;
}

#divAlert.login-row,
.divAlert.login-row {
  padding: 0;
}

form {
  margin: 0;
}

body a {
  color: rgba(20, 110, 179, 1);
  font-size: 14px;
  text-decoration: underline;
}

#welcomePortalReturn {
  margin-bottom: 30px;
}

#welcomePortalReturn a {
  color: rgba(20, 110, 179, 1);
  font-weight: 400;
  font-size: 14px;
  text-decoration: underline;
}

.title-container .title-span {
  color: #005793;
  font-size: 1em;
  line-height: normal;
  padding-top: 0.5em;
}

.header-container .header-content .navigation-container {
  text-align: right;
  white-space: nowrap;
  padding-right: 0px;
  display: flex;
}

.header-container rl-menu {
  position: relative;
}

body p {
  text-align: left;
  font-size: 16px;
  color: #222222;
}

.input-label span {
  font-size: 14px;
  font-weight: 500;
}

.login-row span {
  font-size: 14px;
  font-weight: 400;
}

input {
  border-radius: 3px;
}

.page-content .wait h1 {
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  color: #222222;
}

body span {
  font-size: 16px;
}

button span {
  font-size: 16px;
}

#copyrightdate {
  font-size: 14px;
}

.text-center {
  text-align: center;
}

.padding-small {
  padding: 10px;
}

.please-wait-padding {
  padding-top: 50px;
  padding-bottom: 50px;
}

.please-wait-padding p {
  text-align: center;
}

.renaissance-id-span {
  font-size: 14px;
}

.button-container:focus-within {
  outline: 1px solid #146eb3;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
  border-radius: 0px !important;
}

button.primary:focus {
  background: #146eb3;
}

a:focus {
  outline: solid 2px #146eb3;
}

button,
.button.secondary {
  margin: 5px;
  border-radius: 8px;
}

.external-providers-list .button img {
  width: 20px;
  margin-left: 20px;
}

.external-providers-list .button {
  height: 40px;
  border-radius: 8px;
  margin: 5px;
  background-color: white;
  color: black;
  border-color: black;
}

.button-container {
  display: flex;
  flex-direction: column;
  margin-left: 0px !important;
  margin-right: 0px !important;
  margin-top: 12px !important;
}

.provider-button #slo {
  display: none;
}

.button:hover {
  text-decoration: none;
}

.button-with-img {
  padding: 0;
}

.button-with-img img {
  width: 30px;
}

.external-providers-list {
  margin: 0px 0px 16px;
}

.notification {
  margin: 0 auto;
  padding: 36px 72px;
  margin-top: 175px;
  background-color: rgb(255, 255, 255, 0.9);
  width: fit-content;
  position: absolute;
  text-align: center;
  left: 0;
  right: 0;
}

.notification h1 {
  font-size: 1.75rem;
  color: rgb(19, 101, 155);
  margin: 10px 0;
  font-weight: 600;
}

.notification .glyph {
  font-size: 6.25rem;
  color: rgb(19, 101, 155);
  margin-left: 50px;
}

.notification p {
  text-align: center;
  margin: 0 0 10px 0;
  width: 330px;
  display: inline-block;
}

.notification a {
  font-size: 1rem;
}

.rpid {
  border: 1px solid black;
  border-radius: 8px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px 5px 16px;
  font-size: 14px;
  font-weight: 500;
}

.rpid .info {
  margin: 0 8px;
}

.rpid img {
  margin: 8px;
  width: 28px;
  height: 34px;
}

.forgot-password {
  margin-bottom: 16px;
  font-weight: 500;
}

footer {
  text-align: center;
  font-family: Roboto, sans-serif;
  display: block;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

footer li:before {
  content: "|";
  margin: 0;
  padding: 0;
  border: none;
}

li:first-child:before {
  content: "";
  margin-inline: 0;
}

footer a {
  color: #1c1b1f;
  text-decoration: underline;
}

.required-explain {
  margin-left: auto !important;
  margin-right: 15px !important;
}
.required-explain-text {
  color: #767676;
  font-family: "Roboto-Regular", "Roboto", sans-serif;
  font-size: 12px;
}

footer .footer-logo {
  text-align: center;
}

footer .footer-logo img {
  margin-top: 2px;
  margin-bottom: 10px;
  width: 210px;
  height: 41.8px;
}

footer .footer-legal {
  margin-bottom: 30px;
}

footer ul {
  list-style-type: none;

  padding-inline-start: 10px;
  padding-inline-end: 10px;
  padding: 3px 0 0;
  margin: 0;
}

footer ul > li {
  display: inline-block;
  padding: 0;
  margin: 0;
}

footer .footer-legal__copy {
  font-size: 14px;
}

@media screen and (min-width: 390px) {
  .mobile-header {
    margin: 60px auto;
  }
}

@media screen and (min-width: 822px) {
  .page-container {
    position: relative;
    display: block;
    height: 100%;
  }

  .splash {
    display: flex;
    width: 50%;
    float: left;
    text-align: left;
    min-height: 100vh;
    height: -webkit-fill-available;
    height: stretch;
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    align-items: center;
    justify-content: right;
    background-image: url("../img/splash.svg");
  }

  .mobile-header {
    display: none;
  }
  main {
    width: 50%;
    float: left;
    justify-content: center;
  }

  #pageContent {
    margin: 100px auto;
  }

  footer {
    position: absolute;
    bottom: 0;
    left: 32px;
    right: 32px;
    display: flex;
    justify-content: space-between;
  }

  .footer-logo {
    text-align: center;
    margin-bottom: 0px;
  }

  .footer-legal__links {
    text-align: right;
  }

  footer .footertitle div {
    display: inline;
  }
}
