
.quiz {
    padding: 20px 15px;
    border-radius: 10px;
    background: #FFF;
    margin: 25px 0;
    height: calc(100vh - 50px);
    overflow: hidden;
    position: relative;
}

.quiz_content__steps a{
    display: none;
}
.quiz_content__steps a:first-child{
    display: block;
}

.quiz_content__steps_content .step{
    display: none;
}

.quiz_content__steps_content .step:first-child{
    display: block;
}

.step__title {
    font-size: 16px;
    line-height: 130%;
    text-transform: uppercase;
    font-weight: bold;
    padding-right: 60px;
}

a.quiz__close {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 2px solid #000;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 3px 0;
}

.quiz_content__steps a strong {
    display: none;
}

.quiz_content__steps a span {
    font-size: 13px;
    line-height: 12%;
    text-transform: uppercase;
    font-weight: 500;
}

.quiz_content__steps {
    margin-bottom: 10px;
}

.step__description {
    margin: 10px 0;
    font-size: 12px;
    line-height: 140%;
    padding-right: 60px;
}

.step__checkbox_with_images {
    margin: 20px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    overflow-y: scroll;
    max-height: calc(100vh - 280px);
    padding-bottom: 20px;
}

a.checkbox_with_image {
    width: calc(50% - 5px);
    border: 2px solid #f2f2f2;
    border-radius: 6px;
    overflow: hidden;
    display: block;
}

a.checkbox_with_image img {
    width: 100%;
    aspect-ratio: 145 / 92;
}

a.checkbox_with_image span {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
    gap: 10px;
    font-size: 12px;
    line-height: 140%;
}

a.checkbox_with_image span:before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='26' height='26' rx='10' fill='%23F2F2F2'/%3E%3Cg opacity='0.3'%3E%3Cpath d='M12.334 12.3333V8.33333H13.6673V12.3333H17.6673V13.6667H13.6673V17.6667H12.334V13.6667H8.33398V12.3333H12.334Z' fill='%23282A2A'/%3E%3C/g%3E%3C/svg%3E%0A");
    width: 26px;
    height: 26px;
    min-width: 26px;
    background-size: contain;
    display: block;
}

a.checkbox_with_image.active span:before {
    background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='30' height='30' rx='10' fill='%23BFC8A9'/%3E%3Cpath d='M13.3326 17.6434L20.9926 9.98254L22.1718 11.1609L13.3326 20L8.0293 14.6967L9.20763 13.5184L13.3326 17.6434Z' fill='%23282A2A'/%3E%3C/svg%3E%0A");

}


.step__controls {
    position: absolute;
    bottom: 0;
    background: #fff;
    width: 100%;
    height: 78px;
    left: 0;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.step__controls:before {
    content: '';
    position: absolute;
    left: 0;
    top: -30px;
    background: linear-gradient(0, #fff, transparent);
    width: 100%;
    height: 30px;
}

.quiz_content__steps_content .step:first-child a.step__controls-prev {
     display: none;
}

.quiz_content__steps_content .step a.step__controls-prev {
    font-size: 0;
    min-width: 48px;
    width: 48px;
    height: 48px;
    border: 2px solid #000;
    border-radius: 8px;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.828 11H20V13H7.828L13.192 18.364L11.778 19.778L4 12L11.778 4.22198L13.192 5.63598L7.828 11Z' fill='black'/%3E%3C/svg%3E%0A");
    background-size: 24px;
    background-position: center;
    background-repeat: no-repeat;
}

.quiz_content__steps_content .step a.step__controls-next {
    width: 100%;
    height: 48px;
    border: 2px solid #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color:  #fff;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 500;
}

a.checkbox_without_images {
    padding: 10px;
    border: 1px solid #f2f2f2;
    border-radius: 6px;
}

.step__checkbox_without_images {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0 0 0;
    overflow-y: scroll;
    max-height: calc(100vh - 280px);
    padding-bottom: 20px;
}

a.checkbox_without_images span {
    font-size: 12px;
    line-height: 140%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

a.checkbox_without_images span:before{
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='26' height='26' rx='10' fill='%23F2F2F2'/%3E%3Cg opacity='0.3'%3E%3Cpath d='M12.334 12.3333V8.33333H13.6673V12.3333H17.6673V13.6667H13.6673V17.6667H12.334V13.6667H8.33398V12.3333H12.334Z' fill='%23282A2A'/%3E%3C/g%3E%3C/svg%3E%0A");
    width: 26px;
    height: 26px;
    min-width: 26px;
    background-size: contain;
    display: block;
}

a.checkbox_without_images.active span:before {
    background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='30' height='30' rx='10' fill='%23BFC8A9'/%3E%3Cpath d='M13.3326 17.6434L20.9926 9.98254L22.1718 11.1609L13.3326 20L8.0293 14.6967L9.20763 13.5184L13.3326 17.6434Z' fill='%23282A2A'/%3E%3C/svg%3E%0A");
}


.step__checkbox_without_images textarea {
    border: 1px solid #f2f2f2;
    width: 100%;
    display: block;
    height: 100px;
    min-height: 100px;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
}

.step__video img {
    width: 100%;
}

.step__video {
    border-radius: 8px;
    overflow: hidden;
    min-height: 52vw;
}

.step__video video {
    width: 100%;

}

.step__checkbox_with_video {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: scroll;
    max-height: calc(100vh - 280px);
    padding-bottom: 20px;
}

a.radio_with_video,
a.checkbox_with_video {
    padding: 10px;
    border: 1px solid #f2f2f2;
    border-radius: 6px;
}

a.radio_with_video span,
a.checkbox_with_video span{
    font-size: 12px;
    line-height: 140%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}


a.radio_with_video span:before {
    content: '';
    display: block;
    width: 26px;
    height: 26px;
    background-image: url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='25' height='25' rx='12.5' fill='%23F2F2F2' stroke='%23DAD9D9'/%3E%3C/svg%3E%0A");
    background-size: contain;
    background-repeat: no-repeat;
}

a.radio_with_video.active span:before {
    background-image: url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='25' height='25' rx='12.5' stroke='%23DAD9D9'/%3E%3Crect x='6' y='6' width='14' height='14' rx='7' fill='%23282A2A'/%3E%3C/svg%3E%0A");
}

a.checkbox_with_video span:before {
    content: '';
    width: 26px;
    height: 26px;
    display: block;
    background-image: url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='26' height='26' rx='10' fill='%23F2F2F2'/%3E%3Cg opacity='0.3'%3E%3Cpath d='M12.334 12.3333V8.33333H13.6673V12.3333H17.6673V13.6667H13.6673V17.6667H12.334V13.6667H8.33398V12.3333H12.334Z' fill='%23282A2A'/%3E%3C/g%3E%3C/svg%3E%0A");
    background-size: contain;
    background-repeat: no-repeat;
}

a.checkbox_with_video.active span:before {
    background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='30' height='30' rx='10' fill='%23BFC8A9'/%3E%3Cpath d='M13.3326 17.6434L20.9926 9.98254L22.1718 11.1609L13.3326 20L8.0293 14.6967L9.20763 13.5184L13.3326 17.6434Z' fill='%23282A2A'/%3E%3C/svg%3E%0A");
}

.step__radio_with_video {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: scroll;
    max-height: calc(100vh - 280px);
    padding-bottom: 20px;
}

.step__form .form_banner_title {
    display: none;
}

.step__form {overflow-y: auto;max-height: calc(100vh - 300px);padding-bottom: 40px;}

.quiz_form_input{
    display: none;
}

@media (min-width: 1024px) {


    .quiz {
        margin: min(calc(50 / 1650 * 100vw), 50px) 0;
        padding: min(calc(50 / 1650 * 100vw), 50px);
        height: auto;
    }

    .quiz_content {
        display: flex;
        align-items: stretch;
        justify-content: space-between;
        gap: min(calc(50 / 1650 * 100vw), 50px);
    }

    .quiz_content__steps {
        width: min(calc(340 / 1650 * 100vw), 340px);
        min-width: min(calc(340 / 1650 * 100vw), 340px);
        background: #f2f2f2;
        border-radius: min(calc(10 / 1650 * 100vw), 10px);
        margin: 0;
        padding: min(calc(4 / 1650 * 100vw), 4px);
    }

    .quiz_content__steps a {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 0 min(calc(10 / 1650 * 100vw), 10px);
        padding: min(calc(16 / 1650 * 100vw), 16px) min(calc(18 / 1650 * 100vw), 18px) min(calc(16 / 1650 * 100vw), 16px) min(calc(72 / 1650 * 100vw), 72px);
        border-radius: 8px;
        position: relative;
        height: min(calc(80 / 1650 * 100vw), 80px);
    }
    .quiz_content__steps a.completed:first-child,
    .quiz_content__steps a.completed{
        background: transparent;
    }
    .quiz_content__steps a.completed:before{
        background-image: url("data:image/svg+xml,%3Csvg width='44' height='44' viewBox='0 0 44 44' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='42' height='42' rx='9' fill='%23282A2A'/%3E%3Crect x='1' y='1' width='42' height='42' rx='9' stroke='%23282A2A' stroke-width='2'/%3E%3Cpath d='M20.0007 25.172L29.1927 15.979L30.6077 17.393L20.0007 28L13.6367 21.636L15.0507 20.222L20.0007 25.172Z' fill='white'/%3E%3C/svg%3E%0A");

        border: 0;
    }

    .quiz_content__steps a.active{
        background: #fff;
    }

    .quiz_content__steps a.active:before{
e
    }

    .quiz_content__steps a:before {
        content: '';
        width: min(calc(44 / 1650 * 100vw), 44px);
        height: min(calc(44 / 1650 * 100vw), 44px);
        display: block;
        border: 1px solid #9094A0;
        border-radius: min(calc(10 / 1650 * 100vw), 10px);
        position: absolute;
        left: min(calc(18 / 1650 * 100vw), 18px);
        top: min(calc(16 / 1650 * 100vw), 16px);
        background-size: contain !important;
        background-position: center !important;
    }

    .quiz_content__steps a:first-child {
        background: #fff;
        display: flex;
    }

    .quiz_content__steps a strong {
        display: block;
        font-size: min(calc(16 / 1650 * 100vw), 16px);
        line-height: 120%;
        margin-top: min(calc(5 / 1650 * 100vw), 5px);
    }

    .quiz_content__steps a span {
        font-size: min(calc(14 / 1650 * 100vw), 14px);
        line-height: 120%;
    }

    .step__title {
        font-size: min(calc(36 / 1650 * 100vw), 36px);
        line-height: 130%;
        text-align: center;
        padding: 0 40px;
    }

    a.quiz__close {
        right: min(calc(50 / 1650 * 100vw), 50px);
        top: min(calc(50 / 1650 * 100vw), 50px);
    }

    .step__description {
        font-size: min(calc(16 / 1650 * 100vw), 16px);
        line-height: 160%;
        text-align: center;
        padding: 0 40px;
        margin: min(calc(10 / 1650 * 100vw), 10px) 0;
    }

    .step__checkbox_with_images {
        margin: min(calc(50 / 1650 * 100vw), 50px) 0 0 0;
    }

    a.checkbox_with_image {
        width: calc(25% - min(calc(22.5 / 1650 * 100vw), 22.5px));
        border-radius: min(calc(10 / 1650 * 100vw), 10px);
    }

    a.checkbox_with_image span {
        font-size: min(calc(16 / 1650 * 100vw), 16px);
        line-height: 160%;
        padding: min(calc(20 / 1650 * 100vw), 20px)
    }

    a.checkbox_with_image span:before {
        width: min(calc(30 / 1650 * 100vw), 30px);
        min-width: min(calc(30 / 1650 * 100vw), 30px);
        height: min(calc(30 / 1650 * 100vw), 30px);
    }

    .step__controls {
        position: static;
        padding: 0;
    }

    .quiz_content__steps_content .step a.step__controls-next {
        width: min(calc(405 / 1650 * 100vw), 405px);
        height: min(calc(60 / 1650 * 100vw), 60px);
    }

    .quiz_content__steps_content .step:first-child a.step__controls-prev {
        display: block;
        opacity: 0;
    }
    .quiz_content__steps_content {flex-grow: 2;}

    .step__checkbox_without_images.values {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .step__checkbox_without_images textarea {grid-column: span 4 / auto;}

    .quiz_content__steps_content .step a.step__controls-prev {
        background: transparent;
        font-size: min(calc(16 / 1650 * 100vw), 16px);
        line-height: 140%;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        justify-content: center;
        width: min(calc(405 / 1650 * 100vw), 405px);
    }

    .step__video {
        height: auto;
        min-height: auto;
        width: 38vw;
        position: absolute;
        left: 0;
    }

    .step__checkbox_with_video {
        padding-left:40vw;
        position: relative;
        min-height: min(calc(450 / 1650 * 100vw), 450px);
        width: 60vw;
    }

    .step__checkbox_with_images {
        min-height: min(calc(450 / 1650 * 100vw), 450px);
        align-items: flex-start;
        place-content: flex-start;
        width: 60vw;
    }

    .step__checkbox_without_images {
        min-height: min(calc(450 / 1650 * 100vw), 450px);
        align-items: flex-start;
        place-content: flex-start;
        width: 60vw;
    }

    a.checkbox_without_images {
        display: block;
    }

    .step__checkbox_without_images textarea {
        width: 100%;
    }

    .step__radio_with_video {
        position: relative;
        min-height: min(calc(450 / 1650 * 100vw), 450px);
        padding-left:40vw;
        width: 60vw;
    }

    .step__form {
        max-width: min(calc(500 / 1650 * 100vw), 500px);
        margin: min(calc(50 / 1650 * 100vw), 50px) auto;
    }

}