.text-input {
  display: block;
  width: 100%;
  font: normal normal 14px/normal Gilroy-Regular;
  background: none;
  border: none;
  border-bottom: 1px solid #034A46;
  color: #034A46;
  padding: 8px 0;
}
.check-wrap {
  width: 280px;
  margin-left: 40px;
  margin-top: 15px;
}
.text-input:focus {
  outline: none;
}
.text-input::-webkit-input-placeholder {
  color: inherit;
}
.text-input::-moz-placeholder {
  color: inherit;
}

textarea {
  resize: vertical;
}

.select {
  display: block;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  font: normal normal 14px/normal Gilroy-Regular;
  padding: 8px 20px 8px 0;
  border: none;
  color: #034A46;
  border-bottom: 1px solid #034A46;
  background: url(../images/svg/angle-down.svg) no-repeat right center/12px auto;
}
.select:focus {
  outline: none;
}

[type=checkbox] {
  display: inline-block !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 1.33em !important;
  height: 1.33em !important;
  border: 1px solid #034A46 !important;
  border-radius: 0.17em !important;
  margin: 0 !important;
  padding: 0 !important;
}
[type=checkbox]:checked {
  background: url(../images/svg/check_mark.svg) no-repeat center/56% auto !important;
}

label {
  user-select: none;
}

.option {
  display: flex;
  align-items: flex-start;
  gap: 1em;
}
.option__input {
  flex: 0 0 auto;
}
.option__label {
  flex: 1 1 auto;
  padding-top: 0.15em;
}
.option__label a {
  text-decoration: underline;
}
.option__label a:hover {
  text-decoration: none;
}

.line-field {
  display: flex;
  align-items: center;
  gap: 27px;
}
.line-field__input {
  width: auto;
  flex: 1 1 auto;
}
.line-field__label {
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  vertical-align: top;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  max-width: 100%;
  user-select: none;
  font: normal normal 14px/1 Gilroy-Bold;
  text-decoration: none;
  text-align: center;
  text-shadow: none;
  border: none;
  background: #D39E33;
  min-height: 46px;
  padding: 0.4em 1.5em;
  border-radius: 100px;
  color: #fff;
  transition: background 0.2s ease;
}
.btn:hover {
  background: #9b7e44;
}
.btn:active {
  transform: translateY(1px);
}
.btn--full-width {
  display: flex;
  width: 100%;
}

.modal {
  display: none;
  width: 900px;
  max-width: 100%;
  margin: 50px auto;
  background-color: #fff;
  font-size: 14px;
  color: #034A46;
  padding: 0 !important;
}
.modal .f-button.is-close-btn {
  top: 0;
  color: #034A46;
  width: 50px;
  height: 50px;
  background: none;
  border-radius: 0;
}
.is-compact .modal .f-button.is-close-btn {
  top: 0;
  right: 0;
}
.modal__body--with-bg {
  display: flex;
  background-color: #F0E0CA;
}
.modal__img {
  width: 50%;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center;
  height: 100%;
  min-height: 600px;
  user-select: none;
}
.modal__content {
  display: flex;
  flex-direction: column;
  padding: 90px 45px 70px;
  flex: 1 1 50%;
}
.modal__content:only-child {
  max-width: 575px;
  margin: 0 auto;
}
.modal__head {
  font-size: 20px;
  text-align: center;
  margin: 0 0 50px;
}
.modal__head:last-child {
  margin-bottom: 0;
}
.modal__head p {
  font-size: inherit;
  line-height: inherit;
  text-align: inherit;
  margin: 0 0 1.25em;
}
.modal__head p:last-child {
  margin-bottom: 0;
}
.modal__head h2 {
  font-size: 2em;
  font-family: inherit;
  font-weight: inherit;
  line-height: normal;
  text-transform: uppercase;
  text-align: inherit;
  margin: 0.14em 0;
}
.modal__head h2:first-child {
  margin-top: 0;
}
.modal__head h2:last-child {
  margin-bottom: 0;
}
.modal__form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.modal__fields {
  margin: auto 0;
}
.modal__field {
  margin: 0 0 27px;
}
.modal__field:last-child {
  margin-bottom: 0;
}
.modal__option {
  font-size: 12px;
  margin: 0 0 27px;
}
.modal__option:last-child {
  margin-bottom: 0;
}
.modal__btn {
  min-width: 210px;
  margin: 35px auto;
}
.modal__btn:first-child {
  margin-top: 0;
}
.modal__btn:last-child {
  margin-bottom: 0;
}

@media (max-width: 1000px) {
  .line-field {
    flex-wrap: wrap;
    gap: 10px 25px;
  }
  .line-field__label {
    width: 100%;
  }

  .modal {
    width: 450px;
  }
  .modal__body {
    display: block;
  }
  .modal__img {
    display: none;
  }
  .modal__head {
    font-size: 18px;
  }
}
@media (max-width: 400px) {
  .modal__head {
    font-size: 16px;
  }
  .modal__content {
    padding: 50px 25px 30px;
  }
  .modal__btn {
    display: flex;
    width: 100%;
  }
}
