/* меняем ширину стандартного блока новостей */
@media (min-width: 960px) {
.t-feed__container {
    max-width: calc(100% - 24px);
}
.t-feed__post {
    margin-left: 8px;
    margin-right: 8px;
    max-width: calc(33% - 13px);
}
.t-feed__buttons-wrapper
 {
    margin-top: 56px !important;
 }
}

/* расстояния в фильтрах*/
.t-feed__parts-switch-btn span, .t-feed__parts-switch-btn a {
    padding: 0px 16px 0px 0px !important;
}


/* отступы фильтрации*/
.js-feed-parts-select-container.t-col.t-col_12 {
    margin-left: 0px;
    margin-right: 0px;
}
.t-feed__container .t-feed__parts-switch-wrapper {
    margin-bottom: 32px;
}
@media screen and (min-width: 960px) {
#allrecords ul.t-feed__parts-switch-wrapper {
    padding-left: 10px;
}
}

/* длина заголовка */
@media screen and (min-width: 1200px) {
.t-feed__post-descr, .t-feed__post-title {
    max-width: 360px;
}
}

/* размеры карточек в планшете, отступ между */
@media screen and (max-width: 960px) {
    .t897__container_mobile-flex .t-feed__grid-col:first-child {
        margin-left: 0px;
        padding-right: 5px; 
    }
    .t897__container_mobile-flex .t-feed__grid-col:not(:first-child,:last-child) {
        padding-right: 5px;
        padding-left: 5px;
    }

    .t897__container_mobile-flex .t-feed__grid-col {
        min-width: 352px;
        max-width: 352px;
        
    }
    .t897__container {
        max-width: 100%;
    }
}

/* размеры карточек в мобильных, отступ между */
@media screen and (max-width: 480px) {
    .t897__container_mobile-flex .t-feed__grid-col:first-child {
        padding-right: 5px; 
    }
    .t897__container_mobile-flex .t-feed__grid-col:not(:first-child,:last-child) {
        padding-right: 5px;
        padding-left: 5px;
    }

    .t897__container_mobile-flex .t-feed__grid-col {
        min-width: 320px;
        max-width: 320px;
    }
}
@media screen and (max-width: 640px) {
    .t-feed__post-label:first-child {
        margin-top: 8px;
    }
}


/* БЛОК IX02 выравниваем по сетке*/

/* Общие стили для .t-col внутри .uc-window */
@media screen and (min-width: 768px) {
    .uc-window .t-col {
        margin-left: 8px;
        margin-right: 8px;
    }
}
/* длина заголовка и описания */
@media screen and (min-width: 1200px) {
.t404__title.t-heading.t-heading_xs {
    width: 360px !important;
}
.t404__descr.t-descr.t-descr_xs {
    width: 360px !important;
}
}

/* Десктоп (1440px и выше) */
@media screen and (min-width: 1440px) {
    .uc-window .t-container {
        max-width: 1408px !important;
    }
    .uc-window .t-col_4 {
        max-width: 453px !important;
    }
}

/* Ноутбуки (1200px - 1439px) */
@media screen and (min-width: 1200px) and (max-width: 1439px) {
    .uc-window .t-container {
        max-width: 1168px !important;
    }
    .uc-window .t-col_4 {
        max-width: 373px !important;
    }
    .t404__img.t-bgimg.loaded,
    .t404__imgbox {
        height: 208px !important;
    }
}

/* Планшеты горизонтально (960px - 1199px) */
@media screen and (min-width: 960px) and (max-width: 1199px) {
    .uc-window .t-container {
        margin-left: 16px;
        max-width: 888px !important;
    }
    .uc-window .t-col_4 {
        max-width: 230px !important;
    }
    .t404__img.t-bgimg.loaded,
    .t404__imgbox {
        height: 128px !important;
    }
}

/* Планшеты вертикально (768px - 959px) */
@media screen and (min-width: 768px) and (max-width: 959px) {
    .uc-window .t-container {
        max-width: 768px !important;
    }
    .t404__img.t-bgimg.loaded,
    .t404__imgbox {
        height: 231px !important;
    }
}

/* Мобильные устройства (до 767px) */
@media screen and (max-width: 767px) {
    .uc-window .t-container {
        margin-left: 20px;
        max-width: 320px;
    }
    .uc-window .t-col {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    .t404__img.t-bgimg.loaded,
    .t404__imgbox {
        height: 170px !important;
    }
    .uc-window .t404 .t-col_3,
    .uc-window .t404 .t-col_4,
    .uc-window .t404 .t-col_6 {
        margin-bottom: 16px !important;
    }
}



/* делаем квадратными стрелки в зерогалерее */
.tn-elem .t-slds__arrow {
    border-radius: 0px;
}

/* Меняем стиль кнопок стрелок в попап галерее */
button.t-slds__arrow.t-slds__arrow-right.t-slds__arrow-withbg {
    border-radius: 0px;
}
button.t-slds__arrow.t-slds__arrow-left.t-slds__arrow-withbg {
    border-radius: 0px;
}

/* уменьшаем ширину чекбоксов */
@media screen and (min-width: 768px) {
.t-checkbox__control.t-checkbox__control_flex {
    width: 540px !important;
}
}