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

label.custom-checkbox input, label.custom-checkbox .checkmark, .custom-select-options, .form-field.required:before, .form-field input[type=text] ~ label, .form-field textarea ~ label, label.custom-checkbox .checkmark:after {
  position: absolute;
}

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

.custom-select, .custom-button-radio:last-of-type, .custom-button-radio:first-of-type, .custom-button-radio, .form-field.half, .form-field p, .key:before, .custom-button-radio:first-of-type:hover, .custom-button-radio .active, .custom-button-radio:last-of-type:hover, .custom-button-radio:first-of-type, form input[type=submit] {
  display: inline-block;
  zoom: 1;
}

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

.custom-select-options, .custom-select-choose, form textarea,
form input[type=text],
form input[type=password] {
  box-sizing: border-box;
}

.custom-select-options li, .custom-select-options, .form-field label, .form-field p {
  transition: all 0.1s ease-in-out;
}

label.custom-checkbox .checkmark:after, .field-wrap input[type=text].select-search, .custom-select-options, .form-field label.error, .contact-form .hidden {
  display: none;
}

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

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

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

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

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

.submit-wrapper h2, .custom-button-radio:last-of-type, .custom-button-radio:first-of-type:hover, .custom-button-radio .active, .custom-button-radio:last-of-type:hover, .custom-button-radio:first-of-type, form input[type=submit] {
  text-transform: uppercase;
}

.buttons-wrap {
  display: flex;
  flex-wrap: wrap;
}

.buttons-wrap {
  justify-content: space-between;
}

.submit-wrapper h2 {
  font-family: "Recoleta", sans-serif;
}

.custom-button-radio:last-of-type, .custom-button-radio:first-of-type:hover, .custom-button-radio .active, .custom-button-radio:last-of-type:hover, .custom-button-radio:first-of-type, form input[type=submit] {
  transition: background-color 250ms, color 250ms;
  padding: 0.8em 1em;
  font-size: 0.9em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  min-width: 160px;
  letter-spacing: 0.1em;
}

.custom-button-radio .active, .custom-button-radio:last-of-type:hover, .custom-button-radio:first-of-type, form input[type=submit] {
  color: #121212;
  border: 1px solid #5f8575;
}
.custom-button-radio .active:hover, .custom-button-radio:hover:last-of-type, .custom-button-radio:hover:first-of-type, form input[type=submit]:hover {
  background-color: #5f8575;
  color: #faf7f2;
}
.custom-button-radio .active:active, .custom-button-radio:active:last-of-type:hover, .custom-button-radio:active:first-of-type, form input[type=submit]:active {
  background-color: #4a675b;
}

.custom-button-radio:last-of-type, .custom-button-radio:first-of-type:hover {
  color: #faf7f2;
  background-color: #FFF;
}
.custom-button-radio:hover:last-of-type, .custom-button-radio:hover:first-of-type {
  background-color: #5f8575;
  color: #FFF;
}
.custom-button-radio:active:last-of-type, .custom-button-radio:active:first-of-type:hover {
  background-color: #4a675b;
}

.custom-select-choose, form textarea,
form input[type=text],
form input[type=password] {
  padding: 0.8em 0;
  font-size: 1em;
  font-weight: normal;
  border-bottom: 1px solid #faf7f2;
  outline: none;
  background: none;
  color: #faf7f2;
}
@media screen and (min-width: 451px) and (max-width: 1199px) {
  .custom-select-choose, form textarea,
  form input[type=text],
  form input[type=password] {
    font-size: 0.9em;
  }
}
@media screen and (max-width: 450px) {
  .custom-select-choose, form textarea,
  form input[type=text],
  form input[type=password] {
    font-size: 0.9em;
  }
}

.form-field label, .form-field p {
  left: 0px;
  color: #faf7f2;
  font-size: 1em;
  font-weight: normal;
}
@media screen and (min-width: 451px) and (max-width: 1199px) {
  .form-field label, .form-field p {
    font-size: 0.9em;
  }
}
@media screen and (max-width: 450px) {
  .form-field label, .form-field p {
    font-size: 0.85em;
  }
}

.form-field.required:before, .key:before {
  content: "";
  width: 8px;
  height: 8px;
  background-color: #5f8575;
  border-radius: 50%;
  margin-right: 1em;
}

.submit-wrapper .results, .form-field label.error {
  border-radius: 5px;
}

.submit-wrapper h2 {
  font-size: 3.4em;
}
@media screen and (min-width: 1200px) and (max-width: 1919px) {
  .submit-wrapper h2 {
    font-size: 3.2em;
  }
}
@media screen and (min-width: 451px) and (max-width: 1199px) {
  .submit-wrapper h2 {
    font-size: 3em;
  }
}
@media screen and (max-width: 450px) {
  .submit-wrapper h2 {
    font-size: 2.8em;
  }
}

.submit-wrapper p {
  font-size: 1em;
}
@media screen and (min-width: 1200px) and (max-width: 1919px) {
  .submit-wrapper p {
    font-size: 1em;
  }
}
@media screen and (min-width: 451px) and (max-width: 1199px) {
  .submit-wrapper p {
    font-size: 0.95em;
  }
}
@media screen and (max-width: 450px) {
  .submit-wrapper p {
    font-size: 0.9em;
  }
}

.key {
  font-size: 0.9em;
}
@media screen and (min-width: 1200px) and (max-width: 1919px) {
  .key {
    font-size: 0.9em;
  }
}
@media screen and (min-width: 451px) and (max-width: 1199px) {
  .key {
    font-size: 0.85em;
  }
}
@media screen and (max-width: 450px) {
  .key {
    font-size: 0.8em;
  }
}

.submit-wrapper h2 {
  font-weight: normal;
  line-height: 1.2em;
  margin-bottom: 0.8em;
}

.key, .submit-wrapper p {
  font-weight: normal;
  line-height: 1.8em;
  margin-bottom: 1.5em;
}

.key {
  margin-left: 20px;
}

.g-recaptcha {
  margin-bottom: 1.5em;
}

.contact-form {
  width: 100%;
}
.contact-form .response-msg {
  color: #faf7f2 !important;
}
.contact-form .half:nth-of-type(even) {
  margin-left: 4%;
}
.contact-form input[type=text] {
  width: 100%;
}
.contact-form textarea {
  width: 100%;
  height: 200px;
  border-bottom: 2px solid #faf7f2;
  border-top: none;
  border-left: none;
  border-right: none;
}
.contact-form input[type=text]:hover, .contact-form textarea:hover {
  border-color: #5f8575;
}
.contact-form input[type=text]:focus, .contact-form textarea:focus {
  border-color: #5f8575;
}
.form-field {
  margin-bottom: 1.5em;
}
.form-field:hover label {
  opacity: 0.8;
}
.form-field input[type=text] ~ label:not(.error), .form-field textarea ~ label:not(.error) {
  top: 0.8em;
  left: 0em;
}
.form-field .has-text ~ label:not(.error) {
  top: 0em !important;
  opacity: 0.5;
  font-size: 0.65em;
}
.form-field label.error {
  top: 35%;
  right: 0px;
  padding: 0 10px;
  color: #5f8575;
  font-size: 0.9em;
  text-align: right;
  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);
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-field.half {
  margin-right: 0;
}
.form-field.required:before {
  left: 1em;
  top: 1.3em;
  display: none;
}
.form-field.required p, .form-field.required textarea, .form-field.required input[type=text] {
  padding-left: 0em;
}
.form-field p {
  padding-top: 0.5em;
}

.submit-wrapper {
  z-index: 9999;
}
.submit-wrapper .loader, .submit-wrapper .results {
  display: none;
}
.submit-wrapper .loader {
  margin-right: 1.5em;
  width: 35px;
}
.submit-wrapper .submit-button {
  margin-top: 1.5em;
}
.submit-wrapper .results {
  margin-top: 3em;
  padding: 1.5em;
  background-color: #5f8575;
  color: #FFF;
}
.submit-wrapper input[type=submit]:disabled {
  background-color: #666;
  opacity: 0.5;
}
.submit-wrapper p {
  margin-bottom: 0 !important;
}
.submit-wrapper p.success {
  color: #FFF;
}
.submit-wrapper p.warning {
  color: #455d58;
}

.response-msg {
  color: #FFF;
}

.buttons-wrap {
  align-items: center;
  width: 100%;
}

.custom-button-radio-group {
  width: 70%;
}

.custom-button-radio {
  width: 47%;
}
.custom-button-radio:last-of-type {
  margin-left: 5%;
}
@media screen and (max-width: 414px) {
  .custom-button-radio {
    font-size: 0.8em;
  }
  .custom-button-radio.active {
    font-size: 0.8em;
  }
}
@media screen and (max-width: 960px) {
  .custom-button-radio-group {
    width: 100%;
  }
  .custom-button-radio {
    width: 100%;
    margin-left: 0;
    margin-bottom: 0.5em;
  }
  .custom-button-radio:last-of-type {
    margin-left: 0%;
  }
}
.custom-select {
  width: 100%;
}
.custom-select :nth-of-type(1) {
  z-index: 999;
}
.custom-select :nth-of-type(2) {
  z-index: 998;
}
.custom-select :nth-of-type(3) {
  z-index: 997;
}
.custom-select :nth-of-type(4) {
  z-index: 996;
}
.custom-select :nth-of-type(5) {
  z-index: 995;
}

.custom-select-choose {
  min-width: 200px;
  border: solid 2px #ffb7ae;
  background: url("/app/images/global/chevron.png") no-repeat right 0 center;
  background-size: 60px;
}
.custom-select-choose:hover {
  color: #888;
  border-color: #121212;
}

.custom-select-options {
  width: 100%;
  background-color: #fff;
  border: solid 2px #ffb7ae;
  border-top: none;
  max-height: 320px;
  overflow: auto;
}
.custom-select-options li {
  padding: 15px;
}
.custom-select-options li:hover {
  color: #faf7f2;
  background-color: #faf7f2;
}
.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: 10px;
  }
}
@media screen and (min-width: 415px) and (max-width: 1100px) {
  .custom-select-choose,
  .custom-select-options {
    font-size: 0.9em;
  }
}
@media screen and (max-width: 414px) {
  .custom-select-choose,
  .custom-select-options {
    font-size: 0.85em;
  }
}
.field-wrap input[type=text].select-search {
  font-size: 1em;
  line-height: inherit;
  width: 90%;
  padding: 0;
  margin: 0;
  border: none;
}

.custom-select-choose.searchable-select.active .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: #FFF;
  border: solid 2px #121212;
}
label.custom-checkbox .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid #121212;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
label.custom-checkbox:hover input ~ .checkmark {
  border-color: #faf7f2;
}

@-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;
  }
}
