
/* document */

body {
  -webkit-font-smoothing: antialiased;
  font-variant-ligatures: none;
  text-rendering: optimizeLegibility;
  text-shadow: rgba(0,0,0,.01) 0 0 1px;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  line-height: 1.375rem;
  color: #3b3b3b;
  background: #ffffff !important;
}

/* branding */

#kc-header {
  width: 60px;
  height: 60px;
  margin: 24px auto;
  background-image: url("../img/logo.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60px;
}

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

@media (min-width: 768px) {
  #kc-header {
    width: 120px;
    height: 120px;
    background-size: 120px;
  }
}

/* card */

.card-pf,
.login-pf-page .card-pf {
  background-color: #f4f6ed;
  border: none;
  box-shadow: none;
  margin-bottom: 24px;
}

/* typography */

.login-pf-header h1  {
  font-family: Roboto Slab, Arial, sans-serif;
  font-weight: 900;
  font-size: 2rem !important;
  line-height: 3rem;
  color: #165741;
}

.card-pf h2 {
  font-family: Roboto Slab, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.5em !important;
  line-height: 2rem;
  color: #165741;
}

/* button */

.pf-c-button.pf-m-primary {
  display: inline-block;
  padding: 13px 29px 15px;
  border-radius: 2px;
  color: #fff!important;
  font-size: 1.13rem;
  font-weight: 700;
  font-family: Roboto Slab, Arial, sans-serif;
  line-height: 1;
  text-align: center;
  text-decoration: none!important;
  transition: all .25s linear;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-shadow: none;
  box-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  border: 1px solid #f68a33;
  background-color: #f68a33;
}

.pf-m-primary:hover {
  outline: none;
  border-color: #e66802;
  background-color: #e66802;
}

/* input fields */

.pf-c-form-control {
  font-family: "Inter", sans-serif;
  margin: 5px 0;
  padding: 10px 15px;
  border: 1px solid #e6e6e6;
  border-radius: 3px;
  max-width: 100%;
  width: 100%;
  min-height: 50px;
  transition: all .25s linear;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: none;
  font-size: .938rem;
  font-weight: 600;
  color: #165741;
}

.pf-c-form-control:focus-visible {
  outline: 2px dashed #165741!important;
}

.pf-c-form-control[aria-invalid=true] {
  border: 1px solid #f14242;
}
.pf-c-form__helper-text.pf-m-error {
  color: #f14242;
}
 
/* alert */

.pf-c-alert {
  padding: 12px 20px 10px 12px;
  border: 1px solid #519179;
  background-color: #f4f6ed;
  font-size: .938rem;
  transition: all .2s;
}

.pf-c-alert.pf-m-danger {
  border: 1px solid #f14242;
  background-color: rgba(241,66,66,.15);
}
.pf-c-alert.pf-m-success {
  border: 1px solid #519179;
  background-color: #eaf1ef;
}

/* info about password reset */

#kc-info-wrapper {
  background-color: #eaf1ef;
}



/* custom content */

.card-pf.np-extra-content--need-help {
  background-color: #ffffff;
  text-align: center;
}

/* with additional of 'show pw' button the custom margins need to apply to the entire div for the pw section */
.pf-c-input-group {
    max-height: 50px;
    margin-top: 5px;
}

.pf-c-form-control[name="password"] {
    margin-top: 0px;
}

button.pf-c-button.pf-m-control {
    height: 50px;
}

/* 'show pw' button color */
.pf-c-button.pf-m-control.pf-m-active, .pf-c-button.pf-m-control:active {
  --pf-c-button--m-control--after--BorderBottomColor: #165741
}

.pf-c-button.pf-m-control:hover {
  --pf-c-button--m-control--after--BorderBottomColor: #165741
}

.pf-c-button.pf-m-control:focus {
  --pf-c-button--m-control--after--BorderBottomColor: #165741
}
