/* Select the divs inside the flex container */
.login-pf-header > div > div:first-child {
  order: 2; /* Move the first child to the second position */
}

.login-pf-header > div > div:last-child {
  order: 1; /* Move the last child to the first position */
}

.subtitle {
  margin: 1em;
}

#main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#rc-banner {
  background-color: #193060;
  box-shadow: 0px 3px 11px -1px rgba(0, 0, 0, 0.5);
  height: 10px;
}

/*.rc-bg-img {*/
.login-pf body .login-pf-page {
  background-position: center;
  height: calc(100vh - 110px);
  background-color: #f1e8d7;
  background-image: url("../img/background_pattern.svg");
}

.logo {
  max-height: 40px;
  margin: 1.5rem 1rem 1rem;
}

.flex-r {
  justify-content: end;
  display: flex;
}

.flex-l {
  justify-content: start;
  display: flex;
}

.login-pf-page .card-pf {
  display: flex;
  justify-content: space-evenly;
  justify-content: center;
  flex-wrap: wrap;
}

.rc-monitor {
  margin: 10vh 0;
}

.rc-round {
  border-radius: 4%;
  background-position: center;
  height: 270px;
  width: 470px;
  background-image: url(https://img.youtube.com/vi/wQ9zOroauJY/hqdefault.jpg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 6px 6px 16px 0px rgba(0, 0, 0, 0.75);
  border: 1px solid white;
}

.login-pf {
  background: none;
}

.calltoaction {
  background-color: white;
  color: #193060;
  padding: 0.5rem 1rem;
  border: 1px solid #193060;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 1rem;
}

.play {
  height: 1.5em;
  text-align: center;
  font: 48px/1.5 sans-serif;
  color: white;
  text-shadow: 0 0 0.5em black;
}

.login-pf body {
  background: #fefefe !important;
  height: 100%;
}

@media (max-width: 767px) {
  #kc-header-wrapper {
    padding: 0;
  }
}

#kc-header {
  text-align: center;
}

#kc-logo-wrapper {
  background-image: none;
  background-repeat: no-repeat;
  height: 63px;
  width: 300px;
  margin: 62px auto 0;
}

div.kc-logo-text {
  background-image: url(../img/Logo_Read_2c.svg);
  background-repeat: no-repeat;
  background-position: center;
  height: 120px;
  margin: 0 auto;
  display: inline-block;
}

.login-pf-page .pf-c-button {
  margin-top: 0;
  border-radius: 50px;
  padding: 10px;
  transition: 0.3s;
  background: #193060;
  border: solid 1px #193060;
  color: #fff;
  border-radius: 4px;
}

.login-pf-page .pf-c-button:hover {
  transition: 0.3s;
}

.pf-c-form__label-text {
  font-size: small;
}

.pf-c-form-control,
.pf-c-form-control:focus {
  display: block;
  width: 100%;
  padding: 1.5rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

h1 {
  color: #193060;
  font-weight: 500;
}

/*.rc-link {*/
a {
  color: #193060;
  text-decoration: underline;
  font-weight: 600;
}

.login-pf-page .pf-c-button:hover {
  background: #fff;
  color: #193060;
  border: solid 1px #193060;
}

.card-pf {
  border-radius: 10px !important;
  overflow: auto; /* Use "auto" for scrollbars when needed */
  box-shadow: 6px 6px 16px 0px rgba(0, 0, 0, 0.75);
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
  border-radius: 5px;
  border-top: 0px;
  max-height: 90vh; /* Limit the maximum height to 90% of the viewport height */
}

#kc-registration {
  font-size: 16px;
}

#kc-info-wrapper {
  background-color: #ffffff;
}

#kc-info {
  margin: 0px -40px -30px;
}

#kc-form-options .checkbox {
  margin-top: 15px;
}

.rc-login-hint {
  text-align: center;
}

.rc-lightbulb:before {
  font-family: "Themify";
  content: "\e695";
  color: orange;
  padding-right: 5px;
}

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

.g-recaptcha div {
  display: inline-block;
}
