body {
  background: black;
  height: auto;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1340px;
  }
}

@media (min-width: 1600px) {
  .container {
    max-width: 1540px;
  }
}

@font-face {
  font-family: "Euclid Square";
  src: url("../fonts/EuclidSquare-Bold.woff2") format("woff2"),
    url("../fonts/EuclidSquare-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Square";
  src: url("../fonts/EuclidSquare-Regular.woff2") format("woff2"),
    url("../fonts/EuclidSquare-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.euclid-bd {
  font-family: "Euclid Square";
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

.euclid-rg {
  font-family: "Euclid Square";
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

input:-webkit-autofill {
  -webkit-text-fill-color: #757575 !important;
}

a {
  color: #a7a7a7;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  box-shadow: 0 0 0 30px rgb(232, 240, 254) inset !important;
}
#backToApplication {
  color: inherit;
  text-decoration: none;
  font-size: 12.8px;
}

.instruction.small {
  font-size: 12.8px;
}

.pf-m-error {
  display: block;
  text-align: center;
  color: #d81717 !important;
  padding: 15px 0 0;
  margin-bottom: 11px;
}

.back-to-app-wrap {
  margin-bottom: 0;
  text-align: center;
}

#input-error {
  display: block;
  color: #d81717;
  text-align: center;
  padding: 15px 0 0;
  margin-bottom: 11px;
}

#input-error-password-confirm {
  margin-bottom: 0;
}

a {
  outline-offset: 4px;
}

.info {
  margin-bottom: 27px;
}

.kx-logo {
  background: transparent url(../img/kx.svg) 0px 0px no-repeat;
  background-size: contain;
  display: block;
  position: absolute;
  width: 10rem;
  height: 5rem;
  top: 3rem;
  left: 3rem;
  z-index: 0;
}

.login-pf-settings {
  margin: 0;
  padding-top: 1em;
  margin-bottom: -8px;
}

.forgot-password-wrap {
  font-size: 0.8em;
  padding-top: 15px;
  text-align: center;
}
.forgot-password-wrap a {
  color: #9b9b9b;
  text-decoration: none;
  outline-offset: 4px;
}
.forgot-password-wrap a:hover {
  color: #0061ff !important;
  text-decoration: underline;
}

.cloud-header {
  background-size: contain;
  display: block;
}
.cloud-header .t1 {
  font-size: 1.9rem;
  margin: 0;
  line-height: 100%;
}
.cloud-header .t2 {
  color: #0061ff;
  font-size: 1rem;
  text-transform: uppercase;
  line-height: 100%;
  margin-top: 3px;
}

.login-pf {
  height: 100%;
  margin: 0;
  padding: 0;
}

.login-pf body {
  background: black;
  min-height: 100%;
  width: 100%;
  margin: 0;
  padding: 3rem;
  box-sizing: border-box;
}

.login-pf .login-container {
  min-height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-pf {
  background-color: white;
  width: 30rem;
  padding: 3rem;
  max-width: 100%;
  box-sizing: border-box;
}

/* .card-pf .login-pf-header {
    margin-top: 100px;
} */

#kc-header {
  color: #ededed;
  overflow: visible;
  white-space: nowrap;
  position: relative;
  margin-top: 170px;
}

h1#kc-page-title {
  font-size: 23px;
  color: #0061ff;
  font-weight: bold;
  /* max-width: 218px; */
  text-align: left;
  margin: 27px 0;
}

div.kc-logo-text {
  background: url(../img/kx-logo.svg) no-repeat;
  height: 63px;
  width: 417px;
  margin: 0 auto;
}

#kc-content {
  width: 100%;
  margin-top: 35px;
}

#kc-content .pf-c-button.pf-m-primary {
  height: 36px;
  background-color: #0057b2;
  border-radius: 3px;
  color: #d6d6d6;
  border: none;
}

#kc-content .pf-c-button.pf-m-primary:hover {
  background-color: #0057b2;
}

.kc-social-links .pf-c-button.pf-m-control {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  background: white;
  color: black;
  padding: 12px 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-position-x: 20px;
  justify-content: center;
  border-radius: 2px;
  border: 1px solid transparent;
  margin: 0;
  margin-top: 15px;
  position: relative;
  transition: background 0.3s, color 0.3s;
  text-decoration: none;
}

.kc-social-links .pf-c-button.pf-m-control i {
  position: absolute;
  left: 17px;
  font-size: 25px;
  top: 9px;
}

.kc-social-links .pf-c-button.pf-m-control:hover {
  color: white;
  background-color: #0061ff;
}

#kc-content-wrapper input.form__field {
  border: none;
  border-bottom: 1px solid #9e9e9e;
  background-clip: content-box !important;
  padding: 9px 3px;
}

/*IE compatibility*/
.pf-c-form-control {
  font-size: 14px;
  font-size: var(--pf-global--FontSize--sm);
  border-width: 1px;
  border-width: var(--pf-global--BorderWidth--sm);
  border-color: #ededed #ededed #8a8d90 #ededed;
  border-color: var(--pf-global--BorderColor--300)
    var(--pf-global--BorderColor--300) var(--pf-global--BorderColor--200)
    var(--pf-global--BorderColor--300);
  background-color: #ffffff;
  background-color: var(--pf-global--BackgroundColor--100);
  height: 36px;
  height: calc(
    var(--pf-c-form-control--FontSize) * var(--pf-c-form-control--LineHeight) +
      var(--pf-c-form-control--BorderWidth) * 2 +
      var(--pf-c-form-control--PaddingTop) +
      var(--pf-c-form-control--PaddingBottom)
  );
  padding: 5px 0.5rem;
  padding: var(--pf-c-form-control--PaddingTop)
    var(--pf-c-form-control--PaddingRight)
    var(--pf-c-form-control--PaddingBottom)
    var(--pf-c-form-control--PaddingLeft);
}

textarea.pf-c-form-control {
  height: auto;
}

.pf-c-form-control:hover,
.pf-c-form-control:focus {
  border-bottom-color: #0066cc;
  border-bottom-color: var(--pf-global--primary-color--100);
  border-bottom-width: 2px;
  border-bottom-width: var(--pf-global--BorderWidth--md);
}

.pf-c-form-control[aria-invalid="true"] {
  border-bottom-color: #c9190b;
  border-bottom-color: var(--pf-global--danger-color--100);
  border-bottom-width: 2px;
  border-bottom-width: var(--pf-global--BorderWidth--md);
}

.pf-c-check__label,
.pf-c-radio__label {
  font-size: 14px;
  font-size: var(--pf-global--FontSize--sm);
}

.pf-c-alert.pf-m-inline {
  padding: 0.25rem;
  padding: var(--pf-global--spacer--xs);
  border: solid #ededed;
  border: solid var(--pf-global--BorderColor--300);
  border-width: 1px;
  border-width: var(--pf-c-alert--m-inline--BorderTopWidth)
    var(--pf-c-alert--m-inline--BorderRightWidth)
    var(--pf-c-alert--m-inline--BorderBottomWidth)
    var(--pf-c-alert--m-inline--BorderLeftWidth);
  display: grid;
  -ms-grid-columns: max-content 1fr max-content;
  grid-template-columns: max-content 1fr max-content;
  grid-template-columns: var(--pf-c-alert--grid-template-columns);
  grid-template-rows: 1fr auto;
  grid-template-rows: var(--pf-c-alert--grid-template-rows);
  display: flex;
  align-items: center;
  margin-bottom: 27px;
}

.pf-c-alert.pf-m-inline::before {
  position: absolute;
  top: -1px;
  top: var(--pf-c-alert--m-inline--before--Top);
  bottom: -1px;
  bottom: var(--pf-c-alert--m-inline--before--Bottom);
  left: 0;
  width: 3px;
  width: var(--pf-c-alert--m-inline--before--Width);
  content: "";
  background-color: #ffffff;
  background-color: var(--pf-global--BackgroundColor--100);
}

.pf-c-alert.pf-m-inline.pf-m-success::before {
  background-color: #92d400;
  background-color: var(--pf-global--success-color--100);
}

.pf-c-alert.pf-m-inline.pf-m-danger::before {
  background-color: #c9190b;
  background-color: var(--pf-global--danger-color--100);
}

.pf-c-alert.pf-m-inline.pf-m-warning::before {
  background-color: #f0ab00;
  background-color: var(--pf-global--warning-color--100);
}

.pf-c-alert.pf-m-inline .pf-c-alert__icon {
  padding: 1rem 0.5rem 1rem 1rem;
  padding: var(--pf-c-alert--m-inline__icon--PaddingTop)
    var(--pf-c-alert--m-inline__icon--PaddingRight)
    var(--pf-c-alert--m-inline__icon--PaddingBottom)
    var(--pf-c-alert--m-inline__icon--PaddingLeft);
  font-size: 16px;
  font-size: var(--pf-c-alert--m-inline__icon--FontSize);
  margin: 7px;
  margin-left: 0;
}

.pf-c-alert.pf-m-success .pf-c-alert__icon {
  color: #92d400;
  color: var(--pf-global--success-color--100);
}

.pf-c-alert.pf-m-success .pf-c-alert__title {
  color: #486b00;
  color: var(--pf-global--success-color--200);
}

.pf-c-alert.pf-m-danger .pf-c-alert__icon {
  color: #c9190b;
  color: var(--pf-global--danger-color--100);
}

.pf-c-alert.pf-m-danger .pf-c-alert__title {
  color: #a30000;
  color: var(--pf-global--danger-color--200);
}

.pf-c-alert.pf-m-warning .pf-c-alert__icon {
  color: #f0ab00;
  color: var(--pf-global--warning-color--100);
}

.pf-c-alert.pf-m-warning .pf-c-alert__title {
  color: #795600;
  color: var(--pf-global--warning-color--200);
}

.pf-c-alert__title {
  font-size: 14px; /* default - IE compatibility */
  font-size: var(--pf-global--FontSize--sm);
  padding: 5px 8px;
  padding: var(--pf-c-alert__title--PaddingTop)
    var(--pf-c-alert__title--PaddingRight)
    var(--pf-c-alert__title--PaddingBottom)
    var(--pf-c-alert__title--PaddingLeft);
}

.pf-c-button {
  padding: 0.375rem 1rem;
  padding: var(--pf-global--spacer--form-element) var(--pf-global--spacer--md);
  outline-offset: 4px;
}

/* default - IE compatibility */
.pf-m-primary {
  color: #ffffff;
  background-color: #0066cc;
  background-color: var(--pf-global--primary-color--100);
}

/* default - IE compatibility */
.pf-m-primary:hover {
  background-color: #004080;
  background-color: var(--pf-global--primary-color--200);
}

/* default - IE compatibility */
.pf-c-button.pf-m-control {
  border: solid 1px;
  border: solid var(--pf-global--BorderWidth--sm);
  border-color: rgba(230, 230, 230, 0.5);
}

#kc-locale ul {
  background-color: #fff;
  background-color: var(--pf-global--BackgroundColor--100);
  display: none;
  top: 20px;
  min-width: 100px;
  padding: 0;
}

#kc-locale:hover ul {
  display: block;
}

/* IE compatibility */
#kc-locale-dropdown a {
  color: #6a6e73;
  color: var(--pf-global--Color--200);
  text-align: right;
  font-size: 14px;
  font-size: var(--pf-global--FontSize--sm);
}

/* IE compatibility */
a#kc-current-locale-link::after {
  content: "\2c5";
  margin-left: 4px;
  margin-left: var(--pf-global--spacer--xs);
}

.login-pf .container {
  padding-top: 40px;
}

.login-pf a:hover {
  color: #0061ff;
}

#kc-logo {
  width: 100%;
}

#kc-logo-wrapper {
  background-image: url(../img/kx-logo.svg);
  background-repeat: no-repeat;
  height: 63px;
  width: 300px;
  margin: 62px auto 0;
}

div.kc-logo-text span {
  display: none;
}

#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%;
  margin-top: 0;
}

#kc-attempted-username {
  font-size: 20px;
  font-family: inherit;
  font-weight: normal;
  padding-right: 10px;
}

#kc-username {
  margin-top: 27px;
}

#kc-webauthn-settings-form {
  padding-top: 8px;
}

#kc-content-wrapper {
  margin-top: 27px;
}

/* #kc-form-wrapper {
    margin-top: 10px;
} */

#kc-info {
  margin: 20px -40px -30px;
}

#kc-info-wrapper {
  font-size: 13px;
  padding: 15px 35px;
  background-color: #f0f0f0;
}
/* #kc-form-options {
    line-height: 30px;
} */
#kc-form-options span {
  display: block;
}

#kc-form-options .checkbox {
  margin-top: 0;
  color: #72767b;
  text-align: right;
}

#kc-terms-text {
  margin-bottom: 20px;
}

#kc-registration {
  margin-bottom: 0;
  margin-top: 27px;
}

/* TOTP */

.subtitle {
  text-align: right;
  margin-top: 30px;
  color: #909090;
}

.required {
  color: #a30000; /* default - IE compatibility */
  color: var(--pf-global--danger-color--200);
}

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: transparent;
  color: #333333;
  font-size: 16px;
}

#kc-totp-secret-key-wrap {
  background: white;
  padding: 7px;
}

/* 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-links {
  margin-top: 0;
  padding: 0;
  text-align: right;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.kc-social-links > a {
  margin: 3px;
}

.kc-social-provider-logo {
  font-size: 23px;
  width: 30px;
  height: 25px;
  float: left;
}

.kc-social-gray {
  color: #737679; /* default - IE compatibility */
  color: var(--pf-global--Color--200);
}

.kc-social-item {
  margin-bottom: 0.5rem; /* default - IE compatibility */
  margin-bottom: var(--pf-global--spacer--sm);
  font-size: 15px;
  text-align: center;
}

.kc-social-provider-name {
  /* position: relative;
    top: 3px; */
}

/* .kc-social-icon-text {
    left: -15px;
} */

/* .kc-social-grid {
    display:flex;
    flex-wrap: wrap;
    grid-column-gap: 10px;
    grid-row-gap: 5px;
    grid-column-end: span 6;
    --pf-l-grid__item--GridColumnEnd: span 6;
} */

.kc-social-grid .kc-social-icon-text {
  left: -10px;
}

.kc-login-tooltip {
  position: relative;
  display: inline-block;
}

.kc-social-section {
  text-align: center;
}
.kc-social-section h4 {
  margin: 0;
  margin-top: 27px;
  font-weight: normal;
}

.kc-social-section hr {
  margin-bottom: 10px;
}

.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;
}

.card-pf form.form-actions .btn {
  float: right;
  margin-left: 10px;
}

#kc-form-buttons {
  /* margin-top: 21px; */
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
}

.login-pf-page .login-pf-brand {
  margin-top: 20px;
  max-width: 360px;
  width: 40%;
}
.login-pf-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0px;
  right: 0px;
  left: 0px;
  bottom: 0px;
  padding: 3em 0;
  z-index: 1;
}

.select-auth-box-arrow {
  display: flex;
  align-items: center;
  margin-right: 2rem;
}

.select-auth-box-icon {
  display: flex;
  flex: 0 0 2em;
  justify-content: center;
  margin-right: 1rem;
  margin-left: 3rem;
}

.select-auth-box-parent {
  border-top: 1px solid var(--pf-global--palette--black-200);
  padding-top: 1rem;
  padding-bottom: 1rem;
  cursor: pointer;
}

.select-auth-box-parent:hover {
  background-color: #f7f8f8;
}

.select-auth-container {
  padding-bottom: 0px !important;
}

.select-auth-box-headline {
  font-size: var(--pf-global--FontSize--md);
  color: var(--pf-global--primary-color--100);
  font-weight: bold;
}

.select-auth-box-desc {
  font-size: var(--pf-global--FontSize--sm);
}

/*phone*/
@media (max-width: 800px) {
  .login-pf-page {
    padding: 2em 0;
  }

  .kx-logo {
    position: static;
    padding-bottom: 3rem;
    height: 3rem;
    width: 6rem;
  }
}
@media (max-width: 370px) {
  .login-pf-page {
    padding: 0;
    width: 100%;
    display: flex;
    background: #111823;
    border-top: 1px solid #1d355a;
    border-bottom: 1px solid #1d355a;
    padding: 1em 0;
  }

  .login-pf-page .card-pf {
    border-top: 0;
    box-shadow: 0 0;
    border: none;
    margin: 0;
    padding: 1rem;
    border-radius: 0;
    border-left-width: 0;
    border-right-width: 0;
    transform: scale(0.9);
  }
}
@media (max-width: 300px) {
  .login-pf-page .card-pf {
    transform: scale(0.8);
  }
}
@media (max-width: 270px) {
  .login-pf-page .card-pf {
    transform: scale(0.7);
  }
}
@media (max-width: 240px) {
  .login-pf-page .card-pf {
    transform: scale(0.6);
  }
}
@media (max-width: 200px) {
  .login-pf-page .card-pf {
    transform: scale(0.5);
  }
}
@media (max-width: 170px) {
  .login-pf-page .card-pf {
    transform: scale(0.4);
  }
}
@media (max-width: 140px) {
  .login-pf-page .card-pf {
    transform: scale(0.3);
  }
}

.login-pf-page .login-pf-signup {
  font-size: 15px;
  color: #72767b;
}
#kc-content-wrapper .row {
  margin-left: 0;
  margin-right: 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%;
}

#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;
}

.no-bottom-margin {
  margin-bottom: 0;
}

#kc-back {
  margin-top: 5px;
}

/*-------------------------------------------------------------------*/

.form__group {
  position: relative;
  padding: 15px 0 0;
  margin-bottom: 11px;
}
.form__group:last-child {
  margin-bottom: 0;
}

.form__field {
  font-family: inherit;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #d2d2d2;
  outline: 0;
  font-size: 16px;
  color: #212121;
  padding: 7px 0;
  background: transparent;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.form__field::placeholder {
  color: transparent;
}

.form__field:placeholder-shown ~ .form__label {
  font-size: 16px;
  cursor: text;
  top: 20px;
}

label:not(.checkbox-label),
.form__field:focus ~ .form__label,
.form__field:-webkit-autofill ~ .form__label {
  position: absolute;
  top: 0;
  display: block;
  transition: 0.2s;
  font-size: 12px;
  color: #757575;
}

#kc-content-wrapper
  input.form__field:focus:not(.checkbox-label)
  ~ .form__label {
  color: #0061ff;
}

#kc-content-wrapper input.form__field:focus:not(.checkbox-label) {
  /* padding-bottom: 6px; */
  border-bottom: 2px solid #0061ff;
}

/*-------------------------------------------------------------------*/

/* Ripple effect */
.ripple {
  background-position: center;
  transition: background 0.4s;
}
.ripple:hover {
  background: #4d8df3 radial-gradient(circle, transparent 1%, #0161fb 1%)
    center/15000%;
}
.ripple:active {
  background-color: #2b78f3;
  background-size: 100%;
  transition: background 0s;
  color: white;
}

/* Button style */
.material-button {
  border: none;
  border-radius: 2px;
  padding: 12px 18px;
  font-size: 16px;
  text-transform: uppercase;
  cursor: pointer;
  color: white;
  background-color: #0061ff;
  /* box-shadow: 0 0 4px #999; */
  outline: none;

  border: 1px solid transparent;
}
.material-button.just-one {
  width: 100%;
}

.material-button:focus {
  outline-width: 1px;
  outline-color: white;
  outline-style: solid;
}

button.material-button,
a.material-button {
  background: none;
  color: #0061ff;
  text-decoration: none;
}

button.material-button:hover,
a.material-button:hover {
  background: #0061ff;
  color: white;
}

/*-------------------------------------------------------------------*/

#rememberMe {
  outline-offset: 4px !important;
  margin: 0;
  margin-right: 7px;
  cursor: pointer;
  margin-left: 1px; /*the border*/
}

.remember-me-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.remember-me-wrap label {
  cursor: pointer;
  font-size: 12.8px;
}

/* .fp-reg-actions {
    padding-top: 12px;
} */

.fp-reg-actions > div:not(:first-child) {
  padding-top: 5px;
}

#social-microsoft i,
#social-google i {
  opacity: 0;
}
#social-microsoft:hover i,
#social-google:hover i {
  opacity: 1;
}

#social-microsoft:hover,
#social-google:hover {
  background-image: none;
}

#social-google {
  background-image: url(../img/google-logo.svg);
}

#social-microsoft {
  background-image: url(../img/microsoft-logo.svg);
}
