.calc{
    margin-bottom: var(--dv-space-xxl);
    padding-left: 100px;
    padding-right: 100px;
}
.calc g.b_tooth {
    fill: #ffffff00;
}
.calc g.b_tooth:hover{
    cursor: pointer;
}
.calc g.b_tooth:hover text,
.calc g.b_tooth.active text {
    fill: white;
}
.calc g.b_tooth text {
    fill: #00000000;
}
.calc g.b_tooth:hover path, .calc g.b_tooth.active path{
    /*fill: #197C8C; дента стом*/
    fill: #EF3541;
    
}
.calc .calc-tabs-header .calc-tab-head.active,.calc .calc-tabs-header .calc-tab-head:hover{
    background: #EF3541;
    color: #222;
    border-color: var(--prim-91);
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    background-color: var(--primary);
    background-image: linear-gradient(140deg, var(--prim-10), var(--prim-91));
    color: white;
}
.calc .calc-tabs-header .calc-tab-head{
    display: block;
    padding: 10px 30px;
    background: #ddd;
    cursor: pointer;
    float: left;
    border: 1px solid #ccc;
    border-width: 1px 1px 0;
    border-radius: 60px;
}
.calc .calc-tabs-header{
    display: flex;
    gap: 15px;
}
.calc .calc-tab .calc-wrap .calc-body .calc-result .calc-result-value{
    float: right;
    font-weight: bold;
    font-size: 2em;
    margin-top: 15px;
}
.calc .calc-tab{
    display: none;
    margin-top: 20px;
}
.calc .calc-tab.active{
    display: block;
}
.calc .calc-tab .calc-wrap .calc-body .calc-result{
    padding: 10px 0px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-direction: row;
}
.calc .calc-tab .calc-wrap .calc-body .calc-result .summresu{
    display: flex;
    flex-direction: column;
}
.calc .calc-tab .calc-wrap .calc-body .calc-result .head-btnbox__btn{
    text-align: center;
    position: relative;
    /* margin-left: 10px; */
    /* margin-bottom: 7px; */
    /* padding: 9px 13px 10px; */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    /* border-radius: 60px; */
    /* -webkit-box-shadow: 0 8px 15px 0 rgba(0, 0, 0, .15); */
    /* box-shadow: 0 8px 15px 0 rgba(0, 0, 0, .15); */
    /* text-transform: uppercase; */
    text-decoration: none;
    /* text-align: left; */
    font-size: 16px;
    /* background: #EF3541; */
    border-color: var(--prim-91);
    /* box-shadow: 0 0 10px rgba(0, 0, 0, .2); */
    /* background-color: var(--primary); */
    /* background-image: linear-gradient(140deg, var(--prim-10), var(--prim-91)); */
    /* color: white; */
    color: silver;
    border-bottom: 1px dashed silver;
    border-radius: 0;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fbe14c',endColorstr='#f6c04a',GradientType=0 );
}
.calc .calc-tab .calc-wrap .calc-body .calc-title{
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    font-size: 26px;
}
.calc .calc-tab .calc-wrap .calc-graph{
    max-width: 400px;
    width: 100%;
    margin: 0px auto;
}
.calc .calc-tab .calc-wrap{
    display: flex;
    gap: 15px;
    
}
.calc .grid__row .col-1-2{
    max-width: 50%;
    width: 100%;
}
.calc .calc-sales .calc-sales_item .calc-sales_close:hover{
    background: #EF3541;
    border-color: var(--prim-91);
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    background-color: var(--primary);
    background-image: linear-gradient(140deg, var(--prim-10), var(--prim-91));
    color: white;
}
.calc .calc-sales .calc-sales_item .calc-sales_close{
    /* position: absolute; */
    float: right;
    top: 0;
    right: 0;
    cursor: pointer;
    padding: 0px 5px;
    /* margin: 5px; */
    /* border-radius: 5px; */
    border-radius: 60px;
    background: #EF3541;
    border-color: var(--prim-91);
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    background-color: var(--primary);
    background-image: linear-gradient(140deg, var(--prim-10), var(--prim-91));
    color: white;
}
.calc .calc-sales .calc-sales_item{
    padding: 10px;
    background: #EF354114;
    border-radius: 10px;
    position: relative;
}
.calc .calc-sales{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.calc .calc-sales_title{
    font-size: 1.6rem;
    margin: 0px 0px 15px;
    line-height: normal;
}
.calc .grid__row ul li label{
    font-weight: 500;
    cursor: pointer;
}
.calc .grid__row ul{
    list-style-type: none;
    padding: 0;
}
.calc .grid__row .calc-sales-diag b{
    color: #158524;
}
.calc .grid__row .calc-sales-diag{
    font-weight: bold;
}
.calc .grid__row{
    display: flex;
    /* justify-content: space-between; */
    gap: 15px;
}
.calc .btn_consult{
    text-align: center;
    position: relative;
    margin-left: 10px;
    margin-bottom: 7px;
    padding: 9px 13px 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 60px;
    -webkit-box-shadow: 0 8px 15px 0 rgba(0, 0, 0, .15);
    box-shadow: 0 8px 15px 0 rgba(0, 0, 0, .15);
    /* text-transform: uppercase; */
    text-decoration: none;
    /* text-align: left; */
    font-size: 16px;
    color: #49453e;
    background: #EF3541;
    color: #222;
    border-color: var(--prim-91);
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    background-color: var(--primary);
    background-image: linear-gradient(140deg, var(--prim-10), var(--prim-91));
    color: white;
}
.calc .calc-graph-note{
    padding: 15px;
    background: #f8857b24;
    border-radius: 10px;
    margin-top: 15px;
}
.calc .calc-body{
    width: 100%;
}
.calc .calc-reset{
    /* margin-top: 15px; */
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}
@media screen and (max-width: 991px){
    .calc .calc-tab .calc-wrap .calc-body .calc-title{
        text-align: center;
    }
    .calc .calc-wrap{
        flex-direction: column;
    }
    .calc .grid__row{
        flex-direction: column;
    }
    .calc .grid__row .col-1-2.calc-sales_params{
        position: relative;
    }
    .calc .grid__row .col-1-2.calc-sales_params::before{
        content: "";
        width: 100%;
        position: absolute;
        top: -10px;
        height: 1px;
        background: silver;
    }
    .calc .grid__row .col-1-2{
        max-width:100%;
    }
    .calc .calc-tab .calc-wrap .calc-body .calc-result .calc-result-value{
        float: none;
        text-align: right;
    }
    .calc .calc-reset{
        display: flex;
        flex-direction: column;
        margin-top: 15px;
    }
    .calc .calc-tab .calc-wrap .calc-body .calc-result .head-btnbox__btn,.calc .btn_consult{
        margin-left: 0px;
    }
    .calc .calc-tab .calc-wrap .calc-body .calc-result .calc-reset{
        width: 100%;
    }
    .calc .calc-tab .calc-wrap .calc-body .calc-result{
        flex-direction: column;
    }
    .calc .calc-tabs-header{
        flex-direction: column;
        text-align: center;
    }
}
    