@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400..900&display=swap');


.quiz_block{
    font-family: "Golos Text", sans-serif;
    position: relative;
}
.quiz_block-wrapper{
    min-height: 80vh;
}
.quiz_block-info{
    padding-top: 20px;
    width: 770px;
}
.quiz_block .quiz_block-title{
    font-weight: 600;
    line-height: 73.5px;
    font-size: 70px;
    margin-bottom: 60px;
}
.quiz_block-text{
    line-height: 31.2px;
    color: #333333;
    margin-bottom: 40px;
    font-size: 24px;
    max-width: 500px;
}
.quiz_block-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    background: #224B94;
    width: 360px;
    height: 70px;
    border-radius: 5px;
    font-weight: 700;
    line-height: 28.6px;
    text-align: center;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding-right: 56px;
    position: relative;
    transition: all 0.3s;
}
.quiz_block-btn:hover{
    background: #1b3c76;
}
.quiz_block-btn::before{
    position: absolute;
    content: "";
    background-image: url(https://hoermannpartner.by/images/quiz/btn_arrow.svg);
    background-size: cover;
    width: 56px;
    height: 56px;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
}
.quiz_block-img{
    position: absolute;
    top: 60px;
    right: 0px;
    z-index: -1;
    max-width: calc(100% - 690px);
}
.quiz_block-img::before{
    position: absolute;
    content: "";
    background-image: url(https://hoermannpartner.by/images/quiz/quiz_block-img-bef.png);
    background-size: cover;
    width: 362px;
    height: 397px;
    left: -22px;
    bottom: 0px;
    animation: phone-anim ease-in-out 2s infinite;
}
@keyframes phone-anim{
    0% {
        transform: translateY(0%);
    }
    
    50% {
        transform: translateY(-2%);
    }
    100% {
        transform: translateY(0%);
    }
}


.quiz_frame{
    max-width: 100%;
    width: 1460px;
    background: linear-gradient(90deg, #F2F7F8 47.81%, #FFFFFF 71.99%);
    border-radius: 50px;
    font-family: "Golos Text", sans-serif;
    color: #333333;
}
.quiz_frame:not(.hide){
    animation: opacityAnim 1s;
}
@keyframes opacityAnim{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
.quiz_frame.hide{
    display: none;
}
.quiz_block-prev.hide{
    display: none;
}
.quiz_wrapper{
    display: flex;
    justify-content: space-between;
}
.quiz_left{
    padding: 60px 40px 70px 70px;
    display: flex;
    width: calc(100% - 332px);
    flex-direction: column;
    min-height: 680px;
}
.quiz_subtitle{
    line-height: 20.8px;
    color: #898989;
    font-size: 16px;
    margin-bottom: 50px;
}
.quiz_steps-count{
    font-weight: 600;
    line-height: 26px;
    color: #224B94;
    margin-bottom: 10px;
    font-size: 20px;
}
.quiz_step{
    display: none;
}
.quiz_step.active{
    display: block;
    animation: stepAnim 0.6s;
}
@keyframes stepAnim{
    0%{
        opacity: 0;
        transform: translateX(-40px);
    }
    100%{
        opacity: 1;
        transform: translateX(0px);
    }
}
.quiz_step-title{
    font-weight: 600;
    line-height: 31.2px;
    font-size: 24px;
    margin-bottom: 50px;
}
.quiz_chek{
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
    cursor: pointer;
}
.quiz_chek input{
    display: none;
}
.quiz_chek:last-child{
    margin-bottom: 0;
}
.quiz_chek span{
    border: 1px solid #E0E0E0;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    position: relative;
    background: #FFFFFF;
    min-width: 30px;
}
.quiz_chek span::before{
    position: absolute;
    content: "";
    background: #E0E0E0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    top: 50%;
    right: 50%;
    transform: translate(50%,-50%);
}
.quiz_chek input:checked + span::before{
    background: #224B94;
}
.quiz_bot{
    display: flex;
    margin-top: auto;
}
.submit,
.quiz_next{
    display: flex;
    justify-content: center;
    align-items: center;
    background: #224B94;
    user-select: none;
    width: 360px;
    height: 70px;
    border-radius: 5px;
    font-weight: 700;
    line-height: 28.6px;
    text-align: center;
    color: #fff;
    font-size: 22px;
    padding-right: 56px;
    cursor: pointer;
    border: none;
    position: relative;
    transition: all 0.3s;
}
.submit{
    display: none;
}
.submit.done{
    display: flex;
}
a.quiz_next.done{
    display: none;
}
.submit:hover,
.quiz_next:hover{
    background: #1b3c76;
}
.submit.disabled,
.quiz_next.disabled{
    opacity: 0.5;
    pointer-events: none;
}
.submit::before,
.quiz_next::before{
    position: absolute;
    content: "";
    background-image: url(https://hoermannpartner.by/images/quiz/btn_arrow.svg);
    background-size: cover;
    width: 56px;
    height: 56px;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
}
.quiz_aside{
    padding: 90px 40px 280px;
    background-image: url(https://hoermannpartner.by/images/quiz/quiz_aside.png);
    background-size: cover;
    background-position: center;
    width: 331px;
    border-radius: 40px;
    filter: drop-shadow( 25px 25px 45px #34505333);
}
.quiz_aside-title{
    font-weight: 600;
    line-height: 21.6px;
    font-size: 18px;
    margin-bottom: 40px;
}
.quiz_aside-info{
    position: relative;
    padding: 40px 0;
}
.quiz_aside-info::before{
    position: absolute;
    content: "";
    background: #224B94;
    border-radius: 10px;
    height: 4px;
    top: 0;
    right: 0;
    width: 100%;
}
.quiz_aside-info::after{
    position: absolute;
    content: "";
    background: #224B94;
    border-radius: 10px;
    height: 4px;
    bottom: 0;
    right: 0;
    width: 100%;
}
.quiz_aside-inner{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
}
.quiz_aside-subtitle{
    font-size: 18px;
    line-height: 23.4px;
}
.quiz_aside-count{
    background: #224B94;
    border-radius: 40px;
    font-size: 20px;
    line-height: 24px;
    color: #fff;
    font-weight: 600;
    padding: 4px 20px 7px;
}
.quiz_aside-desc{
    line-height: 15.6px;
    color: #898989;
    font-size: 12px;
}
.quiz_aside-progressbar{
    width: 100%;
    background: #FFFFFF;
    border-radius: 10px;
    height: 10px;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}
.quiz_aside-progressbar span{
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    transition: all 0.3s;
    background: linear-gradient(90deg, #224B94 32.05%, rgba(71, 179, 191, 0) 100%);
    width: 30px;
}
.quiz_aside-img{
    position: absolute;
    bottom: 15px;
    right: 50%;
    transform: translateX(50%);
}
.quiz_aside.done .quiz_aside-img::before{
    position: absolute;
    content: "";
    background-image: url(https://hoermannpartner.by/images/quiz/check_done.png);
    background-size: cover;
    width: 118px;
    height: 100px;
    top: -22px;
    left: -22px;
}
.quiz_prev{
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 40px;
    cursor: pointer;
    border-radius: 5px;
}
.quiz_prev.disabled{
    display: none;
}
.quiz_inp{
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 23.4px;
    font-size: 18px;
    margin-bottom: 15px;
}
.quiz_inp span{
    width: 210px;
}
.quiz_inp input{
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    display: block;
    width: 150px;
    height: 40px;
    border-radius: 10px;
    padding-left: 23px;
    font-weight: 500;
    font-size: 18px;
}
.quiz_inp input::-webkit-outer-spin-button,
.quiz_inp input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0; 
}
.quiz_inp input::placeholder{
    color: #ADADAD;
    font-size: 13px;
}
.quiz_zamer{
    display: flex;
    align-items: center;
    gap: 15px;
    line-height: 23.4px;
    cursor: pointer;
    font-size: 18px;
}
.quiz_zamer  input{
    display: none;
}
.quiz_zamer span{
    border: 1px solid #E0E0E0;
    background: #FFFFFF;
    width: 30px;
    height: 30px;
    border-radius: 5px;
}
.quiz_zamer  input:checked + span{
    background: #224B94;
    background-image: url(https://hoermannpartner.by/images/quiz/check.svg);
    background-position: center;
    background-repeat: no-repeat;
}
.quiz_range-title{
    line-height: 23.4px;
    font-size: 18px;
    margin-bottom: 15px;
}
.quiz_range{
    width: 875px;
    max-width: 100%;
    margin-bottom: 30px;
}
.quiz_range-items{
    user-select: none;
    display: flex;
}
.quiz_range-item{
    flex: 1;
    font-size: 14px;
    line-height: 18.2px;
    color: #7B7B7B;
    cursor: pointer;
    text-align: center;
    margin-top: 10px;
}
.quiz_range-item:first-child{
    text-align: left;
    flex: 0.5;
}
.quiz_range-item:last-child{
    text-align: right;
    flex: 0.5;
}
.quiz_range-item:first-child span::after{
    left: 0;
    transform: none;
}
.quiz_range-item:last-child span::after{
    right: 0;
    transform: none;
}
.quiz_range-item span{
    display: block;
    height: 20px;
    width: 100%;
    margin-bottom: 5px;
    position: relative;
}
.quiz_range-item span::before{
    position: absolute;
    content: "";
    background: #DDE9E9;
    width: 100%;
    height: 3px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s;
    left: 0;
}
.quiz_range-item span::after{
    position: absolute;
    content: "";
    width: 20px;
    height: 20px;
    background: #DDE9E9;
    top: 0;
    right: 50%;
    transform: translateX(50%);
    transition: all 0.3s;
    border-radius: 50%;
}
.quiz_range-item input{
    display: none;
}
.quiz_range-item.done span::after,
.quiz_range-item.active span::after{
    background: #224B94;
}
.quiz_range-item.active span::before{
    background: linear-gradient(80deg, rgba(34,75,148,1) 50%, rgba(221,233,233,1) 50%);
}
.quiz_range-item.done span::before{
    background: linear-gradient(80deg, rgba(34,75,148,1) 50%, rgba(34,75,148,1) 50%);
}
.quiz_range-item.active:last-child span::before{
    background: linear-gradient(80deg, rgba(34,75,148,1) 50%, rgba(34,75,148,1) 50%);
}
.quiz_range-item.active:first-child span::before{
    background: #DDE9E9;
}
.quiz_steps-city{
    width: 560px;
}
.quiz_steps-city input{
    width: 100%;
    height: 70px;
    display: block;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding-left: 30px;
    font-weight: 500;
    line-height: 26px;
    font-size: 20px;
}
.quiz_steps-city input::placeholder{
    color: #ADADAD;
    font-size: 16px;
}
.quiz_step-options{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px 10px;
}
.quiz_step-option{
    width: calc(50% - 5px);
    display: flex;
    align-items: center;
    cursor: pointer;
    line-height: 23.4px;
    gap: 15px;
    font-size: 18px;
}
.quiz_step-subtitle{
    margin-top: -40px;
    margin-bottom: 50px;
    line-height: 20.8px;
    font-size: 16px;
}
.quiz_step-option input{
    display: none;
}
.quiz_step-option span{
    background: #FFFFFF;
    width: 30px;
    min-width: 30px;
    height: 30px;
    border-radius: 5px;
    border: 1px solid #E0E0E0;
}
.quiz_step-option input:checked + span{
    background: #224B94;
    background-image: url(https://hoermannpartner.by/images/quiz/check.svg);
    background-position: center;
    background-repeat: no-repeat;
}
.quiz_inner{
    display: flex;
    flex-wrap: wrap;
    gap:15px  20px ;
    max-width: 830px;
    margin-top: -26px;
}
.quiz_inner-subtitle{
    font-size: 14px;
    line-height: 19.6px;
    color: #898989;
    margin-bottom: 5px;
    font-weight: 400;
}
.quiz_inner-subtitle span{
    color: #FF0000;
}
.quiz_inner-item{
    width: calc(50% - 10px);
}
.quiz_inner-item:first-child{
    width: 100%;
}
.quiz_inner-inp{
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    height: 60px;
    width: 100%;
    display: block;
    padding-left: 30px;
    border-radius: 10px;
    overflow: hidden;
}
.quiz_inner-inp.active{
    background: #DCEDE6;
}
.quiz_inner-inp input{
    width: 100%;
    font-weight: 500;
    line-height: 23.4px;
    height: 100%;
    background: none;
    font-size: 18px;
    border: none;
}
.quiz_inner-inp input::placeholder{
    line-height: 20.8px;
    color: #ADADAD;
    font-size: 16px;
}
.quiz_inner-select{
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    height: 60px;
    width: 100%;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.quiz_inner-select::before{
    position: absolute;
    content: "";
    background-image: url(https://hoermannpartner.by/images/quiz/select_arrow.svg);
    background-size: cover;
    width: 18px;
    height: 14px;
    pointer-events: none;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}
.quiz_inner-select.active{
    background: #DCEDE6;
}
.quiz_inner-select select{
    width: 100%;
    font-weight: 500;
    line-height: 23.4px;
    padding-left: 30px;
    height: 100%;
    font-size: 18px;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
    cursor: pointer;
}
.select{
    position: relative;
}
.select._active .select__body{
    display: block;
}
.select__body{
    display: none;
    position: absolute;
    left: 0;
    top: 70px;
    width: 100%;
    max-height: 200px;
    overflow: auto;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    font-weight: 500;
    line-height: 26px;
    font-size: 18px;
    padding: 20px;
}
.select__body::-webkit-scrollbar{
    width: 6px;
}
.select__body::-webkit-scrollbar-thumb{
    background: rgb(34,75,148);
}
.select__item{
    cursor: pointer;
}
.ui-slider{
    background: #DDE9E9;
    height: 3px;
    border-radius: 10px;
    position: relative;
}
.ui-slider-range {
    background: #224B94;
    position: absolute;
    top: 0;
    height: 100%;
}
.ui-slider-handle{
    background: #224B94;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
}
.ui-slider-handle span{
    position: absolute;
    top: calc(100% + 2px);
    right: 50%;
    transform: translateX(50%);
    font-size: 14px;
    line-height: 18.2px;
    color: #7B7B7B;
    background-color: #F2F7F8;
    padding: 4px;
}
.comment{
    width: 100%;
        margin-bottom: 20px;
}





@media(max-width:1500px){
    .quiz_block-img{
        right: 0;
        width: 600px;
    max-width:100%;
        top: 340px;
    }
    .quiz_block-img img{
        width: 100%;
        height: auto;
    }
    .quiz_block-img::before {
        width: 270px;
        height: 310px;
        left: -82px;
        bottom: -60px;
    }
    .quiz_left {
        padding: 40px 40px 40px 40px;
        min-height: auto;
    }
    .quiz_aside {
        padding: 60px 40px 220px;
        width: 300px;
    }
    .quiz_aside-img{
        bottom: 3px;
        width: 180px;
    }
    .quiz_aside-img img{
        width: 100%;
        height: auto;
    }
    .quiz_steps-city{
        margin-top: -30px;
    }
}
@media (max-width: 1200px) {
    .header{
        padding-top: 30px;
    }
    .quiz_block .quiz_block-title {
        line-height: 62px;
        font-size: 58px;
        margin-bottom: 40px;
    }
    .quiz_block-img {
        right: 0;
        width: 520px;
        top: 280px;
    }
    .quiz_block-img::before {
        width: 198px;
        height: 227px;
        left: -3px;
        bottom: -60px;
    }
    .quiz_left{
        width: calc(100% - 300px);
    }
    .select__body{
        max-height: 180px;
        font-size: 16px;
    }
    .quiz_steps-city{
        max-width: 100%;
    }
}
@media (max-width: 991.98px){
    .quiz_block-img{
        top: auto;
        position: relative;
        transform: none;
        margin: 40px auto 0;
    }
    .quiz_frame{
        background: none;
    }
    .quiz_wrapper{
        flex-direction: column-reverse;
    }
    .quiz_left{
        width: 100%;
        padding: 0;
    }
    .quiz_aside{
        width: 100%;
        margin-bottom: 30px;
        background: #EDF5F6;
        padding: 40px 220px 40px 40px;
        border-radius: 20px;
        position: relative;
        filter: none;
    }
    .quiz_aside-img{
        right: 20px;
        transform: none;
        bottom: 0;
    }
    .quiz_subtitle{
        display: none;
    }
    .quiz_bot{
        margin-top: 40px;
    }
    .select__body{
        position: relative;
        top: 0;
        margin-top: 10px;
        padding-top: 10px;
        max-height: 140px;
    }
}
@media (max-width: 767.98px){
    .quiz_steps-city{
        margin-top: 0;
    }
    .quiz_block-info{
        width: 100%;
    }
    .header_logo{
        display: block;
        width: 157px;
    }
    .header_logo img{
        width: 100%;
        height: auto;
    }
    .quiz_block .quiz_block-title{
        font-weight: 600;
        line-height: 31.5px;
        margin-bottom: 30px;
        font-size: 30px;
    }
    .quiz_block-text{
        line-height: 20.8px;
        margin-bottom: 30px;
        font-size: 16px;
    }
    .quiz_block-btn{
        height: 60px;
        width: 100%;
        font-size: 18px;
    }
    .quiz_block-btn::before{
        width: 46px;
        height: 46px;
    }
    .quiz_block-img{
        width: 373px;
        right: -21px;
    }
    .quiz_block-img::before {
        width: 150px;
        height: 172px;
        left: 3px;
        bottom: -45px;
    }
    .quiz_aside{
        padding: 20px 65px 20px 10px;
    }
    .quiz_aside-title{
        font-size: 14px;
        margin-bottom: 15px;
        line-height: 16.8px;
    }
    .quiz_aside-info{
        padding: 0;
    }
    .quiz_aside-info::before,
    .quiz_aside-info::after{
        display: none;
    }
    .quiz_aside-img{
        width: 89px;
    }
    .quiz_aside-subtitle{
        line-height: 18.2px;
        font-size: 14px;
    }
    .quiz_aside-count{
        padding: 2px 18px 4px;
        line-height: 19.2px;
        font-size: 16px;
    }
    .quiz_aside-progressbar{
        width: 200px;
        height: 6px;
        margin-bottom: 15px;
    }
    .quiz_aside-desc{
        width: 200px;
        line-height: 13px;
        font-size: 10px;
    }
    .quiz_steps-count{
        line-height: 20.8px;
        font-size: 16px;
    }
    .quiz_step-title{
        line-height: 23.4px;
        margin-bottom: 30px;
        font-size: 18px;
    }
    .quiz_chek{
        line-height: 18.2px;
        font-size: 14px;
        gap: 10px;
        margin-bottom: 20px;
    }
    .quiz_chek span{
        width: 24px;
        height: 24px;
        min-width: 24px;
    }
    .submit,
    .quiz_next{
        width: 100%;
        height: 60px;
        line-height: 23.4px;
        font-size: 18px;
    }
    .submit::before,
    .quiz_next::before{
        width: 46px;
        height: 46px;
    }
    .quiz_prev{
        margin-right: 10px;
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
    .quiz_inp{
        font-size: 14px;
        line-height: 18.2px;
    }
    .quiz_inp span{
        width: calc(100% - 164px);
    }
    .quiz_inp input{
        width: 140px;
        padding-left: 20px;
        font-size: 16px;
    }
    .quiz_inp input::placeholder{
        font-size: 11px;
    }
    .quiz_zamer{
        line-height: 18.2px;
        font-size: 14px;
        gap: 10px;
    }
    .quiz_zamer span{
        width: 24px;
        height: 24px;
    }
    .quiz_range-item span::after{
        width: 16px;
        height: 16px;
    }
    .quiz_range-item span{
        height: 16px;
    }
    .quiz_range-title{
        line-height: 18.2px;
        font-size: 14px;
    }

    .quiz_range-item{
        line-height: 14.3px;
        font-size: 11px;
       
    }
    .quiz_steps-city{
        width: 100%;
    }
    .quiz_steps-city input{
        height: 60px;
        padding-left: 20px;
        font-size: 16px;
    }
    .quiz_steps-city input::placeholder{
        font-size: 14px;
    }
    .quiz_step-subtitle{
        display: none;
    }
    .quiz_step-option{
        width: 100%;
        gap: 10px;
        line-height: 18.2px;
        font-size: 14px;
    }
    .quiz_step-option span{
        width: 24px;
        height: 24px;
        min-width: 24px;
    }
    .quiz_inner{
        margin-top: 0;
    }
    .quiz_aside.done .quiz_aside-img::before{
        width: 48px;
        height: 40px;
        top: -7px;
        left: -10px;
    }
    .quiz_step:last-child    .quiz_step-subtitle{
        display: block;
        margin-top: -10px;
        line-height: 19.6px;
        font-size: 14px;
        margin-bottom: 20px;
    }
    .quiz_inner-item{
        width: 100%;
    }
    
}