/*пункты в меню и подвале при наведении*/
    .pynkt[data-elem-type="text"] a:hover {
        font-weight: 900;
    }

/*Обводка вопросов-услуг*/
    .t668__wrapper {
        border: 1px solid #ffffff;
    }

/*Скругление карты*/
    .zero-map {
        border-radius: 20px !important;
        overflow: hidden;
    }

/*cлайдер с карточками кейсов на главной страице*/
    .uc-slaider .t-slds__arrow-left { /*левая стрелка*/
        left: 60px !important;
    }

    .uc-slaider .t-slds__arrow-right { /*правая стрелка*/
        right: 60px;
    }

    .uc-slaider .t923__textwrapper { /*отступы у заголовка*/
        padding: 20px 0 0 0;
    }

    .uc-slaider .t-slds__main{ 
        autoplay: true,     //Автопроигрывание
        autoplaySpeed: 3000
    }

    .uc-slaider .t923__bgimg {
        border-radius: 40px;
    }

@media (max-width: 980px) {
    #rec808557881 .t-slds__arrow {
        top: 40%;
    }
    
    .t220__title {
        margin-top: 0;
        padding-bottom: 10px;
    }
}

/*Неоновое свечение раскрывающихся карточек*/ 
    .t668__col:nth-child(4n + 1) .t668__wrapper:focus-within{
        border: 1px solid #2172FF !important;
        box-shadow: 0px 0px 20px #2172FF !important;
        transition: all 0.2s ease-in !important;
    }
    
    .t668__col:nth-child(4n + 2) .t668__wrapper:focus-within{
        border: 1px solid #C0FB50 !important;
        box-shadow: 0px 0px 20px #C0FB50 !important;
        transition: all 0.2s ease-in;
    }
    
    .t668__col:nth-child(4n + 3) .t668__wrapper:focus-within{
        border: 1px solid #FF9746 !important;
        box-shadow: 0px 0px 20px #FF9746 !important;
        transition: all 0.2s ease-in;
    }
    
    .t668__col:nth-child(4n + 3) .t668__wrapper:focus-within{
        border: 1px solid #FF9746 !important;
        box-shadow: 0px 0px 20px #FF9746 !important;
        transition: all 0.2s ease-in;
    }
    
    .t668__col:nth-child(4n + 4) .t668__wrapper:focus-within{
        border: 1px solid #FFFF3D !important;
        box-shadow: 0px 0px 20px #FFFF3D !important;
        transition: all 0.2s ease-in;
    }
    
    /*Цвет кнопок в раскрывающихся карточках*/ 
    .t668__circle { 
        background-color: #FFF !important;
        transition: all 0.2s ease-in !important;
    }

    /*Цвет активных кнопок в раскрывающихся карточках*/ 
    .t668__col:nth-child(4n + 1) .t668__header:hover .t668__circle { 
        background-color: #2172FF !important;
        box-shadow: 0px 0px 20px #2172FF !important;
        transition: all 0.2s ease-in !important;
    }
    
    .t668__col:nth-child(4n + 2) .t668__header:hover .t668__circle {
        background-color: #C0FB50 !important;
        box-shadow: 0px 0px 20px #C0FB50 !important;
        transition: all 0.2s ease-in !important;
    }
    
    .t668__col:nth-child(4n + 3) .t668__header:hover .t668__circle {
        background-color: #FF9746 !important;
        box-shadow: 0px 0px 20px #FF9746 !important;
        transition: all 0.2s ease-in !important;
    }
    
    .t668__col:nth-child(4n + 4) .t668__header:hover .t668__circle {
        background-color: #FFFF3D !important;
        box-shadow: 0px 0px 20px #FFFF3D !important;
        transition: all 0.2s ease-in !important;
    }
    
/*чтобы перенести О в кнопке "подробнее о нас"*/  
#rec794927461 .tn-elem[data-elem-id="1725627687996"] .tn-atom {
    padding: 0 15%;
}


/*---------карточки с кейсами на странице «кейсы»---------*/
    .uc-keys .t-card__title { /*отступ названия от кнопки*/
        padding-right: 70px;
    }
    
    .uc-keys .t856__separator { /*скрываем разделитель*/
        display: none;
    }
    
    .uc-keys .t856__table { /*обводка карточек*/
        border: 1px #fff solid;
    }
    
@media screen and (min-width: 1200px){
    .uc-keys .t856__col { /*нижний отступ у карточек*/
        margin-bottom: 40px !important;
    }
    
    .uc-keys .t856__textwrapper { /*отступы внутри карточки*/
        padding: 40px 40px !important;
    }

    .uc-keys .t856__table:before{ /*стили кнопки*/
        content: "";
        display: block;
        width: 50px;
        height: 50px;
        border-radius: 100px;
        border: 2px #fff solid;
        position: absolute;
        right: 40px;
        bottom: 40px;
        background-image:url("https://static.tildacdn.com/tild6233-3034-4539-b638-626566366236/photo.svg");
        transform: rotate(-45deg);
        transition: all 0.2s ease-in;
        z-index: 1 !important;
    }
    
    .uc-keys .t856__table:hover:before{ /*стили кнопки при наведении*/
        content: "";
        display: block;
        width: 50px;
        height: 50px;
        background-color: #171717;
        border-radius: 100px;
        border: 2px #fff solid;
        position: absolute;
        right: 40px;
        bottom: 40px;
        background-image:url("https://static.tildacdn.com/tild6233-3034-4539-b638-626566366236/photo.svg");
        transform: rotate(0deg);
    }
    
    .uc-keys .t856__bg { /*скругление фото*/
        border-radius: 40px !important;
    }
    
    .uc-keys .t856__overlay { /*скругление затемнения*/
        border-radius: 40px !important;
    }
}

@media screen and (max-width: 1200px){
    .uc-keys .t856__col { /*нижний отступ у карточек*/
        margin-bottom: 20px !important;
    }
    
    .uc-keys .t856__textwrapper { /*отступы внутри карточки*/
        padding: 20px 20px !important;
    }

    .uc-keys .t856__table:before{ /*стили кнопки*/
        content: "";
        display: block;
        width: 50px;
        height: 50px;
        border-radius: 100px;
        border: 2px #fff solid;
        position: absolute;
        right: 20px;
        bottom: 20px;
        background-image:url("https://static.tildacdn.com/tild6233-3034-4539-b638-626566366236/photo.svg");
        transform: rotate(-45deg);
        transition: all 0.2s ease-in;
        z-index: 1 !important;
    }
    
    .uc-keys .t856__table:hover:before{ /*стили кнопки при наведении*/
        content: "";
        display: block;
        width: 50px;
        height: 50px;
        background-color: #171717;
        border-radius: 100px;
        border: 2px #fff solid;
        position: absolute;
        right: 20px;
        bottom: 20px;
        background-image:url("https://static.tildacdn.com/tild6233-3034-4539-b638-626566366236/photo.svg");
        transform: rotate(0deg);
    }
    
    .uc-keys .t-card__title { /*размер заголовка*/
        font-size: 12px !important;
    }
    
    .uc-keys .t856__bg { /*скругление фото*/
        border-radius: 40px !important;
    }
    
    .uc-keys .t856__overlay { /*скругление затемнения*/
        border-radius: 40px !important;
    }
}

@media screen and (max-width: 960px){
    .uc-keys .t856__col { /*нижний отступ у карточек*/
        margin-bottom: 40px !important;
    }
    
    .uc-keys .t856__textwrapper { /*отступы внутри карточки*/
        padding: 20px 20px !important;
    }

    .uc-keys .t856__table:before{ /*стили кнопки*/
        content: "";
        display: block;
        width: 50px;
        height: 50px;
        border-radius: 100px;
        border: 2px #fff solid;
        position: absolute;
        right: 20px;
        bottom: 20px;
        background-image:url("https://static.tildacdn.com/tild6233-3034-4539-b638-626566366236/photo.svg");
        transform: rotate(-45deg);
        transition: all 0.2s ease-in;
        z-index: 1 !important;
    }
    
    .uc-keys .t856__table:hover:before{ /*стили кнопки при наведении*/
        content: "";
        display: block;
        width: 50px;
        height: 50px;
        background-color: #171717;
        border-radius: 100px;
        border: 2px #fff solid;
        position: absolute;
        right: 20px;
        bottom: 20px;
        background-image:url("https://static.tildacdn.com/tild6233-3034-4539-b638-626566366236/photo.svg");
        transform: rotate(0deg);
    }
    
    .uc-keys .t856__table { /*скругление углов*/
        height: 240px !important;
        border-radius: 20px !important;
    }
    
    .uc-keys .t-card__title { /*размер заголовка*/
        font-size: 12px !important;
    }
    
    .uc-keys .t856__bg { /*скругление фото*/
        border-radius: 20px !important;
    }
    
    .uc-keys .t856__overlay { /*скругление затемнения*/
        border-radius: 20px !important;
    }
}

@media screen and (max-width: 640px){
    .uc-keys .t-card__col { /*карточки на всю ширину*/
        display: flex;
        width: 100%;
    }
    
    .uc-keys .t856__col { /*нижний отступ у карточек*/
        margin-bottom: 20px !important;
    }
    
    .uc-keys .t856__textwrapper { /*отступы внутри карточки*/
        padding: 20px 20px !important;
    }

    .uc-keys .t856__table:before{ /*стили кнопки*/
        content: "";
        display: block;
        width: 50px;
        height: 50px;
        border-radius: 100px;
        border: 2px #fff solid;
        position: absolute;
        right: 20px;
        bottom: 20px;
        background-image:url("https://static.tildacdn.com/tild6233-3034-4539-b638-626566366236/photo.svg");
        transform: rotate(-45deg);
        transition: all 0.2s ease-in;
        z-index: 1 !important;
    }
    
    .uc-keys .t856__table:hover:before{ /*стили кнопки при наведении*/
        content: "";
        display: block;
        width: 50px;
        height: 50px;
        background-color: #171717;
        border-radius: 100px;
        border: 2px #fff solid;
        position: absolute;
        right: 20px;
        bottom: 20px;
        background-image:url("https://static.tildacdn.com/tild6233-3034-4539-b638-626566366236/photo.svg");
        transform: rotate(0deg);
    }
    
    .uc-keys .t856__table { /*скругление углов*/
        height: 340px !important;
        border-radius: 20px !important;
    }
    
    .uc-keys .t-card__title { /*размер заголовка*/
        font-size: 14px !important;
    }
    
    .uc-keys .t856__bg { /*скругление фото*/
        border-radius: 20px !important;
    }
    
    .uc-keys .t856__overlay { /*скругление затемнения*/
        border-radius: 20px !important;
    }
}

@media screen and (max-width: 480px){
    .uc-keys .t856__col { /*нижний отступ у карточек*/
        margin-bottom: 20px !important;
    }
    
    .uc-keys .t856__textwrapper { /*отступы внутри карточки*/
        padding: 20px 20px !important;
    }

    .uc-keys .t856__table:before{ /*стили кнопки*/
        content: "";
        display: block;
        width: 50px;
        height: 50px;
        border-radius: 100px;
        border: 2px #fff solid;
        position: absolute;
        right: 20px;
        bottom: 20px;
        background-image:url("https://static.tildacdn.com/tild6233-3034-4539-b638-626566366236/photo.svg");
        transform: rotate(-45deg);
        transition: all 0.2s ease-in;
        z-index: 1 !important;
    }
    
    .uc-keys .t856__table:hover:before{ /*стили кнопки при наведении*/
        content: "";
        display: block;
        width: 50px;
        height: 50px;
        background-color: #171717;
        border-radius: 100px;
        border: 2px #fff solid;
        position: absolute;
        right: 20px;
        bottom: 20px;
        background-image:url("https://static.tildacdn.com/tild6233-3034-4539-b638-626566366236/photo.svg");
        transform: rotate(0deg);
    }
    
    .uc-keys .t856__table { /*скругление углов*/
        height: 300px !important;
        border-radius: 20px !important;
    }
    
    .uc-keys .t-card__title { /*размер заголовка*/
        font-size: 14px !important;
    }
    
    .uc-keys .t856__bg { /*скругление фото*/
        border-radius: 20px !important;
    }
    
    .uc-keys .t856__overlay { /*скругление затемнения*/
        border-radius: 20px !important;
    }
}


/*карточки с сотрудниками на странице «о нас»*/
    .uc-team .t774__bgimg { /*скругление фотографии*/
        margin: 20px;
        border-radius: 20px;
    }
    
    .uc-team .t774__wrapper { /*обводка карточки*/
        border: 1px #fff solid;
    }
    
/*карточки с сотрудниками на странице «о нас»*/
    .uc-team .t539__bgimg { /*Фотография*/
        border-radius: 20px;
        margin: 20px 20px 0;
        width: auto !important;
    }
    
    .uc-team .t539__textwrapper {
        background: 0% !important;
    }
    
    .uc-team .t539__col {
        margin-top: 40px;
    }
    
    .uc-team .t539__itemwrapper {
        background-color: #363636;
        border-radius: 40px;
        border: 1px #fff solid;
        box-sizing: border-box;
        max-width: 100% !important;
    }

@media screen and (max-width: 1200px){
    .uc-team .t539__col {
        margin-top: 20px !important;
    }
    
    .uc-team .t539__itemwrapper {
        background-color: #363636;
        border-radius: 40px;
        border: 1px #fff solid;
        box-sizing: border-box;
        max-width: 100% !important;
    }
}

@media screen and (max-width: 960px){
    .uc-team .t539__col {
        margin-top: 20px !important;
    }
    
    .uc-team .t539__itemwrapper {
        background-color: #363636;
        border-radius: 20px;
        border: 1px #fff solid;
        box-sizing: border-box;
        max-width: 100% !important;
    }
    
    .uc-team .t539 .t539__container:not(.t-list__container_inrow1) .t-list__item:nth-child(2) {
        margin-top: 20px !important;
    }
    
    .t539 .t-list__item, .t539 .t-list__container_inrow2 .t-list__item:nth-child(-n+2), .t539 .t-list__container_inrow3 .t-list__item:nth-child(-n+3), .t539 .t-list__container_inrow4 .t-list__item:nth-child(-n+4) {
        margin-top: 20px !important;
    }
}

@media screen and (max-width: 640px){
    .uc-team .t539__col {
        margin-top: 20px !important;
        display: inline-block;
        width: 100%;
        padding-right: 20px !important;
        padding-left: 20px !important;
    }
    
    .uc-team .t539__itemwrapper {
        background-color: #363636;
        border-radius: 20px;
        border: 1px #fff solid;
        box-sizing: border-box;
        max-width: 100% !important;
    }
}

@media screen and (max-width: 480px){
    .uc-team .t539__col {
        margin-top: 20px !important;
    }
    
    .uc-team .t539__itemwrapper {
        background-color: #363636;
        border-radius: 20px;
        border: 1px #fff solid;
        box-sizing: border-box;
        max-width: 100% !important;
    }
    
    .t539 .t539__container:not(.t-list__container_inrow1) .t-list__item:nth-child(2) {
        margin-top: 20px !important;
    }
    
    .t539 .t-list__item, .t539 .t-list__container_inrow2 .t-list__item:nth-child(-n+2), .t539 .t-list__container_inrow3 .t-list__item:nth-child(-n+3), .t539 .t-list__container_inrow4 .t-list__item:nth-child(-n+4) {
        margin-top: 20px !important;
    }
}

/*Галерея до после стили слов на фотографии*/
    .t-beforeafter__label {
        border-radius: 30px !important;
        padding: 5px 10px !important;
        margin: 10px !important;
        font-size: 10px !important;
    }
    
    .t-beforeafter__image

/*Убираем отступы в галереи до после, которая в зеро блоке*/
    .t410__col {
        padding: 0px !important;
    }