div,p,a,span,h1,h2, li , a {
    caret-color: transparent;
}
h1 {
    padding-bottom: 1rem;
    font-size: 2rem;
}
.tema__grid {
   margin-top: 2.5rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
        padding: 0;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.tema__grid>li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
;transition: all 400ms ease-out;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 40px;
    padding: 0 24.5px;
    font-size: 16px;
    line-height: 1;
    border: 1px solid #444951;
    border-radius: 30px;
}
.tema__grid>li.active {
  
    color: #fff;
    background: #444951;
}
.tema__grid>li.active>a
 {
     color: #fff
 }
.tema__grid>li:hover
 {
          cursor: pointer; 
     transition: all 400ms ease-out;
    color: #fff;
    background: #444951;
}
.tema__grid>li:hover a
 {
       transition: all 400ms ease-out;
      color: #fff;
         text-decoration: none;

}
.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto

 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding: 15px;
    /* padding-left: 15px; */
}
.show-more-btn1{
  display: none;  
}
.show-more-btn{
    display: flex
;
    justify-content: center;
    padding: 50px 0;
}
.signСonsultation

 {
    margin-top: 20px;
    background: rgb(68, 73, 81);
    border-radius: 50px;
    padding: 50px 0px;
}
.toothCostBlock_flex{
     display: flex;

   
}
.toothCostBlockFp {
    font-size: .875rem; 
}
.toothCostBlockZdiv {
    padding: 20px 30px 0px 30px;
}
.toothCostBlock_flex img{  
    width: 100%;
}
.toothCostBlock img.img__posle

 {
 border-radius: 0px 20px 20px 0px;
}
.toothCostBlockFdiv
 {
    font-size: 1rem; 
}
.toothCostBlock img.img__do

 {
 border-radius: 20px 0px 0px 20px;
}
.show-more-btnb {
    display: flex;
    justify-content: center;
   
}
.toothCostBlockFp {
    margin: 20px 0 20px 0;
}
.rotate{
    transform: rotate(135deg);
}
.hidden {
    display: none;
}
@media (max-width: 991.98px) {
    .line {
        margin: 15px 0 0px 0;
    }
}

@media (max-width: 991.98px) {
    .buttonArrow

 {
        width: 190px!important;
    }
}
.toothCostBlockBottom .buttonArrow{
   transform: scale(1);
    transition: all 500ms; 
}
.toothCostBlockBottom .buttonArrow:hover {
    transform: scale(1.03);
    transition: all 500ms;
}
.toothCostBlockBottom .buttonArrow:hover img {
    transform: rotate(45deg);
    transition: all 500ms;
}
.toothCostBlockBottom .buttonArrow img {
    transform: rotate(0deg);
    transition: all 500ms;
}
@media only screen and (min-width: 320px) and (max-width: 500px){
 .tema__grid>li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
;
    transition: all 400ms 
ease-out;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 30px;
    padding: 0 15px;
    font-size: 14px;
    line-height: 1;
    border: 1px solid #444951;
    border-radius: 30px;
}   
    
}

@media only screen and (min-width: 992px) and (max-width: 1199px){
.toothCostBlock_flex img

 {
   
    width: 100%;
}
}
@media only screen and (min-width: 470px) and (max-width: 540px){
    .toothCostBlock_flex{
     display: flex;

}
.toothCostBlock_flex img {
    max-width: 100%;
    width: 100%;
}
}
@media only screen and (min-width: 420px) and (max-width: 469px){
    .toothCostBlock_flex{
     display: flex;
}
.toothCostBlock_flex img {
  max-width: 100%;
    width: 100%;
}
}
@media only screen and (min-width: 320px) and (max-width: 419px){
    .toothCostBlock_flex{
     display: flex;

}
.toothCostBlock_flex img {
   max-width: 100%;
    width: 100%;
}
}