/*попап «правила терапии»*/
    .uc-pravila .t390__btn { /*высота кнопки*/
        height: 40px !important;
    }
    
    .uc-pravila .t390__wrapper { /*отступы по периметру попапа*/
        padding: 30px !important;
    }
    
    uc-pravila .t390__btn { /*убираем отступы у кнопки*/
        margin: 0px !important;
    }

/*сообщение об отправки заявки*/   
    .t-form__successbox {
        font-family: 'TildaSans' !important;
        border-radius: 5px !important;
        text-align: left !important;
        background: #65721d !important;
    }

/*обложка (стандартный блок)*/   
    .uc-cover .t492__blocktext {
        position: relative !important;
        z-index: 4 !important;
    }
    
    .uc-cover .t492__blocktable { /*высота текстового блока*/  
        height: 599px !important;
    }
    
    .uc-cover .t-descr a { /*добавляем кнопку*/  
        display: flex;
        align-items: center;
        height: 40px !important;
        background-color: #4e4e44;
        border-radius: 5px;
        padding: 0 40px;
        margin: 30px 0 70px;
        transition: all 0.3s ease-in;
    }
    
    .uc-cover .t-descr a:hover { /*анимация наведения на кнопку*/ 
        background-color: #65721d;
    }
    
    .uc-cover .t-descr p { /*выравниваем кнопку по центру*/ 
        display: flex;
        justify-content: center;
    }
    
/*блок «с чем я работаю»*/ 
    .uc-how .t778__wrapper { /*минимальная высота карточек*/ 
        min-height: 275px !important;
    }
    
    .uc-how .t778__col:not(:nth-child(3)):not(:nth-child(4)):not(:nth-child(6)) .t778__wrapper { /*курсор для карточек*/ 
        cursor: pointer;
    }
    
    .uc-how .t778__col .t778__wrapper:hover .t778__title span { /*при наведении заголовок скрывается*/
        display: none !important;
        transition: all 0.3s ease-in;
    }
    
    .uc-how .t778__wrapper .t778__descr { /*изначально описание скрыто*/
        opacity: 0 !important;
        
    }
    
    .uc-how .t778__col .t778__wrapper:hover .t778__descr { /*при наведении описание появляется*/
        opacity: 100 !important;
        transition: all 0.3s ease-in;
    }
    
    .uc-how .t778__col:not(:nth-child(3)):not(:nth-child(4)):not(:nth-child(6)) .t778__content:before { /*добавляем кнопку*/
        content: "";
        position: absolute;
        right: 20px;
        bottom: 20px;
        width: 40px;
        height: 40px;
        border-radius: 5px;
        background-color: #4e4e44;
        transition: all 0.3s ease-in;
    }
    
    .uc-how .t778__col:not(:nth-child(3)):not(:nth-child(4)):not(:nth-child(6)) .t778__content:hover:before { /*добавляем кнопку*/
        content: "";
        position: absolute;
        right: 20px;
        bottom: 20px;
        width: 40px;
        height: 40px;
        border-radius: 5px;
        background-color: #65721d;
        
    }
    
    .uc-how .t778__col:not(:nth-child(3)):not(:nth-child(4)):not(:nth-child(6)) .t778__textwrapper:before { /*белый крестик*/
        content: "";
        position: absolute;
        background-image:url("https://static.tildacdn.com/tild3464-3830-4032-a365-303037653334/1.svg");
        right: 20px;
        bottom: 20px;
        width: 40px;
        height: 40px;
        transform: rotate(0deg);
        transition: all 0.3s ease-in;
    }
    
    .uc-how .t778__col:not(:nth-child(3)):not(:nth-child(4)):not(:nth-child(6)) .t778__textwrapper:hover:before { /*белый крестик*/
        content: "";
        position: absolute;
        background-image:url("https://static.tildacdn.com/tild3464-3830-4032-a365-303037653334/1.svg");
        right: 20px;
        bottom: 20px;
        width: 40px;
        height: 40px;
        transform: rotate(-45deg);
    }
    
    .uc-how .t778__col:nth-child(3) .t778__title, .uc-how .t778__col:nth-child(4) .t778__title, .uc-how .t778__col:nth-child(6) .t778__title { /*убираем заголовок в 3,4 и 5(6) карточке*/
        display: none !important;
    }
    
    .uc-how .t778__col:nth-child(4) .t778__wrapper, .uc-how .t778__col:nth-child(6) .t778__wrapper { /*цвет в 3,4 и 5(6) карточке*/
        background-color: #FBFBFB !important;
    }
    
    .uc-how .t778__col:nth-child(3) .t778__wrapper {  /*добавляем фотографию в 3 карточку*/
        background-image:url("https://static.tildacdn.com/tild3866-6236-4334-a662-383165343465/4.jpg");
        background-size: cover;
        background-repeat: no-repeat;
    } 


/*карточки с услугами*/    
    .uc-uslugi .t778__bgimg { /*отступы между подложкой и фотографией*/   
        margin: 20px 20px 0 !important;
    }
    
    .uc-uslugi .t778__btn { /*кнопка на всю ширину карточки*/
        width: -webkit-fill-available !important;
        margin: 0px !important;
    }
    
    .uc-uslugi .t778__btn-wrapper {
        padding: 0 20px 20px !important;
    }
    
    .uc-uslugi .t778__col:last-child { /*убираем отступ у последней карточки*/
        margin-bottom: 0px;
    }
    
    .uc-uslugi .t-btn_xs {
        height: 40px !important;
    }
    
    .uc-uslugi .t778__wrapper, .uc-uslugi .t778__imgwrapper {
        cursor: default !important;
    }
    
/*первая сессия*/      
    .uc-sessiya { /*добавляем фотографию*/
        background-image:url("https://static.tildacdn.com/tild3662-3430-4333-a464-623133366137/9.jpg");
        background-size: contain;
        background-repeat: no-repeat;
        background-size: 30%;
    }
    
    .uc-sessiya .t1115__button { /*высота кнопок*/
        height: 40px !important;
    }
    
/*отзывы*/    
    .uc-reviews .t923__textwrapper {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .uc-reviews .t923__content {
        background-image:url("https://static.tildacdn.com/tild6334-3763-4636-a439-316130316137/11.jpg");
        background-size: cover;
        background-repeat: no-repeat; 
    }
    
    .uc-reviews .t-card__title {
        padding: 0px !important;
    }

/*статьи*/      
    .uc-articles .t-feed__post-bgimg { /*фото*/    
        margin: 20px 20px 0 !important;
    }
    
    .uc-articles .t-feed__buttons-wrapper { /*отступ блока*/   
        margin-top: 0px !important;
    }
    
    .t-redactor__text { /*Шрифт текста на странице со статьями*/
        font-family: 'TildaSans' !important;
    }
 
    .js-feed-post-text { /*Шрифт текста на странице со статьями*/   
        font-family: 'TildaSans' !important;
    }

/*частые вопросы*/      
    .t585__circle {
        border-radius: 5px;
        height: 40px !important;
        width: 40px !important;
    }

@media (min-width: 960px) and (max-width: 980px){
    .uc-cover .t492__textwrapper { /*отступы и сетка*/
        margin: 20px 40px 0 !important;
    }
    
    .uc-cover .t492__blocktable { /*высота блока с текстом*/ 
        height: auto !important;
    }
    
    .uc-cover .t-descr a { /*добавляем кнопку*/  
        margin: 20px 0 20px;
    }
    
    .uc-cover .t492__blockimgmobile { /*убираем блок в мобильной версии*/ 
        display: none !important;
    }
    
    .uc-cover .t-descr a { /*отступы внутри кнопки*/ 
        padding: 0 150px !important;
    }
}
  
@media screen and (max-width: 960px){
/*обложка (стандартный блок)*/   
    .uc-cover .t492__blocktable { /*высота блока с текстом*/ 
        height: auto !important;
    }
    
    .uc-cover .t492__blockimgmobile { /*убираем блок в мобильной версии*/ 
        display: none !important;
    }
    
    .uc-cover .t492__textwrapper { /*отступы и сетка*/
        margin: 20px 40px 0 !important;
    }
    
    .uc-cover .t-descr a { /*добавляем кнопку*/  
        margin: 20px 0 20px;
    }
    
    .uc-cover .t-descr a { /*отступы внутри кнопки*/ 
        padding: 0 150px !important;
    }
    
/*блок «с чем я работаю»*/     
    .uc-how .t778__col:nth-child(4), .uc-how .t778__col:nth-child(6) { /*убираем 4 и 5(6) карточки*/
        display: none !important;
    }
    
    .uc-how .t778__col:nth-child(3), .uc-how .t778__col:nth-child(7) { /*убираем 4 и 5(6) карточки*/
        height: 350px !important;
    }
    
/*карточки с услугами*/    
    .uc-uslugi {
        padding-bottom: 90px !important;
    }
    
/*первая сессия*/     
    .uc-sessiya .t1115__image { /*убираем фотографию*/ 
        display: none;
    }
    
    .uc-sessiya { /*убираем верхний отступ и добавляем нижний отступ блока*/ 
        padding-top: 0px !important;
        padding-bottom: 90px !important;
    }
    
    .uc-sessiya .t1115__col-bottom:not(.t1115__img-mobile) { /*убираем верхний отступ блока*/ 
        margin-top: 0px;
    }
    
    .uc-sessiya { /*добавляем фотографию*/
        background-image:url("https://static.tildacdn.com/tild3662-3430-4333-a464-623133366137/9.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top center;
    }
    
    .uc-title1 { /*добавляем фотографию в заголовок блока*/
        background-image:url("https://static.tildacdn.com/tild3063-6332-4338-a463-623466333763/10.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: bottom center;
    }
}


@media screen and (max-width: 640px){
/*обложка (стандартный блок)*/   
    .uc-cover .t-title.t-title_xxs { /*верхний отступ у заголовка*/  
        padding-top: 0px !important;
    }
    
    .uc-cover .t-descr { /*нижний отступ у заголовка*/
        padding-bottom: 0px !important;
    }
    
    .uc-cover .t492__textwrapper { /*отступы и сетка*/
        margin: 20px 20px 0 !important;
    }
    
    .uc-cover .t-descr span { /*делаем кнопку во всю ширину экрана*/
        width: -webkit-fill-available;
        justify-content: center;
    }
    
    .uc-cover .t-descr a { /*отступы внутри кнопки*/ 
        padding: 0 20px !important;
    }

/*зеро-блок «обо мне»*/   
    .foto, .knopka {
        width: -webkit-fill-available !important;
        margin-left: 40px !important;
        margin-right: 40px !important;
    }
    
    .bumaga, .liniya {
        width: -webkit-fill-available !important;
        margin-left: 20px !important;
        margin-right: 20px !important;
    }
    
/*все блоки с заголовками*/
    .uc-title .t-align_center {
        text-align: left !important;
    }
    
    .uc-title1 .t-align_center {
        text-align: left !important;
    }

/*первая сессия*/      
    .uc-sessiya { /*нижний отступ блока*/ 
        padding-bottom: 90px !important;
    }
}

@media screen and (max-width: 480px){
/*блок «с чем я работаю»*/     
    .uc-how .t778__col:nth-child(3) { /*убираем 4 и 5(6) карточки*/
        display: none !important;
    }
    
    .uc-how .t778__col:nth-child(7) { /*высота 7 карточки*/
        height: auto !important;
    }
    
    .uc-how .t778__wrapper { /*высота карточек*/
        min-height: auto !important;
    }
    
    .uc-how  .t778__descr { /*отступ справа в описании*/
        margin-right: 50px;
    }
    
/*карточки с услугами*/    
    .uc-uslugi {
        padding-bottom: 75px !important;
    }    
    
/*первая сессия*/ 
    .uc-sessiya { /*нижний отступ блока*/ 
        padding-bottom: 75px !important;
    }
}