html {
  height: 100%;
  margin: 0;
}
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.login-pf {
  background-image: url(../img/triangles-left.svg),
    url(../img/triangles-right.svg);
  background-position: left top, right bottom;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed;
  background-color: #70a59a;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  flex: 1 0 auto;
}

code,
pre {
  font-family: "Roboto Mono", source-code-pro, monospace;
}

.login-pf a,
#kc-totp-settings a {
  color: var(--palette-light-primary-main);
}
#device-user-code {
  font-size: var(--typography-h6-font-size);
  margin-top: 8px;
}
#kc-totp-supported-apps {
  list-style: none;
  padding: 0;
}
#kc-username {
  margin: 20px 0;
}
#kc-attempted-username {
  font-weight: var(--typography-subtitle2-font-weight);
  margin: 7px 10px;
  display: inline-block;
}
#profileImage {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--component-button-color-secondary);
  font-size: 0px;
  color: #fff;
  text-align: center;
  float: left;
  line-height: 40px;
}
#profileImage:first-letter {
  font-size: 20px;
  text-transform: capitalize;
}
#kc-header {
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-logo-header {
  background: url(../img/fortra-logo-dark-green.svg) no-repeat right bottom;
  height: 30px;
  width: 100%;
}

#kc-content {
  color: var(--palette-light-text-primary);
  border-radius: 4px;
  padding: 32px;
}
#kc-page-title {
  text-align: left;
  margin: 0;
}
.login-pf-header h1 {
  font-family: var(--typography-h3-font-family);
  font-weight: var(--typography-font-weight-regular);
  font-size: var(--typography-h3-font-size);
  line-height: var(--typography-h3-line-height);
  letter-spacing: var(--typography-h3-letter-spacing);
}
.control-label {
  color: rgba(0, 0, 0, 0.6);
  margin: 16px 0 0 0;
}
.social-provider {
  list-style: none;
}
#kc-social-providers {
  text-align: center;
  color: var(--palette-light-text-secondary);
  margin-top: 8px;
}
#kc-social-providers h4 {
  font-weight: var(--typography-h4-font-weight);
  margin-bottom: 4px;
}
#kc-social-providers a:hover {
  background-color: #efefef;
}
#kc-registration,
#kc-login,
#need-help-signin {
  display: table;
  margin-left: auto;
  margin-right: auto;
  font-size: var(--typography-button-font-size);
  font-weight: var(--typography-font-weight-regular);
  font-family: var(--typography-button-font-family);
}

.pf-forgot-password {
  text-align: right;
  font-size: var(--typography-button-font-size);
  font-weight: var(--typography-font-weight-regular);
  color: var(--component-link-color-primary);
  font-family: var(--typography-font-family);
  margin-top: 16px;
  padding: 4px 0;
}

#kc-content #kc-info {
  margin-top: 24px;
  color: var(--palette-light-text-secondary, rgba(0, 0, 0, 0.54));
}
.kc-login-tooltip {
  margin-top: 24px;
}
.kc-social-links {
  margin-top: 0px;
  margin-right: auto;
  margin-left: auto;
  padding: 0;
}
@media (max-width: 768px) {
  .kc-social-links {
    width: 100%;
  }
}
@media (min-width: 769px) {
  .kc-social-links {
    width: 60%;
  }
  .or-line:first-child {
    margin-left: 100px;
  }
  .or-line:last-child {
    margin-right: 100px;
  }
}
#kc-form-buttons {
  width: 100%;
}
#kc-login-submit:focus,
#kc-register-submit:focus {
  outline: 2px solid var(--component-tabs-theme-light-color) !important;
}
#kc-form-buttons .pf-c-button,
.kc-social-links .pf-c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  outline: 0px;
  border: 0px;
  cursor: pointer;
  user-select: none;
  vertical-align: middle;
  appearance: none;
  min-width: 64px;
  padding: 6px 16px;
  border-radius: 4px;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  box-shadow: rgb(0 0 0 / 20%) 0px 3px 1px -2px,
    rgb(0 0 0 / 14%) 0px 2px 2px 0px, rgb(0 0 0 / 12%) 0px 1px 5px 0px;
  width: 100%;
  text-decoration: none;
  height: 44px;
}
.kc-social-links .pf-c-button {
  margin-top: 16px;
  color: var(--palette-light-text-secondary);
}
.kc-social-provider-logo {
  margin-right: 10px;
}
.kc-social-icon-text {
  font-family: "Roboto";
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.fa-google {
  background: conic-gradient(
      from -45deg,
      #ea4335 110deg,
      #4285f4 90deg 180deg,
      #34a853 180deg 270deg,
      #fbbc05 270deg
    )
    73% 55%/150% 150% no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.fa-windows {
  background: conic-gradient(
      from 270deg,
      #ea4335 87deg,
      #34a853 90deg 180deg,
      #fbbc05 180deg 270deg,
      #4285f4 270deg
    )
    57% 50%/150% 100% no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
#kc-form-buttons .pf-c-button {
  background-color: var(--palette-light-primary-main) !important;
  font-family: var(--typography-font-family);
  font-weight: var(--typography-font-weight-regular);
  font-size: var(--component-button-typography-font-size);
  line-height: var(--component-button-typography-line-height);
  letter-spacing: var(--component-button-typography-letter-spacing);
  text-transform: var(--component-button-typography-text-transform);
  margin-top: 32px;
  color: #fff;
}

.alert {
  margin: 1rem 0 0 0;
}

.input-error-message {
  padding-top: 6px;
}

.disabled-link {
  pointer-events: none;
}

.kc-subtitle {
  font-family: "Roboto";
  font-size: var(--typography-subtitle1-font-size);
  font-style: normal;
  font-weight: var(--typography-subtitle1-font-weight);
  line-height: 24px;
  letter-spacing: 0.15px;
  color: var(--northstar-light-text-secondary, rgba(0, 0, 0, 0.54));
  margin-top: 5px;
  word-break: break-all;
}

.kc-banner {
  background: #25a0cf26;
  color: #204756;
  font-family: "Roboto";
  display: none;
  justify-content: center;
  border: 1px solid #25a0cf4d;
  line-height: 24px;
  letter-spacing: 0.15px;
  font-size: 16px;
}

.kc-banner-container {
  overflow-wrap: break-word;
  text-align: left;
}

.kc-banner-title {
  font-weight: 500;
}

.kc-banner-text {
  font-weight: 400;
}

/* Reset Password */
#kc-reset-password-form #kc-form-options,
.back-to-login {
  float: none;
  display: table;
  margin-left: auto;
  margin-right: auto;
}
.back-to-login a {
  font-size: var(--typography-button-font-size);
  font-weight: var(--typography-font-weight-regular);
  font-family: var(--typography-button-font-family);
  text-decoration: none;
  color: var(--palette-light-text-primary);
}
.mdc-text-field--focused:not(.mdc-text-field--disabled):not(
    .mdc-text-field--invalid
  )
  .mdc-floating-label {
  color: var(--palette-primary-main);
}
.mdc-text-field--focused:not(.mdc-text-field--disabled):not(
    .mdc-text-field--invalid
  )
  .mdc-text-field__input::-webkit-input-placeholder {
  color: var(--palette-primary-main);
}
.mdc-text-field--focused:not(.mdc-text-field--disabled):not(
    .mdc-text-field--invalid
  )
  .mdc-text-field__input:-ms-input-placeholder,
.mdc-text-field--focused:not(.mdc-text-field--disabled):not(
    .mdc-text-field--invalid
  )
  .mdc-text-field__input::-ms-input-placeholder {
  color: var(--palette-primary-main);
}
.mdc-text-field--focused:not(.mdc-text-field--disabled):not(
    .mdc-text-field--invalid
  )
  .mdc-text-field__input::placeholder {
  color: var(--palette-primary-main);
}
.mdc-text-field--outlined .mdc-text-field__input {
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.24);
  width: calc(100% - 25px);
}

.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input {
  border: 1px solid rgba(0, 0, 0, 0.24);
  color: 1px solid rgba(0, 0, 0, 0.24);
}

.mdc-text-field--disabled .mdc-floating-label {
  color: 1px solid rgba(0, 0, 0, 0.24);
}

.mdc-floating-label {
  background-color: white;
  padding: 0 4px;
  z-index: 10;
}
.mdc-text-field--upgraded {
  display: block !important;
}
.fa-exclamation-triangle,
.fa-exclamation-circle {
  color: #ffa500;
}
:root {
  --mdc-theme-primary: var(--palette-primary-main);
}
#kc-register-form #kc-form-buttons {
  float: none;
}
#kc-login {
  float: none;
}
.g-recaptcha {
  line-height: 0 !important;
  margin-top: 16px;
  display: inline-flex;
}

.g-recaptcha-container {
  display: flex;
  justify-content: center;
}

.g-recaptcha-border > div > iframe {
  border: 1px solid #cf4833;
  border-radius: 5px;
}

.g-recaptcha > div {
  margin: 0 auto;
}

#input-error-recaptcha .input-error-message {
  width: 152px;
  margin: 0 18%;
}
#rc-anchor-container {
  height: 74px;
  width: 300px;
}

.login-pf-page form .radio-input {
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.12);
  margin: 8px 0;
  padding: 15px 8px;
  border-radius: var(--shape-border-radius);
  cursor: pointer;
}
.login-pf-page form .radio-input .radio {
  accent-color: var(--palette-primary-main);
}
.radio-input:has(.radio:checked) {
  background-color: rgba(0, 106, 86, 0.04);
  border-color: rgba(0, 106, 86, 1);
  font-weight: 600;
}

.totp-container {
  margin-top: 35px;
}
input[type="checkbox" i] {
  accent-color: var(--palette-primary-main);
}

.kc-checkbox {
  accent-color: var(--palette-primary-main);
}

.kc-checkbox label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--typography-button-font-size);
}

.kc-checkbox label input {
  accent-color: var(--palette-primary-main);
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin: 0;
}

.or-line {
  border-top: 1px solid var(--palette-grey-300);
  width: 100%;
}

.identity-provider {
  background: var(--palette-scale-common-white);
  font-size: 17px;
  padding-left: 40px !important;
  justify-content: left !important;
}

.identity-provider:hover {
  background-color: var(--palette-grey-200);
}
.identity-provider:focus {
  outline: 2px solid var(--component-tabs-theme-light-color);
}

.or-style {
  margin: 0 10px;
  color: grey;
  font-size: 14px;
}
#policy {
  text-align: center;
  padding-top: 16px;
  padding-bottom: 16px;
}
#policy a {
  margin: 0 6px;
  font-family: inherit;
  font-weight: inherit;
  font-size: 14px;
  line-height: inherit;
  letter-spacing: inherit;
  text-decoration: underline;
  color: rgba(0, 0, 0, 0.67);
  padding: 4px 0;
}
#policy .bull {
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.00938em;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.67);
}
#kc-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}
#kc-container-wrapper {
  flex: 1 1 0%;
}
#continue-with-email {
  margin: 0 auto;
  margin-top: 16px;
}
.hr-or {
  display: flex;
  align-items: center;
}
#continue-with-email .fa-envelope {
  color: var(--palette-light-text-secondary, rgba(0, 0, 0, 0.54));
  margin-right: 10px;
}
.mdc-text-field--invalid input {
  border-color: #b00020 !important;
}

/* Recovery codes */

.totp-codes-header {
  margin-bottom: 30px;
  color: var(--component-card-theme-light-color-header);
}

.kc-recovery-codes-warning {
  margin-bottom: 32px;
  padding: 5px 45px 10px 45px;
  position: relative;
  border: 1px solid rgba(255, 174, 0, 0.3) !important;
  background-color: rgba(255, 174, 0, 0.15) !important;
  border-radius: 4px;
}

.pf-c-alert__description {
  grid-area: description;
  word-break: break-word;
  margin-left: 16px;
}

.kc-recovery-codes-warning .pf-c-alert__description p {
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.2px;
  color: var(--component-card-theme-light-color-header);
}

.pf-c-alert__description-text {
  font-weight: 400;
  font-size: 0.875rem !important;
  line-height: 1.43 !important;
  letter-spacing: 0.01071em !important;
}

.kc-recovery-codes-warning .pf-c-alert__title {
  color: var(--component-card-theme-light-color-header);
  word-break: break-word;
  margin-left: 16px;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.43;
  letter-spacing: 0.01071em;
}
.kc-recovery-codes-list {
  list-style: none;
  columns: 2;
  margin: 16px 0;
  padding: 16px 16px 8px 16px;
  border: 1px solid var(--component-tabs-theme-light-color-disabled);
  line-height: 2;
  color: var(--component-card-theme-light-color-header);
}
.kc-recovery-codes-list li {
  margin-bottom: 8px;
  font-size: 12px !important;
}
.kc-recovery-codes-list li span {
  color: var(--component-tabs-theme-light-color);
  width: 16px;
  text-align: right;
  display: inline-block;
  margin-right: 1px;
}

.kc-recovery-codes-actions {
  margin-bottom: 24px;
  margin-top: 25px;
  margin-left: 2px;
}
.kc-recovery-codes-actions a {
  margin-right: 20px;
  cursor: pointer;
  pointer-events: all;
}
.kc-recovery-codes-actions a i {
  margin-right: 10px;
}

.kc-recovery-codes-confirmation {
  align-items: baseline;
  margin-bottom: 16px;
  margin-left: 2px;
}

.kc-recovery-codes-confirmation .pf-c-check__input {
  margin: 0;
  margin-right: 5px;
}

.pf-screen-reader {
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pf-c-alert.pf-m-inline {
  box-shadow: none;
  background-color: #fdf7e7;
}

.pf-c-alert__icon {
  grid-area: icon;
  display: flex;
  margin-top: 0.0625rem;
  margin-right: 0.5rem;
  font-size: 1.125rem;
  color: #009596;
  position: absolute;
  top: 25px;
  left: 20px;
}

#kc-select-credential-form .select-auth-box-icon {
  display: flex;
  flex: 0 0 2em;
  justify-content: center;
  margin-right: 1rem;
  margin-left: 3rem;
  font-size: 14px;
}

#kc-select-credential-form .select-auth-box-headline {
  font-size: 1rem;
  color: var(--component-button-color-secondary);
  font-weight: bold;
}

#kc-select-credential-form .select-auth-box-desc {
  margin-top: 8px;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  line-height: 20px;
}

#kc-select-credential-form .select-auth-box-arrow {
  display: flex;
  align-items: center;
  margin-right: 2rem;
}

#kc-select-credential-form .select-auth-box-parent {
  display: flex;
  border-top: 1px solid var(--palette-light-divider);
  padding-top: 1rem;
  padding-bottom: 1rem;
  cursor: pointer;
  border-left: none;
  border-right: none;
  border-bottom: none;
  text-align: left;
  background: none;
}

#kc-select-credential-form .select-auth-box-parent:hover {
  background-color: #f7f8f8;
}

#kc-form-buttons .disableCompleteSetupButton {
  background-color: inherit !important;
  cursor: not-allowed;
  color: var(--palette-light-text-disabled);
}

/* End Recovery codes */
#kc-delete-text {
  margin-top: 16px;
}
#remove-credential-actions {
  display: flex;
  justify-content: end;
  margin-top: 24px;
}
#remove-credential-actions #kc-decline {
  margin-right: 8px;
}
#remove-credential-actions #kc-accept,
#remove-credential-actions #kc-decline {
  background-color: var(--palette-scale-grey-200) !important;
  border: none !important;
  box-shadow: none !important;
  padding: 6px 8px !important;
  font-family: var(--typography-button-font-family);
  font-weight: var(--typography-button-font-weight);
  font-size: var(--typography-button-font-size);
  line-height: var(--typography-button-line-height);
  letter-spacing: var(--typography-button-letter-spacing);
  text-transform: var(--typography-button-text-transform) !important;
  border-radius: var(--shape-border-radius);
}
#remove-credential-actions #kc-accept,
#remove-credential-actions #kc-accept:focus {
  color: var(--palette-light-primary-main) !important;
  background-color: transparent !important;
  --pf-v5-c-button--after--BorderColor: transparent !important;
}
#remove-credential-actions #kc-accept:hover,
#remove-credential-actions #kc-accept:active {
  color: var(--palette-light-primary-main) !important;
  background-color: var(--palette-scale-grey-200) !important;
}
#remove-credential-actions #kc-decline,
#remove-credential-actions #kc-decline:focus {
  color: var(--palette-scale-grey-700) !important;
  background-color: transparent !important;
  --pf-v5-c-button--after--BorderColor: transparent !important;
}
#remove-credential-actions #kc-decline:hover,
#remove-credential-actions #kc-decline:active {
  color: var(--palette-scale-grey-700) !important;
  background-color: var(--palette-scale-grey-200) !important;
}

/* Start Input */
.input-error,
[data-error-for] {
  color: #cf4833 !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 12px;
  padding-left: 12px;
}

.input-error > span,
[data-error-for] > span {
  padding-top: 6px;
}

.password-success {
  color: #006a56 !important;
}

.password-error {
  color: #cf4833 !important;
}

#input-error-recaptcha .input-error-message {
  width: 152px;
  margin: 0 18%;
}

.passwordRequirements {
  list-style: none;
  padding-left: 12px;
  font-weight: 400;
  font-size: 14px;
  line-height: 20.02px;
  letter-spacing: 0.15px;
  margin-top: 16px;
  margin-bottom: 24px;
}

.passwordRequirements > li {
  display: flex;
  align-items: center;
  color: rgba(0, 0, 0, 0.6);
}

.passwordRequirements > li:not(:first-child) {
  margin-top: 4px;
}

.passwordRequirements-title {
  margin-bottom: 8px;
}

.passwordRequirements > li > span {
  display: inline-flex;
}

.passwordRequirements > li > span > span {
  font-size: 16px;
  margin-right: 8px;
}

.toggle-password {
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
/* End Input */
