.key, .form-field, .custom-select, .custom-select-choose, label.custom-checkbox {
  position: relative;
}

.form-field input[type=text] ~ label:not(.error),
.form-field input[type=email] ~ label:not(.error),
.form-field input[type=tel] ~ label:not(.error),
.form-field textarea ~ label:not(.error), .custom-select-options, label.custom-checkbox .checkmark, label.custom-checkbox input, .custom-select-choose::after, label.custom-checkbox .checkmark:after {
  position: absolute;
}

label.custom-checkbox .checkmark {
  top: 0;
  left: 0;
}

.key:before, .custom-select, form input[type=submit], .submit-wrapper .submit-button, .custom-button-radio, .custom-button-radio.active {
  display: inline-block;
  zoom: 1;
}

.form-field, .submit-wrapper, .custom-select.active .custom-select-options, .custom-select.active .custom-select-choose.searchable-select input[type=text].select-search, label.custom-checkbox, label.custom-checkbox input:checked ~ .checkmark:after, form textarea,
form input[type=text],
form input[type=password],
form input[type=date],
form input[type=email],
form input[type=tel], .custom-select-choose, .custom-select-choose::after, label.custom-checkbox .checkmark:after {
  display: block;
}

.submit-wrapper .results, .custom-select-options, form textarea,
form input[type=text],
form input[type=password],
form input[type=date],
form input[type=email],
form input[type=tel], .custom-select-choose, form input[type=submit], .submit-wrapper .submit-button, .custom-button-radio, .custom-button-radio.active {
  box-sizing: border-box;
}

.basic-form .hidden, .form-field input[type=date] ~ label:not(.error), .submit-wrapper .loader, .submit-wrapper .results, .custom-select-options, .form-field input[type=text].select-search, label.custom-checkbox .checkmark:after {
  display: none;
}

label.custom-checkbox input {
  opacity: 0;
}

label.custom-checkbox input {
  height: 0;
  width: 0;
}

label.custom-checkbox input {
  cursor: pointer;
}

.custom-select-choose::after, label.custom-checkbox .checkmark:after {
  content: "";
}

form input[type=submit], .submit-wrapper .submit-button, .custom-button-radio, .custom-button-radio.active {
  text-align: center;
}

form input[type=submit], .submit-wrapper .submit-button, .form-field .field-title, .custom-button-radio, .custom-button-radio.active {
  text-transform: uppercase;
}

.basic-form, .custom-button-radio-group {
  display: flex;
  flex-wrap: wrap;
}

.custom-button-radio-group {
  justify-content: space-between;
}

.custom-select-choose::after {
  background-repeat: no-repeat;
}

.custom-select-choose::after {
  background-size: contain;
}

.custom-select-choose::after {
  background-position: center center;
}

form input[type=submit], .submit-wrapper .submit-button, .custom-button-radio, .custom-button-radio.active, .custom-select-choose::after {
  transition-duration: 300ms;
}

form input[type=submit], .submit-wrapper .submit-button, .custom-button-radio, .custom-button-radio.active {
  transition-timing-function: ease-in-out;
}

.custom-select-choose::after {
  transition-timing-function: cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

form input[type=submit], .submit-wrapper .submit-button, .custom-button-radio, .custom-button-radio.active, .custom-select-choose::after, .form-field label, .custom-select-options, .custom-select-options li {
  transition-behavior: allow-discrete;
}

form input[type=submit], .submit-wrapper .submit-button, .custom-button-radio, .custom-button-radio.active {
  transition-property: background-color, color, border-color;
}

.custom-select-choose::after {
  transition-property: opacity, transform, width, visibility;
}

.form-field label, .custom-select-options, .custom-select-options li {
  transition: all 100ms ease-in-out;
}

.form-field .field-title, .custom-button-radio, .custom-button-radio.active, form input[type=submit], .submit-wrapper .submit-button {
  font-family: "montserrat", sans-serif;
}

.custom-button-radio, .custom-button-radio.active, form input[type=submit], .submit-wrapper .submit-button {
  min-width: 180px;
  max-width: 250px;
  padding: 1.2em 2.5em 1em;
  border: 1px solid;
  cursor: pointer;
  font-weight: bold;
  letter-spacing: 0.08em;
}

form input[type=submit], .submit-wrapper .submit-button {
  color: #5D5D58;
  background-color: #ffffff;
  border-color: #978a41;
}
form input[type=submit]:hover, .submit-wrapper .submit-button:hover {
  background-color: #978a41;
  color: #ffffff;
}
form input[type=submit]:active, .submit-wrapper .submit-button:active {
  background-color: #978a41;
}

.custom-button-radio.active {
  color: #ffffff;
  background-color: #d8d8d0;
}
.custom-button-radio.active:hover {
  background-color: #d8d8d0;
  color: #ffffff;
}
.custom-button-radio.active:active {
  background-color: #d8d8d0;
}

form textarea,
form input[type=text],
form input[type=password],
form input[type=date],
form input[type=email],
form input[type=tel], .custom-select-choose {
  padding: 0.85em 1em 0.75em;
  margin-bottom: 0;
  border: 1px solid #dddddd;
  outline: none;
  background-color: #ffffff;
  border-radius: 0;
  color: #222222;
  font-weight: normal;
}
form textarea::placeholder,
form input[type=text]::placeholder,
form input[type=password]::placeholder,
form input[type=date]::placeholder,
form input[type=email]::placeholder,
form input[type=tel]::placeholder, .custom-select-choose::placeholder {
  color: #888888;
  opacity: 1;
}
form textarea:hover,
form input[type=text]:hover,
form input[type=password]:hover,
form input[type=date]:hover,
form input[type=email]:hover,
form input[type=tel]:hover, .custom-select-choose:hover {
  background-color: #F9F7F2;
  border-color: #bbbbbb;
}
form textarea:focus,
form input[type=text]:focus,
form input[type=password]:focus,
form input[type=date]:focus,
form input[type=email]:focus,
form input[type=tel]:focus, .custom-select-choose:focus {
  background-color: #ffffff;
  border-color: #978a41;
}

.form-field label {
  left: 0px;
  color: #888888;
  font-weight: bold;
}

.form-field .field-title {
  width: 100%;
  margin: 0 0 0.5em;
  color: #978a41;
}

.key:before, .form-field.required::after {
  content: "";
  width: 4px;
  height: 4px;
  background-color: #978a41;
  border-radius: 50%;
}

.form-field label, .form-field input[type=text].select-search {
  font-size: clamp(1.125rem, 1.4vw, 1.45rem);
}

.key, .submit-wrapper .results p, .submit-wrapper .results .response-msg, .submit-wrapper .results h4 {
  font-size: 0.9em;
}

.form-field label.error, .custom-select-options, .custom-button-radio, form input[type=submit], .submit-wrapper .submit-button, .custom-button-radio.active, form textarea,
form input[type=text],
form input[type=password],
form input[type=date],
form input[type=email],
form input[type=tel], .custom-select-choose, .form-field label {
  font-size: 0.8em;
}

.submit-wrapper .results h4 {
  margin-bottom: 0.6em;
  line-height: 1.25em;
  font-weight: normal;
}

.form-field .field-title {
  margin-bottom: 1.5em;
  font-size: 0.9em;
  letter-spacing: 0.08em;
  font-weight: 500;
  line-height: 1.55;
  color: #978a41;
}

.key, .submit-wrapper .results p, .submit-wrapper .results .response-msg, .form-field label, .form-field input[type=text].select-search {
  font-weight: normal;
  line-height: 1.6em;
}

.key, .submit-wrapper .results p, .submit-wrapper .results .response-msg, .form-field label, .form-field input[type=text].select-search {
  margin-bottom: 1.25em;
}

.key:before {
  margin-right: 0.5em;
  vertical-align: middle;
}

form textarea,
form input[type=text],
form input[type=password],
form input[type=date],
form input[type=email],
form input[type=tel] {
  padding: 1em;
}
.g-recaptcha {
  margin-bottom: 1.5em;
}

.basic-form {
  width: 100%;
  padding: 1.5em 0;
  column-gap: 4%;
}
.basic-form input[type=text],
.basic-form input[type=date],
.basic-form input[type=email],
.basic-form input[type=tel] {
  width: 100%;
}
.basic-form textarea {
  width: 100%;
  height: 170px;
}
.form-field, .submit-wrapper {
  width: 100%;
}

.form-field {
  margin-bottom: 0.5rem;
  padding-bottom: 1em;
  z-index: 1;
}
.form-field .field-title {
  margin-bottom: 0.5em;
  padding-left: 1em;
}
.form-field input[type=text] ~ label:not(.error),
.form-field input[type=email] ~ label:not(.error),
.form-field input[type=tel] ~ label:not(.error),
.form-field textarea ~ label:not(.error) {
  top: 3.1em;
  left: 1em;
}
.form-field:hover label:not(.error) {
  color: #666666;
}
.form-field .has-text ~ label:not(.error) {
  top: 1.9em !important;
  left: 0;
  color: #666666;
  transform: scale(0.75);
}
.form-field:has(.field-title) .has-text ~ label:not(.error) {
  opacity: 0;
  pointer-events: none;
}
.form-field label.error {
  z-index: 3;
  margin: 0;
  padding: 0 2.2em 0 1em;
  color: #666666;
  font-weight: normal;
  line-height: 1.3;
  text-align: right;
  pointer-events: none;
  box-sizing: border-box;
  width: 100%;
  animation: fade-in 0.3s 1 cubic-bezier(0.34, 1.1, 0.48, 1.04);
  -webkit-animation: fade-in 0.3s 1 cubic-bezier(0.34, 1.1, 0.48, 1.04);
}
.form-field.half {
  width: 48%;
}
.form-field:has(.custom-select.active) {
  z-index: 40;
}
.form-field.required, .form-field:has(.field-title) {
  display: grid;
}
.form-field.required .field-title, .form-field:has(.field-title) .field-title {
  grid-column: 1;
  grid-row: 1;
}
.form-field.required > input,
.form-field.required > textarea,
.form-field.required > .custom-select, .form-field:has(.field-title) > input,
.form-field:has(.field-title) > textarea,
.form-field:has(.field-title) > .custom-select {
  grid-column: 1;
  grid-row: 2;
}
.form-field.required > label.error, .form-field:has(.field-title) > label.error {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
}
.form-field:has(textarea) > label.error {
  align-self: start;
  padding-top: 1.15em;
}
.form-field:has(input[type=date]) > label.error {
  padding-right: 3.4em;
}
.form-field:has(.custom-select) > label.error {
  padding-right: 3.4em;
}
.form-field.required::after {
  grid-column: 1;
  grid-row: 2;
  justify-self: end;
  align-self: center;
  margin-right: 1em;
  z-index: 2;
  pointer-events: none;
}
.form-field.required > input,
.form-field.required > textarea {
  padding-right: 2em;
}
.form-field.required:has(textarea)::after {
  align-self: start;
  margin-top: 1.15em;
}
.form-field.required:has(input[type=date]) > input {
  padding-right: 3.4em;
}
.form-field.required:has(input[type=date])::after {
  margin-right: 2.6em;
}
.form-field.required:has(.custom-select) .custom-select-choose {
  padding-right: 3.4em;
}
.form-field.required:has(.custom-select)::after {
  margin-right: 2.4em;
}
.form-field p {
  padding-top: 0.5em;
}

@media screen and (max-width: 1100px) {
  .form-field.half {
    width: 100%;
  }
}
.submit-wrapper .loader {
  margin: 0 0 0 1.5em;
  width: 28px;
  height: 28px;
  vertical-align: middle;
}
.submit-wrapper .submit-button {
  width: 40%;
  vertical-align: middle;
}
.submit-wrapper input[type=submit]:disabled {
  background-color: #bbbbbb;
  opacity: 0.5;
}
.submit-wrapper .results {
  margin-top: 3em;
  padding: 1.5em;
  background-color: #978a41;
  color: #ffffff;
}
.submit-wrapper .results h4 {
  margin-bottom: 0.35em;
  color: #ffffff;
}
.submit-wrapper .results p, .submit-wrapper .results .response-msg {
  margin-bottom: 0 !important;
  color: #ffffff;
}

@media screen and (max-width: 1366px) {
  .submit-wrapper .submit-button {
    width: 60%;
  }
}
.custom-button-radio {
  width: 24%;
  color: #5D5D58;
  background-color: #6f6f6f;
}
.custom-button-radio.active {
  border: solid 1px #6f6f6f;
}
.custom-button-radio.active:hover {
  background-color: #ffffff;
  color: #444444;
}

@media screen and (max-width: 414px) {
  .custom-button-radio {
    font-size: 0.8em;
  }
  .custom-button-radio.active {
    font-size: 0.8em;
  }
}
.custom-select {
  width: 100%;
}
.custom-select.active {
  z-index: 20;
}

.custom-select-choose {
  min-width: 200px;
  cursor: pointer;
  padding: 1em;
  padding-right: 2.25em;
}
.custom-select-choose::after {
  right: 0.75em;
  top: 50%;
  width: 12px;
  height: 8px;
  background-image: url("/app/global/images/chevron-down.svg");
  transform: translateY(-50%) rotate(0deg);
  transform-origin: center center;
}
.custom-select-choose:hover {
  color: #666666;
}

.custom-select.active .custom-select-choose::after {
  transform: translateY(-50%) rotate(180deg);
}

.custom-select-options {
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border: solid 1px #dddddd;
  border-top: none;
  max-height: 320px;
  overflow: auto;
  z-index: 30;
}
.custom-select-options li {
  padding: 0.4em 0.85em;
  cursor: pointer;
  list-style: none;
}
.custom-select-options li:hover {
  color: #ffffff;
  background-color: #978a41;
}
.custom-select-options .disabled-option {
  opacity: 0.7;
  background: none !important;
}

.custom-select-choose, .custom-select-options p {
  margin-bottom: 0;
  cursor: pointer;
}

@media screen and (max-width: 1100px) {
  .custom-select-options li {
    padding: 0.35em 0.7em;
  }
}
@media screen and (min-width: 415px) and (max-width: 1100px) {
  .custom-select-choose,
  .custom-select-options {
    font-size: 0.85em;
  }
}
@media screen and (max-width: 414px) {
  .custom-select-choose,
  .custom-select-options {
    font-size: 0.8em;
  }
}
.form-field input[type=text].select-search {
  font-size: 1em;
  line-height: inherit;
  width: 90%;
  padding: 0;
  margin: 0;
  border: none;
}

.custom-select.active .custom-select-choose.searchable-select .custom-select-current {
  display: none;
}
label.custom-checkbox {
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  user-select: none;
}
label.custom-checkbox .checkmark {
  height: 25px;
  width: 25px;
  background-color: #ffffff;
  border: solid 2px #bbbbbb;
}
label.custom-checkbox .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid #978a41;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
label.custom-checkbox:hover input ~ .checkmark {
  border-color: #978a41;
}

@-webkit-keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
    visibility: visible;
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
    visibility: visible;
  }
}
@-webkit-keyframes dropdown {
  from {
    transform: rotateX(-25deg) scaleY(0.8);
    opacity: 0.2;
  }
  to {
    transform: rotateX(0) scaleY(1);
    opacity: 1;
  }
}
@keyframes dropdown {
  from {
    transform: rotateX(-25deg) scaleY(0.8);
    opacity: 0.2;
  }
  to {
    transform: rotateX(0) scaleY(1);
    opacity: 1;
  }
}
