.quiz {
  max-width: 1460px;
  margin: 0 auto 170px;
  background: #3F5199;
  border-radius: 35px;
}

.quiz__wrap {
  /* border-radius: 15px; */
  /* background: #FFFFFF; */
  /* -webkit-box-shadow: 1px 1px 9px rgba(6, 64, 82, 0.04), 5px 10px 63px rgba(80, 99, 107, 0.11); */
  /* box-shadow: 1px 1px 9px rgba(6, 64, 82, 0.04), 5px 10px 63px rgba(80, 99, 107, 0.11); */
  /* padding: 10px; */
  /* height: 604px; */
  /* position: relative; */
  /* z-index: 10; */
  padding: 70px 0 100px;
}

.quiz__flex {
  border: 1px dashed rgba(46, 65, 132, 0.2);
  border-radius: 8px;
  /* display: -webkit-box; */
  display: -ms-flexbox;
  /* display: flex; */
  /* height: 100%; */
}

.quiz__present {
  width: 294px;
  background: #FFD595;
  border-radius: 8px 0 0 8px;
  height: 584px;
  position: relative;
}

.present__text {
  font-weight: 300;
  font-size: 21px;
  line-height: 130%;
  letter-spacing: 0.01em;
  padding: 33px 33px 0 33px;
}

.present__text .uppercase {
  font-weight: 400;
  margin: 8px 0 0 0;
  font-variant: slashed-zero;
  position: relative;
  z-index: 9;
}

.present__img {
  width: 100%;
  border-radius: 0 0 0 8px;
  position: absolute;
  bottom: 0px;
  left: 0;
}

.uppercase {
  text-transform: uppercase;
}

.quiz__main {
  /* padding: 60px 0 0 0; */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.quiz__for_progressbar {
  margin: 0 0 50px 0;
}

.quiz__progressbar {
  border: 1px solid #7185D4;
  background: #283052;
  height: 10px;
  border-radius: 3px;
  position: relative;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.quiz__progress {
  position: absolute;
  z-index: 1;
  width: 0;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 4px 0 0 4px;
  background: -o-linear-gradient(359.1deg, #FFD28E -1.37%, #FFC062 102.29%);
  background: linear-gradient(90.9deg, #FFD28E -1.37%, #FFC062 102.29%);
}

.progressbar_text {
  /* position: relative; */
  /* z-index: 2; */
  /* font-size: 17px; */
  /* line-height: 30px; */
  /* display: -webkit-box; */
  display: -ms-flexbox;
  /* display: flex; */
  /* -webkit-box-align: center; */
  -ms-flex-align: center;
  /* align-items: center; */
  /* letter-spacing: 0.01em; */
  /* padding-left: 20px; */
}

.quiz__question p {
  font-size: 30px;
  line-height: 36px;
  color: #fff;
  margin: 0 0 30px 0;
}

.quiz__answers {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 20px;
}

.quiz__answer {
  border: 1px solid #E6E6E6;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-shadow: 1px 1px 9px rgba(65, 91, 180, 0.04), 5px 10px 50px rgba(65, 91, 180, 0.1);
  box-shadow: 1px 1px 9px rgba(65, 91, 180, 0.04), 5px 10px 50px rgba(65, 91, 180, 0.1);
  border-radius: 10px;
  height: 90px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
  background: #FFFFFF;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  width: 47%;
}

.quiz__answer p {
  font-weight: 300;
  font-size: 24px;
  line-height: 130%;
  color: #141414;
}

.answer__point {
  position: relative;
  margin: 0 20px 0 30px;
  width: 30px;
  height: 30px;
  border: 2px solid #7185D4;
  border-radius: 10px;
}

.answer__point::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  border-radius: 5px;
  background-color: #3F5199;
  width: 20px;
  height: 20px;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
  opacity: 0;
}

.active_answer .answer__point::after {
  opacity: 1;
}

.quiz__panel {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 50px 0 0 22px;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.quiz__back {
  opacity: 1;
  position: relative;
  font-size: 19px;
  line-height: 130%;
  -webkit-text-decoration-line: none;
  text-decoration-line: none;
  color: #fff;
  margin: 0 20px 0 0;
  cursor: pointer;
  padding: 15px 40px 15px 60px;
  border: 1px solid #7185D4;
  border-radius: 10px;
}

.quiz__back span {
  position: absolute;
  position: absolute;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  opacity: 0.5;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  width: 8px;
  height: 8px;
  left: 43px;
  top: 23px;
}

.quiz__go {
  position: relative;
  font-size: 19px;
  line-height: 130%;
  letter-spacing: 0.01em;
  color: #171717;
  background: #fff;
  padding: 15px 40px;
  border-radius: 10px;
  /* margin: 0 20px 0 0; */
  cursor: pointer;
  -webkit-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.quiz__go span {
  position: absolute;
  border-top: 2px solid #FFFFFF;
  border-left: 2px solid #FFFFFF;
  -webkit-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  transform: rotate(135deg);
  width: 8px;
  height: 8px;
  left: 106px;
  top: 18px;
}

.quiz__enter {
  font-size: 19px;
  line-height: 130%;
  letter-spacing: 0.01em;
  opacity: 0.5;
}

.quiz__blok_bg {
  /* position: absolute; */
  /* z-index: 3; */
  /* width: 1214px; */
  /* height: 443px; */
  /* background: #FFFFFF; */
  /* -webkit-box-shadow: 1px 1px 9px rgba(6, 64, 82, 0.04), 5px 10px 63px rgba(80, 99, 107, 0.11); */
  /* box-shadow: 1px 1px 9px rgba(6, 64, 82, 0.04), 5px 10px 63px rgba(80, 99, 107, 0.11); */
  /* border-radius: 15px; */
  /* bottom: -13px; */
  /* left: calc(50% - 1214px / 2); */
}

.quiz .main {
  /* position: relative; */
  max-width: 1065px;
}

.quiz__go.disable {
  opacity: 0.7;
  cursor: default;
}

.quiz__input {
  font-weight: 300;
  font-size: 21px;
  line-height: 60px;
  letter-spacing: 0.01em;
  color: #141414;
  height: 60px;
  padding: 16px 29px 17px 29px;
  background: #F7F7F7;
  border: 1px solid #D9D9D9;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 10px;
  outline: none;
  width: 385px;
}

.quiz__label {
  margin: 20px 0 0 0;
  font-weight: 300;
  font-size: 19px;
  line-height: 130%;
  letter-spacing: 0.01em;
  color: #fff;
  display: block;
  /* max-width: 385px; */
}

.hidden {
  display: none;
}

.quiz__form_top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 20px;
}

.quiz__form_top > p {
  font-weight: 300;
  font-size: 19px;
  line-height: 130%;
  letter-spacing: 0.01em;
  margin: 0 10px 0 38px;
}

.quiz__select {
  font-weight: 300;
  font-size: 19px;
  line-height: 130%;
  letter-spacing: 0.01em;
  -webkit-text-decoration-line: underline;
  position: relative;
  cursor: pointer;
}

.quiz__select span {
  border-right: 2px solid #757575;
  border-top: 2px solid #757575;
  width: 8px;
  height: 8px;
  position: absolute;
  top: 24px;
  right: 27px;
  -webkit-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  transform: rotate(135deg);
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
}

.span_active span {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 28px;
}

.quiz__select ul {
  display: none;
  position: absolute;
  width: 302px;
  top: 75px;
  left: 0px;
  background: #FFFFFF;
  border: 1px solid rgba(20, 20, 20, 0.1);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-shadow: 1px 1px 9px rgba(6, 64, 82, 0.04), 5px 10px 63px rgba(80, 99, 107, 0.11);
  box-shadow: 1px 1px 9px rgba(6, 64, 82, 0.04), 5px 10px 63px rgba(80, 99, 107, 0.11);
  border-radius: 10px;
  padding: 15px 20px;
}

.quiz__select ul li {
  list-style-type: none;
  padding: 5px 0;
}

.select_element {
  font-weight: 300;
  font-size: 19px;
  line-height: 130%;
  letter-spacing: 0.01em;
  -webkit-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.select_element:hover {
  opacity: 0.5;
}

.select_element_active {
  opacity: 0.5;
}

.quiz__thanks {
  /* border: 1px dashed rgba(46, 65, 132, 0.2); */
  /* border-radius: 8px; */
  /* height: 100%; */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  /* padding: 50px 0 0 0; */
}

.thanks_title {
  font-size: 40px;
  line-height: 50px;
  color: #FFFFFF;
  margin: 0 0 50px;
}

.thanks_for_wrap {
  background: #FFD595;
  border-radius: 5px;
  padding: 5px;
  width: 670px;
  margin: 0 0 40px 0;
}

.thanks_wrap {
  border: 1px dashed #FFFFFF;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 2px;
  padding: 15px 40px;
}

.thanks_wrap_text {
  font-weight: 300;
  font-size: 21px;
  line-height: 130%;
  text-align: center;
  letter-spacing: 0.01em;
}

.thanks_wrap_phone {
  font-size: 30px;
  line-height: 130%;
  text-align: center;
  color: #141414;
  letter-spacing: 0.01em;
  display: block;
  margin: 10px 0;
}

.thanks_flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  width: 670px;
}

.thanks_left {
  width: 400px;
}

.thanks_left p {
  font-weight: 300;
  font-size: 21px;
  line-height: 130%;
  letter-spacing: 0.01em;
  margin: 0 0 27px 0;
}

p.thanks_thin {
  font-weight: 200;
  margin: 0 0 10px 0;
}

.thanks_link {
  position: relative;
  font-size: 19px;
  line-height: 130%;
  letter-spacing: 0.01em;
  color: #FFFFFF;
  font-weight: 300;
  background: -o-linear-gradient(292.77deg, #4E68C4 -15.18%, #3952AA 107.83%);
  background: linear-gradient(157.23deg, #4E68C4 -15.18%, #3952AA 107.83%);
  padding: 10px 40px;
  border-radius: 5px;
  margin: 27px 0 0 0;
  cursor: pointer;
  -webkit-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
  text-decoration: underline;
}

.thanks_right {
  position: relative;
}

.thanks_img {
  position: absolute;
  width: 493px;
  height: 297px;
  top: -50px;
  left: -105px;
}

.quiz .h2 {
  color: #fff;
  padding: 0 0 60px;
}

.quiz__info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin: 0 0 15px;
}

.quiz__info p {
  font-size: 19px;
  line-height: 23px;
  color: #fff;
}

.quiz__back.invisible {
  opacity: 0 !important;
}

.select_active {
  font-weight: 300;
  font-size: 21px;
  line-height: 60px;
  letter-spacing: 0.01em;
  color: #757575;
  height: 60px;
  padding: 16px 59px 17px 29px;
  background: #F7F7F7;
  border: 1px solid #D9D9D9;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 10px;
  outline: none;
  width: 385px;
}

.quiz__form_top div p {
  margin: 0 0 20px;
  font-size: 27px;
  line-height: 32px;
  color: #fff;
}

.form1_zg {
  font-size: 40px !important;
  line-height: 50px !important;
  margin: 0 0 50px 0 !important;
}

.form1_pzg {
  max-width: 955px;
}

.thanks_title2 {
  font-size: 30px;
  line-height: 36px;
  color: #fff;
  max-width: 739px;
  text-align: center;
}

.quiz__thanks .phone {
  background: #FFFFFF;
  border-radius: 10px;
  font-size: 40px;
  line-height: 50px;
  padding: 15px 40px;
  margin: 30px 0;
}

@media screen and (min-width: 680px) {
  .quiz__panel.form {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    margin: 50px 0 0;
  }

  .quiz__panel.form .quiz__back {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
  }
}
@media screen and (max-width: 680px) {
  .quiz {
    border-radius: 25px;
    margin: 0 0 70px;
  }

  .quiz .main {
    max-width: 95%;
  }

  .quiz__wrap {
    padding: 50px 0;
  }

  .quiz__main {
    /* padding: 30px 0 0; */
  }

  .quiz__info {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .progressbar_text2 {
    position: absolute;
    top: 62px;
  }

  .quiz__top {
    position: relative;
  }

  .quiz__info p {
    font-size: 17px;
  }

  .quiz__for_progressbar {
    margin: 0 0 90px 0;
  }

  .quiz__question p {
    font-size: 24px;
    line-height: 29px;
  }

  .quiz__answers {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .quiz__answer {
    width: 100%;
    height: 65px;
  }

  .answer__point {
    width: 25px;
    height: 25px;
    margin: 0 20px 0 30px;
    margin: 0 20px;
  }

  .answer__point::after {
    width: 15px;
    height: 15px;
  }

  .quiz__answer p {
    font-size: 19px;
    line-height: 23px;
  }

  .quiz__panel {
    margin: 50px 0 0;
    padding: 0 0 0px;
  }

  .quiz__panel a {
    width: 50%;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  .quiz__back span {
    left: 60px;
  }

  .quiz .h2 {
    padding: 0 0 30px;
  }

  .thanks_title {
    font-size: 27px;
    line-height: 35px;
  }

  .thanks_title2 {
    font-size: 21px;
    line-height: 25px;
  }

  .quiz__thanks .phone {
    font-size: 30px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 8px 40px;
  }

  .quiz__form_top {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }

  .select_active {
    width: 100% !important;
    display: table;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 59px 0 29px;
  }

  .quiz__form_top > div {
    width: 100%;
  }

  .quiz__input {
    width: 100%;
    display: table;
  }

  .quiz__select ul {
    width: 100%;
    z-index: 9;
  }
}