* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
* { -webkit-appearance: none; }
a {
  text-decoration: none;
  color: inherit;
}
br.mbr {display: none;}
html {
  background-color: #FFFFFF;
}
body {
  font-family: 'MuseoSansCyrl';
  color: #141414;
  overflow-x: hidden;
  background-color: #FFFFFF;
}
body.pensioner {
  font-weight: 600 !important;
}
img.lazy:not(.loaded) { -webkit-filter: blur(4px); filter: blur(4px); }
.lazy { -webkit-transition: 0.5s; -o-transition: 0.5s; transition: 0.5s; }

img:not([src]):not([srcset]) { opacity: 0; }


.main {
  width: 1280px;
  margin: 0 auto;
}

.header {
  margin: 0 0 20px 0;
  position: relative;
}

.header_flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}
.header__left {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 48%;
}
.header__for_logo {
  position: relative;
  top: 0;
  left: 0;
  z-index: 10;
  margin: 0;
}
.header__logo {
  width: 200px;
  height: auto;
}
.header__slogan1 {
  margin: 0 17px 0 0;
}

.header__slogan1, .header__slogan2 {
  font-size: 14px;
  line-height: 130%;
}
.header__lenta {
  padding: 44px 13px 39px 13px;
  background: linear-gradient(157.23deg, #FF5B5B -15.18%, #D71E1E 107.83%);
  position: relative;
  margin: 0 17px 0 0;
}
.header__lenta p {
  font-size: 26px;
  line-height: 130%;
  letter-spacing: 0.01em;
  color: #FFFFFF;
}

.header__lenta::before {
  content: "";
  position: absolute;
  border: 43px solid transparent;
  border-bottom: 14px solid #ffffff;
  bottom: 0;
  left: 0;
  z-index: 19;
  width: 100%;
  height: 17px;
  box-sizing: border-box;
}

.header__slogan2 {
}
.header__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 20px 0 0 0;
  justify-content: center;
}
.header__time {
  font-weight: 300;
  font-size: 17px;
  line-height: 130%;
  text-align: right;
  letter-spacing: 0.01em;
  margin: 0 0 5px 0;
}
.header__phone {
  font-weight: 600;
  font-size: 26px;
  line-height: 130%;
  text-align: right;
  letter-spacing: 0.01em;
  color: #2E4184;
  margin: 0 0 18px 0;
}
.header__call_me {
  font-size: 19px;
  line-height: 130%;
  display: flex;
  align-items: center;
  text-align: center;
  letter-spacing: 0.01em;
  border: 2px solid #3952AA;
  border-radius: 2px;
  padding: 8px 26px 10px 26px;
  transition: box-shadow 0.3s;
}
.header__call_me:hover {
  box-shadow: 0 4px 10px 0 rgba(57, 81, 170, 0.357)
}

.b1 {
  position: relative;
}

.b1_bg {
  position: absolute;
  top: 0;
  height: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: -1;
  left: calc(50vw - 1280px / 2 - 320px);
  transform: translate(-0, -180px);
}
.b1_bg img {
  
}

.b1__wrap {
  display: flex;

}
.b1__left {
  width: 730px;
  padding: 66px 0 0 0;
}
.b1__suptitle {
  font-weight: 300;
  font-size: 25px;
  line-height: 130%;
  letter-spacing: 0.01em;
  margin: 0 0 14px 0;
}
.b1__suptitle a {
  font-weight: 200;
  color: #2E4184;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
.b1__title {
  margin: 0 0 14px 0;
  font-weight: 600;
  font-size: 42px;
  line-height: 130%;
  letter-spacing: 0.01em;
  margin: 0 0 64px 0;
}
.b1__title span {
  font-weight: 200;
}
.b1__call_to_test {
  color: #F24747;
  font-size: 22px;
  line-height: 130%;
  letter-spacing: 0.01em;
  margin: 0 0 38px 0;
  position: relative;
  font-weight: 600;
}
.b1__call_to_test span {
  font-weight: 200;
}
.b1__arrow {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
  margin-top: 10px;
}
.b1_for_button {
  position: relative;
  box-shadow: 0px 51px 16px -28px #2558be79;
  margin: 0 0 36px 0;
  display: inline-block;
  transition: box-shadow 0.3s;
}
.b1__button_back {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 7px;
  left: 0;
  z-index: -1;
  border-radius: 8px;
  background: #1C5AD2;
  
}
.b1__button {
  position: relative;
  top: 0;
  font-weight: normal;
  font-size: 30px;
  line-height: 36px;
  text-align: center;
  color: #FFFFFF;
  text-shadow: 0.5px 0.5px 4px #2559BE, -0.5px -0.5px 3px rgba(255, 255, 255, 0.25);
  background: #2C68DE;
  border-radius: 8px;
  padding: 28px 41px;
  transition: 0.1s;
  overflow: hidden;
}
.b1__button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}
.b1_for_button:hover .b1__button::before {
  left: 100%;
}
.b1_for_button:hover {
  box-shadow: 0px 56px 18px -28px #2558be79;
}
.b1_for_button:active .b1__button {
  top: 3px;
}

.b1__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 690px;
}
.b1__text {
  font-weight: 200;
  font-size: 21px;
  line-height: 130%;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 9;
}
.b1__text span {
  font-weight: 400;
}
.b1__bottom_for_img {
  position: relative;
  left: -50px;
}
.b1__bottom_img {
}
.b1__for_photo {
  width: auto;
  position: relative;
}
.b1__img {
  position: relative;
  left: 60px;
}
.b1__info_person {
  position: absolute;
  top: 549px;
  left: 56px;
}
.b1_for_name {
  background-image: url(../img/b1_for_name.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 341px;
  height: 50px;
  display: flex;
  align-items: center;
  margin: 0 0 10px 0;
  padding: 0 0 0 30px;
}
.b1_name {
  font-weight: 600;
  font-size: 19px;
  line-height: 130%;
  letter-spacing: 0.01em;
}
.b1_post {
  font-size: 17px;
  line-height: 130%;
  letter-spacing: 0.01em;
  color: #FFFFFF;
  padding: 0 0 0 30px;
  max-width:270px;
}
.b1__fly1 {
  right: 70px;
  top: -10px;
  transform: rotate(-15deg);
}
.b1__fly2 {
  left: 10px;
  top: 160px;
  transform: rotate(-31deg);
}
.b1__fly3 {
  right: 0px;
  top: 430px;
}
.b1__fly4 {
  left: 10px;
  top: 630px;
  z-index: -1;
}

.b1__fly {
  position: absolute;
}

.quiz {
  margin: -6px 0 100px 0;
}

.quiz__wrap {
  border-radius: 15px;
  background: #FFFFFF;
  box-shadow: 1px 1px 9px rgba(6, 64, 82, 0.04), 5px 10px 63px rgba(80, 99, 107, 0.11);
  padding: 10px;
  position: relative;
  z-index: 10;
}
.quiz__flex {
  border: 1px dashed rgba(46, 65, 132, 0.2);
  border-radius: 8px;
  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;
}
.pensioner .present__text {
  font-weight: 600;
}
.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 {
  width: 846px;
  margin:0 0 50px 48px;
  padding: 50px 0 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#popup-quiz .quiz__wrap, #popup-quiz .quiz__main {
  width: 100%;
}
#popup-quiz .quiz__flex {
  height: auto;
  min-height: 100%;
  overflow: visible;
}
#popup-quiz .quiz__main {
  padding: 20px;
  min-height: auto;
  overflow: visible;
}
#popup-quiz .quiz__top {
  margin-bottom: 20px;
  overflow: visible;
}
#popup-quiz .quiz__answers {
  min-height: 100px;
  margin-bottom: 20px;
  overflow: visible;
  display: flex !important;
  flex-wrap: wrap;
  visibility: visible !important;
  opacity: 1 !important;
}
#popup-quiz .quiz__answer {
  visibility: visible !important;
  opacity: 1 !important;
  display: flex !important;
}
#popup-quiz .quiz__flex {
  height: auto;
  min-height: 100%;
}
#popup-quiz .quiz__main {
  padding: 20px;
  min-height: auto;
}
#popup-quiz .quiz__top {
  margin-bottom: 20px;
}
#popup-quiz .quiz__answers {
  min-height: 100px;
  margin-bottom: 20px;
}
.quiz__popup_header {
  background: linear-gradient(157.23deg, #FF5B5B -15.18%, #D71E1E 107.83%);
  padding: 8px 15px;
  border-radius: 5px;
  margin: 0 0 10px 0;
}
.quiz__popup_title {
  font-size: 20px;
  line-height: 130%;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0;
  text-align: center;
  font-weight: 600;
}
.quiz__gifts_wrap {
  border-radius: 5px;
  margin: 0 0 15px 0;
}
.quiz__gifts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.quiz__gifts li {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  background: #FFFFFF;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.gift_icon {
  font-size: 16px;
  margin-right: 5px;
  flex-shrink: 0;
}
.gift_text {
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0.01em;
  color: #141414;
  font-weight: 500;
}
.quiz__for_progressbar {
  margin: 0 0 55px 0;
}
.quiz__progressbar {
  border: 1px solid #E6E6E6;
  background-color: #F7F7F7;
  height: 30px;
  border-radius: 5px;
  position: relative;
  box-sizing: border-box;
}
.quiz__progress {
  position: absolute;
  z-index: 1;
  background: repeating-linear-gradient(
    120deg,
    #FFD28E,
    #FFD28E 10px,
    #FFC062 10px,
    #FFC062 20px
  );
  width: 18%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 4px 0 0 4px;
}
#popup-quiz .progressbar_text {
  display: none;
}
.progressbar_text {
  position: relative;
  z-index: 2;
  font-size: 17px;
  line-height: 30px;
  display: flex;
  align-items: center;
  letter-spacing: 0.01em;
  padding-left: 20px;
}
.quiz__question {
  font-size: 25px;
  line-height: 130%;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #141414;
  margin:  0 0 30px 0;
}
.quiz__answers {
  display: flex;
  flex-wrap: wrap;
}
.quiz__answer {
  border: 1px solid #E6E6E6;
  box-sizing: border-box;
  box-shadow: 1px 1px 9px rgba(65, 91, 180, 0.04), 5px 10px 50px rgba(65, 91, 180, 0.1);
  border-radius: 5px;
  width: 48%;
  margin: 0 4% 20px 0;
  height: 67px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.quiz__answer p {
  font-weight: 300;
  font-size: 19px;
  line-height: 130%;
  letter-spacing: 0.01em;
  color: #141414;
}
.pensioner .quiz__answer p {
  font-weight: 600;
}
.quiz__answer:nth-child(2n) {
  margin: 0 0 20px 0;
}
.answer__point {
  position: relative;
  margin: 0 20px 0 20px;
  width: 20px;
  height: 20px;
  border: 1px solid #4E68C4;
  border-radius: 50%;
}
.answer__point::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  background-color: #4E68C4;
  width: 14px;
  height: 14px;
  transition: 0.2s;
  opacity: 0;
}
.active_answer .answer__point::after{
  opacity: 1;
}

.answer__checkbox {
  position: relative;
  margin: 0 20px 0 20px;
  width: 20px;
  height: 20px;
  border: 1px solid #4E68C4;
  border-radius: 4px;
  flex-shrink: 0;
}
.answer__checkbox::after {
  content: '&#10003;';
  position: absolute;
  left: 2px;
  top: -2px;
  color: #4E68C4;
  font-size: 16px;
  font-weight: bold;
  transition: 0.2s;
  opacity: 0;
}
.active_answer .answer__checkbox::after{
  opacity: 1;
}

.quiz__panel {
  display: flex;
  align-items: center;
  margin: 0 0 0 22px;
}
.quiz__back {
  position: relative;
  font-size: 19px;
  line-height: 130%;
  letter-spacing: 0.01em;
  text-decoration-line: underline;
  color: #141414;
  opacity: 0.5;
  margin: 0 39px 0 0;
  cursor: pointer;
}
.quiz__back span{
  position: absolute;
  position: absolute;
  border-top: 2px solid #141414;
  border-left: 2px solid #141414;
  opacity: 0.5;
  transform: rotate(-45deg);
  width: 8px;
  height: 8px;
  left: -15px;
  top: 8px;
}

.quiz__go {
  position: relative;
  font-size: 19px;
  line-height: 130%;
  letter-spacing: 0.01em;
  color: #FFFFFF;
  background: linear-gradient(157.23deg, #4E68C4 -15.18%, #3952AA 107.83%);
  padding: 10px 55px 10px 40px;
  border-radius: 5px;
  margin: 0 20px 0 0;
  cursor: pointer;
  transition: opacity 0.2s;
}
.quiz__go span{
  position: absolute;
  border-top: 2px solid #FFFFFF;
  border-left: 2px solid #FFFFFF;
  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;
  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;
}

.quiz__go.disable{
  opacity: 0.7;
  cursor: default;
}

.quiz__input {
  font-family: 'MuseoSansCyrl';
  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;
  box-sizing: border-box;
  border-radius: 5px;
  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: #141414;
  display: block;
  /* max-width: 385px; */
}

.hidden {
  display: none;
}


.quiz__form_top {
  display: flex;
  align-items: center;
}
.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;
  text-decoration-line: underline;
  position: relative;
  cursor: pointer;
}
.quiz__select span {
  border-right: 2px solid #141414;
  border-top: 2px solid #141414;
  width: 8px;
  height: 8px;
  position: absolute;
  top: 7px;
  right: -16px;
  transform: rotate(135deg);
  transition: 0.4s;
}

.span_active span {
  transform: rotate(-45deg);
  top: 10px;
}

.select_active {

}
.quiz__select ul {
  display: none;
  position: absolute;
  width: 230px;
  top: 25px;
  left: -20px;

  background: #FFFFFF;
  border: 1px solid rgba(20, 20, 20, 0.1);
  box-sizing: border-box;
  box-shadow: 1px 1px 9px rgba(6, 64, 82, 0.04), 5px 10px 63px rgba(80, 99, 107, 0.11);
  border-radius: 5px;
  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;
  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: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 0 0 0;
}
.thanks_title {
  font-size: 25px;
  line-height: 130%;
  text-align: center;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 35px 0;
}
.thanks_for_wrap {
  background: #FFD595;
  border-radius: 5px;
  padding: 5px;
  width: 670px;
  margin: 0 0 40px 0;
}
.thanks_wrap {
  border: 1px dashed #FFFFFF;
  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: flex;
  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: linear-gradient(157.23deg, #4E68C4 -15.18%, #3952AA 107.83%);
  padding: 10px 40px;
  border-radius: 5px;
  margin: 27px 0 0 0;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: underline;
}
.thanks_right {
  position: relative;
}
.thanks_img {
  position: absolute;
  width: 493px;
  height: 297px;
  top: -50px;
  left: -105px;
}


.footer {
  padding: 0 15px 15px 15px;
  color: #FFFFFF;
}
.footer__wrap {
  background: #141414;
  border-radius: 15px;
  padding: 75px 0 70px 0;
}

.footer__flex {
  display: flex;
  font-weight: 300;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0.01em;
}
.footer__left {
  width: 340px;
  margin-right: 110px;
  flex-shrink: 0;
}
.footer__left p {
  margin: 0 0 25px;
}
.footer__left p:first-of-type {
  margin: 0 0 8px;
}
.footer__left .footer__policy_link {
  margin: 0 0 10px 0;
  text-align: left;
}
.footer__left .footer__policy_link a {
  text-decoration: underline;
}
.footer__left .footer__copyright {
  font-weight: 300;
  font-size: 17px;
  line-height: 130%;
  letter-spacing: 0.01em;
  margin: 0;
}
.footer__right {
  flex: 1;
}
.footer__contacts {
  margin: 0 0 15px 0;
}
.footer__contacts a {
  font-weight: normal;
  font-size: 21px;
  line-height: 160%;
  letter-spacing: 0.01em;
}
.footer__phone {
}
.footer__time {
  font-weight: 300;
  font-size: 17px;
  line-height: 130%;
  letter-spacing: 0.01em;
  margin: 0 0 20px 0;
}
.footer__call_me {
  font-weight: normal;
  font-size: 21px;
  line-height: 130%;
  text-align: center;
  letter-spacing: 0.01em;
  color: #141414;
  background: #FFFFFF;
  border: 1.5px solid #FFFFFF;
  box-sizing: border-box;
  border-radius: 2px;
  padding: 16px 40px;
  transition: box-shadow 0.3s;
  display: inline-block;
  margin: 0 0 20px 0;
}
.footer__bot_p {
  font-weight: 300;
  font-size: 12px;
  line-height: 130%;
  letter-spacing: 0.01em;
  opacity: 0.5;
  max-width: 630px;
  margin: 0;
}
.footer__map {
  margin: 40px 0 0 0;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}
.footer__map iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 8px;
}

.footer__call_me:hover {
  box-shadow: 0 4px 10px 0 #ffffff54;;
}

.modal {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 10px;
  width: 940px;
  display: none;
}
.modal_wrap {
  display: flex;
  border: 1px dashed rgba(46, 65, 132, 0.2);
  box-sizing: border-box;
  border-radius: 5px;
  align-items: center;
}
.modal__left {
  width: 340px;
  position: relative;
 
}
.modal__img {
  width: 100%;
  border-radius: 5px 0 0 5px;
  height: 100%
}
.modal__person {
  position:absolute;
  top: 450px;
  right: -2px;
}
.modal__name {
  font-size: 19px;
  line-height: 130%;
  text-align: right;
  letter-spacing: 0.01em;
  padding: 6px 10px 6px 0;

  background-image: url('../img/modal_for_name.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.modal__post {
  font-size: 15px;
  line-height: 130%;
  text-align: right;
  letter-spacing: 0.01em;
  color: #FFFFFF;
  margin: 4px 0 0 0 ;
  padding: 0 8px 0 0;
}
.modal__form {
  padding: 50px 75px 50px 50px;
  flex: 1;
}
.modal__title {
  font-size: 25px;
  line-height: 150%;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 10px 0;
}
.modal__text {
  font-weight: 300;
  font-size: 19px;
  line-height: 130%;
  letter-spacing: 0.01em;
  margin: 0 0 39px 0;
}
.modal__input {
  background: #F7F7F7;
  border: 1px solid #D9D9D9;
  box-sizing: border-box;
  border-radius: 5px;
  width: 100%;
  padding: 0 30px;
  height: 60px;
  font-weight: 300;
  font-size: 19px;
  line-height: 60px;
  display: flex;
  align-items: center;
  letter-spacing: 0.01em;
  /* text-decoration-line: underline; */
  outline: none;
  margin: 0 0 20px 0;
  font-family: 'MuseoSansCyrl';
}

.modal__submit {
  margin: 10px 0 0 0;
  font-size: 22px;
  line-height: 130%;
  text-align: center;
  letter-spacing: 0.01em;
  outline: none;
  color: #FFFFFF;
  background: linear-gradient(157.23deg, #4E68C4 -15.18%, #3952AA 107.83%);
  border-radius: 5px;
  border: none;
  width: 100%;
  text-align: center;
  padding: 15px 0 16px 0;
  cursor: pointer;
}
.modal__phones {
  margin: 25px 0 0 0;
  padding: 25px 0 0 0;
  border-top: 1px solid rgba(20, 20, 20, 0.1);
  text-align: center;
}
.modal__phones_title {
  font-weight: 300;
  font-size: 17px;
  line-height: 130%;
  letter-spacing: 0.01em;
  margin: 0 0 15px 0;
  color: #141414;
}
.modal__phone {
  display: block;
  font-weight: 600;
  font-size: 24px;
  line-height: 130%;
  letter-spacing: 0.01em;
  color: #2E4184;
  text-decoration: none;
  margin: 0 0 10px 0;
  transition: opacity 0.2s;
}
.modal__phone:hover {
  opacity: 0.7;
}
.modal__phones_time {
  font-weight: 300;
  font-size: 15px;
  line-height: 130%;
  letter-spacing: 0.01em;
  margin: 15px 0 0 0;
  color: #141414;
  opacity: 0.7;
}

.fancybox-close-small:after {
  color: #141414;
  top: 10px;
  right: 14px;
  border-radius: 2px;
}

.modal__link {
  font-weight: 600;
  font-size: 45px;
  line-height: 130%;
  letter-spacing: 0.01em;
  color: #2E4184;
}

.mobile980,.mobile680 {
  display: none;
}

.quiz__mobile_present {
  background: #FFD595;
  height: 200px;
}

.quiz__mobile_present_flex {
  display: flex;
}
.quiz__top {
  position: relative;
  z-index: 2;
}
.quiz__panel {
  position: relative;
  z-index: 1;
}

.person {
  overflow:hidden;
  position: relative;
  padding: 20px 0 0 0;
}
.person_bg {
  width: 100%;
  position: absolute;
  top: 0;
  height: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: -1;
}
.person__for_img {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.person__for_name {
  background-image: url('../img/person_for_name.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  padding: 8px 19px 8px 24px;
  position: absolute;
  bottom: 41px;
  right: 280px;
}
.person__name {
  font-weight: 600;
  font-size: 17px;
  line-height: 130%;
  text-align: right;
  margin: 0 0 5px 0;
}
.person__post {
  font-weight: 300;
  font-size: 15px;
  line-height: 130%;
  text-align: right;
  letter-spacing: 0.01em;
  padding: 0 10px 0 0 ;
}

.modal__submit.disable{
  opacity: 0.8;
}

.person_bg img { width: 100%;}

.invisible {opacity: 0; cursor: default;}
.modal__input::placeholder {
  color: #14141480;
  text-decoration: underline;
}
div#modal .fancybox-close-small:after {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.999999 3C0.447714 2.44771 0.447716 1.55228 1 1C1.55229 0.447715 2.44772 0.447715 3 1L19 17C19.5523 17.5523 19.5523 18.4477 19 19C18.4477 19.5523 17.5523 19.5523 17 19L0.999999 3Z' fill='%23141414'/%3E%3Cpath d='M17 0.999998C17.5523 0.447713 18.4477 0.447715 19 1C19.5523 1.55228 19.5523 2.44772 19 3L3 19C2.44771 19.5523 1.55228 19.5523 1 19C0.447716 18.4477 0.447715 17.5523 1 17L17 0.999998Z' fill='%23141414'/%3E%3C/svg%3E%0A");
  width: 20px;
  height: 20px;
  display: block;
  font-size: 0;
  margin: 11px;
}

div#modal .fancybox-close-small:hover:after {
  opacity: 0.7;
}
main.page {
  overflow: hidden;
}
@media only screen and (max-width: 1500px) and (min-width: 980px) {
  .b1__fly3 {display: none;} 
}


@media only screen and (max-width: 680px) { .main {width: 100%; padding: 0 15px; box-sizing: border-box;} 
.modal__input {
  padding: 0 20px;
}
.person {
  display: none !important;
}
br.mbr {display: block;}
  .header { padding: 5px 0 0 0; position: relative;}
  .header_flex {align-items: flex-start; flex-direction: row; justify-content: space-between; flex-wrap: wrap;} 
  .header__left {flex-direction: row; margin:0; align-items: center; width: 100%;justify-content: space-between;}
  .header__lenta, .header__slogan2, .header__slogan1 { display: none; }
  .header__for_logo { margin: 0; position: relative; top: 0; left: 0;}
  .header__logo, .footer__logo {max-width:110px;width: 100%;}
  .header__slogan1 {font-size: 13px; margin: 0;}
  .header__time {font-size: 12px; order: 2; margin: 0 0 15px 0;}
  .header__phone {font-size: 19px;margin: 0 0 6px 0;order: 1;text-decoration-line: underline;color: #141414;}
  .header__call_me {font-size: 11px; padding: 6px 12px; position: relative; top: 0; right: 0; width: auto;}
  .header__right {align-items: center; padding: 0; width: auto; flex: 0 0 auto; margin-left: auto;}

    
  .b1_bg, .b1__fly3, .b1__fly1, .b1__fly2, .b1__fly4 { display: none;}
  .b1__wrap {display: flex; flex-direction: row; align-items: flex-start;}
  .b1__left {width: 50%; padding: 20px 0 0 0;}
  .b1__for_photo.nomobile {display: block !important; width: 50%; position: relative;}
  .b1__for_photo .b1__img {width: 100%; height: auto;left: 0;}
  .b1__suptitle {font-size: 14px;}
  .b1__title {font-size: 20px; margin: 0 0 15px 0; text-align: left;}
  .b1__call_to_test {font-size: 11px; margin: 0 0 12px 0; padding: 0; text-align: left;}
  .b1__arrow {display: none;}
  .b1_for_button { margin: 0 0 15px 0;}
  .b1__button {font-size: 16px; padding: 10px 15px; line-height: 20px; filter: blur(0px);}
  .b1__text {font-size: 10px; width: 180px;}
  .b1__text span {font-weight: 600; text-transform: uppercase; padding: 5px 0 0; display: inline-block;}
  .b1__bottom_for_img {max-width: 50px;}
  .b1__bottom_img {width: 100px; height: auto;}

  .quiz {margin: 0 0 0 0;overflow: hidden;}
  .quiz__wrap {box-shadow: none; padding: 0; }
  #popup-quiz .quiz__wrap {
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
  }
  #popup-quiz .quiz__flex {
    height: auto;
    min-height: auto;
    overflow: visible;
  }
  #popup-quiz .quiz__main {
    padding: 15px 10px;
    overflow: visible;
  }
  #popup-quiz .quiz__top {
    overflow: visible;
  }
  #popup-quiz .quiz__answers {
    margin-bottom: 15px;
    display: flex !important;
    flex-direction: column;
    overflow: visible;
    visibility: visible !important;
    opacity: 1 !important;
  }
  #popup-quiz .quiz__answer {
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
  }
  .quiz__flex {border:none}
  .quiz__for_progressbar, .quiz__blok_bg, .quiz__enter {display: none;}
  .quiz__main { margin: 0; padding: 10px 0 0 0; width: 100%;}
  .quiz__question {display: flex; align-items: flex-end; margin: 0 0 20px 0;}
  .quiz__question {font-size: 15px;}
  .quiz__answer p {font-size: 15px;}
  .quiz__answer {width: 100%; margin: 0 0 10px 0; height: 45px;}
  .quiz__answer:nth-child(2n) {margin: 0 0 10px 0}
  .answer__point { margin: 0 10px 0 10px; width: 18px; height: 18px;}
  .answer__point::after {width: 12px;height: 12px;}
  .present__img {position: absolute;width: 180px;height: 101px;left: -49px;align-self: flex-end;bottom: -6px;} 
  .quiz__mobile_present_flex { height: 115px;}
  .quiz__mobile_present {margin: 30px 0 0 0;position: relative;z-index: 2;height: 121px;}
  .present__text {font-size: 10px;padding: 32px 5px 20px 108px;}
  #input_name {width: 100%;    font-size: 15px; margin: 0 0 20px 0;}
  .quiz__select ul li { padding: 3px 0;}
  .select_element,.quiz__form_top>p, .quiz__select {font-size: 15px;}
  .quiz__select ul { width: 195px;top: 20px;left: -20px;;padding: 5px 20px;}
  .quiz__label {font-size: 15px;}
  .quiz__wrap {position: relative; z-index: 10;}
  .quiz__panel {    justify-content: space-between; margin: 0 0 0 0;}
  .quiz__go {margin: 0 0 0 0;}
  .quiz__back span {border-top: 1px solid #2E4184;border-left: 1px solid #2E4184; opacity: 1;    width: 6px;height: 6px;left: 26px;top: 16px;}
  .quiz__back { opacity: 1; color: #2E4184; font-size: 15px; padding: 10px 25px 10px 42px; border-radius: 5px; border: 2px solid #2E4184; text-decoration: none; font-weight: normal; margin: 0;}
  .quiz__go {padding: 12px 44px 12px 27px; font-size: 15px; font-weight: normal; }
  .quiz__go span {width: 6px;height: 6px;left: 76px;top: 16px; border-top: 1px solid #FFFFFF; border-left: 1px solid #FFFFFF;}
  .quiz__number {font-size: 15px;line-height: 130%;text-align: center;letter-spacing: 0.01em;color: #2E4184;}
  .quiz__input {width: 100%;font-size: 15px;height: 43px;padding: 0 16px;line-height: 43px;}
  .quiz__form_top{flex-wrap: wrap; justify-content: space-between;}
  .quiz__form_top>p {margin: 0;}
  .quiz__select {margin: 0 20px 0 0;}
  .quiz__select span { top: 4px;}
  .span_active span {top: 8px;}

  .quiz__thanks {border: none;}
  .thanks_img {width: 493px;height: auto;top: 119px;left: calc(50% - 50vw);position: relative;left: -96px;}
  .thanks_title {font-size: 16px;text-align: left;}
  .thanks_for_wrap {width: 100vw;padding: 5px 0;border-radius: 0;}
  .thanks_wrap {border: none;border-top: 1px dashed #FFFFFF;border-bottom: 1px dashed #FFFFFF;padding: 15px 0px;}
  .thanks_wrap_text {font-size: 15px;text-align: left;max-width: 280px;margin: 0 auto;}
  .thanks_wrap_phone {text-align: left;margin: 13px auto 13px;max-width: 280px;font-weight: 400;}
  .thanks_left p{font-size: 19px;}
  p.thanks_thin {font-size: 15px;}
  .thanks_right{
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 358px;
    }

  .thanks_link {font-size: 15px; width: 240px; display: block;    margin: 0 auto; padding: 13px 0; text-align: center;}
  .thanks_flex {width: 100%;max-width: 280px;margin: 0 auto;overflow: visible;}
  .thanks_left p:nth-child(2){
    margin: 0 0 126px 0;
    max-width: 227px;
    font-weight: 500;
  }
  .mobile_thanks {height: auto;padding: 0 0 102px;}
  .footer__for_logo {margin: 0 0 25px 0;}
  .footer__top_flex {font-size: 15px; flex-direction: column;}
  .footer__contacts a {font-size: 19px;}
  .footer__top_left {margin: 0 0 0 0; order: 1; width: 100%;}
  .footer__top_right {width: 100%; margin: 0 0 20px 0;} 
  .footer__bot_polocy {margin: 0 40px 0 0;}
  .footer__bot_p {font-size: 10px;}
  .footer__bot_polocy{font-size: 17px;}
  .footer__call_me {font-size: 17px;padding: 12px 30px; width: 280px; display: block;}
  .footer__bot_flex {flex-direction: column;}
  .footer__top_right p {font-size: 15px; margin: 0 0 15px 0;}
  .footer__top_left p {margin: 0 0 15px;}
  .footer__bot_polocy {font-size: 15px; margin: 0 0 20px 0;}
  .footer__wrap {border-radius: 0;padding: 40px 0 40px 0;}
  .footer {padding: 0;overflow: hidden;}
  
  .person__img {width: 204px; height: 305px;}
  .person__name {font-size: 12px;margin: 0 0 4px 0;}
  .person__post {font-size: 11px;}
  .person__for_name {padding: 10px 19px 8px 20px;bottom: 36px;right: 120px;}
  .person_bg img {width:150%;height: auto;transform: translate(-16px, -0px);}

  .modal {width: 100vw;position: fixed;top: 0;left: 0px;margin: 0;border-radius: 10px;max-width: 320px;margin: 0 auto;right: 0;}
  .modal__left {display: none;}
  .modal__title {font-size: 15px;text-align: left;letter-spacing: 0;}
  .modal__text {font-size: 15px;margin: 0 0 20px 0;padding: 0;text-align: left;max-width: 243px;}
  .modal__input {height: 43px;font-size: 15px;margin: 0 0 10px 0;line-height: 43px;}
  .modal__submit {font-size: 15px;}
  .modal__form {padding: 50px 15px 30px 15px;}
  .modal__link {font-size: 24px;}
  .modal__form {text-align: center;} 
  

  .nomobile {display: none;}
  .mobile680 {display: block;}
  .header__slogan1.mobile980.mobile680 {
    display: block;
    position: relative;
    top: 0;
    left: 0;
    text-align: center;
    order: 3;
    text-wrap: nowrap;
    margin: 0 auto;
  }

  .b1__bottom {
    flex-wrap: wrap;
    padding: 25px 0 0;
}

section.b1 {
    overflow: hidden;
}
.person__for_img img {
  margin: 0 -34px 0 0;
}
.ths .modal__title {
  text-align: center;
}

.ths p.modal__text {
  text-align: center;
  margin: 0 auto 10px !important;
}

.ths .modal__link {
  margin: 0 auto 13px;
  display: table;
  font-weight: 400;
}
.quiz__question br {
  display: none;
}


.rm_m .main {
  width: 100%;
}

.rm_m  p.thanks_title {
  max-width: 280px;
  width: 100%;
}
}

@media screen and (min-width: 549px) and (max-width: 680px) { 
  .header__logo, .footer__logo {width:130px;}
  .header__slogan1 {font-size: 15px;}
  .b1__suptitle {font-size: 16px;}
  .b1__title { width: 100%;}
  .present__text {font-size: 13px;}
  .person__for_name {right: 120px;}
  .modal__form {padding: 50px 75px 50px 50px;}
  .modal__title {font-size: 20px;}
}

@media screen and (max-width: 980px) and (min-width: 681px) { .main { max-width: 680px; } 
  .header_flex {align-items: center;} 
  .header__left {flex-direction: column;}
  .header__lenta, .header__slogan2, .header__slogan1 { display: none; }
  .header__for_logo { margin: 0 0 10px 0;}
  .header__logo, .footer__logo {width:150px;}
  .header__slogan1 {font-size: 16px; margin: 0;}
  .header__time {font-size: 14px;}
  .header__phone { font-size: 21px; margin: 0 0 10px 0;}
  .header__call_me {font-size: 17px; padding: 5px 20px 7px 20px;}
    
  .b1__left {width: 100%; padding: 20px 0 0 0;}
  .b1_bg {display: none;}
  .b1__suptitle {font-size: 19px;}
  .b1__title {font-size: 26px; margin: 0 0 20px 0; }
  .b1__call_to_test { font-size: 16px; margin: 0 0 18px 0;}
  .b1__arrow {position: absolute;top: 10px;left: 280px; width: 100px;}
  .b1_for_button { margin: 0 0 30px 0;}
  .b1__button { font-size: 20px;padding: 10px 43px}
  .b1__text { font-size: 16px; width: 50%;}
  .b1__bottom_for_img {left: -150px;}
  .b1__bottom_img {width: 240px;height: auto;}
  .b1__fly {display: none;}

  .quiz {margin: 0;}
  .quiz__wrap {box-shadow: none; padding: 0; height: 370px;  }
  .quiz__flex {border:none}
  .quiz__for_progressbar, .quiz__blok_bg {display: none;}
  .quiz__main { margin: 0; padding: 10px 0 0 0; width: 100%;}
  .quiz__question {height: 90px; display: flex; align-items: flex-end;}
  .quiz__question {font-size: 22px;}
  .quiz__answer p {font-size: 15px;}
  .quiz__answer {width: 49%;margin: 0 2% 10px 0;height: 61px;}
  .answer__point {margin: 0 14px 0 14px;}
  .present__img {position: relative; width: 321px; height: 180px; align-self: flex-end;} 
  .quiz__mobile_present_flex { height: 200px;}
  .quiz__mobile_present {margin: 30px 0 0 0; position: relative; z-index: 2;}
  .present__text {font-size: 18px;}
  #input_name {width: 220px;    font-size: 17px}
  .quiz__select ul li { padding: 3px 0;}
  .select_element,.quiz__form_top>p, .quiz__select {font-size: 17px;}
  .quiz__select ul { width: 215px;top: 20px;left: -20px;;padding: 5px 20px;}
  .quiz__label {font-size: 16px;}
  .quiz__thanks {border: none}
  .quiz__wrap {position: relative; z-index: 10;}
  .thanks_img {width: 283px;height: auto;top: -20px;left: -10px;}

  .footer__top_flex {font-size: 17px;}
  .footer__contacts a {font-size: 19px;}
  .footer__top_left {margin: 0 40px 0 0;}
  .footer__bot_polocy {margin: 0 40px 0 0;}
  .footer__bot_p {font-size: 10px;}
  .footer__bot_polocy{font-size: 17px;}
  .footer__call_me {font-size: 17px;padding: 12px 30px;}
  
  .modal {width: 100vw;position: fixed;top: 0;left: 0px;margin: 0; border-radius: 0 0 10px 10px;}
  .modal__left {display: none;}
  .modal__title {font-size: 23px;}
  .modal__link {font-size: 28px;}
  .modal__input {width: 300px;}

  .nomobile {display: none;}
  .mobile980 {display: block;} 
}

@media screen and (min-width: 981px) and (max-width: 1290px) { .main { max-width: 980px; } 
  .b1__img {width: 400px;height: auto;left: 0px;}
  .b1__fly1 {right: 20px;}
  .b1__fly4 {left: -50px;top: 470px;}
  .b1__fly2 {left: -70px;top: 110px;}
  .b1__left {width: 580px;}
  .b1__suptitle {font-size: 21px;}
  .b1__title {font-size: 30px; margin: 0 0 20px 0; }
  .b1__call_to_test { font-size: 17px; margin: 0 0 18px 0;}
  .b1__arrow {position: absolute;top: 10px;left: 300px;width: 100px;}
  .b1_for_button { margin: 0 0 30px 0;}
  .b1__button { font-size: 22px; padding: 14px 35px;}
  .b1__text { font-size: 17px;}
  .b1__bottom_for_img {left: -30px;}
  .b1__bottom_img {width: 240px;height: auto;}
  .b1_bg {left: auto;}
  .b1__info_person {top: 460px;left: -10px;}

  .quiz {margin: 0 0 70px 0;}
  .quiz__present {height: 498px; width: 234px;}
  .present__text {font-size: 17px;padding: 33px 25px 0 25px;}
  .quiz__wrap {height: 520px;}
  .quiz__main { width: 663px;;margin: 0 0 25px 30px;padding: 30px 0 0 0;}
  .quiz__for_progressbar {margin: 0 0 35px 0;}
  .quiz__question {font-size: 22px;}
  .quiz__answer {width: 49%;margin: 0 2% 10px 0;height: 61px;}
  .quiz__answer:nth-child(2n) {margin: 0 0 10px 0;}
  .quiz__answer p {font-size: 16px;}
  .answer__point {margin: 0 14px 0 14px;}
  .quiz__blok_bg {width: 924px; left: calc(50% - 924px / 2 );}
  #input_name {width: 220px;    font-size: 17px}
  .quiz__select ul li { padding: 3px 0;}
  .select_element {font-size: 17px;}
  .quiz__select ul { width: 215px;top: 20px;left: -12px;padding: 5px 20px;}
  .quiz__thanks { padding: 35px 0 0 0;}
  .thanks_title {font-size: 23px; margin: 0 0 25px 0;}
  .thanks_wrap_text { font-size: 19px;}
  .thanks_wrap_phone {font-size: 25px;margin: 5px 0;}
  .thanks_left p {font-size: 19px;}
  .thanks_left {width: 340px;}
  .thanks_img {width: 423px;height: auto;left: -55px;}
}