.quiz .modal-dialog_custom .modal-dialog__inner {
  position: relative;
  left: inherit;
  top: inherit;
  z-index: auto;
  margin-right: auto;
  margin-left: auto;
  padding: 0;
  width: 100%;
  max-width: 450px;
  background: #fff;
  opacity: inherit;
  transform: inherit;
  transition: none;
  pointer-events: auto;
}

.quiz * {
  box-sizing: border-box;
}

.quiz .award {
  position: absolute;
  font-size: 16px;
  color: #888;
}

.quiz .modal-dialog__content {
  height: 370px;
}

.quiz .rd-mailform {
  margin-top: 35px;
}

.quaises {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.quaises > div,
.quaises > form > div {
  display: none;
}

.quaises sup {
  line-height: 1;
}

.quaises h2 {
  text-align: left;
}

.quaises .left-block {
  width: 50%;
}

.quaises label input {
  display: none;
}

.quaises .btn-radio label {
  border: 1px solid #f3fbff;
  border-radius: 8px;
  padding: 100px 10px 20px 10px;
  width: 100%;
  box-shadow: 0 4px 15px rgba(50, 165, 246, 0.25);
  font-size: 13px;
  text-align: center;
  color: #546aaf;
  background: #f3fbff;
  background-position: center 30px;
  background-size: 50px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.quaises .radio label {
  display: block;
  border-radius: 8px;
  padding: 15px 20px 15px 15px;
  background: #e6f7ff;
  cursor: pointer;
}

.quaises .tab-4 .radio label {
  min-height: 130px;
}

.quaises .btn-radio label strong,
.quaises .radio label strong {
  display: block;
  font-size: 15px;
  text-align: center;
  color: #0f2878;
}

.quaises .radio label strong {
  line-height: 24px;
  text-align: left;
}

.quaises .radio label span {
  position: relative;
  left: 15px;
  display: inline-block;
  margin-right: 0;
  padding-right: 10px;
  padding-left: 25px;
  font-size: 13px;
  color: #546aaf;
  user-select: none;
}

.quaises .center-block {
  margin: 0 auto;
  width: 60%;
  text-align: center;
}

.quaises .step {
  margin-top: 20px;
}
.quaises .step.active {
  display: block;
}

.quaises .step .bar {
  position: relative;
  display: flex;
  align-self: center;
  float: left;
  border: 1px solid #fff;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 40px;
  width: fit-content;
  color: #bcc3dd;
}

.quaises .step .bar::before {
  content: "";
  position: absolute;
  left: 0;
  display: block;
  width: 24px;
  height: 20px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg viewBox='0 0 34 29' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M15.125 2L2 14.5L15.125 27' stroke='%239D9C9C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M2 14.5H32' stroke='%239D9C9C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  cursor: pointer;
}

.quaises .step .bar:hover::before {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg viewBox='0 0 34 29' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M15.125 2L2 14.5L15.125 27' stroke='%23000000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M2 14.5H32' stroke='%23000000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
}

.quaises .step :where(.show-more, .next-step) {
  position: relative;
  display: flex;
  column-gap: 1rem;
  align-items: center;
  float: right;
  border: 1px solid var(--turkov-orange);
  border-radius: 5px;
  padding: 10px 0.75rem;
  width: fit-content;
  font-family: inherit;
  font-weight: 700;
  color: #fff;
  background-color: var(--turkov-orange);
  cursor: pointer;
}

.quaises .step :where(.show-more, .next-step)::after {
  content: "";
  display: flex;
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg viewBox='0 0 34 29' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M15.125 2L2 14.5L15.125 27' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M2 14.5H32' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
  background-size: cover;
  transform: scale(-1, 1);
}

.quaises .step :where(.show-more, .next-step)[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.quaises .step .progress {
  margin-bottom: 15px;
  background-color: #f2f2f2;
}

.quaises .step .progress-bar {
  background-color: var(--turkov-orange);
}

.quaises-warning {
  display: flex;
  align-items: center;
  border-radius: 30px;
  padding: 10px 20px;
}

.quaises-warning img {
  margin-right: 5px;
  width: 20px;
  height: 20px;
}

.quiz h1 {
  font-size: 40px;
}

.quiz .modal-dialog_custom,
.quiz .modal-dialog_custom .modal-dialog__inner {
  max-width: 100%;
}

.quiz .modal-dialog_custom .modal-dialog__inner {
  position: relative;
  max-width: 100%;
}

.quiz .semi-h2 {
  padding-bottom: 20px;
  font-size: 24px;
  line-height: 1.3;
}

.quiz .full-block :where(.show-more, .next-step) {
  text-align: right;
}

.quiz .ln-radio label {
  display: block;
  align-items: center;
  border: solid 1px var(--color-bg-2, rgba(217, 216, 230, 0.55));
  border-radius: 5px;
  padding: 15px 20px;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}

.quiz .ln-radio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.quiz .ln-radio label span {
  position: relative;
  display: flex;
  column-gap: 10px;
  align-items: center;
}

.quiz .ln-radio label input {
  display: none;
}

.quiz .ln-radio label span::before {
  content: "";
  border: 1px solid var(--turkov-orange);
  border-radius: 50%;
  width: 0.9rem;
  height: 0.9rem;
  background-color: #fff;
}

.quiz .ln-radio label input[type="checkbox"]:checked + span::before,
.quiz .ln-radio label input[type="radio"]:checked + span::before {
  border: 0;
  background: url("data:image/svg+xml;charset=UTF-8,%3csvg width='21' height='21' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M16.6667 9.99987C16.6667 11.768 15.9644 13.4637 14.7141 14.7139C13.4639 15.9642 11.7682 16.6665 10.0001 16.6665C8.23197 16.6665 6.53628 15.9642 5.28604 14.7139C4.03579 13.4637 3.33341 11.768 3.33341 9.99987C3.33341 8.23176 4.03579 6.53607 5.28604 5.28583C6.53628 4.03559 8.23197 3.33321 10.0001 3.33321C10.6334 3.33321 11.2501 3.42487 11.8334 3.59154L13.1417 2.28321C12.1453 1.87285 11.0777 1.66328 10.0001 1.66654C8.90573 1.66654 7.8221 1.88209 6.81105 2.30088C5.80001 2.71967 4.88135 3.3335 4.10752 4.10732C2.54472 5.67012 1.66675 7.78974 1.66675 9.99987C1.66675 12.21 2.54472 14.3296 4.10752 15.8924C4.88135 16.6663 5.80001 17.2801 6.81105 17.6989C7.8221 18.1177 8.90573 18.3332 10.0001 18.3332C12.2102 18.3332 14.3298 17.4552 15.8926 15.8924C17.4554 14.3296 18.3334 12.21 18.3334 9.99987H16.6667ZM6.59175 8.39987L5.41675 9.58321L9.16675 13.3332L17.5001 4.99987L16.3251 3.81654L9.16675 10.9749L6.59175 8.39987Z' fill='%23000000'/%3e%3c/svg%3e");
  background-size: 108%;
}
.quiz .tab1 .row {
  height: 60vh;
}

.quiz .tab1 .left {
  background-size: cover;
}

.quiz .tab1 .right {
  position: relative;
}

.quiz .tab1 .right > div {
  position: absolute;
  left: 0;
  padding: 0 1rem;
  width: 100%;
}

.quiz .tab1 .right > div p {
  margin-left: 1rem;
  line-height: 34px;
}

.quiz .tab1 .right > div p strong {
  line-height: 48px;
}

.quaises-in-page .modal-dialog_custom button.close {
  display: none;
}

@media (max-width: 767px) {
  .quiz .tab1 .row {
    height: auto;
  }

  .quiz .tab1 .left {
    min-height: 330px;
    background-size: cover;
  }

  .quiz .tab1 .right > div {
    position: relative;
    top: 0;
    padding: 1rem 0;
    transform: none;
  }
}

.quiz .button.button-primary {
  border-radius: 5px;
}

.quiz .awards {
  display: flex;
  display: -webkit-flex;
  flex-direction: row;
  align-items: stretch;
  margin: 1rem 0;
  width: 100%;
}

.quiz .awards .award-block {
  display: flex;
  padding-right: 10px;
  width: 50%;
}

.quiz .awards .award-block > span {
  position: relative;
  display: block;
  width: 270px;
  height: 70px;
  color: #fff;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.quiz .awards .award-block > span > span {
  position: absolute;
  left: 50%;
  top: 53%;
  display: block;
  width: fit-content;
  font-size: 16px;
  text-align: center;
  transform: translate(-50%, -50%);
}

.quiz .progress {
  display: flex;
  overflow: hidden;
  border-radius: 0.25rem;
  height: 1rem;
  font-size: 15px;
  background-color: #e9ecef;
}

.quiz .progress-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  white-space: nowrap;
  text-align: center;
  color: #fff;
  background-color: #0d6efd;
  transition: width 0.6s ease;
}

.quiz .message {
  margin-bottom: 0.8rem;
  border: 1px solid var(--turkov-orange);
  border-radius: 3px;
  padding: 0.2rem 0.75rem;
  width: fit-content;
  font-size: 14px;
  background-color: rgba(234, 103, 80, 0.1);
}

.quiz .form-block.in-slide {
  flex-direction: column;
  padding-top: 0;
}

.quaises strong {
  font-size: inherit;
}

.quiz .block-inner img {
  width: 100%;
}

.quiz .block-inner .right img {
  float: right;
  width: auto;
}

.quiz .form-buns ul {
  margin: 0;
}

.quiz .form-buns li {
  margin: 1rem 0;
}

.quiz .tab1 .block-aside {
  display: flex;
  flex-direction: column;
  align-content: flex-start;
  justify-content: center;
  padding-left: 1.5rem;
}

.quiz .tab1 .block-aside p {
  font-size: 18px;
}

.quiz .tab-finish h4 {
  margin-top: 0;
  text-align: center;
}

.quiz .start .btn {
  width: calc(100% - 8rem);
}

@media (max-width: 992px) {
  .quiz .modal-dialog_custom,
  .quiz .modal-dialog_custom .modal-dialog__inner {
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  .quiz .ln-radio {
    justify-content: center;
  }

  .quiz .modal-dialog_custom .modal-dialog__inner {
    padding: 0;
    max-width: 100%;
  }

  .quiz .slide-block-50 {
    padding-top: 0;
  }

  .quiz .block-inner img {
    margin-bottom: 1rem;
  }

  .quiz .tab1 .block-aside {
    padding-left: 0;
  }

  .quiz .full-block {
    padding: 0;
    width: 100%;
  }

  .quiz .semi-h2 {
    padding-bottom: 20px;
    font-size: 20px;
    line-height: 1.3;
  }

  .quiz .ln-radio label.img {
    margin-right: 0 !important;
  }

  .quiz .ln-radio label.img:first-child {
    margin-right: 10px !important;
  }

  .quiz .ln-radio label.img {
    width: calc(50% - 1.36rem);
  }

  .message {
    margin-top: -10px;
  }

  .quiz .tab-finish {
    padding: 0 30px;
  }

  .quiz .tab-finish .form-block.in-slide {
    padding-right: 0 !important;
    padding-left: 0 !important;
    width: 100% !important;
  }

  .quiz .tab-finish img {
    display: none;
  }
}

.quiz .quiz-form-subheading {
  text-align: center;
}

.quiz .rd-mailform .form-block .form-wrap:first-child {
  height: 0;
}

.quiz .rd-mailform .form-block .form-wrap {
  margin-bottom: 0;
}

.quiz .form-wrap_checkbox {
  margin-top: 10px;
}

.quiz .hid {
  display: none;
}

.quiz input[type="range"] {
  width: 100%;
}

.quiz input[type="text"] {
  display: block;
  margin-bottom: 10px;
  border-color: #888;
  font-size: 18px;
}

.quiz .inpmess {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 14px;
  color: #888;
}

.quiz input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  height: 20px;
  background: transparent;
  cursor: pointer;
}

.quiz input[type="range"]:focus {
  outline: none;
  border: none;
}

.quiz input[type="range"]:active {
  outline: none;
  border: none;
}

.quiz input[type="range"]:hover {
  outline: none;
  border: none;
}

.quiz input[type="range"]::-webkit-slider-runnable-track {
  position: relative;
  border-radius: 6px;
  padding-top: 10px;
  height: 14px;
  background-color: var(--turkov-gray);
}

.quiz input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  margin-top: -12px;
  border-radius: 99px;
  width: 20px;
  height: 20px;
  background-color: var(--turkov-orange);
}

.quiz input[type="range"]::-moz-range-track {
  border-radius: 6px;
  height: 14px;
  background-color: var(--turkov-gray);
}

.quiz input[type="range"]::-moz-range-thumb {
  margin-top: -12px;
  border: none;
  border-radius: 0;
  border-radius: 99px;
  width: 20px;
  height: 20px;
  background-color: var(--turkov-orange);
}

.quiz .range-wrap {
  width: 60%;
}

.quiz .tab1 input[type="text"] {
  margin-bottom: 20px;
  border: solid 1px #ddd;
  border-radius: 0.25rem;
  padding: 6px 8px;
  width: 150px;
  color: #555;
}

.quiz .tab1 input[type="text"]:focus {
  border: solid 1px var(--turkov-orange);
}

@media (max-width: 680px) {
  .quiz .range-wrap {
    width: 100%;
  }
  .quiz .tab1 input[type="text"] {
    width: 100%;
  }
  .quiz input[type="range"] {
    margin: 15px 0 10px 0;
  }
  .quiz input[type="range"]::-webkit-slider-runnable-track {
    height: 15px;
  }
  .quiz input[type="range"]::-webkit-slider-thumb {
    margin-top: -11px;
    width: 24px;
    height: 24px;
  }
  .quiz input[type="range"]::-moz-range-track {
    height: 15px;
  }
  .quiz input[type="range"]::-moz-range-thumb {
    margin-top: -11px;
    width: 24px;
    height: 24px;
  }

  .quiz .modal-dialog__content {
    height: 470px;
  }
}

.section-quiz .container {
  padding: 20px 20px;
  width: unset;
}

@media (min-width: 1024px) {
  .quiz .ln-radio {
    gap: 20px;
  }

  .section-quiz .container {
    padding: 35px 60px 20px;
  }

  .quaises .step :where(.show-more, .next-step) {
    padding: 8px 14px;
    font-size: 18px;
  }

  .quaises .step .bar {
    font-size: 16px;
  }

  .quiz .semi-h2 {
    font-size: 28px;
  }

  .quiz .ln-radio label {
    padding: 20px 25px;
    font-size: 18px;
  }

  .quaises .step :where(.show-more, .next-step:not(:disabled)):hover {
    background-color: #f3605b;
  }

  .quiz .ln-radio label:hover {
    background-color: rgba(234, 103, 80, 0.1);
  }

  .quiz .modal-dialog__content {
    height: 400px;
  }

  .quiz .tab-finish h4 {
    margin: 0 0 10px;
    padding: 0;
    font-size: 20px;
  }

  .quiz .tab-finish .quiz-form-subheading {
    margin: 0 0 5px;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
  }

  .quiz input[name="user_name"] {
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .quiz .form-block.in-slide .btn.button-primary {
    margin-top: 8px;
    margin-bottom: 10px;
    padding: 5px;
    width: 100%;
    font-size: 14px;
  }
}

@media (max-width: 680px) {
  .quaises .step :where(.show-more, .next-step) {
    padding: 8px 14px;
    font-size: 14px;
  }

  .quaises .step .bar {
    font-size: 14px;
  }

  .quiz .ln-radio {
    grid-template-columns: 1fr;
  }

  .quiz .award {
    font-size: 14px;
  }

  .quiz .rd-mailform {
    margin-top: 60px;
  }
}

@media (max-width: 580px) {
  .quiz .modal-dialog__content {
    height: 560px;
  }
  .quiz .tab-finish h4 {
    margin: 0 0 10px !important;
  }

  .quiz .form-block.in-slide > :not(:last-child) {
    margin-bottom: 0 !important;
  }

  .quiz .form-block.in-slide {
    padding: 0 !important;
  }

  .quiz .form-block.in-slide > * {
    width: 100% !important;
  }

  .quiz .form-block.in-slide .btn.button-primary {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
    width: 100%;
    font-size: 16px;
  }
}

.section-quiz {
  margin: 0;
  margin-bottom: -30px;
  padding: 0;
}

.quiz .tab1 label:has(input[type="checkbox"]:checked) {
  border: solid 1px var(--turkov-orange);
}

.quiz input[name="user_name"],
.quiz input[name="user_phone"] {
  margin: 0;
  border: 1px solid brown;
  border-radius: 8px;
  padding: 10px;
  padding-left: 60px;
  width: 100%;
  font-size: 16px;
}

.quiz input[name="user_name"] {
  margin-top: 15px;
  margin-bottom: 15px;
}

.quiz .tab-finish h4 {
  margin: 0 0 20px;
  padding: 0;
  font-size: 24px;
  line-height: 1.3;
}

.quiz .tab-finish .quiz-form-subheading {
  margin: 0 0 5px;
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
}

.quiz .form-block.in-slide {
  display: block;
  padding: 0;
}

.quiz .tab-finish {
  margin: auto;
  max-width: 500px;
}

.quiz .form-block.in-slide > * {
  margin: 0;
}

.quiz .form-block.in-slide .btn.button-primary {
  margin-top: 15px;
  margin-bottom: 15px;
  width: 100%;
  font-size: 16px;
}

.quiz .form-block.in-slide .btn.button-primary:hover {
  opacity: 0.9;
}

.quiz .container:not(.first-block) .form-block.in-slide {
  width: 100%;
}
