.form-background {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
}
.feedback-modal-form,
.shadow-overlay {
  width: 100%;
  position: fixed;
  z-index: -1;
  opacity: 0;
}
.form-background::after,
.form-background::before {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  height: 100px;
}
.form-background::before {
  top: 0;
  background: linear-gradient(
    180deg,
    var(--e-main-background-color),
    rgba(23, 40, 73, 0)
  );
}
.form-background::after {
  bottom: 0;
  background: linear-gradient(
    0deg,
    var(--e-main-background-color),
    rgba(23, 40, 73, 0)
  );
}
.form-wrapper {
  padding: 95px 50px 85px 150px;
}
.form-mailing .form-wrapper {
  padding-top: 116px;
}
.form-mailing .form-feedback__container {
  max-width: 527px;
}
.form-feedback__container {
  max-width: 575px;
}
.form-background__image {
  width: 100%;
  height: 100%;
}
.form-background__image::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(23, 40, 73, 0.85);
}
.form-group {
  display: flex;
}
.form-group input,
.form-group textarea,
.wpcf7-form-control-wrap {
  width: 100%;
}
.form-group input[type="password"],
.form-group input[type="text"],
.form-group textarea,
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="text"] {
  width: 100%;
  text-align: start;
  resize: none;
  overflow: hidden;
  font-size: var(--e-font-size-l);
  line-height: var(--e-line-height-m);
  letter-spacing: 0.1rem;
  padding: 10px 12px;
  border-bottom: 1px solid #fff;
  color: var(--e-main-color, #fff);
}
.form-group input[type="password"]::placeholder,
.form-group input[type="text"]::placeholder,
.form-group textarea::placeholder,
.wpcf7 input[type="email"]::placeholder,
.wpcf7 input[type="tel"]::placeholder,
.wpcf7 input[type="text"]::placeholder {
  color: var(--e-main-color, #fff);
  line-height: 13px;
}
.form-group input[type="password"]:focus::placeholder,
.form-group input[type="text"]:focus::placeholder,
.form-group textarea:focus::placeholder,
.wpcf7 input[type="email"]:focus::placeholder,
.wpcf7 input[type="tel"]:focus::placeholder,
.wpcf7 input[type="text"]:focus::placeholder {
  color: transparent;
}
.shadow-overlay {
  top: 0;
  left: 0;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.63);
}
.feedback-modal-form.active,
.shadow-overlay.active {
  opacity: 1;
  z-index: 10;
  transition: opacity 0.4s;
}
.feedback-modal-form {
  max-width: 402px;
  background: var(--e-color-blue-secondary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 50px;
}
.close-modal-feedback {
  margin-left: auto;
  transition: opacity var(--e-transition);
  cursor: pointer;
}
.close-modal-feedback:hover {
  opacity: 0.8;
}
.feedback-modal-title {
  font-family: var(--e-font-secondary-family);
  font-size: var(--e-font-header-size-xs);
  line-height: 1em;
}
.feedback-modal-form__body .form-group input[type="text"] {
  font-size: var(--e-font-size-m);
}
input:-webkit-autofill,
input:-webkit-autofill:active,
input:-webkit-autofill:focus,
input:-webkit-autofill:hover {
  -webkit-transition-delay: 9999s;
  transition-delay: 9999s;
}
.wpcf7-not-valid-tip {
  margin-top: 5px;
}
.sent-from {
  display: none;
}
@media screen and (max-width: 991px) {
  .form-feedback__container {
    max-width: 100%;
    margin-left: 0;
  }
}
@media (max-width: 767px) {
  .form-wrapper {
    padding: 111px 50px 50px;
  }
  .form-mailing .form-wrapper {
    padding-top: 73px;
    padding-bottom: 73px;
  }
  .form {
    gap: 15px;
  }
  .form-group input[type="password"],
  .form-group input[type="text"],
  .form-group textarea,
  .wpcf7 input[type="email"],
  .wpcf7 input[type="tel"],
  .wpcf7 input[type="text"] {
    font-size: var(--e-font-size-m, 1rem);
    line-height: 11px;
    padding: 13px 10px;
  }
  .button-submit.button.button_adaptive {
    padding: 26px 4px;
  }
  .feedback-modal-form {
    width: 90%;
    padding: 40px 30px;
  }
  .modal-form__controls {
    justify-content: center;
  }
  .modal-form__controls button {
    width: 100%;
    max-width: 100%;
  }
}
@media (max-width: 400px) {
  .form-wrapper {
    padding: 70px 20px 50px;
  }
}
