:root {
  /* Changed the blue palette to match the trreb blue */
  --pf-global--palette--blue-50: #b3d3f2;
  --pf-global--palette--blue-100: #80b5e9;
  --pf-global--palette--blue-200: #4d97e0;
  --pf-global--palette--blue-300: #2681da;
  --pf-global--palette--blue-400: #006bd3;
  --pf-global--palette--blue-500: #0063ce;
  --pf-global--palette--blue-600: #0058c8;
  --pf-global--palette--blue-700: #004ec2;
  /* Changed a few random stragglers that matched the old blue palette */
  --pf-global--active-color--100: #80b5e9;
  --pf-global--active-color--200: #4d97e0;
  --pf-global--active-color--300: #2681da;
  --pf-global--active-color--400: #006bd3;
  --pf-global--primary-color--100: #006bd3;
  --pf-global--primary-color--200: #0063ce;
  --pf-global--primary-color--light-100: #2681da;
  --pf-global--primary-color--dark-100: #006bd3;
  --pf-global--info-color--100: #2681da;
  --pf-global--info-color--200: #0058c8;
  --pf-global--link--Color: #006bd3;
  --pf-global--link--Color--hover: #0063ce;
  --pf-global--link--Color--light: #2681da;
  --pf-global--link--Color--light--hover: #4d97e0;
  --pf-global--link--Color--dark: #006bd3;
  --pf-global--link--Color--dark--hover: #0063ce;
  /* Override the light blue palette as well */
  --pf-global--palette--light-blue-100: #c5daee;
  --pf-global--palette--light-blue-200: #9ec2e3;
  --pf-global--palette--light-blue-300: #77aad7;
  --pf-global--palette--light-blue-400: #5a97cf;
  --pf-global--palette--light-blue-500: #3d85c6;
  --pf-global--palette--light-blue-600: #377dc0;
  --pf-global--palette--light-blue-700: #2f72b9;
}

body {
  font-family: Corbel, Arial, sans-serif;
  font-variant-numeric: lining-nums;
  color: #75787b;
  font-size: 1rem;
}

/* remove the background */
.login-pf body {
  background: #f2f2f2 !important;
  background-image: none !important;
}
.login-pf {
  background: #f2f2f2 !important;
  background-image: none !important;
}

/* center some containers */
.login-pf-page {
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  max-width: 550px;
  overflow-y: auto;
}

.login-pf-page-header {
  margin-bottom: 0 !important;
}

/* make the login box a reasonable size */
.card-pf {
  width: 100%;
  background-color: #f2f2f2;
  padding: 0 !important;
  box-shadow: none;
}
.card-pf:not(:has(#hack-card-pf)) {
  border: 1px solid #bbbcbc !important;
  background-color: #fafafa;
  border-radius: 25px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  padding: 1.5rem !important;
  margin-top: 1.5rem !important;
  margin-bottom: 2rem !important;
}
#hack-card-pf {
  background-color: #fafafa;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  border-right: 1px solid #bbbcbc !important;
  border-left: 1px solid #bbbcbc !important;
}
#kc-content-wrapper > #hack-card-pf {
  border-top: 1px solid #bbbcbc !important;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  padding: 1.5rem 1.5rem 0;
  margin-top: 1.5rem;
}
#kc-content-wrapper > #hack-card-pf ~ #hack-card-pf {
  border-top: 0 !important;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  padding: 0 1.5rem;
  margin-top: 0;
}
#hack-card-pf:last-of-type {
  border-bottom: 1px solid #bbbcbc !important;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
  padding: 0 1.5rem 1.5rem !important;
  margin-bottom: 2rem !important;
  margin-top: -0.5rem !important;
}
#kc-social-providers {
  display: none;
}
#kc-social-providers hr {
  display: none;
}
#kc-social-providers h4 {
  display: inline-block;
}
#kc-form-buttons {
  margin-bottom: 0;
}

/* branding stuff */
#logo-top {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
#logo-bottom {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  column-gap: 0.5rem;
  row-gap: 1rem;
}
#trreb-logo {
  height: 50px;
  width: 190px;
}
#proptx-logo {
  height: 53px;
  width: 216px;
}
#clar-logo {
  height: 65px;
  width: 85px;
}
#lstar-logo {
  height: 45px;
  width: 115px;
}
.login-pf-header {
  display: none !important;
  user-select: none;
}

/* group around input */
.form-group {
  margin-bottom: 0.5rem;
  position: relative;
}

/* input labels */
.pf-c-form__label {
  font-size: 12px;
  font-weight: 600;
  color: #75787b;
  margin-bottom: 1rem;
}

/* inputs */
.pf-c-form-control {
  z-index: 1;
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  outline: 0 !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}
.pf-c-form-control:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* label padding is wonk */
.pf-c-form__label {
  margin-bottom: 0.7rem;
}

/* input wrapper */
.input-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}
.input-wrapper:has(.input-toggle) .pf-c-form-control {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.input-wrapper .input-toggle {
  height: 2.25rem;
  width: 2.5rem;
  background-color: #f8f9fa;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid #dee2e6;
  border-left: none;
  border-radius: 0.375rem;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  cursor: pointer;
}
.input-wrapper:has(input[type='text']) .input-toggle {
  background-image: url('../img/icons/eye-fill.svg');
}
.input-wrapper:has(input[type='password']) .input-toggle {
  background-image: url('../img/icons/eye-slash.svg');
}

/* color the error text */
.pf-m-error {
  color: var(--pf-global--danger-color--100);
}

/* color the buttons */
.pf-c-button {
  width: unset !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 10px 40px 10px 40px !important;
  border-radius: 0.5rem !important;
  line-height: 1.5 !important;
  display: inline-block !important;
  text-align: center !important;
  text-decoration: none !important;
  vertical-align: middle !important;
  color: #fff;
  user-select: none !important;
}
.pf-c-button:hover {
  background-color: #0057ab;
}
.pf-c-button::after {
  border: 0 !important;
}
.pf-c-button:not(.pf-m-primary) {
  box-sizing: border-box;
  background-color: transparent;
  border: 2px solid #bbbcbc;
  color: #75787b;
}
.pf-c-button:not(.pf-m-primary):hover {
  color: #272c37;
  border-color: #272c37;
}

#copyright {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: #75787b;
}

#version {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 400;
  color: #bbbcbc;
}

.login-pf-page p#copyright:before {
  font-size: 12px;
  font-weight: 600;
  color: #bbbcbc;
  line-height: 18px;
  display: block;
  margin-bottom: 1rem;
}
.login-pf-page:has(input.pf-c-button.pf-m-primary[value='Submit'])
  p#copyright:before {
  content: 'By clicking on the "Submit" button you are confirming that PropTx Innovations Inc. has authorized your use of the User ID, PIN and One-Time Code entered and that you are an Authorized User. Fraudulently accessing the system using someone else’s User ID, PIN, and One-Time Code are criminal offences punishable by up to ten years imprisonment and may result in statutory and contractual damages.';
}
.login-pf-page:has(input.pf-c-button.pf-m-primary[value='Send Code'])
  p#copyright:before {
  content: 'By clicking on the "Send Code" button you are confirming that PropTx Innovations Inc. has authorized your use of the User ID, PIN and One-Time Code entered and that you are an Authorized User. Fraudulently accessing the system using someone else’s User ID, PIN, and One-Time Code are criminal offences punishable by up to ten years imprisonment and may result in statutory and contractual damages.';
}
.login-pf-page:has(input.pf-c-button.pf-m-primary[value='Reset My PIN'])
  p#copyright:before {
  content: 'By clicking on the "Reset My PIN" button you are confirming that PropTx Innovations Inc. has authorized your use of the User ID, PIN and One-Time Code entered and that you are an Authorized User. Fraudulently accessing the system using someone else’s User ID, PIN, and One-Time Code are criminal offences punishable by up to ten years imprisonment and may result in statutory and contractual damages.';
}
.login-pf-page:has(input.pf-c-button.pf-m-primary[value='Log On'])
  p#copyright:before {
  content: 'By clicking on the "Log On" button you are confirming that PropTx Innovations Inc. has authorized your use of the User ID, PIN and One-Time Code entered and that you are an Authorized User. Fraudulently accessing the system using someone else’s User ID, PIN, and One-Time Code are criminal offences punishable by up to ten years imprisonment and may result in statutory and contractual damages.';
}

#message {
  display: block !important;
  margin-top: 1.5rem;
}
#kc-content-wrapper > #message ~ #message {
  display: none !important;
}
#message-title {
  font-size: 1.25rem;
  font-weight: bolder;
}
#message-body {
  line-height: 1.5rem;
}
#system-message {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  font-weight: bold;
  box-sizing: border-box;
  padding: 0.5rem;
  background-color: #fafafa;
  border: 1px solid #bbbcbc !important;
  border-radius: 25px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  margin-bottom: 0.5rem;
  color: #b22222;
}
#system-message > div {
  padding-left: 0.5rem;
}

/* resend verification code etc */
.resend-code {
  font-size: 12px;
  color: #75787b;
}

/* message on password reset page for new users */
#new-reset-password-message {
  font-size: 14px;
}

/* left text align the bottom message */
#kc-info-wrapper {
  text-align: left;
}

.flex-end {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

/* CUSTOM CSS CLASSES */
.impersonate-header {
  font-size: 24px;
  text-decoration: none;
  font-weight: 500;
  color: #000000;
  text-align: center;
}

.impersonate-user-select {
  background-color: #fafafa;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 12px;
  padding-left: 24px;
  padding-right: 16px;
  width: 100%;
  margin-top: 16px;
}
.impersonate-user-select:focus {
  outline: none;
  border: 2px solid #228be6;
}
.impersonate-user-select svg {
  stroke: #228be6;
  height: 32px;
  width: 32px;
}

.impersonate-name {
  color: #000000;
}

.impersonate-job-title {
  color: #555a5d;
}

.impersonate-toggle {
  margin: auto;
  background-color: #fafafa;
  border: 0;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  align-items: center;
  column-gap: 4px;
  color: #228be6;
  margin-top: 16px;
  margin-bottom: 16px;
  padding-left: 14px;
  padding-right: 16px;
}
.impersonate-toggle.on {
  background-color: #228be6;
  color: #ffffff;
}
.impersonate-toggle svg {
  stroke: #228be6;
  height: 20px;
  width: 20px;
}
.impersonate-toggle.on svg {
  stroke: #ffffff;
}

.back-to-login {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  color: #555a5d;
  text-decoration: none;
  column-gap: 4px;
  margin-top: 24px;
  margin-bottom: -40px;
}
.back-to-login svg {
  stroke: #555a5d;
  height: 20px;
  width: 20px;
}
