.login-pf body {
  /* background: url('../img/redsail-bg.png') no-repeat center center fixed; */
  background-size: cover;
  height: 100%;
  color: #d8e2ef;
}

.alert-error {
  color: #781d2d;
  background-color: #fad7dd;
  border-color: #f8c7d0;
}

.alert {
  display: flex;
  align-items: center;
  border-radius: 0;
  padding: 0.5rem 1.25rem;
  margin-bottom: 0;
}

#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:hover {
    background-color: rgba(0,0,0,0.2);
} */

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/keycloak-logo-text.png);
  background-repeat: no-repeat;
  height: 63px;
  width: 300px;
  margin: 0 auto;
}

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 {
  width: 100%;
}

#kc-attempted-username {
  font-size: 20px;
  font-family: inherit;
  font-weight: normal;
  padding-right: 10px;
}

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

#kc-webauthn-settings-form {
  padding-top: 8px;
}

#kc-info-wrapper {
  font-family: Poppins, sans-serif;
  font-size: 16px;
  color: #4d5969;
  line-height: normal;
}

#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 */

.subtitle {
  text-align: right;
  margin-top: 30px;
  color: #909090;
}

.required {
  color: #cb2915;
}

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;
}

.kc-login-tooltip {
  position: relative;
  display: inline-block;
}

.kc-login-tooltip .kc-tooltip-text {
  top: -3px;
  left: 160%;
  background-color: black;
  visibility: hidden;
  color: #fff;

  min-width: 130px;
  text-align: center;
  border-radius: 2px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  padding: 5px;

  position: absolute;
  opacity: 0;
  transition: opacity 0.5s;
}

/* Show tooltip */
.kc-login-tooltip:hover .kc-tooltip-text {
  visibility: visible;
  opacity: 0.7;
}

/* Arrow for tooltip */
.kc-login-tooltip .kc-tooltip-text::after {
  content: ' ';
  position: absolute;
  top: 15px;
  right: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent black transparent transparent;
}

.zocial,
a.zocial {
  width: 100%;
  font-weight: normal;
  font-size: 14px;
  text-shadow: none;
  border: 0;
  background: #f5f5f5;
  color: #72767b;
  border-radius: 0;
  white-space: normal;
}
.zocial:before {
  border-right: 0;
  margin-right: 0;
}
.zocial span:before {
  padding: 7px 10px;
  font-size: 14px;
}
.zocial:hover {
  background: #ededed !important;
}

.zocial.facebook,
.zocial.github,
.zocial.google,
.zocial.microsoft,
.zocial.stackoverflow,
.zocial.linkedin,
.zocial.twitter {
  background-image: none;
  border: 0;

  box-shadow: none;
  text-shadow: none;
}

/* Copy of zocial windows classes to be used for microsoft's social provider button */
.zocial.microsoft:before {
  content: '\f15d';
}
.zocial.stackoverflow:before {
  color: inherit;
}

@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;
  }
}

@media (max-width: 767px) {
  .login-pf body {
    background: white;
  }

  #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: 150px;
    height: 32px;
    background-size: 100%;
  }

  #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 .login-pf-brand {
  margin-top: 20px;
  max-width: 360px;
  width: 40%;
}

.card-pf {
  background: #fff;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 500px;
  border-top: 0;
  box-shadow: 0 0 0;
}

/*tablet*/
@media (max-width: 840px) {
  .login-pf-page .card-pf {
    max-width: none;
    margin-left: 20px;
    margin-right: 20px;
    padding: 20px 20px 30px 20px;
  }
}
@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-right: 39px;
    border-right: 1px solid #d1d1d1;
    margin-right: -1px;
  }
  .login-pf-page .login-pf-social-section:last-of-type {
    padding-left: 40px;
  }
  .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-social-link a {
  padding: 2px 0;
}

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

.login-pf-page .btn-primary {
  margin-top: 0;
}

.login-pf-page .list-view-pf .list-group-item {
  border-bottom: 1px solid #ededed;
}

.login-pf-page .list-view-pf-description {
  width: 100%;
}

.login-pf-page .card-pf {
  margin-bottom: 10px;
}

#kc-form-login div.form-group:last-of-type,
#kc-register-form div.form-group:last-of-type,
#kc-update-profile-form div.form-group:last-of-type {
  margin-bottom: 0px;
}

#kc-back {
  margin-top: 5px;
}

form#kc-select-back-form div.login-pf-social-section {
  padding-left: 0px;
  border-left: 0px;
}


.icon {
  width: 24px;
  height: 24px;
  flex: none;
}

.icon-error {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg version='1.2' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' overflow='visible' preserveAspectRatio='none' viewBox='0 0 69.69000244140625 69.69000244140625' width='30' height='30'%3E%3Cg transform='translate(1, 1)'%3E%3Cg id='Layer_2_1610485727114'%3E%3Cg id='Layer_1-2_1610485727114'%3E%3Cpath d='M33.84,0A33.85,33.85,0,1,0,67.69,33.84,33.84,33.84,0,0,0,33.84,0ZM22.55,16.05a1.92,1.92,0,0,1,1.36.57l9.93,9.93,9.94-9.93a1.91,1.91,0,0,1,2.71,0l4.58,4.58a1.91,1.91,0,0,1,0,2.71l-9.93,9.93,9.93,9.94a1.91,1.91,0,0,1,0,2.71l-4.58,4.58a1.91,1.91,0,0,1-2.71,0l-9.94-9.93-9.93,9.93a1.91,1.91,0,0,1-2.71,0l-4.58-4.58a1.91,1.91,0,0,1,0-2.71l9.93-9.94-9.93-9.93a1.91,1.91,0,0,1,0-2.71l4.58-4.58A1.88,1.88,0,0,1,22.55,16.05Z' vector-effect='non-scaling-stroke' style='fill: rgb(230, 55, 87);'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.icon-warning-invalid {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg fill='%23e63757' id='aa6e9d8a-8d47-42b9-8249-e2bfb4eaa839' data-name='Exported'%3E%3Cpath d='M12,21.69727A9.69727,9.69727,0,1,1,21.69727,12,9.70878,9.70878,0,0,1,12,21.69727ZM12,4.30273A7.69727,7.69727,0,1,0,19.69727,12,7.70618,7.70618,0,0,0,12,4.30273Z'/%3E%3Crect x='10.82523' y='15.01785' width='2.35033' height='2.35033' rx='0.28859'/%3E%3Crect x='10.82523' y='6.69484' width='2.35033' height='6.45317' rx='0.28859'/%3E%3C/g%3E%3C/svg%3E");
}

.icon-warning {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg fill='%23f5803e' id='aa6e9d8a-8d47-42b9-8249-e2bfb4eaa839' data-name='Exported'%3E%3Cpath d='M12,21.69727A9.69727,9.69727,0,1,1,21.69727,12,9.70878,9.70878,0,0,1,12,21.69727ZM12,4.30273A7.69727,7.69727,0,1,0,19.69727,12,7.70618,7.70618,0,0,0,12,4.30273Z'/%3E%3Crect x='10.82523' y='15.01785' width='2.35033' height='2.35033' rx='0.28859'/%3E%3Crect x='10.82523' y='6.69484' width='2.35033' height='6.45317' rx='0.28859'/%3E%3C/g%3E%3C/svg%3E");
}

.icon-point {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg id='be17b3ad-239d-4468-a173-a0fd798046b9' data-name='Exported'%3E%3Cpath fill='%234d5969' d='M12.01369,8.49834a3.49822,3.49822,0,1,0,3.49817,3.49817A3.4927,3.4927,0,0,0,12.01369,8.49834Z'/%3E%3C/g%3E%3C/svg%3E");
}

.icon-check {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg id='ade6c3ae-7a43-483e-8c96-a1b50aea99a5' data-name='Not Used' xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%2300d27a' d='M9.16258,19.87029,2.51132,13.219a.23024.23024,0,0,1,0-.32562l1.96686-1.96686a.23024.23024,0,0,1,.32562,0l4.21313,4.21313a.23026.23026,0,0,0,.33531-.01029L19.06877,4.14a.23025.23025,0,0,1,.32495-.02l2.0846,1.84191a.23025.23025,0,0,1,.02.32506L9.49789,19.86A.23025.23025,0,0,1,9.16258,19.87029Z'/%3E%3C/svg%3E");
}

.icon-complete {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg fill='%23006d3f' id='e5ea6ce2-0679-4709-80bc-327d5f598de0' data-name='Exported'%3E%3Cpath d='M18.1786,12.17012a7.22857,7.22857,0,1,1-3.388-6.099l1.43522-1.62347a9.43458,9.43458,0,1,0,3.78989,5.40572L18.16718,11.9442C18.16953,12.01988,18.1786,12.09386,18.1786,12.17012Z'/%3E%3Cpath d='M20.49794,2.84679,11.31356,13.23472,8.25872,10.17988a1.06971,1.06971,0,0,0-1.5128,1.51279l3.8593,3.8593a1.07083,1.07083,0,0,0,.7564.31343H11.394a1.06975,1.06975,0,0,0,.76893-.36148L22.10059,4.26347a1.06952,1.06952,0,0,0-1.60265-1.41668Z'/%3E%3C/g%3E%3C/svg%3E");
}

.icon-success {
  width: 74px;
  height: 74px;
  margin: 0 auto;
  display: block;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg version='1.2' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' overflow='visible' preserveAspectRatio='none' viewBox='0 0 26 26' height='74' width='74'%3E%3Cg transform='translate(1, 1)'%3E%3Cg id='a030bb08-07b6-4754-8675-6524e0f7a78e_1604689490166'%3E%3Cpath d='M18.1786,12.17012a7.22857,7.22857,0,1,1-3.388-6.099l1.43522-1.62347a9.43458,9.43458,0,1,0,3.78989,5.40572L18.16718,11.9442C18.16953,12.01988,18.1786,12.09386,18.1786,12.17012Z' vector-effect='non-scaling-stroke' style='fill: rgb(0, 210, 122);'/%3E%3Cpath d='M20.49794,2.84679,11.31356,13.23472,8.25872,10.17988a1.06971,1.06971,0,0,0-1.5128,1.51279l3.8593,3.8593a1.07083,1.07083,0,0,0,.7564.31343H11.394a1.06975,1.06975,0,0,0,.76893-.36148L22.10059,4.26347a1.06952,1.06952,0,0,0-1.60265-1.41668Z' vector-effect='non-scaling-stroke' style='fill: rgb(0, 210, 122);'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.is-required .control-label {
    position: relative;
}

.is-required .control-label::before {
  content: '*';
  position: absolute;
  top: 0;
  right: -10px;
  color: #e63757;
}

.is-invalid .control-label {
  color: #e63757;
}

.is-invalid .form-control {
  background-color: #fce7eb;
  border-color: #e63757;
}

.is-invalid .form-control:hover {
  background-color: #ffffff;
}

.is-invalid .form-control:focus {
  background-color: #ffffff;
  box-shadow: 0 0 2px 1px rgb(230 55 87 / 80%);
  border-color: #e63757;
}

.invalid-feedback {
  display: none;
  align-items: center;
  font-size: 12px;
  margin-top: 4px;
}

.is-invalid .invalid-feedback {
  display: flex;
  align-items: center;
}

.invalid-feedback .icon {
  font-size: 12px;
  width: 12px;
  height: 12px;
  display: block;
}

.requirements {
  background-color: #edf2f9;
  padding: 1rem 2rem;
}

.requirements.is-invalid {
  background-color: #fce7eb;
}

.requirements.is-valid {
  background-color: #e0faef;
}

.requirements-list {
  color: #4d5969;
  font-family: Poppins, sans-serif;
  font-size: 1rem;
  margin: 0;
  padding: 0;
}

.requirements-list .icon {
  width: 15px;
  height: 15px;
  margin-right: 0.5rem;
}

.separator {
  display: flex;
  align-items: center;
  text-align: center;
  color: #8a8a8a;
}

.separator::before,
.separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #d9d9d9;
}

.separator:not(:empty)::before {
  margin-right: 5%;
}

.separator:not(:empty)::after {
  margin-left: 5%;
}

.btn-outline-microsoft {
  background-color: #ffffff;
  color:#8a8a8a;
  border: 1px solid #8a8a8a;
  border-radius: 4px;
  font-size: 1.25rem;
}

.validation-code-entry {
  border: none;
  font-size: 2em;
  color: #707070;
  width: auto;
  max-width: 100%;
  line-height: 1.5em;
  text-align: center;
  text-transform: uppercase;
  margin: 0 auto;
  padding-left: 0px;
  padding-right: 0px;
  background-color: white;
  outline: none;
}

