/* Сброс стилей */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}

/* Конец */

:root {
    --imedical-ks-green: #81aa1d;
    --imedical-ks-yellow: #09205c;
    --imedical-ks-light-yellow: #09205c;
    --imedical-ks-dark-yellow: #09205c;
    --imedical-ks-dark-green: #226718;
    --imedical-ks-gray: #404040;
    --imedical-ks-cool-gray: #a8a8a8;
    --imedical-ks-light-gray: #f1f1f1;
    --gap-big: 64px;
    --gap-standart: 32px;
    --gap-small: 16px;
    --gap-xsmall: 8px;
    --padding-standart: 32px;
    --padding-small: 16px;
    --padding-xsmall: 8px;
    --imedical-ks-gradient: linear-gradient(
        241deg,
        #226718 -0.04%,
        #81aa1d 99.96%
    );
    --line-height-big: 150%;
}

@media screen and (max-width: 576px) {
    :root {
        --gap-big: 32px;
        --gap-standart: 16px;
        --gap-small: 8px;
        --gap-xsmall: 4px;
        --padding-standart: 16px;
        --padding-small: 8px;
        --padding-xsmall: 4px;
    }
}

body {
    margin: 0;
}

ol {
    list-style: decimal inside;
    margin: 0;
    padding: 0;
}

.paragraph {
    color: #727272;
    font-family: Noto Sans;
    font-size: 18px;
    font-style: normal;
    line-height: 24px;
}

@media screen and (max-width: 576px) {
    .paragraph {
        font-size: 16px;
    }
}

.paragraph_white {
    color: white;
}

.paragraph_light-yellow {
    color: var(--imedical-ks-light-yellow);
}

.paragraph_dark-yellow {
    color: var(--imedical-ks-dark-yellow);
}

.paragraph_bold {
    font-weight: 700;
}

.quiz_text-header {
    font-family: Noto Sans;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    color: var(--imedical-ks-gray);
}
@media screen and (max-width: 576px) {
    .quiz_text-header {
        font-size: 24px;
    }
}

.paragraph_caption {
    color: #09205c;
    line-height: 24px;
}

.paragraph_caption-small {
    font-size: 12px;
}

.paragraph_copyright {
    color: #909090;
    font-size: 11px;
}

.paragraph_dark-copyright {
    color: #333333;
    font-size: 14px;
}

.quiz_question_content_text-block {
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
@media screen and (max-width: 576px) {
    .quiz_question_content_text-block {
        gap: 16px;
        padding: 16px;
        border-radius: 16px;
    }
}

.quiz_question_content_text-block_p {
    color: var(--imedical-ks-gray);
    font-family: Noto Sans;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
}
@media screen and (max-width: 576px) {
    .quiz_question_content_text-block_p {
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
        line-height: 28px;
    }
}

.green {
    color: #a4e39d;
}

.quiz_text-header_welcome {
    color: white;
    font-family: 'Noto Sans';
}

.quiz_text-header_question {
    color: #a92876;
}

.quiz_text-normal {
    color: var(--imedical-ks-gray);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    font-family: Noto Sans;
    line-height: 145%;
}
@media screen and (max-width: 576px) {
    .quiz_text-normal {
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 145%;
    }
}

.quiz_text-normal_welcome {
    color: white;
}

.quiz_text-description {
    margin: 0;
    font-family: 'Noto Sans';
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    list-style-position: outside;
}
@media screen and (max-width: 576px) {
    .quiz_text-description {
        font-size: 11px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%;
    }
}

.quiz_text-description_welcome {
    color: white;
    font-family: 'Noto Sans';
}

.quiz_text-description_question {
    color: #808080;
    font-family: 'Noto Sans';
}

.quiz_text-description_wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 14px;
    margin-bottom: 8px;
    color: var(--imedical-ks-gray);
}

.quiz_main-container {
    top: 0;
    left: 0;
    width: 100%;
    border-radius: 16px;
    background: #eeeeee;
}

@media screen and (max-width: 992px) {
    .quiz_main-container {
        height: auto;
        max-height: none;
    }
}

.quiz_welcome {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1 0 0;
    align-self: stretch;
    height: 100%;
    background: url('https://static.tildacdn.com/tild3930-3935-4030-b664-373030383961/_4.jpg')
        no-repeat center top;
    background-size: cover;
    padding: 0;
}

.quiz_result {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 0 0;
    width: 100%;
    background-position: 100% 100%;
    gap: 32px;
    padding: 48px 32px;
    height: 100%;
}

@media screen and (max-width: 576px) {
    .quiz_result {
        gap: 16px;
    }
}

.quiz_welcome_content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.quiz_answer_content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
}

.quiz_welcome_content-text {
    display: flex;
    flex-direction: column;
}

.quiz_button {
    font-size: 18px;
    background: var(--imedical-ks-dark-yellow);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    border-radius: 12px;
    padding: 14px 42px;
}
@media screen and (max-width: 576px) {
    .quiz_button {
        width: 100%;
        padding: 12px 32px;
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }
}

.quiz_button_nextQuestion {
    display: inline-block;
}

.quiz_button_start {
    display: inline-block;
}

.quiz_button_restart {
    display: inline-block;
}

.quiz_slide {
    width: 100%;
    height: calc((100vw - 30px) * 0.5319);
    max-height: 510.624px;
    border-radius: 16px;
    display: none;
}

@media screen and (max-width: 768px) {
    .quiz_slide_with-mob {
        height: auto;
        max-height: none;
        border-radius: 8px;
    }
}

.quiz_final {
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1 0 0;
    align-self: stretch;
    height: 100%;
    background: linear-gradient(254deg, #ccd344 6.78%, #a92876 97.06%);
    display: none;
}

.quiz_question_content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    padding: 48px 32px;
    height: 100%;
}

@media screen and (max-width: 576px) {
    .quiz_question_content {
        padding: 16px;
    }
}

.quiz_question_bottom {
    display: flex;
    width: 100%;
    justify-content: end;
    align-items: end;
}

.quiz_question_content_header-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quiz_question_authors {
    margin: 0;
    padding: 0;
    list-style-type: none;

    font-family: 'Noto Sans';
    font-size: 12px;
    line-height: 20px;
}

.quiz_question-1 {
    display: flex;
}

.question {
    font-size: 30px;
    margin-bottom: 20px;
}

.quiz_question_options {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.quiz_result-block {
    padding: 16px 32px;
    border-radius: 16px;
    background: #a92876;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    width: fit-content;
}

.quiz_result-block_true-answer {
    color: #ccd344;
    font-size: 18px;
}

.quiz_result-block_true-answer_accent {
    color: #a92876;
    font-size: 18px;
}

.quiz_result-block_list {
    list-style-position: outside;
}

button {
    font-size: 20px;
    padding: 10px 20px;
    background-color: #4f98c2;
    color: white;
    border: none;
    cursor: pointer;
}

#score {
    font-size: 30px;
    color: darkslategray;
}

.checkbox-calc-container {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.checkbox-calc-container__header {
    font-size: 24px;
    font-weight: 700;
}

.checkbox-calc-container_options-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checkbox-calc-container_options-list_select {
    flex-direction: row;
}

.checkbox-calc-container__result {
    width: 100%;
    margin: 0;
    padding: 64px;
    background-color: #7030a0;
    border-radius: 16px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    display: none;
}

.checkbox-calc-container__number-item {
    width: 124px;
    height: 124px;
}

.checkbox-calc-container__number-img {
    width: 124px;
    height: 124px;
}

.checkbox-calc-container__option-container {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    max-width: 80vw;
}

.checkbox-calc-container__option-container_select {
    padding-right: 32px;
    border-right: 1px solid #a92876;
    flex-grow: 1;
    flex-basis: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
}

.checkbox-calc-container__option-container_select:last-child {
    border: 0;
    padding: 0;
}

.checkbox-calc-container__option-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-width: 80vw;
}

.checkbox-calc-container__option-description {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
}

.checkbox-calc-container__options-text {
    font-weight: 700;
    flex-grow: 1;
}

.checkbox-calc-container__option__input {
    width: 30px;
    height: 30px;
    border: 4px solid #a92876;
    border-radius: 4px;
    outline: none;
}

.checkbox-calc-container__option-block,
.quiz_result_option-block {
    display: flex;
    padding: 1rem;
    color: #09205c;
    border: 1px solid #09205c;
    border-radius: 16px;
    font-size: 12px;
    line-height: normal;
}

.checkbox-calc-container__option-block > ul,
.quiz_result_option-block > ul {
    margin-left: 1rem;
}

.quiz_result_option-block {
    color: #999;
    border-color: #999;
}

.checkbox-calc-container__option-block.active {
    font-weight: 600;
}

.checkbox-calc-container__header {
    display: inline-block;
}

.checkbox-calc-container__header-container {
    display: flex;
    gap: 16px;
}

.checkbox-calc-container__header_options {
    padding-left: 248px;
}

.checkbox-calc-container__options-img {
    width: 200px;
}

.checkbox-calc-container__header_number {
    width: 124px;
}

.checkbox-calc-container__options-radio {
    width: 24px;
    height: 24px;
    position: relative;
    cursor: pointer;
    display: block;
}
@media screen and (max-width: 576px) {
    .checkbox-calc-container__options-radio {
        width: 42px;
        height: 42px;
    }
}

.checkbox-calc-container__letter {
    width: 31px;
    height: 37px;
}

.checkbox-calc-container__reset-button {
    color: #007fff;
    border: 1px solid #007fff;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition-property: color, background-color;
    transition-duration: 0.3s;
}

.checkbox-calc-container__reset-button:hover {
    color: #ffffff;
    background-color: #007fff;
}

.checkbox-calc-container__option-container__form {
    height: 4%;
}

.checkbox-calc-container__option-container__select-input {
    font-size: 18px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 2px solid #ccd344;
    appearance: none;
    background-image: url('https://static.tildacdn.com/tild6161-6161-4639-a130-353864353661/select-arrow.png');
    background-repeat: no-repeat;
    background-position: right 0.7rem top 50%;
    background-size: 25px auto;
    width: 276px;
    cursor: pointer;
}

.quiz_final_white-block {
    background: white;
    margin: 96px;
    display: flex;
    padding: 32px 32px 64px 32px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border-radius: 40px;
}

.quiz_final_header {
    color: #a92876;
    text-align: center;
    font-family: 'Noto Sans';
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0 0 16px 0;
}

.quiz_final_text {
    color: #333;
    text-align: center;
    font-family: 'Noto Sans';
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0 0 32px 0;
}

.quiz_final_counter {
    color: #fff;
    text-align: center;
    font-family: 'Noto Sans';
    font-size: 78px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding: 8px 32px;
    border-radius: 21px;
    background: #a92876;
    margin: 0 0 80px 0;
}

.quiz_final_home {
    width: 82px;
    height: 82px;
    align-self: flex-end;
    margin-bottom: 34px;
}

.new-year-button {
    cursor: pointer;
    transition: 0.5s;
}

.new-year-button:hover {
    transform: scale(1.2);
    transition: 0.5s;
    animation-timing-function: ease-in-out;
}

.checkbox-calc-container__option-description a {
    display: inline-block;
    height: auto;
}

.new-year-button_clicked {
    transform: scale(1.1);
}

.new-year-button-long:hover {
    transform: scale(1.1);
}
.error {
    opacity: 0;
}
.show {
    opacity: 1;
}
.quiz_control-panel {
    display: flex;
    justify-content: end;
    gap: 16px;
    flex-wrap: wrap;
}
.quiz_control-panel_button {
    margin: 0;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
}
.quiz__control-panel__button {
    display: flex;
    padding: 16px 32px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    background-color: var(--imedical-ks-dark-yellow);
}
@media screen and (max-width: 576px) {
    .quiz__control-panel__button {
        width: 100%;
    }
}

.quiz__control-panel__button__text {
    color: #fff;
    font-family: Noto Sans;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 129.6%;
}
.quiz_control-panel_button_img {
    padding: 0;
    margin: 0;
    border-radius: 4px;
    background: #41c4bb;
    padding: 16px 32px;
    display: block;
}
.quiz__control-panel__button_blocked {
    background: #d0d0d0;
}
.quiz__control-panel__button__img_back {
    transform: rotateY(180deg);
}

.quiz_question_content_header-cont {
    display: flex;
    gap: 32px;
    align-items: center;
}
@media screen and (max-width: 576px) {
    .quiz_question_content_header-cont {
        gap: 16px;
    }
}
.quiz_question_content_header-img {
    width: 57px;
    height: 57px;
}
#exit-button {
    display: none;
}

.quiz_question_auto-height {
    flex-direction: column;
    justify-content: space-between;
}
@media screen and (max-width: 576px) {
    .quiz_question_auto-height {
        height: auto;
    }
}
.start_imedical-ks-logo {
    width: 120px;
}
@media screen and (max-width: 576px) {
    .start_imedical-ks-logo {
        width: 180px;
    }
}
.start_samovizit {
    color: var(--imedical-ks-yellow);
    font-family: Noto Sans;
    font-size: 24px;
    text-transform: uppercase;
    margin-top: 32px;
    line-height: 100%;

    b {
        font-size: 32px;
    }
}
@media screen and (max-width: 576px) {
    .start_samovizit {
        margin-top: 16px;
    }
}
.start-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}
@media screen and (max-width: 768px) {
    .start-container {
        justify-content: start;
        gap: 16px;
    }
}
.start_name {
    color: white;
    font-family: Noto Sans;
    font-size: 18px;
}
.start-essence-cont {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.start-essence-header {
    color: var(--imedical-ks-yellow);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    font-family: Noto Sans;
}
.start-essence-ul {
    padding-left: 16px;
    color: var(--imedical-ks-gray);
    font-family: Noto Sans;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 145%; /* 23.2px */
    text-decoration-line: underline;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.start-essence-name {
    color: #333;
    font-family: Noto Sans;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.quiz_question_slide-desktop {
    width: 100%;
    border-radius: 16px;
}

.quiz_question_slide-mobile {
    display: none;
    width: 100%;
    border-radius: 8px;
}

.samovizit {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.samovizit__med-disclaimer {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media screen and (max-width: 576px) {
    .quiz_question_slide-mobile {
        display: block;
    }
}

.quiz_question {
    background: top no-repeat;
    background-image: url('/assets/media/clin-case/clin-case-22/question-background.webp');
    background-size: cover;
    max-height: 510.624px;
}
@media screen and (max-width: 576px) {
    .quiz_question {
        min-height: auto;
    }
}
.checkbox-calc-container_two-columns {
    display: flex;
    gap: 64px;
}
@media screen and (max-width: 576px) {
    .checkbox-calc-container_two-columns {
        flex-direction: column;
        gap: 16px;
    }
}
.start_to-chosen-slide-link {
    cursor: pointer;
}

.start_to-chosen-slide-link {
    cursor: pointer;
}
.img_certificate {
    width: 55px;
    height: 60px;
}
.quiz_question_content_text-block_img {
    display: block;
    width: 100%;
}

.final-input__unit {
    border: 1px solid var(--imedical-ks-cool-gray);
    border-radius: 16px;
    padding: var(--padding-small) var(--padding-standart);
    outline: none;
    margin: 0;
    line-height: normal;
}

.final-input__unit::placeholder {
    color: #d0d0d0;
    font-family: Noto Sans;
    font-weight: 700;
    font-size: 16px;
}
