@media (max-width: 1210px) {
    header .top_line_inner,
    .footer_inner,
    .menu_popup_inner,
    .inner_page header .top_line_inner,
    .cont {
        padding-left: 20px;
        padding-right: 20px;
    }

    .inner_page .sections_menu {
        position: relative;
        top: 0;
        margin-bottom: 2em;
        margin-top: -1em;
    }
    .inner_page .sections_menu ul {
        flex-wrap: wrap;
    }
    .inner_page .sections_menu ul li {
        margin: 0 1em 1em 0;
    }

    .inner_page_wrapper .right_col {
        width: 65%;
    }
}

@media (max-width: 1023px) {
    .home_services .service_item_anons {
        padding: 0 2em;
    }

    footer {
        position: relative;
    }

    .inner_page_wrapper .left_col {
        width: 280px;
    }
    .inner_page_wrapper .sidebar_section {
        padding: 1.5em;
    }
    .inner_page_wrapper .right_col {
        width: 50%;
    }

    .service_page.inner_page_wrapper {
        flex-direction: column-reverse;
    }
    .service_page.inner_page_wrapper .left_col {
        width: 100%;
        max-width: none;
    }
    .service_page.inner_page_wrapper .right_col {
        width: 100%;
        max-width: none;
        margin-bottom: 3em;
    }

    .news_page .news_about h1 {
        font-size: 2em;
    }

    .map #small {
        display: block !important;
    }
    .map #full, .map .city, .map .mos, .map .vlad {
        display: none !important;
    }
    #offices .map img {
        width: 100%;
    }
}

@media (max-width: 799px) {
    header .top_line_inner {
        padding-top: 1em;
        padding-bottom: 1em;
    }
    .hero-home {
        margin-top: 0;
    }

    .menu_popup_inner {
        flex-direction: column;
        padding-top: 10em;
    }
    .menu_popup_inner .inner_left,
    .menu_popup_inner .inner_right {
        width: 100%;
        padding-top: 0;
    }
    .menu_popup_inner .contacts::before,
    .menu_popup_inner .contacts h3 {
        display: none;
    }
    .menu_popup_inner .search_block input {
        width: 100%;
    }
    .menu_popup_inner .search_block button {
        left: auto;
        right: 5px;
    }
    .menu_popup .close_menu_btn {
        right: 0;
    }

    .home_services {
        margin: 7em auto 4em;
    }
    .home_services .service_item,
    .home_services .service_item:nth-child(2) {
        flex-direction: column;
    }
    .home_services .service_item_pic,
    .home_services .service_item_anons {
        width: 100%;
    }
    .home_services .service_item_anons {
        margin: 2em 0;
    }

    .inner_page main {
        padding-bottom: 3em;
    }
    .items_list .item_card {
        width: 48%;
    }

    .partner_inner {
        flex-direction: column;
    }
    .partner_inner .partner_pic {
        width: 100%;
        height: 200px;
        margin-bottom: 3em;
    }
    .partner_inner .partner_about {
        width: 100%;
    }

    .news_page {
        flex-direction: column-reverse;
    }
    .news_page .news_about {
        width: 100%;
        margin-bottom: 2em;
    }
    .news_page .news_photos,
    .contacts_item picture {
        width: 100%;
    }
    .news_page .news_about > div {
        position: relative !important;
    }

    .contacts_list_inner {
        flex-direction: column;
    }
    .contacts_list_inner .contacts_item {
        width: 100%;
        margin-bottom: 2em;
    }
}

@media (max-width: 639px) {
    .home_services .service_item_anons h3 {
        font-size: 2em;
    }

    footer .footer_top .footer_cont {
        flex-direction: column;
        padding: 4em 0 2em;
    }
    footer .footer_top .footer_top_left, 
    footer .footer_top .footer_top_right {
        width: 100%;
    }
    footer .footer_top .footer_top_right {
        display: flex;
        flex-wrap: wrap;
        text-align: left;
        margin-top: 3em;
    }
    footer .footer_top .footer_top_right .footer_contact {
        margin-right: 2em;
    }
    footer .footer_bottom .footer_cont {
        flex-wrap: wrap;
    }
    footer .footer_bottom .copyright, footer .footer_bottom .footer_social {
        padding: 0;
    }
    footer .footer_bottom .copyright {
        width: 50%;
    }
    footer .footer_bottom .footer_logo {
        width: 50%;
        border: none;
        padding: 2em 0;
    }
    footer .footer_bottom .footer_social {
        width: 100%;
        padding: 0 0 2em;
    }
    footer .footer_bottom .social_icons_wrapper {
        justify-content: start;
    }

    .object_info.inner_page_wrapper {
        flex-direction: column;
    }
    .inner_page_wrapper .left_col {
        width: 100%;
        max-width: none;
        margin: 0 auto 2em;
    }
    .inner_page_wrapper .right_col {
        width: 100%;
    }

    .service_page .service_photo {
        margin-bottom: 3em;
    }
    .service_features {
        flex-wrap: wrap;
    }
    .service_features .feature_item {
        width: 100%;
        margin-bottom: 1em;
    }
    .service_features .feature_item:last-child {
        margin-bottom: 0;
    }

    .object_page_slider .splide,
    .object_page_slider .splide .splide__slide {
        height: 480px !important;
    }

    .contacts_page_wrap .contacts_list {
        margin-bottom: 1em;
    }
    .contacts_form form .line.col-2 {
        flex-direction: column;
    }
    .contacts_form form .line .input_item {
        width: 100%;
    }
    .contacts_form form .line .input_item:first-child {
        border: none;
        border-bottom: 1px solid #C6C6C6;
    }
}
@media (max-width: 479px) {
    .menu_popup_inner {
        padding: 7em 2em 5em;
        overflow-y: scroll;
    }
    .menu_popup_inner .inner_right {
        margin-top: 3em;
    }
    .menu_popup_inner .main_nav li {
        margin-bottom: 0.5em;
    }
    .menu_popup_inner .main_nav a {
        font-size: 2em;
        line-height: normal;
    }

    .home_objects .splide__arrow {
        display: none;
    }

    footer .footer_top .footer_title, footer .footer_top .footer_subtitle {
        font-size: 24px;
    }
    footer .footer_top .ask_btn {
        height: 36px;
        font-size: 14px;
    }

    .items_list .item_card {
        width: 100%;
    } 

    .inner_page h1 {
        font-size: 2em;
    }
}