.qsm-page{
    max-width: 942px;
    margin: 0 auto;
}
.mlw_qmn_message_before .subtext_54321{
    font-family: Lexend;
    font-size: 18px;
    font-weight: 300;
    line-height: 24px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}
.mlw_qmn_message_before .subtext_54321 br,
.pages_count,.qmn_page_counter_message,.qmn_page_message{
    display: none !important;
}
.mlw_qmn_message_before .heading_12345{
    margin-bottom: 4px;
}
.mlw_qmn_message_before{
    margin-bottom: 31px;
}
div.quiz_section .mlw_qmn_new_question{
    display: block;
    font-family: Lexend;
    font-size: 30px;
    font-weight: 400;
    line-height: 36px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    margin-bottom: -17px;
}
.quiz_section.qsm-question-wrapper{
position: relative;
}
.mlw_qmn_question_number{
    position: absolute;
    top: 0;
    left: -71px;
}
span.mlw_qmn_question_number{
    font-family: Lexend;
    font-size: 25px;
    font-weight: 400;
    line-height: 30px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    width: 56px;
    height: 56px;
    padding: 13px;
}
label.qsm-input-label{
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    font-family: Lexend;
    font-size: 30px;
    font-weight: 400;
    line-height: 30px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    border: 1px solid #D9D2D2;
    cursor: pointer;
}
.qmn_radio_answers.mlwRequiredRadio>div:nth-child(1)>.qsm-input-label{
padding:40px 53px 47px 66px;
}
.qmn_radio_answers.mlwRequiredRadio>div:nth-child(2)>.qsm-input-label{
padding: 37px 49px 43px 75px;
}
.qmn_radio_answers.mlwRequiredRadio .qmn_mc_answer_wrap svg{
    margin-right: 17px;
}
.quiz_section>fieldset{
    margin-top: 33px !important;
}
label.qsm-input-label.checked-label{
    border: 1px solid #B4964E
}
label.qsm-input-label.checked-label svg path{
    fill: #B4964E;
}
.pages_count_quiz{
    font-family: Lexend;
    font-size: 18px;
    font-weight: 300;
    line-height: 23.4px;
    text-align: right;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #666666;    
}
.pages_count_quiz.show{
    display: flex !important;
}
div.qsm-pagination{
    margin-top: 122px;
    align-items:center;
}
a.mlw_custom_start{
    margin: 0 auto;
}
.qsm-quiz-container.qmn_quiz_container a.qmn_btn.mlw_custom_next{
    font-family: Lexend;
    font-size: 18px;
    font-weight: 400;
    line-height: 23.4px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    padding: 13px 0 16px;
    width: 218px;
}
.qsm-quiz-container.qmn_quiz_container a.qmn_btn.mlw_previous{
    font-family: Lexend;
    font-size: 18px;
    font-weight: 300;
    line-height: 23.4px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    background: none !important;
    border: none;
    box-shadow: none !important;
    color: #666666 !important;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
}
.qsm-quiz-container.qmn_quiz_container a.qmn_btn.mlw_previous svg{
    margin-right: 17px;
}
.qsm-quiz-container.qmn_quiz_container a.qmn_btn.mlw_previous,
.pages_count_quiz{
    width: 218px;
}

@media only screen and (max-width: 1092px) {
    .quiz_section.qsm-question-wrapper{
        display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
    }
    span.mlw_qmn_question_number{
        position: static;
        margin-bottom: 5px;
    }
  }

  @media only screen and (max-width: 934px) {
    .qsm-quiz-form{
        padding: 0 25px;
    }
    div.qsm-pagination{
        position: relative;
        margin: 98px 0 66px 0 !important;
    }
    label.qsm-input-label{
        font-size: 24px !important;
    }
    .qmn_radio_answers.mlwRequiredRadio>div:nth-child(1)>.qsm-input-label{
        padding: 26px 39px;
    }
    .qmn_radio_answers.mlwRequiredRadio>div:nth-child(2)>.qsm-input-label{
        padding: 25px 30px 21px 47px;
    }
    .qsm-quiz-container.qmn_quiz_container a.qmn_btn.mlw_custom_next{
        position: absolute;
        top: -95px;
        left: 50%;
        right: 50%;
        transform: translate(-50%, 0);
    }
  }

  @media only screen and (max-width: 767px) {
    .qsm-quiz-form{
    padding:0;
    }
    .qsm-quiz-container.qmn_quiz_container a.qmn_btn.mlw_previous{
        font-size: 16px;
        padding: 0 10px 0 0;
        justify-content: flex-end;
    }
    .qsm-quiz-container.qmn_quiz_container a.qmn_btn.mlw_previous svg {
        margin-right: 14px;
    }
    .pages_count_quiz{
        font-size: 16px;
        justify-content: flex-end;
    }
  }
  @media only screen and (max-width: 634px) {
    .qmn_radio_answers>.qmn_mc_answer_wrap{
        width: 50%;
    }
  }
  @media only screen and (max-width: 500px) {
    .qmn_radio_answers>.qmn_mc_answer_wrap label{
        margin: 0;
    }
    .qmn_radio_answers>.qmn_mc_answer_wrap {
        width: 48%;
    }
  }
  .qmn_results_page .mlw_qmn_question_number{
    position: static;
  }
  .qmn_results_page span.heading_12345{
    font-family: DM Serif Display;
    font-size: 48px;
    font-weight: 400;
    line-height: 50px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
  }
  .subtext_54321{
    margin: 12px 0 26px 0;
  }
  .subtext_54321 span{
    font-family: Lexend;
font-size: 24px;
font-weight: 400;
line-height: 30px;
text-align: center;
text-underline-position: from-font;
text-decoration-skip-ink: none;
color: #292929;
  }
  .subtext_54321 span.my_point_res{
    font-family: Lexend;
font-size: 36px;
font-weight: 700;
line-height: 30px;
text-align: center;
text-underline-position: from-font;
text-decoration-skip-ink: none;
color: #B4964E;
display: block;
margin-bottom: 26px;
  }
  .subtext_54321 span.my_point_res>strong{
    color: #292929;
    font-family: Lexend;
    font-size: 24px;
    font-weight: 400;
    line-height: 30px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    margin-left: -7px;
  }
  .qsm_questions_answers_section{
    margin-top: 53px;
    
  }
  div.qmn_question_answer{
    background: #F5F5F5;
    margin-bottom: 34px;
    border-radius: 10px;
    padding: 48px 97px 71px 25px;
  }
  div.qsm-results-page .qmn_question_answer{
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }
  div.qsm-results-page div.qsm-question-title-description{
    display: flex;
    align-items: flex-start;
  }
  div.qsm-results-page .qsm-result-question-title{
    max-width: 915px;
    width: 100%;
    display: block;
  }
  .quiz_results_text{
    max-width: 558px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; 
  }
  .quiz_results>p{
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .quiz_results_text>span{
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .quiz_results_text>span:not(:last-child){
    margin-bottom: 17px;
  }
  .quiz_results_text>span>strong{
    font-family: Lexend;
    font-size: 30px;
    font-weight: 400;
    line-height: 36px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #000000;
    margin-right: 12px;
  }
  .quiz_results_text>span>p{
    font-family: Lexend !important;
    font-size: 18px !important;
    font-weight: 300;
    line-height: 24px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #666666 !important;
    max-width: 424px;
    width: 100%;
    margin: 0;
  }
  div.qsm-results-page .qsm-result-question-title{
    font-family: Lexend;
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #000000;
    margin-left: 15px;
    margin-bottom: 20px;
  }
  div.qsm-results-page .qsm-result-question-title > *{
    font-weight: 400 !important;
  }
  div.qsm-results-page .mlw_qmn_question .qsm-text-correct-option{
    font-family: Lexend;
    font-size: 24px;
    font-weight: 400;
    line-height: 30px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    border: 1px solid #D9D2D2;
    width: 169.98px;
    height: 78px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
    border-radius: 10px;
    background: white;

  }
  div.qsm-results-page .result_options>span:nth-child(1){
    margin-right: 23.48px;
  }
  div.qsm-results-page .mlw_qmn_question .qsm-text-correct-option::before{
    content: "";
    display: inline-block;
    width: 25.56px; /* Ширина SVG */
    height: 19.5px; /* Висота SVG */
    background-image: url('/wp-content/themes/astra/assets/css/ok.svg');
    background-size: cover; /* Масштабування SVG */
    background-repeat: no-repeat;
    position: static;
    margin-right: 11.5px;
  }
  div.qsm-results-page .mlw_qmn_question .qsm-text-correct-option.qsm-text-user-correct-answer{
    border: 1px solid #B4964E
  }

  div.qsm-results-page .mlw_qmn_question .qsm-text-correct-option.qsm-text-user-correct-answer::before{
    background-image: url('/wp-content/themes/astra/assets/css/okgold.svg');
  }
  
  div.qsm-results-page .result_options{
    display: flex;
        align-items: center;
        max-width: 915px;
        margin: 0 auto;
        padding-left: 15px;
  }

  div.qsm-results-page .mlw_qmn_question .qsm-text-simple-option,
  div.qsm-results-page .mlw_qmn_question .qsm-text-wrong-option{
    font-family: Lexend;
    font-size: 24px;
    font-weight: 400;
    line-height: 30px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    border: 1px solid #D9D2D2;
    width: 169.98px;
    height: 78px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
    border-radius: 10px;
    background: white;
  }
  div.qsm-results-page .mlw_qmn_question .qsm-text-wrong-option{
    border: 1px solid #B4964E
  }
  div.qsm-results-page .mlw_qmn_question .qsm-text-simple-option::before{
    content: "";
    display: inline-block;
    width: 23px;
    height: 24.21px;
    background-image: url('/wp-content/themes/astra/assets/css/wrong.svg');
    background-size: cover; /* Масштабування SVG */
    background-repeat: no-repeat;
    position: static;
    margin-right: 11.5px;
  }

  div.qsm-results-page .mlw_qmn_question .qsm-text-wrong-option::before{
    content: "";
    display: inline-block;
    width: 23px;
    height: 24.21px;
    background-image: url('/wp-content/themes/astra/assets/css/wronggold.svg');
    background-size: cover; /* Масштабування SVG */
    background-repeat: no-repeat;
    position: static;
    margin-right: 11.5px;
  }
  div.qsm-results-page .qmn_question_answer .mlw_qmn_question>strong{
    background: #EBEBEB;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 946px;
    margin: 44px auto 71px auto;
    padding: 23px 35px 23px 50px;
    font-family: Poppins; 
font-size: 20px;
font-style: italic;
font-weight: 300;
line-height: 30px;
text-align: left;
text-underline-position: from-font;
text-decoration-skip-ink: none;
color: #000000;
  }
  div.qsm-results-page .qmn_question_answer .mlw_qmn_question>strong::before{
    content: "";
    display: block;
    width: 44px;
    height: 31px;
    background-image: url(/wp-content/themes/astra/assets/css/answerinfo.svg);
    background-size: cover;
    background-repeat: no-repeat;
    position: static;
    margin-right: 15px;
    margin-bottom: 15px;
  }
  div.qsm-results-page .qmn_question_answer .mlw_qmn_question>strong::after{
    content: "Comment";
    position: absolute;
    top: 23px;
    left: 100px;
    font-family: Lexend;
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #B4964E;
    font-style: normal;
  }
  a.hide{
    display: none !important;
  }
  .qsm-submit-btn.center{
    margin: 0 auto;
    width: 100%;
  }
  .qsm-after-message div.heading_12345{
    font-size: 48px;
    font-weight: 500;
    line-height: 50px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
  }
  .qsm-after-message div.subtext_54321{
    font-family: Lexend;
    font-size: 24px;
    font-weight: 400;
    line-height: 30px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #000000;
    margin-top: 17px;
    margin-bottom: 45px;
  }
  .qsm_contact_div .mlw_qmn_question.qsm_question{
    display: none !important;
  }
  .qsm_contact_div input.mlwEmail{
    border: 1px solid #A0A0A0;
    border-radius: 10px;
    max-width: 377px;
    width: 100%;
    margin: 0 auto;
    display: flex;
      font-family: Lexend;
  font-size: 18px;
  font-weight: 300;
  line-height: 23.4px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
color: #878787;
padding: 13px 29px 16px 29px;
  }
  div.qsm-pagination.contact{
    margin: 18px auto 150px auto;
    width: 100%;
    max-width: 377px;
  }

  @media only screen and (max-width: 580px) {
    .qmn_results_page .heading_12345{
      font-size: 40px;
    font-weight: 400;
    line-height: 36px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    }
    .qmn_results_page .subtext_54321{
      margin-top: 30px;
    }
    .qmn_results_page .quiz_results>p>span:nth-child(2){
      max-width: 251px;
    }
    .qmn_results_page .quiz_results>p>span:nth-child(1){
      margin-right: 7px;
    }
    .qmn_results_page div.qsm-results-page .qmn_question_answer{
      padding: 78px 15px 24px 15px;
    }
    .qmn_results_page div.qsm-results-page div.qsm-question-title-description{
      flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    }
    .qmn_results_page span.mlw_qmn_question_number{
      margin-bottom: 8px;
    }
    div.qsm-results-page .result_options{
      padding: 0;
    width: 100%;
    justify-content: space-between;
    }
    div.qsm-results-page .qsm-result-question-title{
      margin: 0;
    }
    div.qsm-results-page .qmn_question_answer .mlw_qmn_question>strong{
      padding-left: 26px;
    padding-right: 17px;
    }
    div.qsm-pagination.contact{
      margin: 18px auto 150px auto !important;
    }
  }

  div.qsm-results-page .subtext_54321>span>span>span:nth-child(1){
    margin-bottom: 26px;
  }
  div.qsm-results-page .subtext_54321>span>span>span:nth-child(2){

  }
  .qsm-after-message.mlw_qmn_message_end h1{
    font-family: "dm-serif-display", sans-serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 50px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #B4964E;
    margin-bottom: 7px;
  }
  .qsm-after-message.mlw_qmn_message_end p{
    font-family: Lexend;
    font-size: 24px;
    font-weight: 400;
    line-height: 30px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #000000;
    margin-bottom: 45px;
}