@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/Inter-Light.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 300; font-display: swap; src: url("../fonts/Inter-LightItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/Inter-Italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/Inter-MediumItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 600; font-display: swap; src: url("../fonts/Inter-SemiBoldItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/Inter-Bold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/Inter-BoldItalic.woff2") format("woff2"); }

:root {
    --primary: #268096;
    --button-hover: #5199AB;
    --button-active: #1D6071;
    --border-grey: rgb(198, 198, 198);
    --error-text-red: #EF2D30;
    --secondary-red: #E3170A;
    --secondary-light-red: #FFF5F6;
    --secondary-green: #329F5B;
    --secondary-light-green: #F8F8F8;
    --secondary-light-blue: #C3DAE0;
}

* {
  font-family: "Inter", sans-serif;
}

a:active {
  color: var(--button-active) !important;
}

.login-pf body {
  background-image: none;
  background-color: white;
  width: 100%;
  padding-top: 10vh;
  padding-bottom: 10vh;
  height: fit-content;
  min-height: 100vh;
}

.login-pf-page {
  background-color: white;
  border-radius: 7px;
  width: 100%;
  position: relative;
}

@media (min-width: 600px) {
  .login-pf body {
    background-color: #f5f5f5;
    padding-top: 15vh;
    padding-bottom: 15vh;
  }

  .login-pf-page {
    border: 1px solid var(--border-grey);
    width: fit-content;
    max-width: 90%;
    margin: 0 auto;
    padding: 40px;
  }
}

.login-pf-page:has(#reset-login) {
  padding-bottom: 80px;
}

#reset-login {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
}

#kc-header {
  content: url("../img/logo.svg");
  width: 250px;
  margin: 0 auto;
  max-width: 90%;
}

#kc-header-wrapper {
  display: none;
}

#kc-page-title {
  color: var(--primary);
  font-size: 30px;
  font-weight: 700;
}

.card-pf {
  width: 800px;
  max-width: 90%;
  margin: 0 auto;
  border: none;
  background: none;
  box-shadow: none;
}

.select-auth-box-parent {
  cursor: pointer;
  margin-top: 10px;
}

.select-auth-box-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 5px;
}

.kc-social-links {
  margin-top: 30px;
  gap: 20px;
}

.kc-social-item {
  font-size: 16px;
  font-weight: 600;
  border: 1px solid black;
  border-radius: 6px;
  padding: 10px 25px;
}

.kc-social-item i {
  margin-right: 10px;
}

.kc-social-item:after {
  display: none;
}

.social-providers-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.social-providers-footer hr {
  flex: 1;
}

.social-providers-footer p {
  margin: 30px;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 600;
  color: black !important;
}

.form-group div:has(> input[type="text"]),
.form-group div:has(> input[type="password"]),
.form-group input[type="tel"],
select,
.form-group:has(> input[type="text"]),
.form-group:has(> input[type="password"]) {
  border: 1px solid #d3d3d3;
  border-radius: 6px;
    width: calc(100% + 20px) !important;
    margin-left: -10px;
    margin-right: -10px;

}

.form-group div:has(> input[type="text"]:focus),
.form-group div:has(> input[type="password"]:focus),
.form-group input[type="tel"]:focus,
select:focus,
.form-group:has(> input[type="text"]:focus),
.form-group:has(> input[type="password"]:focus) {
  outline-style: solid !important;
  outline-color: var(--primary) !important;
  outline-width: 3px !important;
}

.form-group .pf-c-button:after {
  border: none;
}

.form-group .pf-c-button:focus {
  outline-color: var(--primary);
}

input.pf-c-form-control {
  border: none;
  padding: 10px 20px !important;
  height: unset;
  border-radius: 6px;
  outline: none !important;
}

a:not(.kc-social-item) {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

input[type="submit"], button[type="submit"], #login-restart-button, input[type="button"]{
  background-color: var(--primary) !important;
  border: none;
  border-radius: 6px;
  padding: 10px;
  font-size: 18px;
  font-weight: 600;
  width: calc(100% + 20px) !important;
  margin-left: -10px;
  margin-right: -10px;
}

input[type="submit"]:hover, button[type="submit"]:hover, #login-restart-button:hover, input[type="button"]:hover {
  background-color: var(--button-hover) !important;
}

input[type="submit"]:active, button[type="submit"]:active, button[type="submit"]:disabled, #login-restart-button:active, input[type="button"]:active {
  background-color: var(--button-active) !important;
  color: white !important;
}

.newsletter-signup {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  gap: 8px;
}

.newsletter-signup label {
  margin-top: 4px;
  margin-bottom: 0;
}

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

.pf-c-alert {
  border: none;
  background: none;
}

input[type="checkbox"] {
  accent-color: var(--primary);
}

.hidden {
  display: none;
}

.instruction {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

#kc-form-options {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  a {
    text-decoration: none;
  }
}

.kc-form-buttons {
  width: 100%;
  margin-top: 10px;
}

.form-group {
  margin-top: 20px;
}

#kc-registration-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
}


#page-expired {
  font-size: 16px;
  font-weight: 500;
  color: #2D2D2D;
  margin-top: 50px;
  text-wrap: balance;
}

.login-restart-button-container {
  width: 100%;
  display: flex;
  justify-content: center;
}
#login-restart-button {
  width: 490px;
  max-width: 100%;
  margin: 40px auto 0 auto;
}

#login-restart-link {
    color: white !important;
    text-decoration: none;
    display: block;
    width: 100%;
}

#kc-attempted-username, #kc-delete-text {
  width: 100%;
  text-align: center;
  font-weight: 500;
  font-size: 16px;
  color: #2D2D2D;
}

#kc-delete-text {
  margin: 50px auto;
}

i.fa-eye:before {
  content: url('../img/eye.svg') !important;
}
i.fa-eye-slash:before {
  content: url('../img/eye-slash.svg') !important;
}

i.fa-eye, i.fa-eye-slash {
  margin-top: 8px;
}

button.pf-c-button[aria-controls="password"],
button.pf-c-button[aria-controls="password-confirm"],
button.pf-c-button[aria-controls="password-new"] {
  border-radius: 6px;
}

button.pf-c-button[aria-controls="password"]:has( i.fa-eye-slash) {
    width: 55px;
}
