@media screen and (max-width: 480px) {
    .buttonquest {
        width: 72%!important;}
}

@media screen and (max-width: 480px) {
    .mobilebutton {
        width: 90%!important;}
}

/* Ховер красных кнопок без доп. класса */
    
    
    
    .redbutton .tn-atom, .t-form .t-submit{
        background: #F88787 linear-gradient(268.89deg, #F88787 0%, #F66565 100%)!important;
        transition-duration: 0.3s !important;
    }
   
    .redbutton .tn-atom:hover, .t-form .t-submit:hover{
        background: #EC3A39!important;
        transition-duration: 0.3s !important;
    }
    
/* Ховер красных кнопок с классом buttonquest */
    .redbutton2 .tn-atom {
        background: #F88787 linear-gradient(268.89deg, #F88787 0%, #F66565 100%)!important;}
    
    .redbutton2 .tn-atom:hover {         
        background: #EC3A39!important;
        transition-duration: 0.3s!important;}
    
@media screen and (max-width: 480px) {
    .redbutton2 {
        width: 72%!important;}
    }

/* Ховер красных кнопок с классом mobilebutton */
    .redbutton3 .tn-atom {
        background: #F88787 linear-gradient(268.89deg, #F88787 0%, #F66565 100%)!important;}
    
    .redbutton3 .tn-atom:hover {         
        background: #EC3A39!important;
        transition-duration: 0.3s!important;}

@media screen and (max-width: 480px) {
    .redbutton3 {
        width: 90%!important;}
}

@media screen and (min-device-width: 960px) {
    .bordercard .tn-atom {
        border-radius: 12px 0px 0px 12px!important;
    }
}
    
@media screen and (max-device-width: 960px) {
    .bordercard .tn-atom {
        border-radius: 12px 12px 0px 0px!important;
    }
}

@media (min-width: 960px) {
    .dynamic .tn-atom {
        border-radius: 12px 12px 0px 0px!important;
    }
}

@media (min-width: 480px) and (max-width: 960px) {
    .dynamic .tn-atom {
        border-radius: 12px 0px 0px 12px!important;
    }
}

@media (max-width: 479px) {
    .dynamic .tn-atom {
        border-radius: 12px 12px 0px 0px!important;
    }
}

.bgshadow:hover {
    box-shadow: 0px 4px 24px rgba(223, 230, 236, 0.56)!important;}

.bgshadow1 {
    box-shadow: 0px 4px 4px -4px rgba(26, 26, 26, 0.12)!important;}
    
::marker {
    color: #EC3A39!important;
    font-size: 0.8em!important;}
    
.t404__btn {
    display: none!important;}
    
@media (min-width:961px) {
.t404 .t-container {
            display:flex;}
        
        .t404__imgbox {
            height:184px;}
          
        .t404__textwrapper {
            padding: 20px;}
        
        .t404__textwrapper {
            margin: 0 !important;}
         
        .t404 .t-col_4, .t404 .t-col_6 {
            background: #f5f7f9;
            border-radius: 12px;}
        
        .t404__img {
            border-radius:12px 12px 0 0;}
    }
    
    @media (max-width:960px) {
        
        .t404__textwrapper {
            margin-top: 25px!important;
            margin-bottom: auto!important;}
        
        .t404__descr, .t404__title {
            padding-right: 20px!important;}
        
        .t404__img {
            border-radius:12px 0 0 12px!important;}

        .t404__link {
            background: #f5f7f9!important; 
            border-radius: 12px!important;}
    }
    
    @media (max-width:640px){
        
        .t404__img {
            border-radius:12px 12px 0 0!important;} 
        
        .t404__textwrapper {
            padding: 20px;
            width: calc(100% - 40px);
            margin:0;}
        
        .t404__textwrapper {
            margin-top: 0px!important;}
    }
    
    .t404 .t-col_4, .t404 .t-col_6 {
        margin-bottom: 40px;
        align-self: stretch;
        transition:all 0.3s ease-in-out;
    }

    .t404__descr {
        font-weight:800 !important;
    }
 
    .t404 .t-col_4:hover, .t404 .t-col_6:hover {
        background:#ECF0F4;
    }



/* Табы */ 
    
    .t397__tab_active .t397__title {
        border-radius: 50px!important;
        background: linear-gradient(268.89deg, #F88787 0%, #F66565 100%)!important;}
    
    .t397__title {
        border-radius: 50px!important;
        border:1px solid #F66565 !important;}
   
    .t397__col {
       margin: 0 20px!important;}

    @media screen and (max-width: 960px) {
        
        .t397__col {
            margin: 0 0px!important;}
    }

    .t397__tab {
        margin-right:16px;}
    
    .t397__col {
        scrollbar-width: none;}
    
    .t397__col::-webkit-scrollbar {
        width:0;}

    .t397__tab {
        display:block;
        float:left;
        width: auto;
        margin-bottom:16px;
    }
    
    .t397__tab .t397__title {
        padding: 12px 24px;}
    
    .t397__tab:not(.t397__tab_active) .t397__title:hover {
        background: #FEF5F5!important;}
    
    @media screen and (max-width: 1200px) {
        
        .t397__col {
            overflow: scroll;
            max-width: 100%;}
    
        .t397 .t-container {
            max-width: 100%;}
    
        .t397__tab:last-child {
            padding-right: 20px!important;}
    
        .t397__col .t397__wrapper {
            display: flex;}
    
        .t397__col .t397__wrapper_mobile {
            display:none}
    
        .t397__tab {
            float: left;
            display: block;
            width: auto;
            margin-right: 16px;
            margin-bottom:0;
            white-space: nowrap;}
    }

    @media screen and (max-width: 960px) and (min-width:640px) {
        
        .t397__tab:first-child {
            margin-left: calc(50% - 300px);}
   
        .t397__tab:last-child {
            padding-right: calc(50% - 280px)!important;}
    }

    @media screen and (max-width: 1200px) and (min-width:961px) {
        
        .t397__tab:first-child {
            margin-left: calc(50% - 480px);}
    }


    .t-feed__post-popup__content-wrapper .t-text {
        line-height: 1.4!important;
        font-weight: 700!important;
    }
    
    .t-feed__post-popup__text-wrapper h3.t-redactor__h3 {
        font-weight: 600!important;
    }
    
    .t-feed__post-popup__text-wrapper h4.t-redactor__h4 {
        font-weight: 600!important;
    }
    