@import url("https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i");

html,
body {
  color: #fff;
  font-family: Roboto, sans-serif;
}

.login-pf body {
  background: #1c355d;
  background-size: cover;
  height: 100%;
}

.login-pf-page {
  align-items: center;
  background: #1c355d;
  display: flex;
  font-family: Roboto, sans-serif;
  height: 100%;
  justify-content: space-around;
  overflow-y: auto;
  position: absolute;
  width: 100%;
}

#kc-form-login .form-control,
#kc-reset-password-form .form-control,
#kc-passwd-update-form #password-new,
#kc-passwd-update-form #password-confirm,
#kc-otp-login-form .form-control {
  background: #fff;
  border: none;
  border-radius: 3px;
  color: #182146;
  font-size: 14px;
  font-family: "Roboto", sans-serif;
  letter-spacing: 0;
  height: 32px;
  opacity: 0.75;
}

#kc-form-login .form-control:hover,
#kc-reset-password-form .form-control:hover,
#kc-passwd-update-form #password-new:hover,
#kc-passwd-update-form #password-confirm:hover,
#kc-otp-login-form .form-control:hover {
  border: none;
}

#kc-form-login .form-control:focus,
#kc-reset-password-form .form-control:focus,
#kc-passwd-update-form #password-new:focus,
#kc-passwd-update-form #password-confirm:focus,
#kc-otp-login-form .form-control:focus {
  border: 2px solid #ffffffcc;
}

#kc-register-form .form-control {
  background: #fff;
  border: 1px solid #dbe2f1;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgb(75 115 167 / 16%);
  box-sizing: border-box;
  color: #182146;
  font-size: 15px;
  height: 36px;
  padding: 10px 12px;
  width: 100%;
}

#kc-register-form .label {
  margin-bottom: 5px;
}

.login-pf-page .login-pf-header h1 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: left;
}

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

#input-error,
#input-error-firstname,
#input-error-lastname,
#input-error-email,
#input-error-password {
  color: #ff5555;
}

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

a {
  color: #fff;
}

a:hover {
  color: #4b73a7;
  text-decoration: none;
}

a:focus {
  outline: none;
  text-decoration: none;
}

#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-page .card-pf {
  margin-bottom: 10px;
  width: 50%;
}

.login-pf-page .card-pf p {
  color: #fff;
}

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

#kc-logo {
  width: 100%;
}

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

label {
  font-size: 14px;
  font-weight: 300;
}

#kc-header {
  align-items: baseline;
  display: flex;
  height: 200px;
  justify-content: space-around;
  width: 50%;
}

#kc-header-wrapper {
  font-weight: 500;
  height: 100%;
}

#kc-header-wrapper::after {
  background-image: url(../img/earth.svg);
  background-repeat: no-repeat;
  content: " ";
  margin-top: 90px;
  margin-left: -250px;
  position: absolute;
  height: 100px;
  width: 100px;
}

#kc-register-header-wrapper {
  align-items: center;
  display: flex;
  font-size: 48px;
  text-align: center;
  line-height: 1.25;
  justify-content: center;
  width: 300px;
}

#kc-register-header-wrapper::after {
  background-image: url(../img/user.svg);
  background-repeat: no-repeat;
  content: " ";
  margin-top: 240px;
  position: absolute;
  height: 100px;
  width: 100px;
}

#kc-content {
  width: 70%;
}

#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 {
  color: #fff;
  font-size: 13px;
}

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

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

.checkbox label {
  color: #fff;
  font-weight: 300;
}

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

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

/* TOTP */

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

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

a#mode-manual,
#multiple-otp {
  display: none;
}

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

.kc-totp-qr-code-container {
  min-width: fit-content;
}

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

#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 {
  display: flex;
  flex-direction: column;
  padding: 0;
}

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

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

.kc-form-social-button {
  background-color: #fff;
  border: none;
  border-radius: 3px;
  box-shadow: 0px 1px 3px #c44a4729;
  color: #182146;
  font-family: "Roboto";
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 20px;
  padding: 8px 0;
  position: relative;
}

.kc-form-link-button {
  background-color: #fff;
  border: none;
  border-radius: 3px;
  box-shadow: 0px 1px 3px #c44a4729;
  color: #182146;
  font-family: "Roboto";
  font-size: 14px;
  font-weight: 400;
  margin: 20px 0;
  padding: 8px 16px;
  position: relative;
  width: auto;
}

.kc-form-link-button:hover {
  color: #182146 !important;
}

.kc-form-social-button:hover {
  color: #182146 !important;
}

.kc-form-google-icon {
  background-image: url(../img/Google.svg);
  background-repeat: no-repeat;
  content: " ";
  height: 18px;
  left: 12px;
  position: absolute;
  top: 12px;
  width: 18px;
}

.kc-form-microsoft-icon {
  background-image: url(../img/Azure.svg);
  background-repeat: no-repeat;
  content: " ";
  height: 18px;
  left: 12px;
  position: absolute;
  top: 12px;
  width: 18px;
}

.pf-m-info {
  position: relative;
}

.kc-form-social-name {
  align-items: center;
  display: flex;
  font-family: Roboto, sans-serif;
  justify-content: center;
  text-transform: capitalize;
}

.kc-social-header {
  align-items: center;
  display: flex;
  font-size: 14px;
  font-weight: 400;
  justify-content: center;
  margin: 30px 0 20px 0;
  white-space: nowrap;
  width: 100%;
}

.kc-social-header::after {
  background-color: #fff;
  content: " ";
  height: 2px;
  margin-left: 10px;
  width: 100%;
}

.kc-social-header::before {
  background-color: #fff;
  content: " ";
  height: 2px;
  margin-right: 10px;
  width: 100%;
}

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

#try-another-way {
  display: none;
}

.kc-login-link-descriptions {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  margin: 30px 0 20px 0;
}

.kc-resend-button {
  margin: 10px 0 20px 0;
}

.kc-continue-button {
  margin-top: 20px;
  padding: 6px 16px;
}

/* 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: 991px) {
  #kc-header-wrapper {
    font-size: 60px;
  }

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

@media (max-width: 991px) {
  #kc-header-wrapper {
    font-size: 40px;
  }

  #kc-header-wrapper::after {
    margin-left: -190px;
    margin-top: 60px;
  }
}

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

  .login-pf-page .login-pf-page-header {
    margin: 0;
    padding: 20px 40px 30px 40px;
  }
}

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

  #kc-header {
    padding-left: 15px;
    padding-right: 15px;
    float: none;
    text-align: left;
  }

  #kc-header {
    display: none;
  }

  #kc-form {
    float: none;
  }

  #kc-info-wrapper {
    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 (max-width: 480px) {
  .login-pf-page .card-pf {
    width: 70%;
  }
}

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

.alert-to-auth {
  background-color: #fdb432;
  color: #45300b;
}

.alert-warning-new {
  background-color: #fdb432 !important;
  color: #45300b !important;
  padding: 16px !important;
}

.alert-warning {
  background-color: #fdb432;
  border-radius: 3px;
  color: #45300b;
  font-size: 14px;
  font-weight: 400;
  margin: 20px 0;
  min-width: 472px;
  padding: 14px;
}

.alert-info {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  border-radius: 3px;
  color: #45300b !important;
  font-size: 14px;
  font-weight: 400;
  margin: 20px 0;
  min-width: 472px;
  padding: 14px;
}

.alert-error,
.alert-success {
  border-radius: 3px;
  display: flex;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  line-height: normal;
  margin-bottom: 10px;
  min-width: 472px;
  padding: 10px;
}

.alert-error {
  background: #f55;
}

.alert-success {
  background: #52b987;
}

.alert-error .pf-c-alert__icon,
.alert-success .pf-c-alert__icon,
.alert-warning .pf-c-alert__icon {
  display: none;
}

.alert-info__icon-new {
  margin-left: 32px;
}

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

.card-pf {
  background: #1c355d;
  color: #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: 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,
.login-pf-page .btn-primary:active,
.kc-totp-bg .btn-primary,
.kc-totp-bg .btn-primary:active {
  color: #fff !important;
  background: #c44a47 !important;
  border: 1px solid #bf403d;
  border-radius: 4px;
  box-shadow: 6px 3px 6px #0000001a;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  height: 32px;
  margin-top: 20px;
  margin-right: 8px;
  outline: none;
  padding: 5px 10px;
  width: 100px !important;
}

.kc-totp-bg .btn-primary,
.kc-totp-bg .btn-primary:active {
  width: auto !important;
}

.kc-totp-bg .btn-default,
.kc-totp-bg .btn-default:hover {
  background: #ffffff;
  border: 1px solid #e2e8f1;
  border-radius: 4px;
  box-shadow: 0px 1px 3px #4b73a729;
  color: #182146;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  height: 32px;
  margin-top: 20px;
  outline: none;
  padding: 5px 10px;
}

.kc-totp-bg .link-default {
  color: #182146;
}

.login-pf-page .list-view-pf .list-group-item {
  border-bottom: 1px solid #ededed;
  color: #182146;
  cursor: pointer;
  padding: 12px;
}

.list-view-pf {
  border-radius: 3px;
}

.list-group {
  border-top: none !important;
}

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

#kc-form-login div.form-group {
  margin-bottom: 30px;
}

#kc-register-form div.form-group {
  margin-bottom: 25px;
}

#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-register-messages {
  font-size: 14px;
  line-height: 1.25;
  opacity: 0.8;
  padding: 0 20px 8px;
}

.kc-register-subtitle {
  font-size: 14px;
  opacity: 0.8;
}

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

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

#kc-totp-bg {
  background-color: #f7f8ff;
  color: #182146;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  height: 100%;
  margin: 0;
  padding: 0 100px;

  @media (max-width: 720px) {
    padding: 0 20px;
  }
}

.kc-totp-header {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 20px;
  margin-top: 37px;
}

.kc-totp-container {
  background-color: #fff;
  background: #ffffff 0% 0% no-repeat padding-box;
  border-style: none;
  box-shadow: 0px 3px 5px #4b73a729;
  max-width: 1200px;
  min-height: 525px;
  min-width: fit-content;
  padding: 20px 0;
}

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

.explanation-text {
  font-size: 14px;
  margin: 0 20px 20px;
}

.authenticator-title {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 20px;
  margin-top: 37px;
}

.configure-authenticator {
  font-size: 16px;
  font-weight: 600;
}

.steps {
  margin: 23px 0 23px 38px;
}

.steps-list {
  font-weight: 500;
  font-size: 14px;
}

.kc-totp-form-group {
  margin: 0 20px 10px;
}

.kc-totp-control-label {
  text-align-last: left;
}

.kc-totp-form__label {
  color: #182146;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.kc-totp-form-control {
  background: #ffffff 0% 0% no-repeat padding-box;
  border: 1px solid #dbe2f1;
  border-radius: 3px;
  box-shadow: 0px 1px 3px #4b73a729;
  height: 32px;
}

.kc-totp-form-actions {
  display: flex;
}

.required {
  color: #cb2915;
}
