/**
* Theme Name: QSM Quiz sapience
*/

:root{
	--sapience-theme-color: #8145EA;
	--sapience-theme-color-bg: #8145EA30;
	--sapience-background-color: #FFFFFF;
	--sapience-button-color: #8145EA;
	--sapience-progressbar-color: #8145EA;
	--sapience-progressbar-text: #8145EA;
	--sapience-option-text-color: #211435;
    --sapience-option-text-hover-color: #8145EA;
	--sapience-option-background-color: #FFFFFF;
	--sapience-option-color: #211435;
	--sapience-font-color: #211435;
}

.qsm-quiz-container.quiz_theme_qsm-theme-sapience {
	background: var(--sapience-background-color);
	color: var(--sapience-font-color);
}

.qsm-quiz-container.quiz_theme_qsm-theme-sapience .qmn_results_page{
    padding: 15px;
}
.quiz_theme_qsm-theme-sapience .mlw_qmn_message_before{
	color: var(--sapience-font-color);
}

.quiz_theme_qsm-theme-sapience .quiz_section{
    width: 100%;
    position: relative;
}
.quiz_theme_qsm-theme-sapience.qsm-quiz-container .quiz_section .qsm-deselect-answer{
    margin-top: -45px;
}

.quiz_theme_qsm-theme-sapience .qsm-quiz-form {
    padding:10px 15px;
}
.qsm-sapience-dropdown-arrow {
    position: relative;
    margin-top: -35px;
    font-size: 22px;
    float: right;
    margin-right: 8px;
}
.quiz_theme_qsm-theme-sapience .quiz_section .qmn_radio_answers .mrq_checkbox_class .qsm-input-label:before,
.quiz_theme_qsm-theme-sapience .quiz_section .qsm_multiple_grid_answers.qmn_radio_answers .qsm-input-label:before {
    content: "";
    width: 15px;
    height: 15px;
    display: inline-block;
    font-family: 'dashicons';
    line-height: 15px;
    vertical-align: middle;
    color: var(--sapience-option-text-color);
    transition-duration: 0.5s;
    margin-top: -7px;
    margin-bottom: -4px;
    margin-right: 5px;
    box-sizing: content-box;
    font-size: 15px;
    border: 1px solid var(--sapience-font-color);
    color: transparent;
    border-radius: 50%;
}
.quiz_theme_qsm-theme-sapience .qsm_select {
    padding-right: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
}
.quiz_theme_qsm-theme-sapience .qsm_select::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
  }
.quiz_theme_qsm-theme-sapience .qsm-question-wrapper .mlw_answer_file_upload,
.quiz_theme_qsm-theme-sapience .qsm-question-wrapper input[type="radio"],
.quiz_theme_qsm-theme-sapience .qsm-question-wrapper input[type="checkbox"],
.quiz_theme_qsm-theme-sapience .pages_count,
.quiz_theme_qsm-theme-sapience .mlw_qmn_timer,
.quiz_theme_qsm-theme-sapience .qsm_contact_div input[type="checkbox"],
.quiz_theme_qsm-theme-sapience .qsm-progress-bar,
.quiz_theme_qsm-theme-sapience .quiz_section .qmn_image_option .qsm-input-label:before{
	display: none !important;
}

.qsm-quiz-container.quiz_theme_qsm-theme-sapience .mlw_horizontal_choice,
.qsm-quiz-container.quiz_theme_qsm-theme-sapience .qmn_multiple_horizontal_check .mlw_horizontal_multiple,
.quiz_theme_qsm-theme-sapience .qsm-results-page .qmn_image_option,
.qsm-quiz-container.quiz_theme_qsm-theme-sapience .quiz_section .qmn_image_option {
    display: inline-table;
    width: calc(50% - 13px);
    cursor: pointer;
    vertical-align: top;
    height: auto;
    text-align: center;
    margin-left: 5px ;
    margin-right: 5px ;
    padding: 0;
}

.qsm-quiz-container.quiz_theme_qsm-theme-sapience .mlw_horizontal_choice.mrq_checkbox_class,
.qsm-quiz-container.quiz_theme_qsm-theme-sapience .qmn_check_answers .mrq_checkbox_class{
    text-align: left;
}
.qsm-quiz-container.quiz_theme_qsm-theme-sapience .quiz_section .qmn_radio_horizontal_answers .qmn_image_option,
.qsm-quiz-container.quiz_theme_qsm-theme-sapience .quiz_section .qmn_multiple_horizontal_check .qmn_image_option {
    max-width: calc(50% - 13px);
    width: auto;
}
.qsm-quiz-container.quiz_theme_qsm-theme-sapience .quiz_section .qsm_check_answer.qmn_image_option,
.qsm-quiz-container.quiz_theme_qsm-theme-sapience .quiz_section .qmn_mc_answer_wrap.qmn_image_option{
    width: calc(25% - 18px);
}

.quiz_theme_qsm-theme-sapience .qsm-results-page .qmn_image_option {
    align-items: flex-start;
}
.rtl .quiz_theme_qsm-theme-sapience .qsm-results-page .qmn_image_option {
    display: inline-flex !important;
    align-items: flex-start;
    flex-direction: column-reverse;
}
.qsm-quiz-container.quiz_theme_qsm-theme-sapience .mlw_horizontal_choice:nth-child(2n),
.qsm-quiz-container.quiz_theme_qsm-theme-sapience .qmn_multiple_horizontal_check .mlw_horizontal_multiple:nth-child(2n),
.quiz_theme_qsm-theme-sapience .qsm-results-page .qmn_image_option:nth-child(2n) {
    margin-right: 0;
}


/*=============/Checkbox and Radio input CSS start/==============*/

.quiz_theme_qsm-theme-sapience .qsm_contact_div input[type=checkbox] ~ label,
.quiz_theme_qsm-theme-sapience .quiz_section .qsm-input-label {
    display: block;
    padding: 10px 15px;
    margin-bottom: 10px;
    color: var(--sapience-font-color);
    border: 2px solid rgba(129, 69, 14, 0.2);
    min-width: 50px;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 15px;
    position: relative;
}

.quiz_theme_qsm-theme-sapience .qsm-popup-secondary-button:focus,
.quiz_theme_qsm-theme-sapience .qmn_btn:focus{
    outline: none !important;
    text-decoration: none !important;
}

.qsm-quiz-container > .qmn_error_message {
    display: none !important;
}

.quiz_theme_qsm-theme-sapience .qsm-quiz-form .qmn_error .qmn_radio_answers,
.quiz_theme_qsm-theme-sapience .qsm-quiz-form .qmn_error .qmn_check_answers,
.quiz_theme_qsm-theme-sapience .qsm-quiz-form .qmn_error .qmn_accept_answers{
    background: transparent;
    border: none;
}

.quiz_theme_qsm-theme-sapience .mlw_qmn_hint_link{
    color: var(--sapience-font-color);
    margin-left: 2px;
    margin-top: 3px;
}

.quiz_theme_qsm-theme-sapience .quiz_section .qsm_multiple_grid_table .qsm-input-label {
    border: none;
    padding: 4px;
    text-align: center;
    margin-bottom: 0;
    border-radius: 0;
    display: inline-table;
}
.quiz_theme_qsm-theme-sapience .qsm_multiple_grid_table td,
.quiz_theme_qsm-theme-sapience .qsm_multiple_grid_table th {
    padding: 8px;
    border-width: 0 1px 1px 0;
    border-style: solid;
    text-align: center;
}
.quiz_theme_qsm-theme-sapience table.qsm_multiple_grid_table{
    border-style: solid;
    border-width: 1px 0 0 1px;
    border-color: #173e5610;
}

.quiz_theme_qsm-theme-sapience .qsm_contact_div input:checked ~ label,
.quiz_theme_qsm-theme-sapience .quiz_section input:checked ~ .qsm-input-label,
.quiz_theme_qsm-theme-sapience .quiz_section input:checked ~ .qsm-input-label:before,
.quiz_theme_qsm-theme-sapience .quizqsm_contact_div.qsm-contact-type-checkbox_section label:hover,
.quiz_theme_qsm-theme-sapience .qsm_contact_div input[type=checkbox] ~ label:hover,
.quiz_theme_qsm-theme-sapience .quiz_section .qsm-input-label:hover {
    background: var(--sapience-option-background-color);
}

.quiz_theme_qsm-theme-sapience .qsm_contact_div input[type=checkbox] ~ label:before,
.quiz_theme_qsm-theme-sapience .quiz_section .qmn_check_answers  .mrq_checkbox_class .qsm-input-label:before,
.quiz_theme_qsm-theme-sapience .quiz_section .qsm_multiple_grid_answers.qmn_check_answers .qsm-input-label:before,
.quiz_theme_qsm-theme-sapience  .quiz_section  .qmn_accept_answers .qsm-input-label::before {
    content: "";
    display: inline;
    width: 15px;
    height: 15px;
    display: inline-block;
    font-family: 'dashicons';
    line-height: 15px;
    vertical-align: middle;
    color: var(--sapience-option-text-color);
    transition-duration: 0.5s;
    margin-top: -7px;
    margin-bottom: -2px;
    margin-right: 5px;
    box-sizing: content-box;
    font-size: 15px;
    border: 1px solid var(--sapience-font-color);
    color: transparent;
}

.quiz_theme_qsm-theme-sapience .quiz_section .qmn_radio_answers input[type="radio"]:checked ~ .qsm-input-label:before {
    -webkit-box-shadow: inset 0px 0px 0px 4px #fff;
    -moz-box-shadow: inset 0px 0px 0px 4px #fff;
    box-shadow: inset 0px 0px 0px 4px #fff;
    background: var(--sapience-option-color);
}

.quiz_theme_qsm-theme-sapience .qsm_contact_div input[type="checkbox"]:checked ~ label:before,
.quiz_theme_qsm-theme-sapience .quiz_section input[type="checkbox"]:checked ~ .qsm-input-label:before
  {
    content: "\f15e";
    color: var(--sapience-option-text-color) !important;
}

.quiz_theme_qsm-theme-sapience .qsm_contact_div input[type="checkbox"] ~ label:hover:before,
.quiz_theme_qsm-theme-sapience .quiz_section .qsm-input-label:hover:before,
.quiz_theme_qsm-theme-sapience .qsm_contact_div input:checked ~ label:before,
.quiz_theme_qsm-theme-sapience .quiz_section input:checked ~ .qsm-input-label:before{
	border-color: var(--sapience-option-color);
}
.quiz_theme_qsm-theme-sapience .quiz_section  .qsm_multiple_grid_table input:checked ~ .qsm-input-label {
    border: none !important;
}
.quiz_theme_qsm-theme-sapience .qsm_contact_div input:checked ~ label:before,
.quiz_theme_qsm-theme-sapience .quiz_section input:checked ~ .qsm-input-label:before{
	color: var(--sapience-option-color);
}

.quiz_theme_qsm-theme-sapience .qsm_contact_div input[type="checkbox"] ~ label:before{
    margin-right: 8px;
}

.qmn_quiz_container input[type="text"]:hover,
.qmn_quiz_container input[type="date"]:hover,
.qmn_quiz_container input[type="email"]:hover,
.quiz_theme_qsm-theme-sapience .qsm_contact_div input[type="checkbox"] ~ label:hover,
.quiz_theme_qsm-theme-sapience .quiz_section .qmn_image_option .qsm-input-label:hover,
.quiz_theme_qsm-theme-sapience .qsm_contact_div input:checked ~ label,
.quiz_theme_qsm-theme-sapience .quiz_section input:checked ~ .qsm-input-label,
.quiz_theme_qsm-theme-sapience .sapience-file-upload-container:hover,
.quiz_theme_qsm-theme-sapience select:focus,
.quiz_theme_qsm-theme-sapience textarea:focus,
.quiz_theme_qsm-theme-sapience textarea:hover,
.quiz_theme_qsm-theme-sapience input:focus:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=submit]) {
    -webkit-box-shadow: unset;
    box-shadow: unset;
    border: 2px solid var(--sapience-option-text-hover-color);
}

.qsm-quiz-form .qmn_error input[type="text"],
.qsm-quiz-form .qmn_error input[type="text"]:hover {
    -webkit-box-shadow: unset;
    box-shadow: unset;
}
/*=============/Checkbox and Radio input CSS end/==============*/

/*=============/input and select CSS start/==============*/
.qmn_quiz_container.quiz_theme_qsm-theme-sapience select,
.qmn_quiz_container.quiz_theme_qsm-theme-sapience textarea,
.qmn_quiz_container.quiz_theme_qsm-theme-sapience input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]){
    min-width: 50%;
    box-sizing: border-box;
    padding: 10px;
    border: none;
    border-radius: 0;
    border: 2px solid rgba(129, 69, 14, 0.2);
    outline: none;
    transition-duration: .5s;
}
.rtl .qmn_quiz_container.quiz_theme_qsm-theme-sapience select {
    padding-right: 5%;
}

.qmn_quiz_container.quiz_theme_qsm-theme-sapience input[type=checkbox] ~ label,
.qmn_quiz_container.quiz_theme_qsm-theme-sapience select.qsm_select.qsm_dropdown,
.qmn_quiz_container.quiz_theme_qsm-theme-sapience select.qsm_select.mlw_answer_open_text,
.qmn_quiz_container.quiz_theme_qsm-theme-sapience .mlw_qmn_question_comment,
.qmn_quiz_container.quiz_theme_qsm-theme-sapience .qsm_contact_div input,
.qmn_quiz_container.quiz_theme_qsm-theme-sapience select.qsm_select.mlw_answer_open_text {
    width: 100%;
}
/*=============/input and select CSS end/==============*/

/*=============/Button CSS start/==============*/
.qmn_quiz_container.quiz_theme_qsm-theme-sapience .qmn_btn,
.qmn_quiz_container.quiz_theme_qsm-theme-sapience .btn-secondary,
.qmn_quiz_container.quiz_theme_qsm-theme-sapience input[type="submit"],
.qmn_quiz_container.quiz_theme_qsm-theme-sapience .btn{
	background: var(--sapience-button-color) !important;
	border: none;
	cursor: pointer;
    border-radius:0px ;
    border: 1px solid var(--sapience-button-color);
}
.rtl .qmn_quiz_container.quiz_theme_qsm-theme-sapience .qmn_btn {
    padding: 10px 20px;
    font-size: 16px;
    line-height: 22px;
    text-decoration: none;
    text-align: center;
}
.qmn_quiz_container .submit-the-form.qmn_btn,
.qmn_quiz_container .submit-the-form.qmn_btn:hover {
    color: #fff !important;
    background: var(--sapience-button-color) !important;
}

.qmn_quiz_container.quiz_theme_qsm-theme-sapience .btn-secondary,
.qmn_quiz_container.quiz_theme_qsm-theme-sapience .mlw_previous{
    background: transparent;
    color: var(--sapience-button-color) ;
}

.quiz_theme_qsm-theme-sapience .qmn_error_message {
    color: #da4f49;
    border: 1px solid #da4f49;
    background: #F2DEDE;
    display: block;
    padding: 10px 0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.quiz_theme_qsm-theme-sapience .qmn_pagination, .qsm_auto_pagination_enabled .qmn_pagination{
    padding-top: 0px;
}

.quiz_theme_qsm-theme-sapience .qmn_error_message:before {
    content: '!';
    color: #fff;
    font-size: 20px;
    font-family: 'Helvetica', Arial, sans-serif;
    background: #da4f49;
    text-align: center;
    display: inline-block;
    height: 20px;
    line-height: 20px;
    width: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    margin-right: 10px;
    margin-left: 9px;
}
.quiz_theme_qsm-theme-sapience .qsm-quiz-form .qmn_error {
    position: relative;
}
.quiz_theme_qsm-theme-sapience .qsm-quiz-form .qmn_error .qsm-input-label:after {
    content: '!';
    color: #fff;
    background: #da4f49;
    text-align: center;
    display: inline-block;
    height: 20px;
    line-height: 20px;
    width: 20px;
    position: absolute;
    top: 11px;
    right: 11px;
    border-radius: 20px;
}
.qmn_quiz_container.quiz_theme_qsm-theme-sapience .qmn_btn:hover,
.qmn_quiz_container.quiz_theme_qsm-theme-sapience .btn:hover{
	opacity: 0.7;
}

.quiz_theme_qsm-theme-sapience.qmn_quiz_container.qsm_auto_pagination_enabled .quiz_section.quiz_end .qsm-submit-btn{
    margin-right: 15px;
    top: 35px;
    text-align: center;
    height: 48px;
}

.qmn_quiz_container.quiz_theme_qsm-theme-sapience .mlw_next:after {
    content: "\f344";
    font-family: dashicons;
    margin-left: 6px;
    vertical-align: middle;
}

.qmn_quiz_container.quiz_theme_qsm-theme-sapience .mlw_previous:before {
    content: "\f340";
    font-family: dashicons;
    margin-right: 6px;
    vertical-align: middle;
}
.qsm-right-option .qsm_mc_answer_wrap .dashicons-move {
    display: none;
}
.qmn_quiz_container.quiz_theme_qsm-theme-sapience  .ui-sortable-handle::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 15px;
    background-image: url('../group2.png');
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: calc(50% - 8px);
    left: 7px;
}

.quiz_theme_qsm-theme-sapience .qsm-right-option .qsm_mc_answer_wrap {
    padding-left: 24px;
}

.rtl .quiz_theme_qsm-theme-sapience .qsm-right-option .qsm_mc_answer_wrap {
    right: 5px;
}

.quiz_theme_qsm-theme-sapience .qsm-matching-pairs {
    box-sizing: border-box;
}
.rtl .quiz_theme_qsm-theme-sapience .qsm-matching-pairs {
    display: flex;
    flex-direction: row-reverse;
}
.quiz_theme_qsm-theme-sapience .quiz_section .qsm-matching-pairs .qsm_image_option,
.quiz_theme_qsm-theme-sapience .qsm-right-option .qsm_mc_answer_wrap,
.quiz_theme_qsm-theme-sapience .qsm-left-option .qsm_mc_answer_wrap {
    position: relative;
}
.qsm-right-option .qsm_mc_answer_wrap .dashicons-move {
    margin-bottom: 14px;
}
.qmn_quiz_container.quiz_theme_qsm-theme-sapience .qsm-submit-btn {
    padding: 11px;
}
.rtl .qmn_quiz_container.quiz_theme_qsm-theme-sapience .qsm-submit-btn {
    padding: 11px;
    min-width: 100px;
}
.qmn_quiz_container.quiz_theme_qsm-theme-sapience .qmn_pagination{
    justify-content: flex-start;
}
.rtl .qmn_quiz_container.quiz_theme_qsm-theme-sapience .qmn_pagination{
    justify-content: flex-end;
    flex-direction: row-reverse;
}
.qsm_image_result_caption, .qsm_image_result_caption_default {
    width: unset;
    order: 3;
}
.rtl .qsm-results-page .qsm_image_result_caption_default {
    width: unset;
    position: relative;
    bottom: 25px;
    right: 30px;
    order: unset;
}
.rtl .quiz_theme_qsm-theme-sapience .qsm-results-page .mlw_qmn_question .qsm-text-correct-option:before {
    right: -8px;
}
body .qsm-results-page .mlw_qmn_question .qmn_image_option:before {
    top: calc(100% - 38px);
    order: 2;
}
.qsm-results-page .qmn_image_option img {
    order: 1;
}
.quiz_theme_qsm-theme-sapience .quiz_section  .qsm-input-label:before {
   display: none;
}
.quiz_theme_qsm-theme-sapience .mlw_qmn_question .qsm-text-correct-option.qsm-text-user-correct-answer:before,
.rtl .quiz_theme_qsm-theme-sapience .mlw_qmn_question .qsm-text-correct-option.qsm-text-user-correct-answer.qmn_image_option:after {
    content: "\f12a";
}
body .quiz_theme_qsm-theme-sapience .qsm-results-page .mlw_qmn_question .qmn_image_option:before{
    margin-top: 11px;
    margin-left: -11px;
}
.mlw_qmn_question_number {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}
.qsm-quiz-container .quiz_section .qsm-align-fill-in-blanks:not(.qsm_remove_bold) {
    display: inline-block;
    vertical-align: middle;
}
.quiz_theme_qsm-theme-sapience.qsm-quiz-container .quiz_section .ui-slider-button {
    transition: all 0.5s ease;
    background: #000;
    height: 25px;
    width: 35px;
    position: absolute;
    margin-top: -45px;
    left: -3px;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    top: 12px;
    line-height: 25px;
}
.qsm-quiz-container .quiz_section .ui-state-focus {
    outline: unset;
}
.quiz_theme_qsm-theme-sapience.qsm-quiz-container .quiz_section .ui-slider-button:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #000 transparent transparent transparent;
    -webkit-transform: rotate(360deg);
}
.ui-state-focus {
    border: unset;
}
@media screen and (max-width: 499px) {
    .quiz_theme_qsm-theme-sapience.qmn_quiz_container.qsm_auto_pagination_enabled .quiz_section.quiz_end .qsm-submit-btn{
        top: 90px;
        height: 48px;
        text-align: center;
        left: 0;
        width: 100%;
    }
    .quiz_theme_qsm-theme-sapience.qmn_quiz_container.qsm_auto_pagination_enabled .qmn_pagination {
        width: 100% !important;
    }
    body .qsm-results-page .mlw_qmn_question .qmn_image_option:before {
        top: calc(100% - 28px);
        order: 2;
        left: 12px;
    }
    .quiz_theme_qsm-theme-sapience.qsm-quiz-container .quiz_section .qsm-deselect-answer{
        margin-top: -30px;
    }
    .quiz_theme_qsm-theme-sapience.qsm-quiz-container .quiz_section .question-type-polar-s{
        margin-left: 6px;
    }

}
/*=============/Button CSS end/==============*/

/*=============/Image type questions CSS start/==============*/
.quiz_theme_qsm-theme-sapience .quiz_section .qmn_image_option .qsm-input-label {
    width: auto;
    position: relative;
    padding: 0;
    overflow: hidden;
    transition-duration: .6s;
}

.quiz_theme_qsm-theme-sapience .quiz_section .qmn_image_option .qsm-input-label img{
    max-width: 100%;
    display: block;
}

.quiz_theme_qsm-theme-sapience .quiz_section .qmn_image_option .qsm-input-label:hover {
	background: var(--sapience-option-background-color);
}

.quiz_theme_qsm-theme-sapience .quiz_section .qmn_image_option .qsm-input-label .qsm_image_caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-radius: 0;
    line-height: 22px;
    text-align: center;
}
/*=============/Image type questions CSS end/==============*/

/*=============/Polar type questions CSS start/==============*/
.quiz_theme_qsm-theme-sapience .slider-main-wrapper .ui-slider {
    height: 5px !important;
    border-radius: 3px !important;
    background-color: var(--sapience-theme-color);
    border: none;
}
.quiz_theme_qsm-theme-sapience .slider-main-wrapper {
    position: inherit !important;
    margin-top: 20px;
    width: 100% !important;
    display: block;
    order: 3;
    padding: 0;
}
.rtl .quiz_theme_qsm-theme-sapience .question-type-polar-s {
    display: flex !important;
    flex-wrap: wrap;
    width: 100%;
    align-content: space-between;
    align-items: center;
    margin-top: 15px;
}
.rtl .quiz_theme_qsm-theme-sapience .question-type-polar-s:has(img) {
    top: 115px;
}
.rtl .quiz_theme_qsm-theme-sapience .qsm-results-page .question-type-polar-s:has(img) .left-polar-title,
.rtl .quiz_theme_qsm-theme-sapience .qsm-results-page .question-type-polar-s:has(img) .right-polar-title {
    flex-direction: column;
}
.rtl .quiz_theme_qsm-theme-sapience .qsm-results-page .question-type-polar-s:has(img) .left-polar-title {
    align-items: end;
}
.rtl .quiz_theme_qsm-theme-sapience .slider-main-wrapper {
    margin-top: 20px !important;
}
.rtl .quiz_theme_qsm-theme-sapience .question-type-polar-s:has(img) .slider-main-wrapper {
    bottom: 100px;
    margin-bottom: 15px;
}
.rtl .quiz_theme_qsm-theme-sapience .question-type-polar-s .left-polar-title:has(img),
.rtl .quiz_theme_qsm-theme-sapience .question-type-polar-s .right-polar-title:has(img) {
    flex-direction: column;
}
.rtl .quiz_theme_qsm-theme-sapience .question-type-polar-s .left-polar-title:has(img) {
    align-items: flex-end;
}
.rtl .quiz_theme_qsm-theme-sapience .question-type-polar-s .left-polar-title {
    text-align: left;
    order: 2;
    position: relative;
}
.rtl .quiz_theme_qsm-theme-sapience .question-type-polar-s .right-polar-title {
    order: 1;
    position: relative;
}
.quiz_theme_qsm-theme-sapience .question-type-polar-s .left-polar-title,
.quiz_theme_qsm-theme-sapience .question-type-polar-s .right-polar-title {
    width: calc(50% - 14px);
    margin-left: 0;
    order: 1;
}
.quiz_theme_qsm-theme-sapience .question-type-polar-s .right-polar-title{
    margin-left: auto;
}
.quiz_theme_qsm-theme-sapience .right-polar-title {
    text-align: right !important;
    margin-left: 16px;
    order: 2;
    padding-left: 0;
}
.quiz_theme_qsm-theme-sapience .slider-main-wrapper .ui-slider .ui-slider-handle {
    width: 30px;
    height: 30px;
    margin-top: -6px;
    background-color: var(--sapience-theme-color);
    border: none;
    border-radius: 20px;
    box-shadow: 3px 3px 5px rgb(20 20 20 / 25%);
    transition: all 0.5s ease;
    text-align: center;
    margin-left: -20px;
    cursor: all-scroll;
    line-height: 30px;
}
.quiz_theme_qsm-theme-sapience .slider-main-wrapper .ui-slider .ui-slider-handle .dashicons {
    text-decoration: none;
    color: white;
    line-height: 30px;
    font-size: 14px;
    width: 14px;
    margin: 0 -2px;
}
/*=============/Polar type questions CSS end/==============*/

/*=============/Upload File type questions CSS start/==============*/
.quiz_theme_qsm-theme-sapience .sapience-file-upload-container {
    border: 1px dashed  rgba(129, 69, 14, 0.2);
    padding: 35px;
    text-align: center;
    background: #eae9ef;
    color: var(--sapience-font-color);
    cursor: pointer;
    margin: 0 auto;
}
.quiz_theme_qsm-theme-sapience .sapience-file-upload-message {
    font-size: 17px;

}
.quiz_theme_qsm-theme-sapience .file-upload-browse-anchor {
    color: #2F80ED;
    font-size: 17px;
}
.quiz_theme_qsm-theme-sapience .sapience-file-upload-container:hover {
    border-color: 2px dashed var(--sapience-theme-color-bg);
    background: var(--sapience-option-background-color);
    color: var(--sapience-option-color);
}
/*=============/Upload File type questions CSS end/==============*/

/*=============/Timer CSS start/==============*/
.quiz_theme_qsm-theme-sapience .sapience-timer {
    display: grid;
    text-align: center;
    color: var(--sapience-font-color);
    font-weight: 400;
    font-size: 27px;
    line-height: 1.2;
    margin-left: auto;
    z-index: 9999;
}
.quiz_theme_qsm-theme-sapience .sapience-timer-label{
    font-size: 13px;
}
/*=============/Timer CSS end/==============*/
/*=============/ Progressbar and pagination CSS start /=============*/
.quiz_theme_qsm-theme-sapience.sapience-feature-image-added  .sapience-progress-bar {
    color: var(--sapience-progressbar-text);
    background: #FFFFFF;
    border-radius: 50px;
    box-shadow: 1px 1px 15px 2px rgba(180, 180, 180, 0.356);
    position: relative;
    margin-bottom: 10px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.quiz_theme_qsm-theme-sapience .sapience-progress-bar {
    color: var(--sapience-progressbar-text);
    background: #FFFFFF;
    border-radius: 50px;
    box-shadow: none;
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.quiz_theme_qsm-theme-sapience .question-type-polar-s .slider-main-wrapper {
    padding-left: 0;
    padding-right: 1px;
}
.quiz_theme_qsm-theme-sapience .qsm-results-page .question-type-polar-s .slider-main-wrapper{
    padding-right: 0;
}
.quiz_theme_qsm-theme-sapience .question-type-polar-s img{
    max-width: 70%;
}
.quiz_theme_qsm-theme-sapience .base-progress_bar_path-remaining {
	stroke-linecap: round;
	stroke-width: 6px;
	stroke-linecap: round;
	transform: rotate(0deg);
	transform-origin: center;
	transition: 0.9s linear all;
	fill-rule: nonzero;
	stroke: #d2d2d2;
}

.quiz_theme_qsm-theme-sapience .base-progress_bar_circle {
	stroke: none;
	fill: none;
}

.quiz_theme_qsm-theme-sapience .base-progress_bar_svg {
	transform: rotateY(0deg) rotateZ(-90deg);
    position: absolute;
    left: 0;
    top: 0;
    padding: 2px;
}

.quiz_theme_qsm-theme-sapience .base-progress_bar_path-elapsed {
	stroke-width: 6px;
	stroke: var(--sapience-progressbar-color);
}

.qsm-theme-sapience-header{
    display: flex;
    width: 100%;
    justify-content: space-between;
    min-height: 60px;
    margin-bottom: 15px;
}
.qsm-theme-sapience-header .sapience-page {
    color: var(--sapience-font-color);
    font-weight: 600;
}
/*=============/ Progressbar and pagination CSS start /=============*/

/*========================/ Feature image css start /==============================*/
img.qsm-sapience-featured-image {
    width: 100%;
    margin-right: 15px;
    margin-bottom: -8px;
}
footer.qsm-popup__footer button.qsm-popup-secondary-button:hover,
footer.qsm-popup__footer button.qsm-popup-secondary-button {
    background: #fff!important;
    color: #000!important;
}

.quiz_theme_qsm-theme-sapience.sapience-feature-image-added .qsm-quiz-form::-webkit-scrollbar {
    width: 2px;
    height: 2px;
    cursor: pointer
}

.quiz_theme_qsm-theme-sapience.sapience-feature-image-added .qsm-quiz-form::-webkit-scrollbar-thumb {
    background-color: #fff;
    background-clip: padding-box;
    border: 2px solid #b0b0b085
}

.quiz_theme_qsm-theme-sapience.sapience-feature-image-added .qsm-quiz-form::-webkit-scrollbar-track {
    background-color: #fff
}
.quiz_theme_qsm-theme-sapience  .qsm-matching-pairs .qsm_image_caption {
    position: absolute;
    z-index: 999;
    bottom: 0;
    width: 100%;
    padding-left: 22px;
    background: #edeff3;
    box-sizing: border-box;
    left: 0;
    line-height: 2;
}
.qmn_quiz_container.quiz_theme_qsm-theme-sapience .qsm_image_option.ui-sortable-handle::before{
    top: calc(100% - 24px);
    z-index: 9999;
}
.quiz_theme_qsm-theme-sapience .qsm-right-option .qsm_mc_answer_wrap.qsm_image_option {
    position: relative;
    padding-left: 0;
}
.qsm-file-upload-error .sapience-file-upload-container{
    border-color: red;
} 
.quiz_theme_qsm-theme-sapience .sapience-file-uploading {
    color: black;
	background: rgb(222, 219, 219);
}
.quiz_theme_qsm-theme-sapience .sapience-file-upload-name {
    font-size: 14px;
    position: relative;
    width: fit-content;
}
.quiz_theme_qsm-theme-sapience .sapience-file-upload-error {
    margin-bottom: -35px;
    font-size: 14px;
    margin-right: -35px;
    margin-left: -35px;
    margin-top: 7px;
}
.quiz_theme_qsm-theme-sapience .mlw-file-upload-error-msg {
    display: none !important;
    text-align: center;
}
.quiz_theme_qsm-theme-sapience .sapience-file-upload-error-msg {
	color: red;
	background: #f3e2e2;
}
.quiz_theme_qsm-theme-sapience .sapience-file-upload-success-msg {
	color: #1dd969;
	background: #cff2dd;
}
.quiz_theme_qsm-theme-sapience .quiz_section .remove-uploaded-file {
    left: 70%;
    bottom: 58px;
    border: none;
    color: inherit;
}
.quiz_theme_qsm-theme-sapience .quiz_section .remove-uploaded-file:hover {
    color: red;
}
.quiz_theme_qsm-theme-sapience .qsm-question-count-dashboard {
    justify-content: baseline;
    padding: 10px;
    background: #FFFFFF;
    border: 2px solid #F8F4FE;
}
.quiz_theme_qsm-theme-sapience .qsm-correct-count-label::before {
    content: '\2022';
    display: inline-block;
    margin-right: 5px; 
    font-size: 16px; 
}
.quiz_theme_qsm-theme-sapience .qsm-correct-count .qsm-correct-count-label::before {
    color: #10B981;
}
.quiz_theme_qsm-theme-sapience .qsm-incorrect-count .qsm-correct-count-label::before {
    color: #C93312;
}
.quiz_theme_qsm-theme-sapience .qsm-unanswer-count .qsm-correct-count-label::before {
    color: #C2D9F0;
}
.quiz_theme_qsm-theme-sapience .dashicons-no-alt.icon, .quiz_theme_qsm-theme-sapience .dashicons-saved.icon, .quiz_theme_qsm-theme-sapience .dashicons-minus.icon {
    display: none;
}
.quiz_theme_qsm-theme-sapience .qsm-question-count-dashboard .text:after {
    content: '';
}
.quiz_theme_qsm-theme-sapience .qsm-question-count-dashboard .text:before {
    content: '';
}
@media screen and (max-width: 425px) {
    .rtl .quiz_theme_qsm-theme-sapience .qsm-theme-sapience-header .sapience-timer {
        left: 0;
        margin-top: 20px;
        position: absolute;
    }
    .rtl .qmn_quiz_container.quiz_theme_qsm-theme-sapience .qmn_pagination {
        width: 100% !important;
        flex-direction: row;
        justify-content: flex-start;
    }
    .rtl .qsm-quiz-container.quiz_theme_qsm-theme-sapience .mlw_horizontal_choice:nth-child(2n),
    .rtl .qsm-quiz-container.quiz_theme_qsm-theme-sapience .qmn_multiple_horizontal_check .mlw_horizontal_multiple:nth-child(2n),
    .rtl .quiz_theme_qsm-theme-sapience .qsm-results-page .qmn_image_option:nth-child(2n) {
        margin-right: 5px;
    }
    .rtl .qsm-quiz-container.quiz_theme_qsm-theme-sapience .question-type-polar-s .left-polar-title img,
    .rtl .qsm-quiz-container.quiz_theme_qsm-theme-sapience .question-type-polar-s .right-polar-title img {
        height: 100px !important;
        width: 100px !important;
    }
    .rtl .qmn_quiz_container.quiz_theme_qsm-theme-sapience select {
        padding-right: 8%;
    }
    .quiz_theme_qsm-theme-sapience .sapience-timer{
        margin-top: 25px;
    }
}
@media screen and (min-width: 650px) {
    .qsm-quiz-container.quiz_theme_qsm-theme-sapience.sapience-feature-image-added {
        display: flex;
        position: relative;
        align-items: center;
        max-width: 1000px !important;
        flex-direction: row;
        flex-wrap: wrap;
        overflow: hidden;
        justify-content: space-between;
    }
    .quiz_theme_qsm-theme-sapience.sapience-feature-image-added .sapience-featured-image-container {
        width: calc(40% - 35px);
        margin-right: 30px;
    }
    .quiz_theme_qsm-theme-sapience.sapience-feature-image-added .qmn_error_message,
    .quiz_theme_qsm-theme-sapience.sapience-feature-image-added .qsm-auto-save-main-wrap {
        width: 100%;
        box-sizing: border-box;
    }
    .quiz_theme_qsm-theme-sapience.sapience-feature-image-added .qsm-quiz-form {
        width: 60%;
    }
    .quiz_theme_qsm-theme-sapience.sapience-feature-image-added .qsm-theme-sapience-header .sapience-progress-bar {
        position: absolute;
        left: calc(40% - 60px);
        top: calc(50% - 30px);
    }
    .rtl .quiz_theme_qsm-theme-sapience.sapience-feature-image-added .qsm-theme-sapience-header .sapience-progress-bar {
        right: calc(45% - 62px);
    }
    .qmn_quiz_container.quiz_theme_qsm-theme-sapience .mlw_previous{
        margin-bottom: 0;
        margin-right: 20px;
    }
    .quiz_theme_qsm-theme-sapience .sapience-timer {
        position: absolute;
        top: 32px;
        right: 11px;
    }
    .rtl .quiz_theme_qsm-theme-sapience .sapience-timer {
        left: 11px;
        right: unset;
    }
    .quiz_theme_qsm-theme-sapience.sapience-feature-image-added .qsm-quiz-form {
        width: calc(60% - 25px);
        max-height: 500px;
        overflow-y: scroll;
        overflow-x: hidden;
    }
    .rtl .quiz_theme_qsm-theme-sapience.sapience-feature-image-added .qsm-quiz-form {
        width: calc(55% - 30px);
    }
    img.qsm-sapience-featured-image {
        height: 507px;
        object-fit: cover;
    }
}
.quiz_theme_qsm-theme-sapience .sapience-timer {
    position: relative;
    top: 0;
    right: 11px;
}
/*========================/ Feature image css end /==============================*/
/*============= / Responsive CSS start/ ===================*/
@media screen and (max-width: 649px) {
    .qsm-quiz-container.quiz_theme_qsm-theme-sapience .mlw_horizontal_choice,
    .qsm-quiz-container.quiz_theme_qsm-theme-sapience .qmn_multiple_horizontal_check .mlw_horizontal_multiple,
    .qsm-quiz-container.quiz_theme_qsm-theme-sapience .quiz_section .qmn_image_option {
		width: 46%;
	}
    .quiz_theme_qsm-theme-sapience .qsm-results-page .qmn_image_option{
        width: 100%;
    }
    .qsm-quiz-container.quiz_theme_qsm-theme-sapience .quiz_section .qmn_image_option,
    .quiz_theme_qsm-theme-sapience .quiz_section .qmn_image_option .qsm-input-label{
        min-width: 100%;
        margin-left: 0;
    }
    .sapience-featured-image-container {
        margin-top: 20px;
    }
    .quiz_theme_qsm-theme-sapience .left-polar-title, .quiz_theme_qsm-theme-sapience .right-polar-title {
        width: calc(50% - 15px) !important;
    }
    .quiz_theme_qsm-theme-sapience .question-type-polar-s .slider-main-wrapper{
        margin-top: 0;
    }
    .quiz_theme_qsm-theme-sapience .sapience-progress-bar{
        margin-top: 20px;
    }
    body .quiz_theme_qsm-theme-sapience .qsm-results-page .mlw_qmn_question .qmn_image_option:before{
        margin-top: 12px;
    }
}
/*============= / Responsive CSS End/ ===================*/
/*============= / Result page CSS Start/ ===========*/
.quiz_theme_qsm-theme-sapience .qmn_results_page .right-polar-title{
    margin-left: auto;
}
.quiz_theme_qsm-theme-sapience .qmn_results_page table.qsm_answer_table {
    width: 100%;
}
/*============= / Result page CSS End/ ===========*/
