@font-face {
  font-family: Poppins;
  src: url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap");
}

.login-pf body {
  --storyteq-headings-font-family: Poppins, "Open Sans", Helvetica, Arial,
    sans-serif;
  --storyteq-body-font-family: "Open Sans", Helvetica, Arial, sans-serif;

  font-family: var(--storyteq-body-font-family);
  background: var(--background);
  background-repeat: no-repeat;
  background-size: cover;

  display: flex;
  flex-direction: column;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.card-pf {
  border: none;
  padding: 50px 40px !important;
  position: relative;
}

.storyteq-logo {
  align-self: center;
}

h1#kc-page-title {
  font-weight: 600;
  font-size: 16px;
  margin-top: 25px;
  margin-bottom: 0;
}

#kc-content-wrapper {
  margin-top: 15px;
}

#kc-form-wrapper {
  margin-top: 15px;
}

.storyteq-page-description {
  font-family: var(--storyteq-body-font-family);
  text-align: center;
  font-weight: 400;
  font-size: 13px;
  color: #6f6f6f !important;
  margin-top: 5px;
}

header.login-pf-header {
  margin-bottom: 0 !important;
}

.form-group {
  margin-bottom: 20px;
}

#kc-form-options .checkbox {
  color: #000000;
}

.stq-form__label {
  font-family: var(--storyteq-headings-font-family);
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
}

.stq-form__input {
  padding: 0 1rem;
  width: 100%;
  font-size: 0.875rem;
  height: 2.5rem;
  line-height: 2.5rem;
  background-color: rgb(255, 255, 255);
  background-image: none;
  border: 1px solid #e0e0e0;
  box-sizing: border-box;
  color: #161616;
  display: inline-flex;
  outline: none;
  transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.stq-form__input:not(.is-disabled):hover {
  border-color: #a8a8a8;
}
.stq-form__input:not(.is-disabled):focus {
  outline: solid 2px rgba(20, 40, 147, 0.2);
  border-color: #142893;
}
.stq-form__input::-ms-reveal {
  display: none;
}
.stq-form__input::-webkit-input-placeholder,
.stq-form__input::-ms-input-placeholder,
.stq-form__input::placeholder {
  color: #c6c6c6;
}
.stq-form__helper-text {
  color: #ab262e;
  font-size: 0.7775rem;
  margin-top: 0.375rem;
  display: block;
}

#kc-form-buttons {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.pf-c-button {
  font-family: var(--storyteq-headings-font-family);
}

.stq-button {
  padding: 0 1.75rem;
  font-size: 0.875rem /* 14px */;
  font-weight: 500;
  font-family: var(--storyteq-headings-font-family);
  letter-spacing: 0.005em;
  height: 3.125rem;
  line-height: 1;
  white-space: nowrap;
  outline: none;
  position: relative;
  z-index: auto;
  border-width: 1px;
  border-style: solid;
  border-color: #e0e0e0;
  background-color: white;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  user-select: none;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stq-button--primary {
  background-color: var(--button-primary-color);
  color: white;
  border-color: var(--button-primary-color);
}
.stq-button--primary:hover {
  background-color: var(--button-primary-color-hover);
  border-color: var(--button-primary-color-hover);
}
.stq-button--primary:focus {
  background-color: var(--button-primary-color-focus);
  border-color: var(--button-primary-color-focus);
}
/* .pf-c-button {
  font-weight: 500;
  font-size: 14px;

  padding: 15px;
}

.pf-c-button.pf-m-primary {
  background-color: #142893;
}

.pf-c-button:not(.pf-m-primary) {
  color: #142893
} */

.storyteq-forgot-password-cancel-button:hover {
  text-decoration: none;
}

.storyteq-forgot-password-cancel-button > input {
  background-color: #f4f4f4;
  margin-top: 10px;
}

.storyteq-forgot-password-cancel-button > input:hover {
  background-color: #e4e4e4;
}

.pf-c-alert {
  margin-top: 15px;
  margin-bottom: 15px;
}

.pf-c-alert__title {
  font-family: var(--storyteq-body-font-family);
}

.pf-c-form-control[aria-invalid="true"] {
  border-color: #ab252e;
  border-bottom-width: 1px;
}

.pf-c-form-control[aria-invalid="true"]:focus-visible {
  outline: none;
}

.pf-m-error {
  color: #ab252e;
}

p.instruction {
  text-align: center;
}

.storyteq-loading-container {
  position: absolute;
  width: 100%;
  top: -10px;
  left: 0px;
}

.storyteq-loading-line {
  display: inline-block;
  width: 5%;
  height: 5px;
  margin-left: 5px;
  margin-right: 5px;
  border-radius: 15px;
  background-color: var(--loading-line-color);
}

.storyteq-loading-container .storyteq-loading-line:nth-last-child(1) {
  animation: storyteq-line-loading-animation 1.5s 1s infinite;
}

.storyteq-loading-container .storyteq-loading-line:nth-last-child(2) {
  animation: storyteq-line-loading-animation 1.5s 0.5s infinite;
}

.storyteq-loading-container .storyteq-loading-line:nth-last-child(3) {
  animation: storyteq-line-loading-animation 1.5s 0s infinite;
}

@keyframes storyteq-line-loading-animation {
  0% {
    width: 5%;
  }

  50% {
    width: 50%;
  }

  100% {
    width: 5%;
  }
}

#kc-oauth ul {
  list-style: initial;
  padding: revert;
  margin-top: 12px;
  margin-bottom: 16px;
}

#kc-oauth ul li {
  list-style: initial;
  padding-top: 6px;
  padding-bottom: 6px;
}

.kc-social-section {
  display: none;
}

.storyteq-registration {
  text-align: center;
  width: 100%;
  padding: 10px;
}

/* OAuth grant page styles */
header.login-pf-header p {
  color: var(--oauth-title-text-color, #000000) !important;
}
