/*************************************************************************/
/**************    1. XS     --     max 575     **************************/
/*************************************************************************/
@media (max-width: 575px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }

    .absolute_header_container {
    position: absolute;
    width: 100%;
    padding: 0 20px;
}

    .hero {
        height: 100%;
        padding-bottom: 130px;
    }

    .hero_info {
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .ytp_wrap {
        padding: 0;
        text-align: center;
        margin: 200px 0 35px 0;
    }

    .ytp_wrap h1 {
        font-size: 1.75em;
    }
    .ytp_wrap h1 br {
        display:none;
    }
    span#typing-span {
        display: block;
        width: fit-content;
        margin: 0 auto;
    }

    

    .ytp_banners_wrap {
        padding: 0;
        /*flex-direction: column;*/
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .ytp_banner_item {
        flex: 0 1 calc(50% - 5px);
    }

    .ytp_banner_item_title {
    padding: 8px 10px;
    font-size: 21px;
}

.ytp_banner_item_subtitle {
    padding: 8px 10px;
}

.mobile_view_only {display: block;}


.news-slider-wrap {
    width: 90vw;
    margin: 0 20px;
}




    /****** СТИЛИ ПОД БЛОК С КОНТАКТАМИ ******/
    .header_contacts {
        margin-top: 0;
        display: none;
        }

    .header_contacts_calls_phone a span {
        display: none;
    }
    .header_contacts_calls_wa a span {
        display: none;
    }

    .head_calls_icon {
        margin: 0;
    }

    .header_contacts_address {
        display: none;
    }
    /****** /СТИЛИ ПОД БЛОК С КОНТАКТАМИ ******/

    /* скрываем обычное меню */
    .header_menu_list {
        display: none;
        position: absolute;
        top: 100%;
        left: -10000px;
        flex-direction: column;
        background: var(--main-cian);
        padding: 20px 0;
        min-width: 260px;
        box-shadow: 0 10px 30px rgba(0,0,0,.2);
        z-index: 100;
    }

    .header_menu_list a {
        color: #000;
        padding: 12px 25px;
        display: block;
    }

    /* показываем бургер */
    .header_burger {
        display: flex;
    }

    /* открытое меню */
    .header_menu.open .header_menu_list {
        display: flex;
        left: -20px;
        z-index: 100;
        top: 0;
        height: 100vh;
        gap: 0px;
    }

    .header_menu ul li a {
        color: #ffffff!important;
        text-align: center;
    }

    .cartBlock {
        margin-bottom: 0px;
    }


    /* МОБИЛЬНОЕ ГЛАВНОЕ МЕНЮ*/
    li.mobile_view_only.mobile-logo-block {
        padding: 20px 20px 40px 20px;
        text-align: center;
    }

    li.mobile_view_only.mobile-contacts-block {
    padding: 40px 0 0 0;
}






    .search_wrap {
        padding: 0;
    }


    #news_block {
        padding: 100px 0 200px 0;
    }


    .title_block h3 {
        font-size: 28px;
    }

    .china_tour_pic {
        position: absolute;
        right: -130px;
        top: -200px;
        width: 120%;
        height: auto;
    }

    .china_tour_pic img {
        width: 100%;
    }

    .tour_block_content_info {
        z-index: 10;
        width: 100%;
    }

    .tour_title_block h2 {
        max-width: 170px;
        font-size: 36px;
    }

    .tour_item-info_block {
        display: block;
    }

    .tour_item-info_block-city {
        padding: 8px 10px;
        border-radius: 5px 5px 0 0;
        font-size: 21px;
        display: inline-block;
    }

    .tour_item-info_block-price {
        padding: 8px 10px;
        border-radius: 0 5px 5px 5px;
        font-size: 21px;
    }


    .health_tour_pic {
        z-index: 10;
        position: absolute;
        top: -15px;
        left: -100px;
        width: 100%;
    }

    .health_tour_pic img {
        width: 100%;
    }

    .health_tour_block .tour_title_block h2 {
        color: #5D5D5D;
        font-size: 52px;
        width: 140px;
        position: absolute;
        right: 0px;
        top: -15px;
    }

    .health_tour_block .tour_title_block {
        position: relative;
        padding-top: 270px;
    }

    .health_tour_block .tour_title_block .subtitle {
        font-size: 28px;
        text-align: center;
    }

    .health_fly_pic_01 {
        position: absolute;
        top: 200px;
        right: -30px;
        max-width: 140px;
        z-index: 100;
        left: inherit;
    }

    .health_fly_pic_01 img {
        width: 100%;
    }

    .health_fly_pic_03 {
        position: absolute;
        top: -39px;
        left: 85px;
        max-width: 100px;
    }

    .health_fly_pic_03 img {
        width: 100%;
    }

    .health_tour_block .tour_title_block .snoska {
        position: absolute;
        background: var(--main-cian);
        color: #fff;
        font-size: 14px;
        padding: 5px 15px;
        top: -50px;
        line-height: 1;
        border-radius: 5px;
        right: 0;
        left:inherit;
    }

    .health_tour_block .tour_more_button {
        text-align: center;
    }

    .beach_tour_pic {
        position: absolute;
        right: -150px;
        bottom: 0;
        top: -60px;
        max-width: 350px;
    }

    .beach_tour_pic img {
        width: 100%;
    }

    .tour_more_button {
        text-align: center;
    }

    .individual_tour_pic {
        z-index: 10;
        margin-top: 0;
        position: absolute;
        top: -100px;
        max-width: 300px;
    }

    .individual_tour_pic img {
        width: 100%;
    }

    .individual_tour_block .tour_title_block h2 {
        max-width: 100%;
        text-align: center;
        font-size: 38px;
        margin-top: 320px;
        margin-bottom: 10px;
    }

    .individual_tour_block .tour_title_block .subtitle {
        font-size: 24px;
        text-align: center;
    }

    .individual_tour_block .tour_more_button {
        text-align: center;
    }

    .individual_fly_pic_01 {
        position: absolute;
        top: -53px;
        left: inherit;
        transform: rotate(10deg);
        right: -30px;
    }

    .individual_fly_pic_02 {
        position: absolute;
        top: 280px;
        left: 0px;
        transform: rotate(-13deg);
        z-index: 100;
        max-width: 110px;
    }

    .individual_fly_pic_02 img {
        width: 100%;
    }

    .manager_trigger_block {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
    }

    .manager_trigger_block-title {
        max-width: 100%;
        order: 1;
        margin-bottom: 50px;
        text-align: center;
    }

    .manager_trigger_block-girl {
        order: 3;
    }

    .manager_trigger_block-form {
        order: 2;
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    .feedbackform_items_wrap {
        display: flex;
        gap: 10px;
        flex-direction: column;
    }

    .feedbackform_item_block {
        margin-bottom: 10px;
    }

    .feedbackform_item_input input {
        width: 100%;
    }

    .feedbackform_buttons_wrap {
        display: flex;
        align-items: center;
        gap: 20px;
        flex-direction: column;
        margin-top: 20px;
    }

    .about_title-and-photos .about_title {
        min-width: 100%;
    }

    .about_title-and-photos .about_title h2 {
        font-size: 36px;
        text-align: center;
    }

    .about_photos {
        overflow: visible;
        position: relative;
        margin-top: -190px;
    }

    .about_description {
        display: block;
    }

    .about_description-text1 {
        max-width: 100%;
    }

    .about_description-text2 {
        max-width: 100%;
    }

    .footer_contacts_block {
        display: block;
        align-items: center;
    }

    .footer_contacts_info-item_value-table tr td {
        padding-right: 20px;
        display: block;
    }

    .footer_contacts_info-item_phone {
        background-color: var(--main-light-cian);
        padding: 40px;
        display: flex;
        gap: 40px;
        border-radius: 10px;
        margin-left: 0px;
        width: fit-content;
        margin-bottom: 30px;
        flex-direction: column;
    }

    .footer_contacts_info-item_messangers {
        display: flex;
        gap: 40px;
        border-radius: 10px;
        width: fit-content;
        flex-direction: column;
        margin-bottom: 50px;
        text-align: center;
    }

    .default_footer_block {
        flex-direction: column;
        text-align: center;
        padding-top: 50px;
    }

    .default_footer_logo {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .footer_menu ul {
        list-style-type: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 20px;
        flex-direction: column;
    }

    .footer_contacts_phones_block {
        flex-direction: column;
        text-align: center;
        margin-bottom: 30px;
    }

    .footer_contacts_address {
        text-align: center;
    }





    /*  СТРАНИЦА КИТАЙСКОГО ГОРОДА  */
    .tourPlanGrid {
        display: block;
    }

    .tourPlan_day {
        gap: 15px;
        margin-bottom: 50px;
    }


    /*  СТРАНИЦА ГОСТИНИЦЫ  */
    .ytp_wrap h1 span {
        display: block;
        width: fit-content;
        margin: 0 auto;
    }

    .hotel_info_wrap {
        flex-direction: column;
    }

    .hotel_info_gallerySide {
        order: 2;
    }

    .hotel_info_descSide {
        order: 1;
    }

    .hotel-gallery-main .swiper-slide {
        width: 100% !important;
    }

    .hotel_benefits_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .special_benefits_block {
        flex-direction: column;
    }


    .absolute_header_container.site-header--light:before {
        left: 0;
    }

    .site-header--light .header_burger span {
        background: var(--main-cian);
    }

    .inner_page .breadcrumbs ul li.current_item {
        display: none;
    }

    .inner_page .ytp_wrap
 {
    margin: 0;
    text-align: left;
}

#main_content.inner_page {
    padding: 20px 0 50px 0;
}

#main_content.inner_page .breadcrumbs .container {
    padding: 0;
}

.news_datetime {
    font-size: 12px;
    margin-bottom: 10px;
}

.inner_page .ytp_wrap h1 {
    margin-bottom: 15px;
}

.aboutPage_content_wrap {
    flex-direction: column;
}

.aboutPage_content_rightSide {
    padding-left: 0px;
}

.manager-about-page {
    position: absolute;
    right: 25px;
    bottom: -120px;
    pointer-events: none;
    left: -70px;
}

.manager-about-page img {
    width: 120%;
}

.aboutPage_content_wrap {
    padding: 0px 0 350px 0;
}

.about_title-and-photos {
    margin-bottom: 50px;
}

.teamCard-item {
    margin-bottom: 20px;
}

.teamCard-item-info {
    margin-top: 5px;
    text-align: center;
}

.page404-main-content-wrap {
    flex-direction: column;
}

.page404-title-wrap {
    flex-direction: column;
    width: 100%;
    gap: 0;
    margin-bottom: 75px;
}

.page404-title-wrap-right {
    text-align: center;
}

#main_content.page404 {
    padding: 20px 0 0 0 !important;
}

.page404-tours-adv-wrap-title h2 {
    text-align: center;
}

.page404-girl img {
    width: 100%;
}

.page404-girl {
    position: relative;
}

.page404-girl:after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 300px;
    background: #ffffff;
background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
content: '';
pointer-events: none;
}

.ytp_banner_item_video {
    min-width: 340px;
}

.footer_policy_block {
    text-align: center;
}

.visa_block_welcome_pic {
    position: relative;
    pointer-events: none;
    z-index: -10;
    left: 0;
    top: 0;
    margin-bottom: -100px;
}

.visa_block_welcome_pic img {
    width: 100%;
}


}/************    END  1. XS     --     max 575     ***********************/




/******************************************************************************************/
/**************    2. SM     --     min: 576 --  max 767     **************************/
/******************************************************************************************/
@media (min-width: 576px) and (max-width: 767px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }

    .ytp_banner_item_title {
        font-size: 21px;
        }

        
}/************    END  2. SM     --    min: 576 --  max 767     ***********************/




/******************************************************************************************/
/**************    3. MD     --     min: 768 --  max 991     **************************/
/******************************************************************************************/
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }

    .ytp_banner_item_title {
        font-size: 21px;
        }

        
}/************    END  3. MD     --     min: 768 --  max 991     ***********************/




/******************************************************************************************/
/**************    4. LG     --     min: 992 --  max 1199     **************************/
/******************************************************************************************/
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }

    /****** СТИЛИ ПОД БЛОК С КОНТАКТАМИ ******/
    .header_contacts {
        margin-top: 0;
        }

    .header_contacts_calls_phone a span {
        display: none;
    }
    .header_contacts_calls_wa a span {
        display: none;
    }

    .head_calls_icon {
        margin: 0;
    }

    .header_contacts_address {
        display: none;
    }
    /****** /СТИЛИ ПОД БЛОК С КОНТАКТАМИ ******/


    li.menu_item_more {
        display: block;
    }

    li.menu_item_about, li.menu_item_contacts {
        display: none;
    }

    
}/************    END  4. LG     --     min: 992 --  max 1199     ***********************/




/******************************************************************************************/
/**************    5. XL     --     min: 1200 --  max 1399     **************************/
/******************************************************************************************/
@media (min-width: 1200px) and (max-width: 1399px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
}/************    END  5. XL     --     min: 1200 --  max 1399     ***********************/




/******************************************************************************************/
/**************    6. XXL     --     min: 1400 --  max 1599     **************************/
/******************************************************************************************/
@media (min-width: 1400px) and (max-width: 1599px) {

}/************    END  6. XXL     --     min: 1400 --  max 1599     ***********************/




/******************************************************************************************/
/**************    7. XXXL     --     min: 1600     **************************/
/******************************************************************************************/
@media (min-width: 1600px) {

}/************    END  7. XXXL     --     min: 1600     ***********************/