/* .fancybox-container {
  z-index: 1080
} */

.quiz {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-color: #fff;
  max-width: 80.625em;
  width: 100%;
  min-height: 460px;
  margin: 30px auto;
  -webkit-box-shadow: 0 22px 44px rgba(0, 0, 0, 0.0897);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.0897);
}

@media screen and (max-width: 992px) {
  .quiz {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

@media screen and (max-width: 576px) {
  .quiz {
    -webkit-box-shadow: none;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
  }
}

.quiz__descr {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 40%;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

@media screen and (max-width: 992px) {
  .quiz__descr {
    width: 100%;
    padding: 40px 0;
  }
}

.quiz__descr:after {
  position: absolute;
  z-index: 0;
  content: "";
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.59);
}

.quiz__descr-logo {
  position: relative;
  z-index: 1;
  width: 100px;
  height: 46px;
  margin-bottom: 15px;
}

.quiz__descr-title {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
  text-align: center;
}

@media screen and (max-width: 576px) {
  .quiz__descr-title {
    font-size: 36px;
  }
}

@media screen and (max-width: 400px) {
  .quiz__descr-title {
    font-size: 24px;
  }
}

.quiz__descr-subtitle {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 30px;
  line-height: 1.4666667;
  text-align: center;
}

@media screen and (max-width: 576px) {
  .quiz__descr-subtitle {
    font-size: 24px;
  }
}

@media screen and (max-width: 400px) {
  .quiz__descr-subtitle {
    font-size: 18px;
  }
}

.quiz__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 60%;
}

@media screen and (max-width: 992px) {
  .quiz__container {
    width: 100%;
  }
}

.quiz__scrollbar {
  position: absolute;
  top: 50px;
  left: 114px !important;
  right: 75px;
  width: auto !important;
  background: rgba(231, 231, 231, 0.4);
}

@media screen and (max-width: 1400px) {
  .quiz__scrollbar {
    left: 79px !important;
    right: 40px;
  }
}

@media screen and (max-width: 400px) {
  .quiz__scrollbar {
    left: 59px !important;
    right: 20px;
  }
}

.quiz__scrollbar:before {
  position: absolute;
  content: attr(data-slide);
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  left: -35px;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.32);
}

.quiz__scrollbar .swiper-scrollbar-drag {
  background: #f11919;
  opacity: 1;
  -webkit-box-shadow: 0 2px 4px rgba(241, 25, 25, 0.3);
  box-shadow: 0 2px 4px rgba(241, 25, 25, 0.3);
}

.quiz__back,
.quiz__next,
.quiz__reset {
  cursor: pointer;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

.quiz__back--disabled,
.quiz__reset--disabled {
  opacity: 0;
  pointer-events: none;
}

.quiz__back:not(.quiz__back--disabled):not(.quiz__reset--disabled):hover img,
.quiz__reset:not(.quiz__back--disabled):not(.quiz__reset--disabled):hover img {
  opacity: 0.75;
}

.quiz__back:not(.quiz__back--disabled):not(.quiz__reset--disabled):hover span,
.quiz__reset:not(.quiz__back--disabled):not(.quiz__reset--disabled):hover span {
  color: rgba(0, 0, 0, 0.66);
}

.quiz__back img,
.quiz__reset img {
  opacity: 0.5;
  margin-right: 8px;
  -webkit-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

.quiz__back span,
.quiz__next span,
.quiz__reset span {
  line-height: 1;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.32);
  -webkit-transition: color 0.4s;
  -o-transition: color 0.4s;
  transition: color 0.4s;
}

.quiz__next span {
  color: rgba(0, 0, 0, 1);
}

.quiz__back {
  position: absolute;
  z-index: 2;
  bottom: 45px;
  left: 75px;
}

.quiz__next {
  position: absolute;
  z-index: 2;
  bottom: 45px;
  right: 115px;
  opacity: 0;
  pointer-events: none;
}

.quiz__next--inactive {
  opacity: 0.5;
}

.quiz__next--active {
  opacity: 1;
  pointer-events: auto;
}

@media screen and (max-width: 1400px) {
  .quiz__next {
    right: 80px;
    bottom: 30px;
  }
}

@media screen and (max-width: 400px) {
  .quiz__back {
    left: 30px;
  }

  .quiz__next {
    right: 65px;
    bottom: 20px;
  }
}

.quiz__reset {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: auto;
  margin: 25px auto 0;
}

.quiz__slide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 90px 75px 75px;
}

@media screen and (max-width: 1400px) {
  .quiz__slide {
    padding: 90px 40px 70px;
  }
}

@media screen and (max-width: 400px) {
  .quiz__slide {
    padding: 90px 20px 60px;
  }
}

.quiz__slide--centered {
  text-align: center;
  overflow: hidden;
}

.quiz__slide--centered .quiz__slide-title {
  padding-right: 0;
}

.quiz__slide--centered .quiz__slide-title p:first-child {
  line-height: 1;
  margin: 0 0 16px;
}

.quiz__slide--centered .quiz__slide-title p:last-child {
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  margin: 0 0 10px;
}

.quiz__slide-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
  padding-right: 100px;
}

.quiz__slide-title > small {
  font-weight: 400;
  font-size: 16px;
}

@media screen and (max-width: 1400px) {
  .quiz__slide-title {
    padding-right: 0;
  }
}

@media screen and (max-width: 576px) {
  .quiz__slide-title {
    font-size: 22px;
  }
}

@media screen and (max-width: 400px) {
  .quiz__slide-title {
    font-size: 18px;
  }
}

.quiz__slide-variants {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.quiz__slide-variants--3 > div,
.quiz__slide-variants--4 > div,
.quiz__slide-variants--5 > div {
  width: calc(50% - 8px);
}

.quiz__slide-variants--3 > div:last-child,
.quiz__slide-variants--5 > div:last-child {
  width: 100%;
}

.quiz__slide-variants--2 > div {
  width: 100%;
}

.quiz__slide-variant {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-color: rgba(216, 216, 216, 0.45);
  border-radius: 4px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
  min-height: 70px;
}

@media screen and (max-width: 992px) {
  .quiz__slide-variant {
    width: 100% !important;
  }
}

@media screen and (max-width: 576px) {
  .quiz__slide-variant {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
    min-height: 50px;
  }
}

.quiz__slide-variant--selected {
  background: #ffd929;
  -webkit-box-shadow: 0 6px 12px rgba(255, 217, 41, 0.75);
  box-shadow: 0 6px 12px rgba(255, 217, 41, 0.75);
}

.quiz__slide-variant:not(.quiz__slide-variant--selected):hover {
  background: rgba(255, 217, 41, 0.25);
  -webkit-box-shadow: 0 6px 12px rgba(255, 217, 41, 0.25);
  box-shadow: 0 6px 12px rgba(255, 217, 41, 0.25);
}

.quiz__slide-variant__letter {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 26px;
  color: rgba(0, 0, 0, 0.22);
  width: 60px;
  border-right: 1px solid rgba(151, 151, 151, 0.14);
}

@media screen and (max-width: 400px) {
  .quiz__slide-variant__letter {
    font-size: 20px;
    width: 40px;
  }
}

.quiz__slide-variant__message {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 20px 30px 20px 10px;
  font-size: 18px;
  width: calc(100% - 60px);
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

@media screen and (max-width: 400px) {
  .quiz__slide-variant__message {
    font-size: 16px;
    width: calc(100% - 40px);
    padding: 10px 30px 10px 10px;
  }
}

.quiz__form,
.quiz__form form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.quiz__form {
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.quiz__form form {
  -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;
  width: 100%;
}

@media screen and (max-width: 575px) {
  .quiz__form--result {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 0 auto;
  }
}

.quiz__form-promo,
.quiz__form-subtitle,
.quiz__form-title {
  width: 260px;
  margin: 0 auto 10px;
  font-size: 35px;
  line-height: 1;
  text-align: center;
}

.quiz__form-promo,
.quiz__form-subtitle {
  font-size: 14px;
}

.quiz__form-promo {
  margin: 15px auto 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.quiz__form-notice {
  width: 260px;
  margin: 0 auto 15px;
  padding: 0 10px;
  line-height: 1.5;
  font-size: 14px;
  text-align: center;
  color: rgba(0, 0, 0, 0.5);
}

.quiz__form-input {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 12px;
  width: 260px;
  height: 54px;
  background: #fff;
  border: 1px solid #dfdfdf;
  border-radius: 4px;
}

.quiz__form-input img {
  padding: 0 13px;
}

.quiz__form-button,
.quiz__form-input input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 0;
  font-size: 18px;
  line-height: 1;
}

.quiz__form-button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 260px;
  height: 54px;
  background-color: #ffd929;
  -webkit-appearance: none;
  border: 0 !important;
  outline: 0 !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
  -webkit-box-shadow: 0 6px 12px rgba(255, 217, 41, 0.25);
  box-shadow: 0 6px 12px rgba(255, 217, 41, 0.25);
  border-radius: 4px;
}

.quiz__form-button:hover {
  -webkit-box-shadow: 0 6px 12px rgba(255, 217, 41, 0.75);
  box-shadow: 0 6px 12px rgba(255, 217, 41, 0.75);
}

.quiz__form-fz152 {
  width: 260px;
  margin: 23px auto 0;
  line-height: 1.5;
  font-size: 12px;
  text-align: center;
  color: rgba(0, 0, 0, 0.5);
}

.quiz__form-fz152 a {
  color: rgba(0, 0, 0, 0.5);
  text-decoration: underline;
}

.quiz__form-fz152 a:hover {
  color: rgba(0, 0, 0, 0.75);
  text-decoration: none;
}

.quiz__temple {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 500px;
  height: 500px;
  position: absolute;
  z-index: -1;
  pointer-events: none;
  -webkit-transform-origin: center;
  -ms-transform-origin: center;
  transform-origin: center;
}

.quiz__temple--left {
  bottom: -250px;
  left: 0;
  -webkit-transform: rotate(-127deg) scale(1.5);
  -ms-transform: rotate(-127deg) scale(1.5);
  transform: rotate(-127deg) scale(1.5);
}

.quiz__temple--right {
  bottom: -250px;
  right: 0;
  -webkit-transform: rotate(127deg) scale(1.5);
  -ms-transform: rotate(127deg) scale(1.5);
  transform: rotate(127deg) scale(1.5);
}

.quiz__temple--top {
  top: -33%;
  left: 0;
  -webkit-transform: matrix(-1, 0, 0, 1, 0, 0);
  -ms-transform: matrix(-1, 0, 0, 1, 0, 0);
  transform: matrix(-1, 0, 0, 1, 0, 0);
}

.quiz__result {
  width: 1100px;
  max-width: 95%;
  padding: 0;
}

.quiz__result .fancybox-close-small:after {
  content: url("data:image/svg+xml; utf8, %3Csvg%20width%3D%2220%22%20height%3D%2218%22%20viewBox%3D%220%200%2020%2018%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M2%201.5L17.5%2016.5%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22square%22%2F%3E%0A%3Cpath%20d%3D%22M18%201.5L2.5%2016.5%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22square%22%2F%3E%0A%3C%2Fsvg%3E%0A");
}

.quiz__result-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media screen and (max-width: 991px) {
  .quiz__result-wrapper {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}

.quiz__result-form {
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 30%;
  padding: 30px 0;
  background: #fff;
  -webkit-box-shadow: 0 0 45px rgba(0, 0, 0, 0.09);
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.09);
}

@media screen and (max-width: 991px) {
  .quiz__result-form {
    width: 50%;
  }
}

@media screen and (max-width: 575px) {
  .quiz__result-form {
    width: 100%;
  }
}

.quiz__result-main {
  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: 35px 1% 90px;
  width: 30%;
}

@media screen and (max-width: 991px) {
  .quiz__result-main {
    width: 50%;
  }
}

@media screen and (max-width: 575px) {
  .quiz__result-main {
    width: 100%;
  }
}

.quiz__result-main__text,
.quiz__result-main__title {
  text-align: center;
  font-size: 14px;
  line-height: 1.42;
  padding: 0 20px;
}

.quiz__result-main__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 10px;
}

.quiz__result-main__picture {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  margin-bottom: 10px;
}

@media screen and (max-width: 575px) {
  .quiz__result-main__picture {
    height: 400px;
  }
}

.quiz__result-main__button {
  margin-top: auto;
}

.quiz__result-main__button .quiz__form-button {
  width: 200px;
  color: #fff;
  background-color: #f11919;
  -webkit-box-shadow: 0 6px 12px rgba(241, 25, 25, 0.5);
  box-shadow: 0 6px 12px rgba(241, 25, 25, 0.5);
}

.quiz__result-main__button .quiz__form-button:hover {
  color: #fff;
  -webkit-box-shadow: 0 6px 12px rgba(241, 25, 25, 0.75);
  box-shadow: 0 6px 12px rgba(241, 25, 25, 0.75);
}

.quiz__result-more {
  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: 35px 20px 40px;
  width: 45%;
}

@media screen and (max-width: 991px) {
  .quiz__result-more {
    width: 100%;
  }
}

.quiz__result-more__text {
  text-align: left;
  font-size: 14px;
  line-height: 1.42;
}

@media screen and (max-width: 991px) {
  .quiz__result-more__text {
    max-width: 480px;
  }
}

@media screen and (max-width: 575px) {
  .quiz__result-more__text {
    max-width: 100%;
  }
}

.quiz__result-more__products {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}

.quiz__result-more__products--1 .quiz__result-more__product {
  width: 100%;
  height: 100%;
}

.quiz__result-more__products--2 .quiz__result-more__product {
  width: 50%;
  height: 100%;
}

.quiz__result-more__products--3 .quiz__result-more__product,
.quiz__result-more__products--4 .quiz__result-more__product {
  width: 50%;
  height: 50%;
}

.quiz__result-more__products--5 .quiz__result-more__product,
.quiz__result-more__products--6 .quiz__result-more__product {
  width: 33%;
  height: 50%;
}

.quiz__result-more__product {
  position: relative;
  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;
  width: 33.3333%;
  padding-top: 50px;
}

.quiz__result-more__product-picture {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 85%;
  height: 130px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.quiz__result-more__product-title {
  color: #000;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  margin-top: 15px;
  text-align: center;
}

.quiz__result-more__product-title:hover {
  text-decoration: underline;
}

.quiz__result-more__product-title:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.quiz__result-more__product-descr {
  font-size: 12px;
  line-height: 14px;
  color: rgba(0, 0, 0, 0.5);
  margin-top: 10px;
  text-align: center;
  max-width: 180px;
}
