@media (max-width: 768px) {
    .CALC {
        padding: 0;
        padding-bottom: 20px;
    }

    .CALC .C_title_top {
        height: 70px;
    }

    .CALC .C_title_top p.C_title_caption {
        display: none;
    }

    .CALC .C_title_top p.C_title_caption_mobile {
        display: block;
    }

    .CALC .C_title_top div.C_title_substrate {
        position: absolute;
        left: 50%;
        margin-left: -137px;
        width: 285px;
        height: 20px;
        top: 35px;
        background: var(--color-primary);
        z-index: 1;
    }

}
@media (max-width: 768px) {
    .CALC .C_body_wrap {
        padding: 0 20px;
    }
}
@media (max-width: 768px) {
    .CALC  #step_1 {
        margin-left: 0px;
    }

    .CALC #step_1 #house {
        display: none;
    }

}
@media (min-width: 768px) {
    .CALC #step_1 .РЎ_list_ChB .C_ChB_item:hover p {
        font-weight: 700;
    }
}
@media (min-width: 768px) {
    .CALC #step_1 .РЎ_list_ChB .C_DDL_room .C_counter .C_counter_minus:hover {
        background-color: var(--color-primary);
    }
}
@media (min-width: 768px) {
    .CALC #step_1 .РЎ_list_ChB .C_DDL_room .C_counter .C_counter_plus:hover {
        background-color: var(--color-primary);
    }
}
@media (min-width: 768px) {
    .CALC #step_1 .РЎ_list_ChB .C_DDL_bathroom .C_wrap_1 .C_list_1:hover p {
        font-weight: 700;
    }
}
@media (min-width: 768px) {
    .CALC #step_1 .РЎ_list_ChB .C_DDL_bathroom .C_counter .C_counter_minus:hover {
        background-color: var(--color-primary);
    }
}
@media (min-width: 768px) {
    .CALC #step_1 .РЎ_list_ChB .C_DDL_bathroom .C_counter .C_counter_plus:hover {
        background-color: var(--color-primary);
    }
}
@media (min-width: 768px) {
    .CALC #step_1 .РЎ_list_ChB .C_DDL_balcony .C_counter .C_counter_minus:hover {
        background-color: var(--color-primary);
    }
}
@media (min-width: 768px) {
    .CALC #step_1 .РЎ_list_ChB .C_DDL_balcony .C_counter .C_counter_plus:hover {
        background-color: var(--color-primary);
    }
}
@media (min-width: 769px) {
    .CALC #step_1 .C_bottom_wrap .C_next button[name = 'S_1_next_step']:hover {
        background-color: var(--color-primary);
    }
}

.CALC #step_1 .C_bottom_wrap .C_next button[name = 'S_1_next_step']:active {
    background-color: var(--color-primary);
}

@media (max-width: 500px) {
    /* РљР°СЂС‚Р° */

    .CALC #step_1 .C_bottom_wrap .C_map .C_step {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 30px;
        width: 30px;
        margin: 5px;
    }

    .CALC #step_1 .C_bottom_wrap .C_map .C_step p.C_p_5 {
        top: 50%;
        margin-top: -7px;
        font-size: 12px;
    }

    .CALC #step_1 .C_bottom_wrap .C_map .C_step p.C_p_6 {
        display: none;
    }

    .CALC #step_1 .C_bottom_wrap .C_map .C_step p.C_p_7 {
        display: none;
    }

    .CALC #step_1 .C_bottom_wrap .C_map .C_step .mobile_smeta_tab {
        display: block;
    }


}
@media (min-width: 769px) {
    .CALC #step_2 .left_col .list_2 .list_item_rooms:hover p {
        font-weight: 700;
    }
}
@media (max-width: 768px) {
    .CALC #step_2 .title_3 {
        display: none;
    }
}
@media (min-width: 769px) {
    .CALC #step_2 .insulation_wrap .ChB_insulation:hover  p {
        font-weight: 700;
    }
}
@media (min-width: 769px) {
    .CALC #step_2 .map_2 .buttons button:hover {
        background-color: var(--color-primary);
    }
}

.CALC #step_2 .map_2 .buttons button:active {
    background-color: var(--color-primary);
}


@media (max-width: 768px) {
    /*  Р›РµРІС‹Р№ СЃС‚РѕР»Р±РµС† */
    .CALC #step_2 .left_col {
        display: block;
        float: none;
        width: auto;
        min-height: 0;
        height: 60px;
        background-color: #fff;
        padding: 0;
    }

    .CALC #step_2 .left_col .title_2 {
        display: none;
    }

    .CALC #step_2 .left_col .list_2 {
        display: none;
    }

    #step_2 .mobile_slider_rooms {
        display: block;
    }

    /*  РџСЂР°РІС‹Р№ СЃС‚РѕР»Р±РµС† */
    .CALC #step_2 .righ_col {
        display: block;
        width: 100%;
        padding-bottom: 20px;
    }

    .CALC #step_2 .wrap_3 {
        padding: 0;
    }

    .CALC #step_2 .title_3 {
        height: 100px;
    }

    .CALC #step_2 .title_3 p {
        position: absolute;
        margin-top: -27px;
        max-width: 260px;
    }

    .CALC #step_2 .title_3 .substrate_2 {
        top: 70px;
        width: 130px;
    }
    /*  ========================== */
    .CALC #step_2 .modif_body {
        position: relative;
        min-height: 442px;
    }

}


@media (max-width: 550px) {
    /* =============== */
    .CALC #step_2 .modif_body .inputs .field {
        position: relative;
        height: 100px;
        display: block;
        float: none;
        margin: 0 auto;
        max-width: 300px;
        width: 100%;
    }

    .CALC #step_2 .modif_body .inputs .field input {
        width: 150px;
    }
    /* =============== */
    .CALC #step_2 .body_card {
        overflow: auto;
        padding: 1px;
    }

    .CALC #step_2 .body_card .card_wrap {
        display: block;
        float: none;
        margin: 0 auto;
        width: 100%;
        max-width: 300px;
        margin-bottom: 20px;
    }

    .CALC #step_2 .body_card .card_wrap .card {
        width: 100%;
    }

    .CALC #step_2 .insulation_wrap {
        height: 30px;
        margin-top: 25px;
        position: relative;
    }

    .CALC #step_2 .insulation_wrap .ChB_insulation {
        height: 30px;
        max-width: 300px;
        width: 100%;
        margin: 0 auto;
        position: relative;
        cursor: pointer;
    }
    /* ================================== */

    .CALC #step_2 .map_2 .C_step {
        height: 30px;
        width: 30px;
        margin: 5px;
    }

    .CALC #step_2 .map_2 .C_step p.C_p_5 {
        top: 50%;
        margin-top: -7px;
        font-size: 12px;
    }

    .CALC #step_2 .map_2 .C_step p.C_p_6 {
        display: none;
    }

    .CALC #step_2 .map_2 .C_step p.C_p_7 {
        display: none;
    }

    .CALC #step_2 .map_2 .C_step .mobile_smeta_tab {
        display: block;
    }
    /*  ============= */
}
@media (min-width: 768px) {
    #step_3 .inner_card .dop_modif .plus_minus .wrap_8 #minus_mod:hover {
        background-color: var(--color-primary);
    }
}

@media (min-width: 768px) {
    #step_3 .inner_card .dop_modif .plus_minus .wrap_8 #plus_mod:hover {
        background-color: var(--color-primary);
    }
}

@media (min-width: 769px) {
    .CALC #step_3 .btn_2 button:hover {
        background-color: var(--color-primary);
    }
}
@media (max-width: 899px) {

    #step_3 .wrap_7 .col_1 {
        position: relative;
        display: block;
        float: none;
        width: 100%;
    }

    #step_3 .wrap_7 .col_1 .inner_card {
        width: calc(100% - 2px);
        max-width: 500px;
        margin-bottom: 20px;
    }

    #step_3 .hr_3 {
        padding-top: 0;
    }

    /*  ==============================================  */
    .CALC #step_3 .btn_2 {
        width: 220px;
    }


}

@media (max-width: 590px) {
    /*  ==============================================  */
    #step_3 .map_3 .step_block {
        height: 30px;
        width: 30px;
        margin: 5px;
    }

    #step_3 .map_3 .map_wrap p.p_9 {
        top: 50%;
        margin-top: -7px;
        font-size: 12px;
    }

    #step_3 .map_3 .map_wrap p.p_10 {
        display: none;
    }

    #step_3 .map_3 .map_wrap p.p_11 {
        display: none;
    }

    #step_3 .map_3 .map_wrap .mobile_smeta_tab {
        display: block;
    }

}

@media (max-width: 350px) {
    #step_3 .inner_card .dop_modif p.title_9 {
        font-size: 14px;
        margin-top: -9.5px;
    }
}
@media (max-width: 768px) {
    #step_4 .smeta_1 table td.mob_hid{
        display: none;
    }
    #step_4 .smeta_1 table td {
        font-size: 16px;
    }
}
@media (max-width: 768px) {
    #step_4 .smeta_2 table td.mob_hid {
        display: none;
    }

    #step_4 .smeta_2 table td,
    #step_4 .smeta_3 table tr td.cell_2 {
        font-size: 15px;
        width: 33.33333333%;
    }
}
@media (max-width: 768px) {
    #step_4 .smeta_montag table td.mob_hid {
        display: none;
    }

    #step_4 .smeta_montag table td {
        font-size: 15px;
        width: 33.33333333%;
    }
}
@media (max-width: 768px) {
    #step_4 .smeta_3 table td.mob_hid{
        display: none;
    }
}
@media (min-width: 769px) {
    #step_4 .map_4 .btn_2 button:hover,
    #step_4 .map_4 .btn_2 .btn-calc:hover {
        background-color: var(--color-primary);
        text-decoration: none;
    }
}
@media (max-width: 768px) {
    #step_4 .map_4 .step_block {
        height: 30px;
        width: 30px;
    }

    #step_4 .map_4 .map_wrap p.p_9 {
        top: 50%;
        margin-top: -7px;
        font-size: 12px;
    }

    #step_4 .map_4 .map_wrap p.p_10 {
        display: none;
    }

    #step_4 .map_4 .map_wrap p.p_11 {
        display: none;
    }

    #step_4 .map_4 .map_wrap .mobile_smeta_tab {
        display: block;
    }

}
@media (max-width: 768px) {

    .CALC #step_1 .C_bottom_wrap, .CALC #step_2 .map_2, #step_3 .map_3, #step_4 .map_4,
    #step_4 .map_4 .btn_2 {
        -webkit-box-orient: vertical!important;
        -webkit-box-direction: normal!important;
        -webkit-flex-direction: column!important;
        -ms-flex-direction: column!important;
        flex-direction: column!important;

    }

    .CALC #step_1 .РЎ_list_ChB .C_DDL_balcony .C_counter {
        right: 0;
        left: 110px;
    }
    .CALC #step_1 .C_bottom_wrap .C_next,
    .CALC #step_2 .map_2 .buttons,
    .CALC #step_3 .btn_2,
    #step_4 .map_4 .btn_2 {
        margin: 20px 0;
        width: 100%;

        display: -webkit-box!important;
        display: -webkit-flex!important;
        display: -ms-flexbox!important;
        display: flex!important;

        -webkit-box-pack: justify!important;
        -webkit-justify-content: space-between!important;
        -ms-flex-pack: justify!important;
        justify-content: space-between!important;
    }
    .CALC #step_1 .C_bottom_wrap .C_next {
        -webkit-box-pack: end!important;
        -webkit-justify-content: flex-end!important;
        -ms-flex-pack: end!important;
        justify-content: flex-end!important;
    }

    .CALC #step_1 .C_bottom_wrap .C_next button[name = 'S_1_next_step'], .CALC #step_2 .map_2 .buttons button[name = 'next_to_step_3'], .CALC #step_3 .btn_2 button[name = 'next_step_4'], #step_4 .map_4 .btn_2 .btn-calc,
    .CALC #step_2 .map_2 .buttons button[name = 'back_to_step_1'], .CALC #step_3 .btn_2 button[name = 'back_to_step_2'], #step_4 .map_4 button[name = 'back_to_step_3'] {
        font-size: 16px;
    }

    #step_4 .map_4 .btn_2 .btn-calc {
        margin-top: 10px;
    }

    .CALC #step_2 .left_col .list_2 .list_item_rooms.list_item_rooms {
        display: none !important;
    }

    .CALC #step_2 .left_col .list_2 .list_item_rooms.list_item_rooms.ACTIVE_SLEDE {
        display: block !important;
    }

}

