/* ГЛАВНАЯ*/

/* Слайдер */

.t-slds__arrow-nearpic .t-slds__arrow-right  {
    left: 0px;
}
.t-slds__arrow-nearpic .t-slds__arrow-left
{
    right: 0px;
}

/* Преимещества */
@media screen and (max-width: 960px) {
    .uc-preference .t408__blockswrapper {
        display: flex;
        flex-wrap: wrap;
        padding-left: 10px;
        padding-right: 10px;
        
    }
    .uc-preference .t408__blockswrapper .t-col {
        width: 50%;
        max-width: 50%;
        padding-left: 10px;
        padding-right: 10px;
    }
    .uc-preference .t408__img {
        width: 120px !important;
        height: 120px !important;
    }
    .uc-preference .t408__title.t-name  {
        font-size: 16px !important;
        word-wrap: break-word;
    }
    
}

/* Ведущие специалисты */
@media screen and (max-width: 480px) {
    .t539__container .t539__persname {
        font-size: 18px !important;
    }
    .t539__persdescr {
        font-size: 14px !important;
    }
    
    .t539__col-mobstyle {
        width: 50%;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .t539 .t539__container:not(.t-list__container_inrow1) .t-list__item:nth-child(2) {
        margin-top: 0px !important;
    }
}



/* Страница услуг */
.t774 .t-uptitle_xs
{
    letter-spacing: 0.5px;
}
.t774 .t-card__btn
{
    padding-top: 4px;
}

.t774__wrapper:hover .t-card__btn
{
    width: 30%;
    transition: 0.3s cubic-bezier(0.01, 0.43, 0.58, 1);
}

.t774__wrapper:not(:hover) .t-card__btn
{
    width: 20%;
    transition: 0.3s ease-out;
}

.backpage
{
    cursor:pointer;
}

@media (max-width:600px)
{
   .t774__wrapper:not(:hover) .t-card__btn
{
    width: 23%;
    transition: 0.3s ease-out;
} 
}

/* Спойлер для SEO блока*/
.t474 .t-col 
    {
        position:relative;
    }
.t474 .t474__descr
    {
        max-height:300px;
        overflow-y: hidden;
        position:relative;
        padding-bottom: 35px;
        transition: all 0.6s ease-in-out;
    }
    
.t474 .t474__descr.active 
    {
        max-height: 3200px;
        padding-bottom: 65px;
    }
    
.t474 .t474__descr:after
    {
        content: "";
        height: 24px;
        width: 100%;
        background-color: #fff;
        position: absolute;
        bottom: 0px;
        left: 0;
        box-shadow: 0px -12px 30px 20px #fff;
        z-index: 1;
    }
.t474 .t-btn
    {
        position:absolute;
        height: 35px;
        display: block;
        bottom:0;
        z-index:1;
        left:0;
        right:0;
        bottom:0;
        margin:0 auto;
        max-width:10%;
        padding: 0px 45px;
    }
    
.t474 .t-btn.active:after
    {
        transform: rotate(180deg);
    }
    
.t474 .t-btn:after
    {
        content: "";
        position: absolute;
        background-image: url(https://static.tildacdn.com/tild6231-6134-4732-b136-653733356336/bottom.svg);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 10%;
        z-index: 1;
        width: 100%;
        height: 100%;
        bottom: 0;
        left: 0;
        transition: 0.6s;
    }

.t474 .t474__descr
        {
            font-size: 18px;
   
        } 
    
 @media (max-width: 640px) {  
    .t474 .t474__descr
        {
            font-size: 16px;
   
        }
}

/* Fix Popup */
.t-popup {
    z-index: 1000000001;
}

/* Кнопка записаться по акции */
.fcc-btn {
    display: inline-block;
    width:100%;
  background-color: #b77f41;
  color: #fff !important;
  font-size:16px;
  font-weight: 700;
  text-align: center;
  padding: 18px 32px;
  box-sizing: border-box;
  border-radius:99px;
  text-decoration: none;
  transition: background-color 0.2s;
  margin-top:30px;
}

.fcc-btn:hover {
  background-color: #895f31;
}


/* -cлайдер до и после */    
#allrecords .uc-slider .t604 ul
    {
        list-style: none;
        padding-left: 0px;
    }
    
.uc-slider .t604 .t-slds__caption__container
    {
        position: absolute;
        bottom: 0;
    }

.uc-slider .t604 .t-slds__caption_wrapper
    {
        padding: 18px 24px;
        background-color: #f5f5f5;
        border-radius: 36px;
        margin-bottom: 40px;
        margin-left: 40px;
        width: fit-content;
        max-width: 320px;
    }
    
.uc-slider .t604 .t-slds__title
    {
        font-weight: 500;
        font-size: 18px;
        line-height: 21px;
    }
    
.uc-slider .t604 .t-slds__bullet_wrapper  
    {
        display:none;
    }

.uc-slider .t604 .t-prefix_2
    {
        padding-left: 0px;
    }
    
.uc-slider .t604 .t-slds__arrow_wrapper
    {
        width: calc((100vw - 1170px) / 2) !important;
    }
    
@media screen and (max-width: 1200px)
{
    .uc-slider .t604 .t-slds__arrow_wrapper
        {
            width: calc((100vw - 960px) / 2) !important;
        }
}

@media screen and (max-width: 960px)
{
    .uc-slider .t604 .t-slds__arrow_wrapper
        {
            width: calc((100vw - 570px) / 2) !important;
        }
}

@media screen and (max-width: 640px)
{
    .uc-slider .t604 .t-slds__arrow_wrapper
        {
            width: 45px !important;
        }
    .uc-slider .t604 .t-slds__title
        {
            font-weight: 500;
            font-size: 16px;
            line-height: 21px;
        }    
} 

@media screen and (max-width: 960px)
    {
        
    .uc-slider .t604 .t604__imgwrapper
        {
          height: 280px;  
        }
        
    .uc-slider .t604 .t-prefix_2
        {
            padding-left: 20px;
        }
    
    .uc-slider .t604 .t-slds__caption__container
        {
            display: none;
        }

}

/* Блок Контакты */
#allrecords .uc-contacts .t-text ul {
    padding-left: 0px;
    list-style: none;
}

.uc-contacts .t-text ul li {
    font-weight: 600;
    font-size: 18px;
}
@media screen and (max-width: 640px)
    {
        .uc-contacts .t-text {
                font-size: 14px;
        }
        .uc-contacts .t-text ul li {
            font-size: 16px;
    }
    }
    
    
/* Блок с ДО_После*/
.uc-after_before .t923__wrapper {
    padding: 24px;
    box-sizing: border-box;
    background-color: #eee4d7;
}
.uc-after_before .t923__content {
    background-color: transparent !important;
}
.uc-after_before .t923__imgwrapper {
    background-color: transparent !important
}
