.form {

}
@media screen and (max-width: 320px) {
  .single-form .rel-info__block {
    padding-top: 0;
  }
}

.form h4 {
  margin-top: 80px;
  font-family: Druk Wide, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
  text-transform: uppercase;
  color: #282828;
}

.form h4:first-child {
  margin-top: 20px;
}

@media screen and (max-width: 480px) {
  .form h4 {
    margin-top: 72px;
    font-size: 16px;
    line-height: 21px;
  }

  .form h4:first-child {
    margin-top: 22px;
  }
}

@media screen and (max-width: 320px) {
  .form h4 {
    margin-top: 64px;
  }

  .form h4:first-child {
    margin-top: 14px;
  }
}

.form__main {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 40px;
}

@media screen and (max-width: 320px) {
  .form__main {
    margin-top: 32px;
    gap: 24px;
  }
}

.form__item {
  width: 100%;
}

@media screen and (max-width: 769px) {
  .form__item {
    grid-column-start: 1;
    grid-column-end: 3;
  }
}

.form__item--full {
  grid-column-start: 1;
  grid-column-end: 3;
}

.form__label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 12px;
  color: #282828;
}

@media screen and (max-width: 320px) {
  .form__label {
    font-size: 12px;
    line-height: 16px;
  }
}

.form__label--required:after {
  content: " *";
  color: #992B2B;
}

.form__label.form__label-checkbox.form__label--required:after {
  content: " *";
  color: #992B2B;
  position: absolute;
  left: 19px;
  top: 0;
}

.form__input {
  width: 100%;
  height: 48px;
  padding: 15px 12px;
  border: 1px solid #DDDDDD;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #282828;
}

@media screen and (max-width: 320px) {
  .form__input {
    font-size: 12px;
    line-height: 16px;
  }
}

.was-validated .form__input:invalid {
  border: 1px solid #992B2B;
}

.was-validated .form__select:invalid + .select2-container .selection .select2-selection {
  border: 1px solid #992B2B;
}

.was-validated .form__select:invalid {
  border: 1px solid #992B2B;
}

.was-validated .invalid-feedback-tel--show {
  display: block;
}

.form__input::placeholder {
  color: #898989;
}

.form__input:focus {
  border: 1px solid #2B9987;
  background: #F4FAF9;
}

.invalid-feedback {
  color: #992B2B;
  margin-top: 8px;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
}

.form__item-text {
  color: #898989;
  margin-top: 8px;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
}

.form__textarea {
  width: 100%;
  border: 1px solid #DDDDDD;
  min-height: 100px;
  padding: 15px 12px;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #282828;
}

.form__textarea.auto {
  overflow-y: hidden;
  resize: none;
}

.form__textarea ::placeholder {
  color: #898989;
}

.form__checkbox {
  display: none;
}

.form__label-checkbox {
  padding-left: 30px;
  font-style: normal;
  font-weight: 400;
  cursor: pointer;
  position: relative;
}

.form__label-checkbox:last-child {
  margin: 16px 0 0;
}

.form__label-checkbox::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 1px solid #DDDDDD;
  display: inline-block;
  cursor: pointer;
  /*margin-left: -24px;*/
  margin-right: 12px;
  margin-bottom: -2px;
  position: absolute;
  left: 0;
}

.form__checkbox:checked + label::before {
  border: none;
  background: #2B9987 url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.6673 9.52867L4.47196 7.33333L3.5293 8.276L6.6673 11.414L13.1386 4.94267L12.196 4L6.6673 9.52867Z' fill='white'/%3E%3C/svg%3E");
}

.form__btn {
  width: fit-content;
  background: #2B9987;
  color: #FFFFFF;
  text-transform: uppercase;
  border: 1px solid #2B9987;
  min-width: 260px;
  height: 56px;
  padding: 20px;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  transition: all .3s;
  margin-top: 24px;
}

@media only screen and (max-width: 769px) {
  .form__btn {
    width: 100%;
  }
}

.form__btn--disable {
  opacity: 0.3;
  pointer-events: none;
}

.form__btn:hover {
  color: #fff;
  background-color: #33BEA8;
  border: 1px solid #33BEA8;
}

.form__select {
  width: 100%;
  height: 48px;
  padding: 15px 12px;
  border: 1px solid #DDDDDD;
  color: #282828;
}

.form__item .select2-container {
  height: 48px;
  width: 100%!important;
}

.form__item  .select2-selection {
  width: 100%;
  height: 48px;
  border: 1px solid #DDDDDD;
  color: #282828;
  display: flex;
  align-items: center;
  border-radius: 0;
}

.form__item .select2-container--default .select2-selection--single .select2-selection__rendered {
  width: 100%;
  padding: 0 48px 0 12px;
  font-size: 14px;
  line-height: 18px;
  color: #282828;
}

@media screen and (max-width: 320px) {
  .form__item .select2-container--default .select2-selection--single .select2-selection__rendered {
    font-size: 12px;
    line-height: 16px;
  }
}

.form__item .select2-selection__placeholder {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #898989;
}

@media screen and (max-width: 320px) {
  .form__item .select2-selection__placeholder {
    font-size: 12px;
    line-height: 16px;
  }
}

.form__item .select2-container--default .select2-selection--single .select2-selection__arrow {
  width: 24px;
  height: 24px;
  top: 12px;
  right: 12px;
  transition: all .3s;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.293 9.29297L12 13.586L7.70697 9.29297L6.29297 10.707L12 16.414L17.707 10.707L16.293 9.29297Z' fill='%235A5A5A'/%3E%3C/svg%3E");
}

.form__item .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow {
  transform: rotate(180deg);

}

.form__item .select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: #F4FAF9;
  color: #212529;
}

.select2-container--default .select2-results__option[aria-selected=true] {
  background: #F4FAF9;
}

.select2-dropdown {
  border-color: #DDDDDD;
}

.select2-results__option {
  padding: 11px;
  font-size: 14px;
  line-height: 130%;
  color: #282828;
}

.select2-results__options::-webkit-scrollbar {
  background: none;
  width: 6px;
}

.select2-results__options::-webkit-scrollbar-thumb {
  background: #C4C4C4;
  border-radius: 4px;
}

@media only screen and (max-width: 380px) {
  .g-recaptcha {
    transform: scale(0.92);
    transform-origin:0 0;
  }
}

.form-head {
  margin-top: 20px;
  padding-bottom: 24px;
  max-width: 840px;
  border-bottom: 1px solid #dddddd;
}

@media only screen and (max-width: 320px) {
  .form-head ~ .rel-info .rel-info__block {
    padding-top: 0;
  }
}

@media only screen and (max-width: 480px) {
  .form-head {
    margin-top: 22px;
  }
}

@media only screen and (max-width: 1200px) {
  .form-head {
    max-width: 680px;
  }
}

@media only screen and (max-width: 1024px) {
  .form-head {
    max-width: 760px;
  }
}

@media only screen and (max-width: 320px) {
  .form-head {
    margin-top: 14px;
  }
}

.form-head__title {
  font-size: 18px;
  line-height: 23px;
  color: #282828;
  font-weight: 500;
  border: none;
  width: 100%;
  padding: 0;
}

@media only screen and (max-width: 481px) {
  .form-head__title {
    font-size: 16px;
    line-height: 20.8px;
  }
}

@media only screen and (max-width: 321px) {
  .form-head__title {
    font-size: 14px;
    line-height: 18.2px;
  }
}

.form-head__info {
  margin-top: 8px;
  display: flex;
  font-size: 16px;
  line-height: 21px;
  color: #898989;
}

@media only screen and (max-width: 320px) {
  .form-head__info {
    flex-direction: column;
    font-size: 14px;
    line-height: 18px;
  }
}

.select2-search__field {
  opacity: 0;
  z-index: -1000;
  position: absolute;
  top: 0;
}

.form-head__text {
  display: flex;
  align-items: center;
}

.form-head__text input {
  border: none;
  color: #898989;
  padding: 0;
  display: flex;
  width: 100%;
}

@media only screen and (max-width: 481px) {
  .form-head__text {
    font-size: 14px;
    line-height: 18.2px;
  }

  .form-head__text input {
    font-size: 14px;
    line-height: 18.2px;
  }
}

@media only screen and (max-width: 321px) {
  .form-head__text:first-child {
    margin: 0 0 8px 0;
  }
}

.form-head__text svg{
  margin-right: 6px;
  flex-shrink: 0;
}

/*fixing captcha artefact*/
#g-recaptcha-response {
  z-index: -1000;
  opacity: 0;
}
