@font-face {
  font-family: "FlexoW03-Thin";
  src: url("../fonts/FlexoW03-Thin.woff2") format("woff2");
}

@font-face {
  font-family: "FlexoW03-ThinItalic";
  src: url("../fonts/FlexoW03-ThinItalic.woff2") format("woff2");
}

@font-face {
  font-family: "FlexoW03-Regular";
  src: url("../fonts/FlexoW03-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "FlexoW03-Demi";
  src: url("../fonts/FlexoW03-Demi.woff2") format("woff2");
}

@font-face {
  font-family: "FlexoW03-Bold";
  src: url("../fonts/FlexoW03-Bold.woff2") format("woff2");
}

:root {
  --primary-color: rgb(131, 193, 50);
  --primary-color-hover: rgb(111, 164, 43);
  --secondary-color: rgb(85, 85, 85);
  --white: hsla(0, 100%, 100%, 1);
  --grid-gutter-horizontal: 25px;
  --pf-global--danger-color--200: #d10000;
}

html {
  font-family: "FlexoW03";
  font-weight: 100;
}

.custom-header {
  display: flex;
  justify-content: end;
  height: 200px;

  .custom-header-wrapper {
    padding: 40px 40px 0 0 !important;
  }

  div.kc-logo-text {
    background-image: url(../img/logo.svg);
    --width: 287px;
    width: var(--width);
    height: calc(var(--width) * 24.7 / 300);
  }

  @media only screen and (max-width: 767px) {

    justify-content: start;

    div.kc-logo-text {
      --width: 191px;
    }
  }
}

h1 {
  font-family: FlexoW03-Thin;
  font-weight: 100;
  font-size: 45px;
  line-height: 57px;
  letter-spacing: 0.03em;
}

a {
  font-family: "FlexoW03-Demi";
  text-decoration: none !important;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease-out, border 0.25s ease-out;
  color: #000;
  font-size: 14px;
  line-height: 26px;
  display: inline-block;
}

a:hover {
  color: #a8a5a4 !important;
  border-bottom: 1px solid #a8a5a4;
  outline: none;
}

.login-pf body {
  background: none;
}

.login-pf-header {
  margin-left: var(--grid-gutter-horizontal);
}

@media only screen and (min-width: 1024px) {
  .login-pf-header {
    margin-left: calc((100% - (var(--grid-gutter-horizontal) * 6)) / 6 + (var(--grid-gutter-horizontal) * 2));
    width: calc((100% - (var(--grid-gutter-horizontal) * 1.5)) / 1.5);
  }
}

.container-center {
  width: calc(100% - 110px) !important;
  max-width: 1400px;
  margin: 0 auto;
}

.grid {
  position: relative;
  width: calc(100% + var(--grid-gutter-horizontal));
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
  left: calc(-1 * var(--grid-gutter-horizontal));
  margin-bottom: var(--grid-gutter-horizontal);
}

#kc-content {
  width: calc((100% - (var(--grid-gutter-horizontal) * 1.5)) / 1.5);
  margin-left: var(--grid-gutter-horizontal);
}

@media only screen and (max-width: 767px) {
  #kc-content {
    width: calc((100% - (var(--grid-gutter-horizontal) * 1)) / 1);
  }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
  #kc-content {
    width: calc((100% - (var(--grid-gutter-horizontal) * 1)) / 1);
  }
}

@media only screen and (min-width: 1024px) {
  #kc-content {
    margin-left: calc((100% - (var(--grid-gutter-horizontal) * 6)) / 6 + (var(--grid-gutter-horizontal) * 2));
  }
}

#kc-form-login {
  position: relative;
  width: calc(100% + var(--grid-gutter-horizontal));
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
  left: calc(-1 * var(--grid-gutter-horizontal));
  margin-bottom: var(--grid-gutter-horizontal);

  >* {
    position: relative;
    margin-bottom: var(--grid-gutter-horizontal);
    margin-left: var(--grid-gutter-horizontal);
  }
}

.custom-form-group {
  width: calc((100% - (var(--grid-gutter-horizontal) * 2)) / 2);

  label {
    font-family: "FlexoW03-Regular";
    font-weight: 100;
    letter-spacing: 0.05em;
    font-size: 12px;
    line-height: 18px;
  }
}

@media only screen and (max-width: 767px) {
  .custom-form-group {
    width: calc((100% - (var(--grid-gutter-horizontal) * 1)) / 1);
  }
}

.custom-inputs {
  display: block;
  width: 100%;
  height: 45px;
  background: #f0f0f0;
  border: none;
  border-bottom: 1px solid #000;
  border-radius: 0;
  transition: color 0.25s ease-in-out, background-color 0.25s ease-out;
  line-height: 45px;
  padding: 0 20px;
  font-size: 14px;
}

.custom-inputs[aria-invalid="true"] {
  border-color: var(--pf-global--danger-color--200);
}

.custom-inputs:focus {
  background-color: #e2e1e1;
  outline: none;
}

.custom-form-label {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0;
  color: #6e6967;
  text-align: left;
  -webkit-touch-callout: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  transition: color 0.4s ease-in-out;
  margin-bottom: 15px;
}

#kc-form-buttons {
  flex: 0 0 100%;
  margin-left: 0 !important;
  text-align: end;
}

input#kc-login {
  text-transform: uppercase;
  font-family: "FlexoW03-Demi";
  font-size: 14px;
  cursor: pointer;
  background: transparent;
  color: #000;
  display: initial;
  width: initial;
}

.custom-form-settings {
  flex: 0 0 100%;
  text-align: end;
  margin-top: -15px;
  margin-left: 0 !important;
}

.custom-form-option-wrapper {
  a {
    color: #6e6967;
    font-family: "FlexoW03-Regular";
    letter-spacing: 0.05em;
    font-size: 12px;
    line-height: 18px;
  }
}

.custom-info-area-wrapper {
  background: none !important;
  font-size: 14px !important;
}

@media (max-width: 767px) {
  .login-pf-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  #kc-locale {
    position: relative;
    order: 1;
    right: initial;
    top: initial;
    width: initial;
    line-height: 57px;
  }
}