.price{
    padding: 20px 20px 0px 20px;
    min-height: 200px;
    border-radius: 5px;
    margin-bottom: 24px;
    background:#8BBF16; 
    border-radius: 12px;
    padding-bottom: 40px;
}

input.checkbox { background-color: #F00 !important; color: #0F0 !important; }

.calc_title{
    font-size: 28px;
    color: #ee1d25;
    margin: 0 0 20px}
.result{
    padding: 20px 0 0;
    margin: 20px 0;
    font-size: 24px;
    border-top: 1px solid #e0e0e0;
}
.kjhy{
    width: 25%;
}


input[type=checkbox]:checked:after,
input[type=checkbox]:checked::after {
    content: " ";
    background-size: contain;
    background-repeat: no-repeat;
    width: 17px;
 
    display: flex;
    height: 17px;
    background-image: url(/images/verstka/chekbox-2024.png);
}

.additional-price-table [fieldname="sale"] span {
    font-weight: 900;
}
.required{
    display: inline-grid;
    background:transparent; 

}
.required.delete{
    width: 43%;
    margin: 8px;
}
.required.delete input{
    width: 100%;
}
.required.delete select{
width: 100% !important;
}
.price-sale::after {
    content: " ₽";
}
.price-min-price::after {
    content: " ₽";
}
input[type="checkbox"]{
    background-color: red  !important;
    background: red  !important;
}

.chek-box label{
    font-weight: 500;
}

#bfd-mobile{
    display: none;
}

.chek-box{
    display: flex;
    align-items: center;
    
    justify-content: center;
}
.chek-box label{
    font-size: 14px;
}
.chek-box input{
    max-width: 17px;
    height: 17px !important;
}

.chek-box:checked {
  background: red !important;
  background-color: red !important;
}
.required input{
border-radius: 12px;
font-size: 16px;
font-weight: 500;
height: 52px;
line-height: 19px;
width: 255px;
padding: 10px 15px !important;
}
.required input:focus-visible{
background:rgba(129, 178, 20, 0.1) !important;
border-color: #81B214 !important;
border: 2px solid #81B214 !important;
    outline: none; 
}
#rt {
    background: transparent;
}


#rt input{
border-radius: 12px;
font-size: 16px;
font-weight: 500;
width: 255px;
height: 52px;
line-height: 19px;
padding: 10px 15px !important;
}
#rt input:focus-visible{
background:rgba(129, 178, 20, 0.1) !important;
border-color: #81B214 !important;
border: 2px solid #81B214 !important;
    outline: none; 
}

.required select{
border-radius: 12px;
font-size: 16px;
width: 255px;
font-weight: 500;
height: 52px;
line-height: 19px;
padding: 10px 15px !important;
}
.required select:focus-visible{
background:rgba(129, 178, 20, 0.1) !important;
border-color: #81B214 !important;
border: 2px solid #81B214 !important;
    outline: none; 
}
#bfd{
    font-size: 36px;
    font-weight: 700;
    padding-bottom: 25px;
    padding-top: 15px;
    color: #fff;
    line-height:42.66px
}
.additional-price-table td{
    border-right: none !important;
     border-left: none !important;
}
.additional-price-table th{
    border-right: none !important;
     border-left: none !important;
}


#calculator select {
    appearance: none;
    -webkit-appearance: none; /* Safari и Chrome */
    -moz-appearance: none; /* Mozilla */
    -ms-appearance: none; /* IE */
    background-image: url(/images/verstka/Vector-price-calk.png);
    background-repeat: no-repeat;
    background-color: #fff;
    background-position: calc(100% - 15px) center;

    width: 255px;
   
    outline: none;
    cursor: pointer;
}

table tr:nth-child(2n-1) {
    background: #fff;
}
.additional-price-table tr{

border-bottom: 1px solid rgba(255, 255, 255, 1) !important;

}
#img-dfa{
    width: 74%;
    margin-top: 24px;
    margin-left: 10px;
}
#img-dfa img{
/*    max-height: 400px;*/
}
#rt{
    display: inline-grid;
}
.additional-price-table table{
    width: 100% !important;

    display: inline-table !important;
}
.additional-price-table table{border-radius:10px;    border: 1px solid #8bbf16;}
.additional-price-table{
    width: 74%;
}

.additional-price-table table th{border:none !important; border-radius: 100px;}
.additional-price-table table td{border: 1px solid #e9e9e9;padding: 5px;}
.raschet{
    width: 100%;

}

div.additional-price-table{height: fit-content;   margin-top: 24px;margin-left: 10px;}
.additional-price-table table td:nth-child(1){
    text-align: left !important;
    padding-left: 16px;

}

.price-min-itog::after{
content: " ₽";
} 

span.total{
    color: #ed1d25;
}
#calculator{
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    background:#fff;
    border-radius: 12px; 
}
#calculator::after{
background-image: url(/images/verstka/calk-img-sdelat.webp);
    content: "";
    position: absolute;
    margin-top: -120px;
    height: 100px;
    width: 100%;
    background-position: right;
    max-width: 1080px;
    background-repeat: no-repeat;
}
#calculator table{
    width: 20%;
}
.calculator input, select{
    padding: 5px 10px;
    border: 1px solid #ccc;
    margin-right: 10px;
    margin-bottom: 10px;

}
a.priceButton {
    background: #1CC5DC;
    border-radius: 12px;
    color: white;
    padding: 10px;
    height: 54px;
    display: flex;
    justify-content: center;
    align-items: center;
   font-size: 18px;
   font-weight: 700;
    text-align: center;
    width: 255px;
    cursor: pointer;
    transition: 200ms;
}

a.priceButton:hover {
    opacity: .8;
}
 .additional-price-table tr{border-bottom: 1px solid #F2F2F2;}
#work span{
    font-size: 16px;
    font-weight: 700;
}
#work{
    background: rgba(243, 248, 232, 1);
}
.additional-price-table table {
    width: 100%;
     border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -khtml-border-radius: 10px;
  border: 1px solid #8bbf16;
  display: block;
    border-collapse: separate;
}

.additional-price-table table td {
    text-align: center;
    padding: 5px;
    border: none;
}
#min{
    text-align: right !important;

}
#col-total{
    background: rgba(129, 178, 20, 0.08);
}
#col-sale{
    background: rgba(129, 178, 20, 0.08);
}

.additional-price-table table th {
    text-align: center;
    padding:10px 10px 10px 10px !important;
    background: #fff;
    color: white;
    font-size: 16px;
    font-weight: 500;
    color: #26201D;
}
.additional-price-table [fieldname="increase"] span {
    font-weight: 900;
}

.additional-price-table [fieldname="total"] span {
    font-weight: 900;
}
#gfd{
    text-align: left;
}

@media (max-width: 768px) { 
    #mob-hide td:nth-child(2){
        display: none !important;
    }
        #mob-hide td:nth-child(3){
        display: none !important;
    }
        #mob-hide td:nth-child(4){
        display: none !important;
    }
    .kjhy{
        width: 100%;
    }
    .chek-box label{
        width: 100%;
    }
    .additional-price-table th:nth-child(2){
        display: none;
    }
    .raschet{
        margin-bottom: 24px;
    }
       .additional-price-table th:nth-child(3){
        display: none;
    }
       .additional-price-table th:nth-child(4){
        display: none;
    }
    .additional-price-table {
    width: 100% !important;
}

.small-input {
    -moz-appearance: textfield;
}
.small-input::-webkit-inner-spin-button {
    display: none;
}

.small-input::-webkit-outer-spin-button,
.small-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/*#calculator::after{
    background-image: url(/images/verstka/calk-img-sdelat.png);
    content: "";
    position: absolute;
    margin-top: -114px;
    height: 100px;
    background-size: 49%;
    width: 100%;
    background-position: right;
    max-width: 860px;
    background-repeat: no-repeat;
}*/

.additional-price-table tr td:nth-child(2){
    display: none;
}
.additional-price-table tr td:nth-child(3){
    display: none;
}
.additional-price-table tr td:nth-child(4){
    display: none;
}
#col-total td{
    display: flex !important;
}
#col-sale td{
    display: flex !important;
}
.additional-price-table span{
    font-size:14px;
}
div.palec:before{content: none;}
.additional-price-table table th{font-size: 14px;padding:10px !important;white-space: nowrap;}
#bfd{display: none;}
#img-dfa{width: 100%;}
#img-dfa img{width: 100%;}
#calculator::after{width: 78%;}
#bfd-mobile{font-size: 22px;color: rgba(255, 255, 255, 1);font-weight: 700;padding-top: 25px;padding-bottom: 25px;display: flex;max-width: 58%;}
a.priceButton{width: 100%;margin-top: 15px;}
.required input{width: 100%;}
#calculator table{
    width: 97%;
}
#calculator tr{
    width: 100%;
}
#calculator select{
    width: 100%;
}
#rt input{
    width: 100%;
}
#col-total td{display: table-cell !important;}
.additional-price-table tr td:last-child span:after{
    content: " ₽";
}
#col-sale td{display: table-cell !important;}
.additional-price-table tr td:last-child span:after{
    content: " ₽";
}
.additional-price-table tr td:last-child span{
 font-size: 16px;
 font-weight: 500;
}
#work span:after{
    content: none !important;
}
}

/* 2026-10-10: чекбоксы калькулятора — фикс ширины (Safari игнорировал max-width при width:255px от .required input) и выравнивание по первой строке подписи */
.chek-box{
    align-items: flex-start;
}
.chek-box input[type="checkbox"]{
    width: 17px;
    min-width: 17px;
    flex: 0 0 17px;
}
