:root{
    --XSgrey : #D9D9D9;
    --XSgreen : #53c15d;
}


.btn{
    outline: none;
    cursor: pointer;
    font: 14px/1.1 'GothamPro', Arial, sans-serif;
    font-weight: normal;
    font-size: 14px;
    box-shadow: 0 10px 22px rgba(83,193,93,0.6);
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border: 0;
    -webkit-transition: 0.15s linear;
    transition: 0.15s linear;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
    font-weight: 500;
    color: #fff;
    border-radius: 0;
    background: var(--XSgreen);
    text-transform: uppercase;
    height: 54px;
    padding: 0 40px;
}


#XS-calc .modal-b__block{
    padding: 40px 35px 60px 35px !important;
    max-width: 1300px;
    margin:auto;
    background: #fff;
    width: 100%;
    position: relative;
}

#XS-calc .step_1 .step_1_title{
    font-size: 24px;
    line-height: 30px;
    font-weight: bold;
    max-width: unset;
    width: 95%;
    margin-bottom: 60px;
}

#XS-calc .step_1 > div{
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
}

#XS-calc .step_1 .step_1_room_container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
    margin: 0;
    gap: 10px;
    position: relative;
}

#XS-calc .step_1 .step_1_rooms_item{
    display: flex;
    align-items: center;
}


#XS-calc .step_1 .step_1_rooms_item_field_input input{
    background-color: var(--XSgrey);
    width: 48px;
    height: 34px;
    margin-right: 10px;
    padding: 5px;
}

#XS-calc .step_1 .step_1_rooms_item_name{
    width: 200px;
    margin-right: 10px;
}
#XS-calc .step_1 .custom_field .step_1_rooms_item_field_input.name input{
    width: 200px;
}
#XS-calc .step_1 .step_1_rooms_item_field_input.main{
    width: 100px;
}
/* #XS-calc .step_1 .step_1_rooms_item_field_input.window_name{
    width: 120px;
} */

#XS-calc .step_1 .step_1_rooms_item_field_input.floor{
    width: 180px;
}
.step_1_rooms_item_field_input_checkbox label{
    display: flex;
    gap: 10px;
    height: 34px;
    align-content: center;
}
.step_1_rooms_item_field_dubble{
    display: flex;
    width: 350px;
}





















/* Чекбокс */

#XS-calc .step_1_rooms_item_field_input_checkbox label input[type="checkbox"] {
       display: none;
}
#XS-calc .step_1_rooms_item_field_input_checkbox label input[type="checkbox"] ~ span {
    position: relative;
    display: inline-block;
    padding: 3px 0 3px 35px;
}
#XS-calc .step_1_rooms_item_field_input_checkbox label input[type="checkbox"] ~ span:before,
#XS-calc .step_1_rooms_item_field_input_checkbox label.slide input[type="checkbox"] ~ span:after {
    content: "";
    position: absolute;
    display: block;
    width: 18px;
    height: 18px;
    background: #fff;
    margin-right: 5px;
    border: 1px solid #ccc;
    left: 0;
    top: 8px;
    box-sizing: border-box;
    transition: all 300ms ease-in-out;
}
#XS-calc .step_1_rooms_item_field_input_checkbox label input[type="checkbox"] ~ span:before {
    width: 30px;
    border-radius: 20px;
    box-shadow: inset 0 2px 5px -1px rgba(0, 0, 0, 0.4), inset 0 -2px 0 -1px rgba(255, 255, 255, 0.2);
    background: white;
    border: 1px solid gray;
}

#XS-calc .step_1_rooms_item_field_input_checkbox label.slide input[type="checkbox"] ~ span:after {
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: unset;
    width: 14px;
    height: 14px;
    left: 2px;
    top: 10px;
}
#XS-calc .step_1_rooms_item_field_input_checkbox label.slide input[type="checkbox"]:checked ~ span:before {
    background: #29d;
    border: unset;
    box-shadow: unset;
}
#XS-calc .step_1_rooms_item_field_input_checkbox label.slide input[type="checkbox"]:checked ~ span:after {
    background: white;
}
#XS-calc .step_1_rooms_item_field_input_checkbox label.slide input[type="checkbox"]:checked ~ span:after {
    left: 13px;
}
#XS-calc .step_1_rooms_item_field_input_checkbox p{
    display: block;
    margin: auto;
}
#XS-calc .step_1_rooms_item_field_input.remove{
    display: none;
}
#XS-calc .step_1_rooms_item_field_input_checkbox p.remove{
    display: none !important;
}


#XS-calc .step_1_linear{
    border: 1px solid #000000;
    transform: rotate(-0.14deg);
    margin-top: 15px;
}
#XS-calc .XS_add_room{
    cursor: pointer;
    font-size: 18px;
    color: #313340;
    display: inline-block;
    position: absolute;
    bottom: -40px;
    right: 5px;
    background: #D9D9D9;
    padding: 5px 11px;
    opacity: 1;
}

#XS-calc.step_1_find{
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: bold;
}
#XS-calc .step_1_find_bottom{
    margin-top: 10px;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
}

#XS-calc .xs_calc_end{
    margin: 15px 0 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: ;
    color: rgba(49,51,64,0.5);
    font-size: 18px;
    justify-content: end;
}
#XS-calc .xs_calc_end .btn{
    background: #D9D9D9;
    box-shadow: unset;
    color: black;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    height: 30px;
    width: 170px;
}

#XS-calc .step_2_title{
    margin: 0 0 15px;
    font-weight: 700;
    font-size: 24px;
    line-height: 29px;
}
#XS-calc .step_2_item_field_input{
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 15px;
}
#XS-calc .step_2_item_field_input p{
    min-width: 160px;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    color: #000000;
}
#XS-calc .step_2_item_field_input input{
    height: 35px;
    width: 70px;
    background: #D9D9D9;
    padding: 0 5px;
}
#XS-calc .step_2_item_field_input span{
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
}
#XS-calc .step_2_item_field_input_value .XS_CALC_field{
    margin: 0 0 20px;
    position: relative;
}


#XS-calc .XS_CALC_field{
    margin: 0;
    padding-right: 10px;
    position: relative;
}
#XS-calc .XS_CALC_field input{
    height: 40px;
    padding: 0 40px 0 10px;
    border: 1px solid #ccc;
    background: #fff;
    margin: 0;
    width: 350px;
    box-shadow: none;
    text-align: left;
    position: relative;
}
#XS-calc .XS_CALC_field svg{
    fill: #ccc;
    position: absolute;
    right: 15px;
    left: initial;
    -webkit-transition: 0.15s linear;
    transition: 0.15s linear;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
#XS-calc .XS_CALC_field .step_2_material_list{
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    z-index: 3;
    box-shadow: 0 10px 22px rgba(0,0,0,0.3);
    background: #f8f8f8;
    font: 16px/1.1 'GothamPro', Arial, sans-serif;
    padding: 10px 0;
    display: none;
    z-index: 5;
    top: 46px;
    background: #fff;
    max-height: 380px;
    overflow: auto;
    max-height: none !important;
}
#XS-calc .XS_CALC_field .step_2_material_list .step_2_drop_item {
    display: block;
    cursor: pointer;
    padding: 15px 20px;
    color: #313340;
}

#XS-calc .step_2_find_bottom{
    margin-top: 15px;
}


#XS-calc #step-1.info .step_1_rooms_item_field_input_checkbox p{
    margin: auto 0;
}
#XS-calc #step-1.info .step_1_item_field_input.obogrev{
    display: flex;
    gap: 20px;
    margin-top: 1rem;
}
#XS-calc #step-1.info .step_1_item_field_input.obogrev p{
    line-height: 1;
    display: flex;
    align-items: center;

}
#XS-calc #step-1.info .step_1_item_field_input.obogrev .slide.one{
    display: flex;
    align-items: center;
    gap: 10px;
}

#XS-calc .form .modal-b__find-title{
    max-width: unset;
}
#XS-calc .form .lk-b__field{
    margin: 10px 0;
}



#XS-calc .success .calc-b__note.calc-b__note_yellow{
    background: rgba(255,255,0,0.2);
    color: #333;
    padding: 20px;
    margin: 0;
    margin-top: 10px;
    max-width: unset;
}
#XS-calc .success .bascet_tem{
    margin-top: 10px;
}
#XS-calc .success .bascet_tem .calc_item_name{
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
}
#XS-calc .success .bascet_tem .calc_item{
    display: flex;
    text-align: center;
    gap: 10px;
}
#XS-calc .success .bascet_tem .calc_item .calc_item_name{
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    width: 55%;
    text-align: left;
}
#XS-calc .success .bascet_tem .calc_item{
    display: flex;
    text-align: center;
    gap: 10px;
    margin: 0 0 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    padding: 6px;
    background: #f8f8f8;
    min-height: 60px;
}
#XS-calc .success .bascet_tem .calc_item  p{
    margin: 0;
}

#XS-calc .success .bascet_tem .calc_item .calc_item_price{
    font-size: 16px;
    color: #53c15d;
    font-weight: bold;
    width: 15%;
}
#XS-calc .success .bascet_tem .calc_item .calc_item_quantity{
    height: 25px;
    position: relative;
    padding: 2px 25px;
    width: 15%;
}
#XS-calc .success .bascet_tem .calc_item .calc_item_full_price{
    font-size: 16px;
    color: #53c15d;
    font-weight: bold;
    width: 15%;
}

#XS-calc .success .full_summ{
    text-align: right;
    font-size: 24px;
    color: #53c15d;
    font-weight: bold;
    margin-right: 50px;
    margin-top: 10px;
}

#XS-calc .znake{
    position: relative;
    width: calc(100% - 36px);
}
#XS-calc .znak{
    position: absolute !important;
    top: 50%;
    right: -26px;
    transform: translate(0,-50%);


    background-image: url("images/znak.svg");
    margin: 0;
    padding: 0;
    background-repeat: no-repeat;
    background-size: contain;
    border: unset;
    width: 26px;
    height: 23px;
    border-radius: 50%;
    display: block;
    margin: auto 0;
    color: transparent;
}



#XS-calc .modal-b__report_rooms_container{
    flex-direction: column;
}

#XS-calc #step-1.info .input-text{
    max-width: 100px;
    cursor: unset;
    height: 40px;
    padding: 5px;
    margin: 10px 0;
}

@media screen and ( max-width:950px ) {
    #XS-calc .step_1 .step_1_rooms_item{
        flex-wrap: wrap;
    }
}

@media screen and ( max-width:768px ) {
    #XS-calc #step-1.info .step_1_item_field_input.obogrev{
        flex-wrap: wrap;
        flex-direction: column;
        gap: 5px;
    }
    #XS-calc .step_1 .step_1_rooms_item{
        margin-bottom: 10px;
    }
    #XS-calc .step_1 .step_1_rooms_item_field_input.window_name{
        margin-top: 5px;
    }

    #XS-calc .step_1 .step_1_rooms_item_name{
        width: 100%;
        margin: 0;
        margin-bottom: 10px;
    }


    #XS-calc .step_1 .step_1_rooms_item_field_input.name{
        width: 100%;
        margin-bottom: 10px;
    }
    #XS-calc .step_1 .step_1_rooms_item_field_input.name input{
        width: 90% !important;
    }
    #XS-calc .success .bascet_tem .calc_item{
        flex-wrap: wrap;
    }

    #XS-calc .step_input_field_checkbox.step_1_rooms_item_field_input_checkbox{
        margin: 10px 0 0 0;
    }


    #XS-calc .success .bascet_tem .calc_item .calc_item_name{
        width: 100%;
    }
    #XS-calc .success .bascet_tem .calc_item .calc_item_price,
    #XS-calc .success .bascet_tem .calc_item .calc_item_quantity,
    #XS-calc .success .bascet_tem .calc_item .calc_item_full_price{
        width: 30%;
    }
    #XS-calc .success .bascet_tem .calc_item .calc_item_quantity{
        padding: 0px 25px;
    }
    #XS-calc .success .bascet_tem{
        margin-bottom: 10px;
    }
}



