.about-text {
  margin-top: 1.6rem;
  margin-bottom: 4rem;
}

#kc-form {
  font-size: 1.2rem;
}

.logo {
  background: url("../img/ustpace-plus-logo.svg?");
  width: 240px;
  aspect-ratio: 3.2;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 1.6rem;
}

.alert {
  font-size: 1.2rem;
}

.alert-error {
  background-color: #ffffff;
  border-color: #cc0000;
  color: #333333;
}

#kc-locale ul {
  display: none;
  position: absolute;
  background-color: #fff;
  list-style: none;
  right: 0;
  top: 20px;
  min-width: 100px;
  padding: 2px 0;
  border: solid 1px #bbb;
}

#kc-locale:hover ul {
  display: block;
  margin: 0;
}

#kc-locale ul li a {
  display: block;
  padding: 5px 14px;
  color: #000 !important;
  text-decoration: none;
  line-height: 20px;
}

#kc-locale ul li a:hover {
  color: #4d5258;
  background-color: #d4edfa;
}

#kc-locale-dropdown a {
  color: #4d5258;
  background: 0 0;
  padding: 0 15px 0 0;
  font-weight: 300;
}

#kc-locale-dropdown a:hover {
  text-decoration: none;
}

a#kc-current-locale-link {
  display: block;
  padding: 0 5px;
}

a#kc-current-locale-link::after {
  content: "\2c5";
  margin-left: 4px;
}

.login-pf .container {
  padding-top: 40px;
}

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

#kc-logo {
  width: 100%;
}

#kc-logo-wrapper {
  background-image: url(../img/keycloak-logo-2.png);
  background-repeat: no-repeat;
  height: 63px;
  width: 300px;
  margin: 62px auto 0;
}

div.kc-logo-text {
  background-image: url(../img/ustpace.svg?);
  background-repeat: no-repeat;
  height: 149px;
  width: 195px;
  background-size: 100%;
  margin: 0 auto;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  background-position: center center;
}

#kc-form-login input[type="text"],
#kc-form-login input[type="password"] {
  box-shadow: none;
  background: #fff;
  height: 30px;
  border: 0;
  border-bottom: 1px solid #37a2af;
}

#kc-form-login .control-label {
  color: #37a2af;
  font-weight: normal;
  font-size: 14px;
}

#input-error-firstname,
#input-error-lastname,
#input-error-email,
#input-error-username,
#input-error-password,
#input-error-password-confirm {
  color: #c00;
}

h1#kc-page-title {
  line-height: 27px;
  color: #313131;
  text-align: left;
  font-size: 20px;
}

h4#kc-page-subtitle {
  color: #949494;
  font-size: 14px;
  line-height: 19px;
}

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

#kc-header {
  color: #ededed;
  overflow: visible;
  white-space: nowrap;
}

#kc-header-wrapper {
  font-size: 29px;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1.2em;
  padding: 62px 10px 20px;
  white-space: normal;
}

#kc-content {
  padding: 0 5rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
  flex-basis: clamp(56rem, 36.2744rem + 14.4404vw, 64rem);
  position: sticky;
  top: 25vh;
  height: 100%;
  overflow: auto;
}

/* #kc-content-wrapper {
    overflow-y: hidden;
} */

#kc-info {
  padding-bottom: 0;
  margin-bottom: 0;
}

#kc-info-wrapper {
  font-size: 13px;
}

#kc-form-options span {
  display: block;
}

#kc-form-options .checkbox {
  margin-top: 0;
  color: #72767b;
}

#kc-terms-text {
  margin-bottom: 20px;
}

#kc-registration {
  margin-bottom: 15px;
}

/* TOTP */

ol#kc-totp-settings {
  margin: 0;
  padding-left: 20px;
}

ul#kc-totp-supported-apps {
  margin-bottom: 10px;
}

#kc-totp-secret-qr-code {
  max-width: 150px;
  max-height: 150px;
}

#kc-totp-secret-key {
  background-color: #fff;
  color: #333333;
  font-size: 16px;
  padding: 10px 0;
}

/* OAuth */

#kc-oauth h3 {
  margin-top: 0;
}

#kc-oauth ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#kc-oauth ul li {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  padding: 10px 0;
}

#kc-oauth ul li:first-of-type {
  border-top: 0;
}

#kc-oauth .kc-role {
  display: inline-block;
  width: 50%;
}

/* Code */
#kc-code textarea {
  width: 100%;
  height: 8em;
}

/* Social */

#kc-social-providers ul {
  padding: 0;
}

#kc-social-providers li {
  display: block;
}

#kc-social-providers li:first-of-type {
  margin-top: 0;
}

.zocial,
a.zocial {
  width: 100%;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  #kc-container-wrapper {
    position: absolute;
    width: 100%;
  }

  .login-pf .container {
    padding-right: 80px;
  }

  #kc-locale {
    position: relative;
    text-align: right;
    z-index: 9999;
  }
}

.logo-header {
  padding: 25px 50px;
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 0;
  width: 100%;
}

.logo-header .product-logo {
  background-image: url(../img/ust.svg?);
  background-repeat: no-repeat;
  height: 121px;
  width: 70px;
  background-size: 100%;
}

.logo-header .client-logo {
  background-image: url(../img/dynamic.svg?);
  background-repeat: no-repeat;
  margin-top: 10px;
  width: 285px;
  background-size: 100%;
}

@media (max-width: 767px) {
  #kc-header {
    padding-left: 15px;
    padding-right: 15px;
    float: none;
    text-align: left;
  }

  #kc-header-wrapper {
    font-size: 16px;
    font-weight: bold;
    padding: 20px 60px 0 0;
    color: #72767b;
    letter-spacing: 0;
  }

  div.kc-logo-text {
    margin: 0;
    width: 200px;
    height: 32px;
    background-size: 100%;
    margin-bottom: 50px;
  }

  #kc-form {
    float: none;
  }

  #kc-info-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 15px;
    padding-top: 15px;
    padding-left: 0px;
    padding-right: 15px;
  }

  #kc-social-providers li {
    display: block;
    margin-right: 5px;
  }

  .login-pf .container {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  #kc-locale {
    position: absolute;
    width: 200px;
    top: 20px;
    right: 20px;
    text-align: right;
    z-index: 9999;
  }

  #kc-logo-wrapper {
    background-size: 100px 21px;
    height: 21px;
    width: 100px;
    margin: 20px 0 0 20px;
  }
}

@media (min-height: 646px) {
  #kc-container-wrapper {
    bottom: 12%;
  }
}

@media (max-height: 645px) {
  #kc-container-wrapper {
    padding-top: 50px;
    top: 20%;
  }
}

.card-pf form.form-actions .btn {
  float: right;
  margin-left: 10px;
}

.login-pf-page {
  height: 100%;
  background: linear-gradient(196.75deg, rgba(1, 161, 171, 0.662779) 23.25%);
  mix-blend-mode: normal;
  opacity: 1;
  padding-top: 0;
  position: relative;
}

#kc-form-buttons {
  margin-top: 40px;
}

.login-pf-page .login-pf-brand {
  margin-top: 20px;
  max-width: 360px;
  width: 40%;
}

.card-pf {
  margin: 0 auto;
  width: 100%;
  border-top: 0;
  box-shadow: 0 0 0;
  display: flex;
  background: transparent;
  top: 50%;
  position: relative;
  transform: translateY(-50%);
  justify-content: center;
}

.logo-container {
  text-align: center;
  padding: 0 50px;
  margin-top: 150px;
}

.login-wrapper {
  padding: 50px;
  background: #fff;
  border-radius: 2px;
}

.center-form {
  top: 50%;
  position: relative;
  transform: translateY(-50%);
  max-width: 650px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .login-pf-page .card-pf {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-top: 0;
  }

  .card-pf.login-pf-accounts {
    max-width: none;
  }
}

.login-pf-page .login-pf-signup {
  font-size: 15px;
  color: #72767b;
}

#kc-content-wrapper .row {
  margin-left: 0;
  margin-right: 0;
}

@media (min-width: 768px) {
  .login-pf-page .login-pf-social-section:first-of-type {
    padding: 50px 19px 50px 0;
    border-right: 1px solid #d1d1d1;
    margin-right: -1px;
  }

  .login-pf-page .login-pf-social-section:last-of-type {
    padding: 0 0 0 20px;
    border-left: 0;
  }

  .login-pf-page .login-pf-social-section .login-pf-social-link:last-of-type {
    margin-bottom: 0;
  }
}

.login-pf-page .login-pf-social-link {
  margin-bottom: 25px;
}

.login-pf-page.login-pf-page-accounts {
  margin-left: auto;
  margin-right: auto;
}

.login-pf-page .btn-primary,
.login-pf-page .btn-primary:active,
.login-pf-page .btn-primary:focus,
.login-pf-page .login-pf-social-link a {
  width: auto !important;
  padding: 7px 20px;
  border-radius: 0;
  color: #37a2af;
  background: #fff;
  box-shadow: none;
  border: 1px solid #37a2af;
  outline: 0 none;
}

.login-pf-page .btn-primary:hover {
  color: #fff;
  background: #37a2af;
}

.login-pf-page .login-pf-social-link a {
  min-width: 125px;
  padding: 7px 2px;
  font-size: 16px;
}

.stay-check {
  display: flex;
  align-items: center;
  font-weight: normal;
  font-size: 14px;
  color: #787878;
}

.stay-check input {
  margin-right: 5px;
}

html.login-pf {
  background: none;
}

.login-pf-accounts #kc-info {
  padding: 0;
  margin: 0;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
  background: #fff;
}

.login-pf-page .login-pf-accounts {
  max-width: 100%;
  justify-content: center;
}

.login-pf-accounts #kc-social-providers li {
  display: block;
}

.login-pf-accounts #kc-social-providers ul {
  text-align: right;
}

.margin-top-10 {
  margin-top: 10px;
}

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}
.flex-wrap {
  flex-wrap: wrap;
}
