@charset "UTF-8";
/**
 * Задает отступы текущим элементам, всем кроме краних, на крайних элементах крайние отступы не зыдаються
 */
/**
 * Миксин работы с тенью, для создания объемных объектов
 */
.application-form {
  position: relative;
  width: 100%;
  max-width: 585px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  opacity: 0;
  background-color: var(--light-blue);
  padding: 20px 25px;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.25s ease, transform 0.25s ease;
  clip-path: polygon(0px 0%, calc(100% - 0px) 0%, 100% 0px, 100% calc(100% - 25px), calc(100% - 25px) 100%, 0px 100%, 0% calc(100% - 0px), 0% 0px);
}
.application-form__background.is-active .application-form {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.application-form__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.application-form .form-group {
  padding: 17px 0;
  border-bottom: 1px solid white;
  position: relative;
  line-height: 100%;
}
.application-form .form-group.has-error {
  border-bottom: 1px solid #FF8CA5;
}
.application-form .form-group.has-error:after {
  position: absolute;
  right: 0;
  top: 25px;
  width: 24px;
  height: 24px;
  content: url("/uploads/static/error-icon.svg");
}
.application-form .form-group.has-error .help-block {
  top: 60px;
  font-weight: 500;
  font-size: 12px;
  right: 0;
  position: absolute;
  color: #FF8CA5;
}
.application-form h3 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 40px;
}
.application-form p {
  font-size: 14px;
  font-weight: 400;
  color: var(--dark-blue);
  margin-bottom: 20px;
}
.application-form__background {
  position: fixed;
  z-index: 1000;
  background-color: rgba(8, 63, 102, 0.8);
  left: 0;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.application-form__background.is-active {
  opacity: 1;
  visibility: visible !important;
  pointer-events: auto;
}
.application-form textarea {
  border: none;
  width: 100%;
  background: none;
  color: white;
  font-family: "Inter", system-ui, sans-serif;
  border-bottom: none !important;
}
.application-form textarea, .application-form input, .application-form select {
  font-weight: 700;
  width: 100%;
  color: white;
  font-size: 14px;
  border: none;
  background: none;
}
.application-form textarea::placeholder, .application-form input::placeholder, .application-form select::placeholder {
  font-weight: 400;
  color: white;
}
.application-form__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 215px;
  gap: 24px;
  align-items: end;
  margin-top: 30px;
}
.application-form__footer a {
  color: #86D0FF;
}
.application-form__footer p {
  margin: 0;
  color: white;
  font-size: 11px;
  line-height: 1.25;
}
.application-form__submit-wrapper {
  position: relative;
}
.application-form__submit-wrapper::before, .application-form__submit-wrapper::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
}
.application-form__submit-wrapper::before {
  top: 0;
  left: 0;
  border-style: solid;
  border-width: 6px 6px 0 0;
  border-color: #ffffff transparent transparent transparent;
}
.application-form__submit-wrapper::after {
  bottom: 0;
  right: 0;
  border-style: solid;
  border-width: 0 0 6px 6px;
  border-color: transparent transparent #ffffff transparent;
}
.application-form__submit-wrapper:hover {
  position: relative;
}
.application-form__submit-wrapper:hover::before, .application-form__submit-wrapper:hover::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
}
.application-form__submit-wrapper:hover::before {
  top: 0;
  left: 0;
  border-style: solid;
  border-width: 6px 6px 0 0;
  border-color: var(--semidark-blue) transparent transparent transparent;
}
.application-form__submit-wrapper:hover::after {
  bottom: 0;
  right: 0;
  border-style: solid;
  border-width: 0 0 6px 6px;
  border-color: transparent transparent var(--semidark-blue) transparent;
}
.application-form__submit {
  width: 100%;
  min-width: 190px;
  padding: 14px 0;
  color: var(--dark-blue);
  background-color: white;
  border: none;
  clip-path: polygon(12px 0%, calc(100% - 0px) 0%, 100% 0px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0px 100%, 0% calc(100% - 0px), 0% 12px);
  cursor: pointer;
}
.application-form__submit:hover {
  color: white;
  background-color: var(--semidark-blue);
}
.application-form__phone {
  align-items: center;
  border-bottom: 1px solid white;
  display: flex;
}
.application-form__phone:has(.has-error) {
  border-bottom-color: #FF8CA5;
}
.application-form__phone-number {
  width: 100%;
  border-bottom: none !important;
}

body.is-application-form-open {
  overflow: hidden;
}

.phone-prefix {
  margin-right: 10px;
  position: relative;
}
.phone-prefix .help-block {
  top: 70px;
  font-weight: 500;
  font-size: 12px;
  right: 0;
  position: absolute;
  color: #FF8CA5;
}
.phone-prefix input {
  width: 100%;
}
.phone-prefix button {
  font-size: 14px;
  color: white;
  min-width: 50px;
  background: none;
  border: none;
}
.phone-prefix button span {
  font-weight: 700;
}
.phone-prefix button svg {
  width: 12px;
  height: 8px;
  margin-left: 5px;
}
.phone-prefix button svg.is-open {
  transform: rotate(180deg);
}
.phone-prefix__content {
  top: 30px;
  background-color: var(--dark-blue);
  position: absolute;
  display: none;
  z-index: 1000;
}
.phone-prefix__content button {
  padding: 7px 10px 7px 20px;
  font-weight: 700;
}
.phone-prefix__content button:hover {
  background-color: var(--semidark-blue);
}
.phone-prefix__content.is-open {
  display: block;
}

.places-select {
  position: relative;
}
.places-select:has(.has-error) {
  border-bottom-color: #FF8CA5;
}
.places-select .has-error:after {
  position: absolute;
  right: 30px !important;
  top: -15px !important;
  content: url("/uploads/static/error-icon.svg");
}
.places-select .has-error {
  height: 0;
  padding: 0;
  display: block;
  border-bottom: none !important;
}
.places-select .has-error label {
  display: none;
}
.places-select .help-block {
  top: 20px !important;
  display: block !important;
  font-weight: 500;
  font-size: 12px;
  right: 0;
  position: absolute;
  color: #FF8CA5;
}
.places-select button {
  padding: 3px 0;
  font-size: 14px;
  color: white;
  background: none;
  border: none;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding-right: 5px;
}
.places-select button svg {
  width: 12px;
  height: 8px;
  margin-left: 5px;
}
.places-select.is-open {
  padding-bottom: 0 !important;
}
.places-select.is-open .places-select__content {
  display: block;
}
.places-select.is-open svg {
  transform: rotate(180deg);
}
.places-select__content {
  margin-top: 20px;
  padding: 10px 0;
  background-color: var(--semidark-blue);
  display: none;
}
.places-select__content textarea, .places-select__content input {
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  margin: 0;
  font: inherit;
  color: currentColor;
  width: 15px;
  height: 15px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-content: center;
}
.places-select__content textarea:checked ~ label, .places-select__content input:checked ~ label {
  font-weight: 700;
}
.places-select__content textarea:checked::before, .places-select__content input:checked::before {
  opacity: 1;
}
.places-select__content textarea::before, .places-select__content input::before {
  transition: 0.1s all ease;
  display: block;
  content: "";
  opacity: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: white;
}
.places-select__content div:hover {
  font-weight: 700;
  background-color: var(--dark-blue);
}
.places-select__content div {
  font-size: 14px;
  padding: 7px 15px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.field-feedbackform-phone_prefix,
.field-applicationform-space,
.field-applicationform-phone_prefix {
  display: none;
}

.field-feedbackform-text {
  border-bottom: none !important;
}

@media (min-width: 781px) {
  .application-form {
    max-width: 40.625vw;
    padding: 1.3888888889vw 1.7361111111vw;
    clip-path: polygon(0px 0%, calc(100% - 0px) 0%, 100% 0px, 100% calc(100% - 1.7361111111vw), calc(100% - 1.7361111111vw) 100%, 0px 100%, 0% calc(100% - 0px), 0% 0px);
  }
  .application-form__close {
    width: 2.5vw;
    height: 2.5vw;
    top: 1.1111111111vw;
    right: 1.1111111111vw;
  }
  .application-form .form-group {
    padding-top: 1.1805555556vw;
    padding-bottom: 1.1805555556vw;
    border-bottom-width: 0.0694444444vw;
  }
  .application-form .form-group.has-error {
    border-bottom-width: 0.0694444444vw;
  }
  .application-form .form-group.has-error:after {
    height: 1.6666666667vw;
    width: 1.6666666667vw;
    top: 0.9027777778vw;
    content: "";
    background-image: url("/uploads/static/error-icon.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
  .application-form .form-group.has-error .help-block {
    top: 4.1666666667vw;
    font-size: 0.8333333333vw;
  }
  .application-form h3 {
    font-size: 1.3888888889vw;
    margin-bottom: 2.7777777778vw;
  }
  .application-form p {
    font-size: 0.9722222222vw;
    margin-bottom: 1.3888888889vw;
  }
  .application-form textarea, .application-form input, .application-form select {
    font-size: 0.9722222222vw;
  }
  .application-form__footer {
    grid-template-columns: minmax(0, 1fr) 14.9305555556vw;
    gap: 1.6666666667vw;
    margin-top: 2.0833333333vw;
  }
  .application-form__footer p {
    font-size: 0.7638888889vw;
  }
  .application-form__submit {
    clip-path: polygon(0.8333333333vw 0%, calc(100% - 0px) 0%, 100% 0px, 100% calc(100% - 0.8333333333vw), calc(100% - 0.8333333333vw) 100%, 0px 100%, 0% calc(100% - 0px), 0% 0.8333333333vw);
    min-width: 13.1944444444vw;
    padding-top: 0.9722222222vw;
    font-size: 0.9722222222vw;
    padding-bottom: 0.9722222222vw;
  }
  .application-form__submit-wrapper {
    position: relative;
  }
  .application-form__submit-wrapper::before, .application-form__submit-wrapper::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
  }
  .application-form__submit-wrapper::before {
    top: 0;
    left: 0;
    border-style: solid;
    border-width: 0.4166666667vw 0.4166666667vw 0 0;
    border-color: #ffffff transparent transparent transparent;
  }
  .application-form__submit-wrapper::after {
    bottom: 0;
    right: 0;
    border-style: solid;
    border-width: 0 0 0.4166666667vw 0.4166666667vw;
    border-color: transparent transparent #ffffff transparent;
  }
  .application-form__submit-wrapper:hover {
    position: relative;
  }
  .application-form__submit-wrapper:hover::before, .application-form__submit-wrapper:hover::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
  }
  .application-form__submit-wrapper:hover::before {
    top: 0;
    left: 0;
    border-style: solid;
    border-width: 0.4166666667vw 0.4166666667vw 0 0;
    border-color: var(--semidark-blue) transparent transparent transparent;
  }
  .application-form__submit-wrapper:hover::after {
    bottom: 0;
    right: 0;
    border-style: solid;
    border-width: 0 0 0.4166666667vw 0.4166666667vw;
    border-color: transparent transparent var(--semidark-blue) transparent;
  }
  .application-form__phone {
    border-bottom-width: 0.0694444444vw;
  }
  .phone-prefix {
    margin-right: 0.6944444444vw;
  }
  .phone-prefix .help-block {
    top: 4.8611111111vw;
    font-size: 0.8333333333vw;
  }
  .phone-prefix button {
    font-size: 0.9722222222vw;
    min-width: 3.4722222222vw;
  }
  .phone-prefix button svg {
    width: 0.8333333333vw;
    height: 0.5555555556vw;
    margin-left: 0.3472222222vw;
  }
  .phone-prefix__content {
    top: 2.0833333333vw;
  }
  .phone-prefix__content button {
    padding: 0.4861111111vw 0.6944444444vw 0.4861111111vw 1.3888888889vw;
  }
  .places-select .has-error:after {
    right: 2.0833333333vw !important;
    top: -1.0416666667vw !important;
  }
  .places-select .help-block {
    top: 1.3888888889vw !important;
    font-size: 0.8333333333vw;
  }
  .places-select button {
    padding-top: 0.2083333333vw;
    padding-bottom: 0.2083333333vw;
    padding-right: 0.3472222222vw;
    font-size: 0.9722222222vw;
  }
  .places-select button svg {
    width: 0.8333333333vw;
    height: 0.5555555556vw;
    margin-left: 0.3472222222vw;
  }
  .places-select__content {
    margin-top: 1.3888888889vw;
    padding-top: 0.6944444444vw;
    padding-bottom: 0.6944444444vw;
  }
  .places-select__content input {
    width: 1.0416666667vw;
    height: 1.0416666667vw;
    border-width: 0.0694444444vw;
  }
  .places-select__content input::before {
    width: 0.625vw;
    height: 0.625vw;
  }
  .places-select__content div {
    font-size: 0.9722222222vw;
    padding: 0.4861111111vw 1.0416666667vw;
    gap: 0.6944444444vw;
  }
}
@media screen and (max-width: 781px) {
  .application-form {
    max-width: 100%;
  }
  .application-form h3 {
    font-size: 9.6vw;
    margin-bottom: 5.3333333333vw;
  }
  .application-form p {
    font-size: 3.7333333333vw;
    margin-bottom: 5.3333333333vw;
  }
  .application-form input {
    font-size: 3.7333333333vw;
  }
  .application-form__submit {
    min-width: 50.6666666667vw;
    padding: 3.7333333333vw 0;
    font-size: 3.7333333333vw;
    clip-path: polygon(3.2vw 0%, calc(100% - 0px) 0%, 100% 0px, 100% calc(100% - 3.2vw), calc(100% - 3.2vw) 100%, 0px 100%, 0% calc(100% - 0px), 0% 3.2vw);
  }
  .application-form .form-group {
    padding: 4.5333333333vw 0;
  }
  .application-form .form-group.has-error {
    border-bottom-width: 0.2666666667vw;
  }
  .application-form .form-group.has-error:after {
    height: 6.4vw;
    width: 6.4vw;
    top: 3.4666666667vw;
    content: "";
    background-image: url("/uploads/static/error-icon.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
  .application-form .form-group.has-error .help-block {
    top: 16vw;
    font-size: 3.2vw;
  }
  .application-form__footer {
    display: flex;
    flex-direction: column;
  }
  .phone-prefix button {
    min-width: 13.3333333333vw;
  }
  .places-select button,
  .phone-prefix button {
    font-size: 3.7333333333vw;
  }
  .places-select button svg,
  .phone-prefix button svg {
    width: 3.2vw;
    height: 2.1333333333vw;
    margin-left: 1.3333333333vw;
  }
  .phone-prefix__content button {
    padding: 1.8666666667vw 2.6666666667vw 1.8666666667vw 5.3333333333vw;
  }
  .places-select__content div {
    font-size: 3.7333333333vw;
    gap: 2.6666666667vw;
    padding: 1.8666666667vw 4vw;
  }
  .places-select__value {
    font-size: 3.7333333333vw;
  }
}

/*# sourceMappingURL=application.css.map */
