

#quiz-container {
  text-align: center;
}
#quiz-question {
  font-size: 24px;
  margin-bottom: 20px;
}
.qsm-results-page h3 a, .wpcf7-form input[type=submit].wpcf7-submit, .qmn_quiz_container .qmn_btn, .qmn_quiz_container .btn, #quiz-return, .quiz-option {
  font-size: 18px;
  margin: 10px auto;
  border: none;
  cursor: pointer;
  color: #fff;
  background-color: #46127C;
  border-radius: 5px !important;
  transition: .3s;
  text-transform: initial;
  font-weight: 400;
  padding: 12px 70px;
  box-shadow: 0 0 10px 0 rgb(0 0 0 / 23%);
  background-image: none;
  text-decoration: none;
}
.wpcf7-form input[type=submit].wpcf7-submit, .qmn_quiz_container .qmn_btn {
  background-color: #46127C !important;
}
.qmn_quiz_container.qsm-quiz-container-1 .qmn_btn, .qmn_quiz_container.qsm-quiz-container-1 .btn {
  background: #46127C !important;
}
.qsm-quiz-container .qsm-progress-bar .progressbar-text {
  color: #46127C;
}
.qsm-progress-bar {
  stroke: #46127C
}
#quiz-return {
  order: 20;
  display: none;
  margin-top: 50px;
}
#quiz-result-container .product .read-more {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  background-color: rgba(67, 67, 67, 0.8);
  border-radius: 18px;
  padding: 9px 24px;
  transition: .3s;
}
#quiz-result-container .product a {
  color: #ffffff;
}
#quiz-result-container .product .read-more:hover, #quiz-return:hover, .quiz-option:hover {
  background-color: #6b9c0a;
}
/* Добавьте стили для quiz-result-container и его прямых потомков */
#quiz-result-container {
  display: none;
  flex-flow: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px; /* Промежуток между элементами */
}
#quiz-result-container > * {
  flex: 1; /* Элементы будут равномерно распределены внутри ряда */
}
#quiz-result-container > div {
  position: relative;
  padding: 20px;
  border-radius: 20px;
  max-width: calc(33% - 10px);
  min-width: calc(25% - 10px);
  transition: .3s
}
#quiz-result-container > div:hover {
  box-shadow: 6px 5px 18px 0px rgb(0 0 0 / 21%);
}
#quiz-result-container #quiz-result-container_under-eighteen {
  max-width: 100%;
  font-size: x-large;
  font-weight: bold;
}
#quiz-result-container #quiz-result-container_under-eighteen:hover {
  box-shadow: none;
}
#quiz-result-container .product .product-info .title {
  margin-bottom: 15px;
  font-weight: bold
}
#quiz-result-container .product .product-info .title div {
  font-weight: 400;
  color: #a7801e;
}
#quiz-result-container .product .product-info p {
  font-size: smaller;
  min-height: 59px;
  line-height: 1.1
}
#quiz-result-container .product:before {
  box-sizing: border-box;
  content: '';
  position: absolute;
  top: 2px;
  left: 3px;
  width: 100%;
  height: 100%;
  border: 1px solid #c2b287;
  border-radius: 20px;
  z-index: -1;
}
#quiz-result-container .product:after {
  box-sizing: border-box;
  content: '';
  position: absolute;
  top: -3px;
  left: -1px;
  width: 100%;
  height: 100%;
  border: 1px solid #c2b287;
  border-radius: 20px;
  z-index: -1;
}
#quiz-first {
  margin-top: -60px;
}
#quiz-first h3 {
  text-align: center;
  padding-bottom: 30px
}
/*
*
*
*
начало теста
*
*
*
*/
.hide-div, .quiz_begin > div, .mlw_custom_start {
  display: none !important;
}
.qsm-pagination, #quiz-result-container > p, #quiz-result-container > div, #quiz-result-container > button {
  /*  display: none;*/
}
#quiz-result-input {
  width: -webkit-fill-available;
  /*  display: none;*/
}
.quiz-show.quiz-grid, .quiz-grid > p, #quiz-options-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}
.quiz-show.quiz-grid > p {
  width: calc(40% - 10px);
}
.wpcf7 .quiz-show {
  justify-content: space-evenly;
}
.wpcf7 select, .select2-container {
  max-width: 400px;
  min-width: 377px;
}
.wpcf7 select, .select2-container .select2-selection--single {
  height: 40px;
  border: 1px solid #cccccc30;
  box-shadow: 1px 1px 15px 1px rgb(0 0 0 / 15%);
  max-width: -webkit-fill-available;
  padding: 5px;
  background: #f3f3f3b5;
  border-radius: 10px;
}
#quiz-options-container label {
  font-size: larger;
  flex: 1; /* Элементы будут равномерно распределены внутри ряда */
  min-width: calc(25% - 10px);
  max-width: calc(25% - 10px);
}
#quiz-options-container label.way-of-life {
  font-size: larger;
  flex: 1; /* Элементы будут равномерно распределены внутри ряда */
  min-width: calc(25% - 10px);
  max-width: calc(33% - 10px);
  line-height: 1.2;
}
#quiz-options-container label.way-of-life:nth-of-type(1) {
  max-width: 310px;
}
#quiz-options-container label.way-of-life:nth-of-type(2) {
  max-width: 320px;
}
#quiz-options-container label.way-of-life:nth-of-type(3) {
  max-width: 320px;
}
#quiz-options-container input {
  margin-right: 10px;
  border: 2px solid rgba(196, 182, 144, 0.9) !important;
  background: none;
  border-radius: 50%;
}
.quiz-headers {
  margin-bottom: 30px;
  padding-bottom: 15px;
  box-shadow: 0px 15px 10px -15px rgba(0, 0, 0, 0.4);
  border-radius: 20px;
}
.quiz-headers p {
  text-align: center;
  margin-bottom: 10px;
  line-height: 1.1
}
.warehouseBox, #warehouseSource {
  line-height: 1;
  max-width: 350px;
  margin: auto;
  display: block;
  width: -webkit-fill-available;
}
#warehouseSource {
  padding: 20px 15px;
  font-size: large;
}
.warehouseBox {
  position: relative;
}
.warehouseBox label {
  position: absolute;
  left: 1.6ch;
  top: 0.9em;
  transition: 0.5s;
  font-size: medium;
  background: white;
  padding: 5px;
  border-radius: 5px;
}
.warehouseBox textarea {
  padding: 5px;
  margin: 1em;
  resize: none;
  outline: none;
}
.warehouseBox:hover label, .warehouseBox textarea:focus + label, .warehouseBox textarea:not(:placeholder-shown) + .warehouseBox label, .warehouseBox:focus-within label, .warehouseBox label.active-label {
  top: -0.8em;
  font-size: 0.6em;
  transition: 0.2s;
}
/*/////////*/
.qsm-quiz-container {
  padding: 10px 50px;
}
/*
.qsm-page .quiz_begin {
  display: flex;
  flex-direction: column;
}
*/
.quiz_section select, .quiz_section textarea, .quiz_section input[type="text"], .quiz_section input[type="email"], .quiz_section input[type="url"], .quiz_section input[type="number"] {
  margin: 10px auto;
  display: block;
}
.qsm-page .qsm_contact_div {
  margin: auto;
  width: -webkit-fill-available;
}
.qmn_radio_answers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
  align-content: center;
  justify-content: space-around;
}
.qsm-pagination .qsm-progress-bar, .qsm-quiz-form .qmn_error:after, #mlw_error_message, .quiz_section.question-type-6 .mlw_qmn_new_question, .qsm_questions_answers_section, body .quiz_section .qsm_contact_div .mlw_qmn_question {
  display: none;
}
.qmn_radio_answers .qmn_mc_answer_wrap {
  max-width: calc(33% - 10px);
  padding: 12px;
  border-radius: 5px;
  transition: 0.3s;
  cursor: pointer;
  width: -webkit-fill-available;
}
.qmn_radio_answers .qmn_mc_answer_wrap:hover {
  box-shadow: 7px 7px 20px 0px rgb(0 0 0 / 20%);
}
.quiz_section .qmn_radio_answers label, .quiz_section .qmn_check_answers label, .quiz_section .qmn_accept_answers label {
  padding: 10px 0;
  font-size: 18px !important;
}
/* 
 * Стили для отображения элементов списка и заголовков в секции викторины. 
 * Включает анимацию появления, настройку пользовательских цифровых маркеров и выравнивание элементов.
 */
.quiz_section .explanation, .quiz_section h5 {
  margin: 0;
  font-size: large;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-20px);
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s 0.5s, max-height 0.5s ease;
}
.quiz_section .explanation {
  font-size: medium;
  list-style: none;
  padding-left: 0;
  counter-reset: custom-counter;
}
.quiz_section .explanation.show, .quiz_section h5.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  max-height: 230px;
  transition-delay: 0s;
}
.quiz_section .explanation li {
  counter-increment: custom-counter;
  /*  margin-bottom: 5px;*/
  margin-left: 25px;
  padding-left: 25px;
  position: relative;
  font-style: italic;
}
.quiz_section .explanation li::before {
  content: counter(custom-counter) ")";
  font-size: 1.2em;
  /*  color: #ff6b10;*/
  font-weight: bold;
  position: absolute;
  left: 0;
}
.quiz_section h5 small {
  font-size: 75%;
  line-height: 1;
}
.correct-answer {
  background-color: #eaffea;
  border-left: 5px solid #4CAF50;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 128, 0, 0.5);
  transition: all 0.3s ease-in-out;
}
.qsm-quiz-container input[type=checkbox], .qsm-quiz-container input[type=radio] {
  margin-top: 15px;
}
h1.entry-title {
  text-align: center
}
.vitabiotics_box > div {
  background-color: #f2f2f252;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 12px 11px 26px 0px rgba(0, 0, 0, 0.5);
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
  margin: 25px 55px 55px 55px;
  border-radius: 26px 26px 26px 26px;
  padding: 30px 0;
}
@media (max-width: 960px) {
  #quiz-first h3 {
    padding-top: 30px
  }
  .quiz_section h5.show {
    max-height: 185px;
    font-size: medium;
  }
  .vitabiotics_slider::before, .vitabiotics_slider::after {
    z-index: 0;
  }
  .vitabiotics_box > div {
    margin: 15px;
  }
  #quiz-options-container input {
    display: block;
    position: relative;
    margin: 0 auto 10px;
  }
  #quiz-options-container label.way-of-life, #quiz-options-container label {
    text-align: center;
    display: block;
    font-size: small;
    line-height: 1.2;
  }
  #quiz-result-container > div {
    max-width: calc(95% - 10px);
    min-width: calc(95% - 10px);
  }
}
/*/////////////*/
.hidden-fields.hidden-hidden.active-user {
  display: flex !important;
  justify-content: space-around;
}
.grecaptcha-badge {
  display: none;
}
form textarea {
  min-height: 50px !important;
}
form input[type=checkbox], form input[type=radio] {
  padding: 0 !important;
}
.educational-buttom a.elementor-button-link {
  min-height: 100px;
  border-radius: 100px !important;
}
.educational-buttom .elementor-button-icon {
  height: 100px;
  width: auto;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 10px 10px 10px;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: var(--e-global-color-543631c2);
  border-radius: 50% 50% 50% 50%;
}
.educational-buttom .elementor-button-link {
  display: flex;
  padding-left: 110px;
  align-items: center;
  justify-content: center;
}
.educational-buttom .elementor-button-icon svg {
  height: 80px;
  width: auto;
}
.quick-question-res-p {
  text-align: center;
}
.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
/*
.tooltip .dashicons {
    color: blue;
}
*/
.tooltip .tooltiptext {
  visibility: hidden;
  width: 540px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -267px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.tooltip:hover .tooltiptext, .tooltip.active .tooltiptext {
  visibility: visible;
  opacity: 1;
  pointer-events: auto; 
}
.button-overlay-send a {
  cursor: pointer
}
@media (max-width:899px) {
	.testing-one .qsm-quiz-container.qmn_quiz_container .qmn_btn, .qsm-quiz-container.qmn_quiz_container .btn,
  .mlw_qmn_question_number, .quiz_section .mlw_qmn_new_question {
    font-size: x-large;
  }
  .tooltip .tooltiptext {
    width: 90vw;
    left: 50%;
    transform: translateX(-50%);
    margin-left: -115px;
    font-size: smaller;
  }
  .tooltip.tooltip-10 .tooltiptext {
    margin-left: -140px;
  }
  .tooltip.tooltip-20 .tooltiptext {
    margin-left: 0px;
  }
  .educational-buttom .elementor-button-text {
    padding-left: 1px
  }
  #quiz-first {
    margin-top: -160px;
    margin-bottom: -120px;
  }
  #current-date {
    left: -150px;
  }
  .qmn_radio_answers, .quiz-show.quiz-grid {
    flex-direction: column;
    max-width: 88vw;
    gap: 0px;
    align-items: center;
  }
  .qmn_radio_answers {
    align-content: flex-start;
    align-items: flex-start
  }
  .qmn_radio_answers .qmn_mc_answer_wrap {
    max-width: -webkit-fill-available;
    /*    box-shadow: 7px 7px 20px 0px rgb(0 0 0 / 20%);*/
  }
  .quiz-show.quiz-grid > p {
    width: auto;
    max-width: 88vw;
    margin-bottom: 20px;
  }
  .wpcf7-form input[type=submit].wpcf7-submit {
    margin-top: 20px;
  }
  .quiz-show.quiz-grid .select2-container {
    max-width: 80vw;
    min-width: auto;
  }
  .quiz_section input[type="email"] {
    width: 100%;
    min-height: 46px;
  }
  .qsm-quiz-container {
    padding: 10px 20px;
  }
  .qmn_btn.qsm-next {
    margin-bottom: -55px !important;
  }
  .testing-one .flip_box {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 20px;
  }
  .testing-one .flip_box img {
    max-height: 22vw;
    width: auto;
  }
  .testing-one .qsm-page-3 .flip_box span {
    max-width: 100px;
    text-align: center;
    font-size: small;
  }
  .testing-one .qsm-page-4 .flip_box img:not(:last-of-type), .testing-one .qsm-page-3 .flip_box img:not(:last-of-type) {
    border-radius: 50%;
  }
  .testing-one .qsm-page-3 .flip_box img:last-of-type, .testing-one .qsm-page-4 .flip_box img:last-of-type {
    max-height: 40vw;
  }
  .testing-one .qsm-page-11 img, .testing-one .qsm-page-8 img, .testing-one .qsm-page-7 img, .testing-one .qsm-page-6 img {
    max-height: 60vw;
    width: auto;
  }
  .testing-one .qsm-page-9 > .quiz_section:last-of-type img {
    width: 140px;
    height: 140px;
    max-height: none;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    overflow: hidden;
  }
}
@media (max-width:400px) {
  .tooltip .tooltiptext {
    width: 85vw;
    margin-left: -135px;
  }
}
@media (min-width:900px) {
  .testing-one .qsm-page-3 .qmn_radio_answers .qmn_mc_answer_wrap, .testing-one .qsm-page-1 .qmn_radio_answers .qmn_mc_answer_wrap {
    max-width: calc(48% - 10px);
  }
  .testing-one .qsm-page-10 .qmn_radio_answers .qmn_mc_answer_wrap, .testing-one .qsm-page-9 .qmn_radio_answers .qmn_mc_answer_wrap {
    max-width: calc(25% - 10px);
  }
  .testing-one .flip_box {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }
  .testing-one .flip_box img {
    max-height: 200px;
    width: auto;
  }
  .testing-one .qsm-page-2 .flip_box img:not(:last-of-type) {
    transform: scaleX(-1);
  }
  .testing-one .qsm-page-4 .flip_box img:not(:last-of-type), .testing-one .qsm-page-3 .flip_box img:not(:last-of-type) {
    max-height: 120px;
    border-radius: 50%;
  }
  .testing-one .qsm-page-3 .flip_box span {
    max-width: 120px;
    text-align: center;
  }
  .testing-one .qsm-page-13 .qmn_radio_answers, .testing-one .qsm-page-12 .qmn_radio_answers, .testing-one .qsm-page-11 .qmn_radio_answers, .testing-one .qsm-page-8 .qmn_radio_answers, .testing-one .qsm-page-7 .qmn_radio_answers, .testing-one .qsm-page-6 .qmn_radio_answers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
    align-content: flex-start;
    justify-content: space-around;
    flex-direction: column;
  }
  .testing-one .qsm-page-13 > .quiz_section:last-of-type, .testing-one .qsm-page-12 > .quiz_section:last-of-type, .testing-one .qsm-page-11 > .quiz_section:last-of-type, .testing-one .qsm-page-8 > .quiz_section:last-of-type, .testing-one .qsm-page-7 > .quiz_section:last-of-type, .testing-one .qsm-page-6 > .quiz_section:last-of-type {
    position: absolute;
    top: 65px;
    right: 65px;
  }
  .testing-one .qsm-page-13, .testing-one .qsm-page-12, .testing-one .qsm-page-11, .testing-one .qsm-page-8, .testing-one .qsm-page-7, .testing-one .qsm-page-6 {
    position: relative;
    min-height: 400px;
  }
  .testing-one .qsm-page-13 > .quiz_section:last-of-type img, .testing-one .qsm-page-12 > .quiz_section:last-of-type img, .testing-one .qsm-page-11 > .quiz_section:last-of-type img, .testing-one .qsm-page-8 > .quiz_section:last-of-type img, .testing-one .qsm-page-7 > .quiz_section:last-of-type img, .testing-one .qsm-page-6 > .quiz_section:last-of-type img {
    max-height: 310px;
    width: auto;
  }
  .testing-one .qsm-page-9 > .quiz_section:last-of-type img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    overflow: hidden;
  }
  .testing-one .qsm-page-9 > .quiz_section:last-of-type img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
  }
}
