.header__nav.header__nav--form {
  background-color: #2C375A;
}

.form-page .header {
  padding-top: 16px;
}

@media(min-width: 320px) and (max-width: 720px) {
  .section-form {
    padding-top: 83px;
  }
}

@media(min-width: 1601px) {
  .section-form {
    padding-top: 0px;
  }
}

.section-thanks {
  display: none;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0px;
  left: 0px;
  background-color: #ffffff;
  z-index: 2;
}

.section-thanks.show {
  display: flex;
}

.form__error {
  display: none;
}

.error .form__error {
  display: block;
}

.error--empty .form__error.form__error--empty {
    display: block;
}

.error--empty .form__error.form__error--uncorrect {
    display: none;
}

.error--uncorrect .form__error.form__error--empty {
    display: none;
}

.error--uncorrect .form__error.form__error--empty {
    display: block;
}

.form__error-length {
  display: none;
  width: 100%;
  font-size: 12px;
  color: #fff;
  background: #EC3E3E;
  position: absolute;
  padding: 5px 5px 4px 35px;
  border-radius: 0 0 6px 6px;
  line-height: 1;
  z-index: 0;
  bottom: -17px;
}

.form__error-length::before {
  content: '';
  display: block;
  position: absolute;
  top: 6px;
  left: 11px;
  width: 10px;
  height: 10px;
  background: url(../img/icons/error.svg) no-repeat;
}

.error-max-length .form-max__length {
  color: red;
}

.error-max-length .form__error-length {
  display: block
}

.form__politic.error .form__checkmark {
  border: 1px solid #EC3E3E;
}

.form__box.error .select2.select2-container.select2-container--default {
  border: 1px solid #EC3E3E;
}

.quest__list_left .quest__item:nth-child(2n) {
  display: block;
}

.quest__wrap {
  display: flex;
  flex-direction: column;
}

@media(min-width: 1024px) {
  .quest__wrap {
    flex-direction: row;
  }
}

.quest__list_right {
  display: flex;
  flex-direction: column;
}

.quest__list.quest__list_left .quest__item:last-child {
  border-bottom: 1px solid #BBBBBB;
}

@media(min-width: 1024px) {
  .quest__list.quest__list_left .quest__item:last-child {
    border-bottom: none;
  }
}

@media(min-width: 720px) and (max-width: 1024px) {
  .quest__item {
    width: 95%;
  }
}

@media(min-width: 720px) {
  .quest__list {
    max-width: 96%;
  }
}

@media(min-width: 1920px) {
  .quest__list {
    max-width: 783px;
  }
}

@media(min-width: 1366px) {
  .quest__head {
      padding-right: 120px;
  }
}

.quest__text {
  width: 90%;
}

.about__team {
  position: relative;
}

.about__team-badge {

}

.about__team-badge--first {
  left: -5px !important;
  bottom: 20px !important;
}

.about__team-badge--second {
  left: 168px !important;
  bottom: 20px !important;
}

@media screen and (min-width: 720px) {
  .about__team-badge--first {
    left: 72px !important;
    bottom: 24px !important;
  }
}
@media screen and (min-width: 720px) {
  .about__team-badge--second {
    left: 376px !important;
    bottom: 24px !important;
  }
}


@media screen and (min-width: 1366px) {
  .about__team-badge--first {
    left: 123px !important;
    bottom: 60px !important;
  }
}
@media screen and (min-width: 1366px) {
  .about__team-badge--second {
    left: 581px !important;
    bottom: 60px !important;
  }
}

@media screen and (max-width: 576px) {
  .about__team {
    margin-top: -15px;
    margin-left: 7px;
  }
}

@media screen and (max-width: 576px) {
  .section-about::after {
    bottom: 0;
  }
}

.form-max__length {
  position: absolute;
  font-size: 12px;
  line-height: 12px;
  right: 0px;
  top: -16px;
  color: #7A88B1;
}

.popup__menu li:last-child a {
  border-bottom: 1px solid transparent;
}

.popup__menu li:last-child {
  color: #ffffff;
  font-weight: 500;
}
