.calc-wrap{

}
.calc-tabs__links{
    display: flex;
    counter-reset: tabs;
    justify-content: space-between;
    padding-bottom: 71px;
    position: relative;
}
.calc-tabs__link{
    counter-increment: tabs;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 181px;
    flex-shrink: 1;
    position: relative;
}
.calc-tabs__link:first-of-type:after,
.calc-tabs__link:last-of-type:after{
    position: absolute;
    background: #fff;
    width: 50%;
    height: 83px;
    content: "";
    display: block;
    left: 0;
    top: 0;
    z-index: 1;
}
.calc-tabs__link:last-of-type:after{
    left: auto;
    right: 0;
}
.calc-tabs__link:before{
    content: counter(tabs);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 83px;
    height: 83px;
    border-radius: 83px;
    border: 3px solid #CCC;
    background: #EEF0F2;
    font-size: 24px;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}
.calc-tabs__link:hover:before{
    border-color: #aaa;
}
.calc-tabs__link--active:before{
    border-color: #429380 !important;
    cursor: default;
}
.calc-tabs__link--error:before{
    border-color: #FF5700 !important;
}
.calc-tabs__link--active .ct-triangle{
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 40px 33px 40px;
    border-color: transparent transparent #EEF0F2 transparent;
    position: absolute;
    bottom: -72px;
}
.calc-tabs__link--completed:before{
    border-color: #000;
}
@media (min-width: 768px) {
    .calc-tabs__links{
        background-image: url('/kalkulyator/assets/images/arrows.svg');
        background-repeat: no-repeat;
        background-position: center 40px;
    }
}
.calc-form{
    font-size: 16px;
    font-weight: 400;
}
.calc-form input[type="checkbox"],
.calc-form input[type="radio"]{
    display: none;
}
.calc-form .ct__btn{
    text-transform: none;
    padding: 28.5px 75.5px;
    border-radius: 50px;
    background: #429380;
    color: #FFF;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    display: inline-flex;
}
.calc-form .ct__btn p{
    line-height: 1;
}
.calc-form .ct__btn.ct__next{
    background: #000;
}
.calc-tabs__content{
    padding: 52px 40px 0 46px;
    background: #EEF0F2;
}
.ct__title{
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 19px;
    line-height: normal;
}
.ct__subtitle,
.ct__subtitle a{
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: normal;
}
.ct__subtitle a{
    color: #429380;
}
.ct__result{
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}
.ct__result span{
    color: #429380;
}
.ct-consent,
.ct-consent a{
    font-size: 14px;
    line-height: 20px;
}
.ct__row{
    display: flex;
}
.ct__col{
    margin-right: 30px;
    margin-bottom: 30px;
}
.ct__col--fw{
    width: 100%;
}
.ct__input-name{
    margin-bottom: 8px;
}
.ct__input{
    display: flex;
    align-items: center;
    gap: 10px;
}
.ct__input input,
.ct__input label{
    height: 70px;
    padding: 25px;
    font-size: 16px;
    display: inline-block;
    line-height: 1;
}
.ct__input--int-radio label{
    width: 70px;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
}
.ct__input input:focus,
.ct__input input:hover,
.ct__input label:hover{
    border-color: #aaa;
}
.ct__input input{
    border: 1px solid #E0E0E0;
    background: #FFF;
    width: 100%;
}
.ct__input input::placeholder {
    color: #CACACA;
}
.ct__input label{
    font-weight: 600;
    border-radius: 5px;
    border: 2px solid #E0E0E0;
    min-width: 70px;
    text-align: center;
}
.ct__input *:checked + label{
    border-color: #429380;
}
.ct__input-checkbox{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.ct__input-checkbox label,
.ct__radio-block-inputs label{
    position: relative;
    padding-left: 28px;
    width: 20%;
    line-height: 20px;
    padding-bottom: 18px;
    padding-right: 18px;
}
.ct__radio-block-inputs label{
    padding-bottom: 15px;
}
.ct__radio-block-inputs label{
    width: 100%;
}
.ct__input-checkbox label:before,
.ct__radio-block-inputs label:before{
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 1px solid #E0E0E0;
    display: block;
    background: #FFF;
    position: absolute;
    left: 0;
    top: 0;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    color: #429380;
}
.ct__input-checkbox input[type="radio"] + label:before,
.ct__radio-block-inputs input[type="radio"] + label:before{
    border-radius: 20px;
}
.ct__input-checkbox input:checked + label:before,
.ct__radio-block-inputs input:checked + label:before{
    content: "✔";
    border-color: #429380;
}

.ct__callback{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-top: 40px;
}
.ct__callback-row{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.ct__callback-title{
    margin: 0 30px;
    font-size: 24px;
    font-weight: 700;
}

.ct__radio-blocks,
.ct__radio-blocks--columns{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.ct__radio-blocks--columns{
    grid-template-columns: 1fr 1fr 1fr;
}
.ct__radio-blocks > input{
    display: none;
}
.ct__radio-blocks input:not(:checked) + .ct__radio-block input[type="radio"] + label:before,
.ct__radio-blocks input:not(:checked) + .ct__radio-block input[type="checkbox"] + label:before{
    content: "✔";
    background: #E0E0E0;
    border-color: #E0E0E0;
    color: #fff;
}
.ct__radio-block{
    border-radius: 5px;
    border: 3px solid #E0E0E0;
    padding: 30px 40px;
    display: flex;
    align-items: center;
}
.ct__radio-blocks--columns .ct__radio-block{
    flex-direction: column;
    align-items: flex-start;
}
.ct__radio-block path[stroke]{
    stroke: #E0E0E0;
}
.ct__radio-block path[fill]{
    fill: #E0E0E0;
}
input:checked + .ct__radio-block path[stroke]{
    stroke: #429380;
}
input:checked + .ct__radio-block path[fill]{
    fill: #429380;
}
input:checked + .ct__radio-block{
    border-color: #429380;
}
.ct__radio-block-img{
    margin-right: 24px;
}
.ct__radio-block-text{
    font-size: 16px;
    line-height: 26px;
}
.ct__radio-block-title{
    font-size: 20px;
    font-weight: 700;
    line-height: 26px;
}
.ct__radio-block-title + div{
    margin-top: 12px;
}
.ct__radio-block-text-plus{
    color: #006C11;
}
.ct__radio-block-text-minus{
    color: #970000;
}
.ct__radio-block-inputs{

}
.ct__radio-block-inputs label{
    display: block;
}

.ct__bottom-text{
    margin-top: 30px;
}
@media (max-width: 1200px) {
    .ct__row{
        flex-wrap: wrap;
    }
}
@media (max-width: 767px) {
    .calc-tabs__links{
        padding-bottom: 28px;
    }
    .calc-tabs__link span{
        display: none;
    }
    .calc-tabs__link:before{
        width: 35px;
        height: 35px;
        font-size: 12px;
        border-width: 1px;
        margin-bottom: 0;
    }
    .calc-tabs__link:first-of-type:after,
    .calc-tabs__link:last-of-type:after{
        content: none;
    }
    .calc-tabs__content{
        padding: 28px 20px 24px;
    }
    .ct__title{
        font-size: 24px;
    }
    .ct__subtitle,
    .ct__subtitle a{
        font-size: 16px;
    }
    .ct__subtitle a{
        display: block;
    }
    .ct__col{
        width: 100%;
    }
    .ct__input label,
    .ct__input input{
        padding: 25px 17px;
    }
    .ct__input:not(.ct__input--wrap) input{
        width: 100% !important;
    }
    .ct__input--wrap{
        flex-wrap: wrap;
    }
    .ct__input-checkbox label{
        width: 100%;
    }
    .ct__callback,
    .ct__callback-row{
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .ct__callback-row{
        margin-top: 15px;
    }
    .ct__callback-title{
        margin-bottom: 15px;
    }
    .ct__callback-row > svg{
        position: absolute;
        left: -48px;
        bottom: -24px;
    }
    .calc-form .ct__btn{
        font-size: 16px;
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
        justify-content: center;
    }
    .calc-form .ct__btn p{
        text-align: center;
    }
    .ct__callback-title{
        margin-left: 0;
        font-size: 16px;
    }
    .ct__radio-blocks, .ct__radio-blocks--columns{
        grid-template-columns: 1fr;
    }
    .ct__radio-block{
        flex-direction: column;
        align-items: flex-start;
    }
    .ct__radio-block-img{
        margin-bottom: 10px;
    }
    .calc-tabs__content--result .ct__input-name{
        display: none;
    }
}