@media (max-width: 1199.9px) {
    :root {
        --tios-global-nav-item-padding: 1em;
        --tios-site-body-width: 960px;
    }
}

@media (max-width: 991.9px) {
    :root {
        --tios-site-body-width: 720px;
        --tios-entry-content-inner-padding: 5%;
        --tios-entry-content-inner-width: var(--tios-entry-content-width);
    }
    #tios_top_language {
        display: none;
    }
    #site-header-container {
        margin-top: 1rem;
    }
    .site-header-logo {
        display: none;
    }
    .tios_header_logo_mobile {
        display: block;
        margin-bottom: 1rem;
    }
    .tios_header_logo_mobile > a > img {
        max-height: 40px;
    }
    .mobile-nav-btn-right .vk-mobile-nav-menu-btn, 
    .vk-mobile-nav-menu-btn.position-right {
        right: .5rem;
    }
    .vk-mobile-nav-menu-btn {
        top: .5rem;
        width: 4rem;
        height: 4rem;
        filter: grayscale(100%) invert(100%);
        border: 0;
        mix-blend-mode: screen;
    }
    .vk-mobile-nav-menu-btn.menu-open {
        border: 0;
    }
    .vk-mobile-nav {
        background: var(--tios-bg-primary);
        padding-top: 5rem;
    }
    .vk-mobile-nav .searchform input[type=submit] {
        border-color: #fff;
    }
    .vk-mobile-nav .widget_nav_menu ul li a, .vk-mobile-nav nav ul li a {
        color: #fff;
    }
    .vk-menu-acc .acc-btn {
        filter: grayscale(100%) invert(100%);
    }
    #top_media .wp-block-columns {
        flex-wrap: wrap !important;
    }
    #top_media .wp-block-column {
        flex-basis: 100%;
        flex-grow: 1;
        flex-shrink: 0;
    }
    #top_media .fb-page {
        width: 100%;
        text-align: center;
    }
    body.archive.category .vk_posts {
        padding-left: 0;
        padding-right: 0;
    }
    .tios_card_list .vk_gridColumn .vk_gridColumn_item {
        max-width: 48%;
    }
    .main-section > .vk_posts.vk_posts-layout-card .vk_post .vk_post_body:after, 
    .main-section > .vk_posts.vk_posts-layout-card:after {
        width: calc(100% + 59px);
        left: -29px;
    }
    .main-section > .vk_posts.vk_posts-layout-card .vk_post:nth-child(3n):last-child .vk_post_body:after ,
    .main-section > .vk_posts.vk_posts-layout-card .vk_post:nth-child(3n + 1):nth-last-child(3) .vk_post_body:after ,
    .main-section > .vk_posts.vk_posts-layout-card .vk_post:nth-child(3n + 1):nth-last-child(2) .vk_post_body:after ,
    .main-section > .vk_posts.vk_posts-layout-card .vk_post:nth-child(3n + 1):last-child .vk_post_body:after ,
    .main-section > .vk_posts.vk_posts-layout-card .vk_post:nth-child(3n + 2):nth-last-child(2) .vk_post_body:after ,
    .main-section > .vk_posts.vk_posts-layout-card .vk_post:nth-child(3n + 2):last-child .vk_post_body:after {
        content: "";
    }
    .main-section > .vk_posts.vk_posts-layout-card .vk_post:nth-child(2n):last-child .vk_post_body:after ,
    .main-section > .vk_posts.vk_posts-layout-card .vk_post:nth-child(2n + 1):nth-last-child(2) .vk_post_body:after ,
    .main-section > .vk_posts.vk_posts-layout-card .vk_post:nth-child(2n + 1):last-child .vk_post_body:after {
        content: none;
    }

    .site-footer-content > .row > div:nth-child(3) {
        position: absolute;
        right: 0;
    }
    .site-footer-content > .row > div:nth-child(1) {
        flex-basis: 100%;
        max-width: 100%;
    }
    .site-footer-content > .row > div:nth-child(2) {
        flex-basis: 100%;
        max-width: 100%;
    }
}
@media (max-width: 767.9px) {
    :root {
        --tios-site-body-width: 540px;
        --tios-entry-content-width: calc(var(--tios-site-body-width) - 30px);
        /* --tios-entry-content-inner-width: calc(var(--tios-entry-content-width) - 30px); */
    }
    body.archive.category .vk_posts {
        max-width: unset;
    }
    .tios_nav_btn_columns > .row > div:not(:first-child):not(:nth-child(2)),
    .tios_nav_btn_columns > .row > div.col-sm-12:not(:first-child) {
        margin-top: 1em;
    }
    .main-section > .vk_posts.vk_posts-layout-card .vk_post-col-sm-6 {
        max-width: 48%;
    }
    .main-section > .vk_posts.vk_posts-layout-card .vk_post .vk_post_body:after {
        width: calc(104.16% + 14px);
        left: -14px;
    }
    .main-section > .vk_posts.vk_posts-layout-card:after {
        width: calc(100% + 28px);
        left: -14px;
    }
    .main-section > .vk_posts.vk_posts-layout-card .vk_post:nth-child(2n) .vk_post_body:after {
        left: -9px;
    }
    .tios_step_list .vk_step_item_content > div {
        flex-wrap: wrap;
        padding-top: .5rem;
        justify-content: center;
    }
}
@media (max-width: 575.9px) {
    :root {
        --tios-site-body-width: calc(100% - 10px);
        --tios-entry-content-width: calc(var(--tios-site-body-width) -  10px);
    }
    .tios_header_logo_mobile > a {
        line-height: 0;
    }
    .tios_header_logo_mobile > a > img {
        max-height: 27px;
    }
    .vk-mobile-nav-menu-btn {
        top: .2rem;
    }
    body.home .swiper-container {
        padding-bottom: 2rem;
    }
    body.home .swiper-container-horizontal>.swiper-pagination-bullets {
        bottom: 0;
    }
    .site-body-container {
        padding-top: .5rem;
        border: 0;
    }
    body.archive .vk_posts .vk_post.media .media-img, 
    #top_information .vk_postList .vk_post .media-img {
        max-width: 30%;
    }
    .vk_post .vk_post_imgOuter:before {
        padding-top: 100%;
    }
    .vk_post-btn-display.media .vk_post_body {
        padding-bottom: 32px;
    }
    .tios_image_button {
        max-width: 100vw;
        height: 75vw;
    }
    .tios_image_button img {
        height: 100%;
    }
    .tios_image_button .vk_heading.vk_heading.vk_heading-style-plain h3 {
        font-size: 1.8rem;
    }
    .tios_image_button .tios_btn_plain a.btn, 
    .tios_image_button .tios_btn_plane.vk_button a.btn, 
    .tios_image_button .tios_btn_plain.vk_button a.btn {
        padding-top: .3em;
        padding-bottom: .3em;
        min-width: 15em;
        margin-top: .3em;
    }
    .tios_image_button .tios_btn_plain a.btn i, 
    .tios_image_button .tios_btn_plane.vk_button a.btn i, 
    .tios_image_button .tios_btn_plain.vk_button a.btn i {
        right: .1em;
    }
    #top_media:after {
        border: 0;
    }
    .breadcrumb {
        border: 0;
    }
    .archive-header {
        margin-bottom: 1em;
    }
    body.archive.category .vk_posts {
        padding-top: 0;
        padding-bottom: 0;
    }
    .tios_nav_btn_columns > .row > div:not(:first-child) {
        margin-top: 1em;
    }
    .tios_card_list .vk_gridColumn .vk_gridColumn_item {
        max-width: 100%;
    }
    .vk_slider .swiper-button-next.swiper-button-mobile-bottom,
    .vk_slider .swiper-button-prev.swiper-button-mobile-bottom {
        bottom: 4px;
    }
    .entry-body > .vk_outer.tios_card_list .vk_outer_container .vk_outer_container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .main-section > .vk_posts.vk_posts-layout-card .vk_post-col-sm-6 {
        width: 100%;
        max-width: 100%;
    }
    .tios_button_row .wpcf7-spinner {
        margin: 0;
    }
    .site-footer-content > .row > div:nth-child(3) {
        position: relative;
    }
    .site-footer-content > .row > div:nth-child(2) {
        margin-top: -2rem;
    }
}
