.uc-nastavniki .t-bgimg {
    border-radius: 50% 50% 0 50%;
}
#rec309733892 .t-slds__items-wrapper {
    max-height: 500px;
}
.uc-header_menu .t228 .t-btn {
    padding-left: 17px;
    padding-right: 17px;
}
.t228__maincontainer {
    max-width: 1818px;
    margin: 0 auto;
}
.uc-footer_bottom{
    position: relative;
}
.tri_foto {
    position: absolute;
    left: 0 !important;
}
.logo_foot {
    position: absolute;
    right: 50px !important;
    left: unset !important;
}
#rec464720520 .t-feed__col-grid__post-wrapper .t-feed__post-imgwrapper, .t-feed__post-imgwrapper.t-feed__post-imgwrapper_beforetitle {
    padding-bottom: 66% !important;
}
#rec464720520 .t-feed__col-grid__post-wrapper .t-feed__post-bgimg {
    background-size: cover;
}
.hov {
    transition: .3s;
}

#rec380589029 .t537__bgimg, #rec245848676 .t537__bgimg, #rec225745464 .t537__bgimg, #rec221151880 .t537__bgimg {
    filter: drop-shadow(0px 0px 10px rgba(51, 51, 51, 0.2));
    border-radius: 0px 0 20px 20px;
}
#rec464720520 .t-btn_md {
    height: auto;
    font-size: 16px;
    padding-left: 17px;
    padding-right: 17px;
    font-weight: 400;
    padding-top: 7px;
    padding-bottom: 7px;
}
#rec464720520 .t-feed__buttons-wrapper {
    margin-top: 30px;
}
.uc-header_mobile .t282__descr {
    margin: 0 30px;
    display: flex;
}
.uc-header_mobile .t282__descr a:first-child {
    order: 2;
    display: flex;
    margin-left: 10px;
}
.uc-header_mobile .t282__descr a{
    border: none !important;
}
.uc-header_mobile .t282__descr a:first-child:before{
    content: "";
    display: block;
    background: url(https://personal.лидерыкубани.рф/local/templates/design-code/images/Vector3.svg);
    width: 25px;
    height: 25px;
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
} 
.uc-header_mobile .t282__descr a:last-child:before{
    content: "";
    display: block;
    /*background: url(https://i.ibb.co/nktP4L1/send.png);*/
   background: url(https://personal.лидерыкубани.рф/local/templates/design-code/images/Vector2.svg);
    width: 25px;
    height: 25px;
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
} 
.buttonblock {
    text-align: center;
}
a.linkhref {
    padding: 7px 17px;
    border: 1px solid #390099;
    color: #390099 !important;
    font-family: Actay;
    border-radius: 31px;
}
#rec465432134 .tn-elem[data-elem-type="image"] {
    transform: rotate(45deg);
    width: 140px !important;
}
/*#rec465432134 .tn-elem[data-elem-type="image"] img{
    transform: rotate(-45deg) ;
}*/
#rec465432134 .tn-elem[data-elem-type="image"].shadow_bot {
    filter: drop-shadow(10px 10px 3px rgba(0, 0, 0, 0.25));
    transition: .3s;
    transform: rotate(45deg) scale(1.1);
    z-index: 1000 !important;
}
.t396__elem.tn-elem.tn-elem__4657425161656686044564, #rec465742516 .tn-elem[data-elem-id="1656686062272"], .t396__elem[data-elem-id="1658235170613"] {
    left: 469px !important;
}
#rec465742516 .tn-elem[data-elem-id="1658235216238"]{
    left: 521px !important;
}
#rec465742516 .tn-elem[data-elem-id="1658235250427"]{
    left: 573px !important;
}

.uc-pop_uchastie img.t390__img.t-img {
    padding: 50px;
    width: 100%;
    padding-bottom: 20px;
    max-width: 460px;
}
.uc-pop_uchastie a.t390__btn.t390__btn_first.t-btn.t-btn_md {
    color: #fff !important;
    border: 2px solid#ff6700  !important;
    background: #ff6700;
    transition: .35s;
}
.uc-pop_uchastie a.t390__btn.t390__btn_first.t-btn.t-btn_md:hover {
    background: #fff;
    color: #ff6700 !important;
    transition: .35s;
}
.uc-pop_uchastie .t390__wrapper.t-align_center {
    padding-top: 0;
}


/*стили героев*/
#allrecords[data-tilda-page-id="63676131"] .timer {
    display: flex;
    color: #fff;
}
p.value_days, p.value_hours, p.value_minutes, p.value_seconds {
    font-size: 47px;
    font-family: 'Actay';
    font-weight: 100;
}
.timerblck {
    position: relative;
    width: calc(100% / 4);
    padding: 0 25px;
}
.timerblck:nth-child(1):before, .timerblck:nth-child(2):before, .timerblck:nth-child(3):before {
    content: ':';
    right: 0;
    position: absolute;
    font-size: 50px;
    color: #e5cba9;
    top: -10px;
}
div#nav869711533 .t228__maincontainer {
    max-width: 1280px;
}
div#nav869711533 .t228__leftside {
    max-width: 100px;
}
#nav869711533 li.t-sociallinks__item.t-sociallinks__item_website a {
    width: 40px !important;
    height: 40px !important;
}
#nav869711533 li.t-sociallinks__item.t-sociallinks__item_website a img.t-sociallinks__customimg {
    width: 100% !important;
    height: 100% !important;
}
#nav869711533 li.t228__list_item {
    padding: 0 18px 0 0 !important;
}
#nav869711533 .t228__right_buttons {
    padding-left: 0;
}
#nav869711533 li.t228__list_item:last-child {
    padding: 0 !important;
}
#nav869711533 li.t228__list_item {
    padding: 0 13px!important;
}
body #nav869711533 .t-btn:not(.t-animate_no-hover):hover {
    color: #ffffff !important;
    border-color: #e5cba9 !important;
    background-color: transparent !important;
}
/*стили героев*/



@media (max-width: 1200px){
    #rec465742516 .t396 .tn-atom__img {
        width: 70%;
        display: block;
    }
    #rec465742516 .t396__filter, #rec465742516 .t396__artboard {
        height: 100px !important;
    }
    .logo_foot {
        position: absolute;
        right: -90px !important;
        left: unset !important;
        top: 50% !IMPORTANT;
        transform: translateY(-50%);
    }
    .t396__elem.tn-elem.tn-elem__4657425161656686044564, #rec465742516 .tn-elem[data-elem-id="1656686062272"], .t396__elem[data-elem-id="1658235170613"] {
        left: 369px !important;
    }
    #rec465742516 .tn-elem[data-elem-id="1658235216238"]{
    left: 421px !important;
    }
    #rec465742516 .tn-elem[data-elem-id="1658235250427"]{
        left: 473px !important;
    }
    #rec465742516 .tn-elem[data-elem-id="1656686044564"]{
        top: 27px !important;
    }
    #rec465742516 .tn-elem[data-elem-id="1656686062272"]{
        top:57px !important;
    }
}
@media (max-width: 960px){
    .t396__elem.tn-elem.tn-elem__4657425161656686044564, #rec465742516 .tn-elem[data-elem-id="1656686062272"] {
        left: 50px !important;
    }
    #rec465742516 .t396__elem[data-elem-id="1658235170613"] {
        left: 415px !important;
        width: 50px !important;
        top: 40px !important;
    }
    #rec465742516 .tn-elem[data-elem-id="1658235216238"]{
        top: 40px !important;
        left: 470px !important;
        width: 50px !important;
    }
    #rec465742516 .tn-elem[data-elem-id="1658235250427"]{
       top: 40px !important;
       width: 50px !important;
       left: 523px !important;
    }
    .logo_foot {
        right: -60px !important;
    }
    
}

@media (max-width: 430px){
     #rec465742516 .t396__filter, #rec465742516 .t396__artboard {
        height: 467px !important;
    }
    .aftertext {
    top: 336px !important;
    }
    .aftertext_usl{
        right: 15px !important;
        left: unset !important;
    }
    #rec464720520 .t915__container_mobile-flex{
        flex-direction: column;
    }
    #rec464720520 .t915__container_mobile-flex .t-feed__grid-col {
        min-width: 100%;
        max-width: 100%;
    }
    #rec465742516 .t396 .tn-atom__img {
        width: 100%;
        display: block;
    }
    .t396__elem.tn-elem.tn-elem__4657425161656686044564, #rec465742516 .tn-elem[data-elem-id="1656686062272"] {
        display:none;
    }
    .logo_foot {
       display:none;
    }
    #rec465432134 .tn-elem[data-elem-type="image"] {
        width: 80px !important;
    }
    #rec465742516 .t396__elem[data-elem-id="1658235170613"] {
        display: none;
    }
    #rec465742516 .tn-elem[data-elem-id="1658235216238"] {
        display: none;
    }
    #rec465742516 .tn-elem[data-elem-id="1658235250427"] {
        display: none;
    }
    .t396__elem.tn-elem.tn-elem__4677353501723448021405 .t228__right_buttons_but {
    position: relative;
    top: 100px;
}
.uc-pop_uchastie .t-popup__container.t-width.t-width_6 {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.uc-pop_uchastie img.t390__img.t-img {
    padding: 50px;
    width: 100%;
    padding-bottom: 20px;
    max-width: 460px;
}

/*стили героев*/
p.value_days, p.value_hours, p.value_minutes, p.value_seconds {
    font-size: 23px;
    font-family: 'Actay';
    font-weight: 100;
}
.timerblck {
    position: relative;
    width: calc(100% / 4);
    padding: 0 15px;
}
.timerblck:first-child {
    padding-left: 0;
}
.timerblck:nth-child(1):before, .timerblck:nth-child(2):before, .timerblck:nth-child(3):before {
    content: ':';
    right: 0;
    position: absolute;
    font-size: 35px;
    color: #e5cba9;
    top: -10px;
}
.timerblck .name {
    font-size: 11px;
}

/*стили героев*/
}
@media (max-width: 414px){
    .aftertext {
    top: 336px !important;
    }   
}
@media (max-width: 375px){
    .aftertext {
    top: 336px !important;
    }   
}
@media (max-width: 320px){
    .aftertext {
    top: 336px !important;
    }   
}