@media screen and (max-width: 980px) {
    .t-feed__post-popup.t-popup, .t-feed__post-popup {
        padding-top: 60px;
        padding-right: 20px;
        padding-bottom: 0px;
        padding-left: 20px;
    } }

.tmenu-mobile__container {
    padding: 0px !important;
    padding-top: 0px !important;
    padding-right: 20px !important;
    padding-bottom: 0px !important;
    padding-left: 20px !important;
}

.bms-video-player__mobile-overlay {
    width: 100%;
}

@media screen and (max-width: 640px){
.t702 .t-popup__container
    {min-height: 60vh !important;
    top: 130px !important;
    }

/*карточки проектов*/
.t-feed__col-grid__post-wrapper .t-feed__post-imgwrapper, .t-feed__col-grid__content {
    margin-bottom: 0px; }
.t-feed__post-descr {
    margin-top: 0px; }
.t-feed__col-grid__content {
    padding-bottom: 10px; }
}

/*карточки проектов*/
@media screen and (max-width: 960px) {
    .t-feed__container_inrow1 .t-feed__post:first-child, .t-feed__container_inrow2 .t-feed__post:nth-child(-n+2), .t-feed__container_inrow3 .t-feed__post:nth-child(-n+3), .t-feed__container_inrow4 .t-feed__post:nth-child(-n+4) {
        margin-top: 20px !important;
    }
    .t-feed__grid-col:not(.t-slds__item) {
        margin-top: 20px !important;
    }
}

/*квиз кнопка далее*/
.t-quiz__content-wrapper{
    justify-content: flex-start !important;
}

.t-quiz .t-quiz__quiz-wrapper {
    min-height: 500px !important;
}

.t-quiz__footer{
    margin-top: 0 !important;
}
/*конец*/

.t702 .t-popup__container
    {border-radius: 20px !important;
    }

.t-feed__post-popup__relevants-title {
    letter-spacing: inherit;
    margin: 0px 0 45px;
}



@media screen and (max-width: 640px) {
    .t-feed__post-popup__cover-wrapper .t-img, .t-feed__post-popup__cover-wrapper iframe, .t-feed__post-popup__cover-wrapper_video, .t-feed__post-popup__cover-wrapper video, .t-slds__main {
        height: 70% !important;
        width: 90% !important;
        object-fit: cover;
    } }

@media screen and (max-width: 640px) {
    .t-feed__button-wrapper:last-child {
        margin-top: 0px;
    }
}

.t-feed__buttons-wrapper {
    margin-top: 30px !important;
}
