@media only screen and (min-width: 1221px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1170px
    }
}

@media only screen and (max-width: 1220px) {
    .cpecial-links a, .cpecial-links a img, .cpecial-links a svg {
        height: 38px
    }
}

@media only screen and (min-width: 993px) {
    .main-menu-button-cont {
        display: none !important
    }

    .main-menu-mobile {
        display: none !important
    }

    .user-sidebar .um-header-m {
        padding-top: 20px
    }

    .user-sidebar .um-header-m-in {
        flex-direction: column
    }

    .user-sidebar .um-header-m .um-author-header-item {
        text-align: center
    }

    .user-sidebar .um-header-m .um-author-header-item:not(:last-of-type) {
        margin-bottom: 20px
    }

    .user-sidebar .um-header-m .um-author-info {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 5px;
        padding-bottom: 10px;
        border-radius: 0
    }

    .user-sidebar .um-header-m .um-author-name {
        font-size: 18px
    }

    .user-sidebar .um-header-m .um-author-role {
        font-size: 13px;
        margin-top: 3px;
        line-height: 100%
    }

    .user-sidebar .um-header-m .um-author-photo {
        width: 80%
    }

    .user-sidebar .um-header-m .um-author-photo-in {
        width: 100%
    }
}

@media only screen and (max-width: 992px) {
    :root {
        --standart_font_size: 15px;
        --second_font_size: 14px;
        --header_height: 50px;
        --topslider_height: 300px
    }

    * {
        line-height: 130%
    }

    p {
        margin-bottom: 15px
    }

    .h2, h2 {
        font-size: 22px;
        margin-bottom: 18px;
        margin-top: 24px
    }

    .banner-close {
        margin-top: -9px
    }

    .logo-name span {
        font-size: 30px
    }

    .logo-alert {
        font-size: 8px;
        margin-left: 2px;
        top: -10px
    }

    .custom-select-option-active:after {
        font-size: 10px;
        margin-left: 6px
    }

    .header-user-nr {
        display: none !important
    }

    .header-item.main-menu {
        display: none
    }

    .main-contant .unheader-block {
        display: none !important
    }

    .unheader-block .custom-select.select-category {
        margin-left: auto
    }

    .page-content {
        padding-top: 18px
    }

    .unheader-block {
        height: auto;
        margin-bottom: 18px
    }

    .user-avatar.header-user-avatar {
        width: 30px;
        height: 30px
    }

    .top-slider .top-slider-right {
        order: 1
    }

    .top-slider .top-slider-left {
        order: 2
    }

    .top-slider .news-title {
        font-size: 14px;
        margin-bottom: 8px
    }

    .top-slider .news-item-info {
        padding: 15px 15px 10px
    }

    .news-categories {
        top: -13px
    }

    .news-categories a {
        height: 25px;
        border-radius: 8px
    }

    .news-more-info {
        flex-wrap: wrap
    }

    .top-slider .news-more-info {
        justify-content: flex-end
    }

    .top-slider .news-more-info-item.news-time {
        width: 100%;
        justify-content: flex-end
    }

    .top-slider .news-more-info-item .icon {
        height: 12px
    }

    .top-slider .news-subtitle {
        -webkit-line-clamp: 9
    }

    .content-item {
        margin-bottom: 30px
    }

    .cpecial-links {
        justify-content: flex-end
    }

    .cpecial-links a:not(:first-of-type) {
        margin-left: 10px
    }

    .sidebar-info {
        display: none !important
    }

    .page-content .h1, .page-content h1 {
        font-size: 22px
    }

    .news-single, .page-block {
        padding: 34px 30px
    }

    .banners-single-news-w {
        width: calc(100% + 60px);
        margin-left: -30px
    }

    .page-content blockquote cite {
        font-size: 15px
    }

    .sidebar-in {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between
    }

    .sidebar-item.news {
        width: calc(50% - var(--standart_margin_lr))
    }

    .sidebar-item.banners {
        width: calc(33.33% - (var(--standart_margin_lr) / 2))
    }

    .news-sidebar-1 {
        order: 1
    }

    .banners-sidebar-1, .banners-sidebar-2 {
        order: 2
    }

    .news-sidebar-2 {
        order: 3
    }

    .banners-sidebar-3 {
        order: 4;
        margin-left: auto;
        margin-right: auto
    }

    .banners-shit-nomob {
        display: none
    }
}

@media only screen and (max-width: 768px) {
    .top-slider .news-item-in {
        flex-direction: column
    }

    .top-slider .news-item-info {
        width: 100%
    }

    .top-slider .news-more-info-item.news-time {
        width: auto
    }

    .top-slider .news-more-info {
        margin-top: 10px
    }

    .top-slider .news-subtitle {
        -webkit-line-clamp: 2
    }

    .top-slider .news-categories {
        width: 100%
    }

    .top-slider .top-slider-left {
        width: 100px
    }

    .top-slider .top-slider-right {
        width: calc(100% - 100px)
    }

    .news-categories a, .top-news .news-item:not(:nth-child(1)) .news-categories a {
        margin-bottom: 5px;
        border-radius: 4px;
        font-size: 11px;
        height: 20px;
        padding: 5px 9px
    }

    .news-categories a:not(:last-of-type) {
        margin-right: 5px
    }

    .sidebar-item {
        margin-bottom: 20px
    }

    .sidebar-item.news {
        width: 100%
    }

    .sidebar-item.banners {
        width: calc(50% - (var(--standart_margin_lr) / 2))
    }

    .news-sidebar-list .news-item {
        border-bottom: 1px solid rgb(var(--color_white_border));
        padding-bottom: 10px
    }

    .banner-position-home {
        width: 100%;
        max-width: 100%;
        flex-direction: row
    }

    .banner-position-home .banners {
        width: calc(50% - (var(--standart_margin_lr) / 2))
    }

    .news-home-block {
        flex: none
    }

    .content-block .banner-position-home:first-of-type {
        margin-right: 0
    }

    .content-block .banner-position-home:last-of-type {
        margin-left: 0
    }

    .news-home-block-header.nav-tabs .news-home-block-title {
        font-size: 16px
    }

    .news-sidebar-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between
    }

    .news-sidebar-list .news-item {
        //width: calc(50% - (var(--standart_margin_lr) / 2))
    }

    .news-single, .page-block {
        padding: 24px 15px
    }

    .banners-single-news-w {
        width: calc(100% + 30px);
        margin-left: -15px
    }

    .comment-content iframe {
        height: 200px
    }

    .banners-random.banners-random-4 .banners-list {
        flex-wrap: wrap
    }

    .banners-random.banners-random-4 .banners-list .banner-item {
        width: 50%
    }

    .news-categories {
        top: -10px;
        margin-left: 0
    }

    .comment-respond .comment-form .comment-form-attachment, .comment-respond .comment-form .form-submit {
        margin-bottom: 0
    }

    .news-single .news-single-block, .news-single .news-single-sector, .page-content .wp-block-gallery, .page-content .wp-block-image, .page-content blockquote {
        margin-bottom: 15px
    }

    .banners-space .banners-list {
        margin-bottom: calc(0px - var(--standart_margin_lr))
    }

    .news-list .news-item {
        width: 50%
    }

    .pdf-list .pdf-item {
        width: 33.33%
    }

    .content-item {
        margin-bottom: 20px
    }

    .wp-block-gallery.has-nested-images figure.wp-block-image figcaption, figure figcaption {
        left: 0;
        bottom: 0;
        border-radius: 0;
        max-width: 100%;
        width: 100%;
        font-size: 10px;
        padding: 3px 6px
    }

    .news-home-block-list.news-latest .news-item-in .news-title {
        font-size: 15px
    }

    .news-home-block-list.news-latest .news-item-in .news-main-image {
        margin-right: 12px;
max-height: 77px;

    }

    .news-home-block-list.news-latest .news-item-in .news-subtitle {
        -webkit-line-clamp: 2
    }

    .tegs a {
        margin-left: 8px;
        font-size: 10px
    }

    .navigation-news .navigation-news-item {
        width: 100%;
        margin-bottom: 5px
    }

    .top-news .news-item {
        width: calc(50% - 5px)
    }

    .top-news .news-item:nth-child(1) .news-item-info .news-title {
        font-size: 18px
    }
}

@media only screen and (min-width: 577px) {
    .banners-list-mob,
    .banners-for-mob {
        display: none !important
    }
}

@media only screen and (max-width: 576px) {
    .banners-sidebar {
        display: none !important
    }

    .news-photo-block-list .news-item {
        width: 33.33%
    }

    .container.single-conteiner .news-single, .container.single-conteiner .page-block {
        width: calc(100% + (var(--standart_margin_lr) * 2));
        margin-left: calc(0px - var(--standart_margin_lr));
        border-radius: 0
    }

    .pdf-list .pdf-item {
        padding-left: calc(var(--standart_margin_lr) / 2);
        padding-right: calc(var(--standart_margin_lr) / 2);
        margin-bottom: calc(var(--standart_margin_lr) * 1)
    }

    .logo-name span {
        font-size: 24px
    }

    .news-more-info * {
        font-size: 10px
    }

    .news-home-block-list .banners-lenta-news, .news-home-block-list .news-item, .page-content .news-home-block-header {
        flex: none;
        width: calc(100% + var(--bs-gutter-x));
        margin-left: calc(0px - (var(--bs-gutter-x) * .5))
    }

    .news-home-block-list .banners-lenta-news, .news-home-block-list .news-item-in, .page-content .news-home-block-header {
        border-radius: 0
    }
}

@media only screen and (max-width: 460px) {
    .news-video-block-list .news-item {
        width: 100%
    }

    .news-video-block-list .news-item:last-of-type {
        margin-bottom: 0
    }

    .news-sidebar-list .news-item {
        width: 100%
    }

    .banners-random.banners-random-3 .banners-list {
        flex-wrap: wrap
    }

    .banners-random.banners-random-3 .banners-list .banner-item {
        min-width: 50%;
        flex: 1
    }

    .pdf-list .pdf-item {
        width: 50%
    }

    .top-news .news-item:nth-child(1) .news-item-info .news-title {
        font-size: 16px
    }
}

@media only screen and (max-width: 420px) {
    .top-news .news-item {
        width: 100%
    }

    .top-news .news-item:not(:nth-child(1)) .news-item-in {
        display: flex
    }

    .top-news .news-item:not(:nth-child(1)) .news-main-image {
        margin-bottom: 0;
        margin-right: 10px;
        width: 40%;
        flex: none
    }

    .news-categories_alt {
        display: none
    }
}

@media only screen and (max-width: 380px) {
    .top-slider .top-slider-left {
        width: 80px
    }

    .top-slider .top-slider-right {
        width: calc(100% - 80px)
    }

    .banners-random.banners-random-3 .banners-list .banner-item {
        min-width: 100%
    }

    .news-list .news-item {
        width: 100%
    }

    .logo-name span {
        font-size: 22px
    }

    .logo-name {
        margin-top: 2px
    }
}

@media only screen and (max-width: 360px) {
    .logo-name span {
        font-size: 15px
    }
}
