@media screen and (max-width: 1290px) {
    .container {
        width: 960px;
    }

    /*
    * HEADER.
    */
    .header-main-right {
        display: block;
    }

    /* .toggle-nav-mobile,
    .header-mobile .header-main-right {
        display: block;
    } */

    .search-form {
        margin-right: 70px;
    }

    .header-mobile .toggle-nav-mobile {
        color: #fff;
        background-color: var(--th-color-orange);
    }

    .header-mobile .toggle-nav-mobile i:nth-child(1) {
        display: none;
    }

    .header-mobile .toggle-nav-mobile i:nth-child(2) {
        display: inline-block;
    }

    .header-mobile {
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        z-index: 9999999;
        border-bottom: 1px solid #fff;
        background: rgba(255, 255, 255, .9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .header-kh.header-mobile {
        background-color: var(--th-color-blue);
    }

    .logged-in .header-mobile {
        top: 32px;
        height: calc(100% - 32px);
    }

    .header-mobile .header-main {
        background-color: transparent;
    }

    .header-mobile .header-main .container {
        padding-bottom: 65px;
    }

    .header-mobile .header-main-right {
        position: relative;
        z-index: 100;
        width: 100%;
        margin-top: 30px;
    }

    .header-mobile .search-form {
        position: relative;
        float: none !important;
        width: 100%;
        margin: 0px auto;
        height: 42px;
        z-index: 100;
    }

    .header-mobile .search-input {
        background-color: #fff;
        border-radius: 5px;
        font-size: 16px;
        border: 1px solid #ddd !important;
    }

    .header-mobile .search-input:focus {
        border-color: var(--th-color-red);
    }

    .header-mobile .search-submit {
        height: 42px;
    }

    .header-mobile .main-nav {
        margin-top: 50px;
        width: 100%;
        line-height: 50px;
    }

    .header-mobile .header-kh-right {
        width: 100%;
        margin-top: 30px;
        line-height: 60px;
    }

    .header-mobile ul.main-nav-kh {
        width: 100%;
    }

    .header-mobile .main-nav-inner>ul>li,
    .header-mobile ul.main-nav-kh>li {
        width: 100%;
    }

    .header-mobile .main-nav-inner>ul>li:nth-child(n+2) {
        border-top: 1px dotted #ddd;
    }

    .header-mobile ul.main-nav-kh>li:nth-child(n+2) {
        border-top: 1px dotted #3375f3;
    }

    .header-mobile .main-nav-inner>ul>li>a {
        padding: 0 10px;
        color: var(--th-color-link);
        background-color: transparent !important;
    }

    .header-mobile ul.main-nav-kh>li>a {
        padding: 0 10px;
    }

    .header-mobile .main-nav-inner>ul>li>ul {
        position: relative;
        top: 0px;
        padding: 0px 10px;
        padding-bottom: 20px;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        overflow: hidden;
        background-color: transparent;
        display: flex;
        flex-flow: row wrap;
        border-bottom: none;
    }

    .header-mobile .main-nav-inner>ul>li>ul li:nth-child(n) {
        width: calc((100% - 15px) / 2);
        margin-right: 15px;
        float: left;
        border: none;
    }

    .header-mobile .main-nav-inner>ul>li>ul li:nth-child(2n+2) {
        float: right;
        margin-right: 0px;
    }

    .header-mobile .main-nav-inner>ul>li>ul li:nth-child(n+3) {
        margin-top: 15px;
    }

    .header-mobile .main-nav-inner>ul>li>ul li a {
        border-radius: 5px;
        border: 1px dotted var(--th-color-blue);
        text-align: center;
        box-sizing: border-box;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--th-color-link);
        padding: 8px;
    }

    .header-mobile .main-nav-inner>ul>li a:hover {
        color: var(--th-color-orange) !important;
    }

    .header-mobile .main-nav-inner>ul>li>ul li a:hover,
    .header-mobile .main-nav-inner>ul>li>ul li a:focus {
        border-color: var(--th-color-orange);
    }

    /*
    * FEATURED.
    */
    .box-search-wrap {
        height: auto;
        border-radius: 5px;
        padding: 20px;
    }

    .box-search-input,
    .box-search-right {
        width: 100%;
    }

    .box-search-input {
        padding: 0px;
    }

    .box-search-right {
        margin-top: 10px;
        padding-top: 20px;
        border-top: 1px solid #e8e8e8;
    }

    .box-search-right .box-search-item {
        width: calc(100% / 5);
    }

    .box-search-duration {
        padding-left: 0px;
    }

    .box-search-duration:before {
        display: none;
    }

    .box-search-submit {
        width: 100% !important;
        text-align: center;
        margin-top: 20px;
        padding-right: 0px !important;
    }

    /*
    * HOME TOUR.
    */
    .tour-col-item,
    .home-news-item {
        width: calc((100% - 30px) / 2);
    }

    .tour-col-item:nth-child(3n+3),
    .home-news-item:nth-child(3n+3) {
        float: left;
        margin-right: 30px;
    }

    .tour-col-item:nth-child(2n+2),
    .home-news-item:nth-child(2n+2) {
        float: right;
        margin-right: 0px;
    }

    .tour-col-item:nth-child(n+3),
    .home-news-item:nth-child(n+3) {
        margin-top: 30px;
    }

    /*
    * ARCHIVE TOUR
    */
    .page-content .container {
        display: flex;
        flex-direction: column;
    }

    .primary,
    .sidebar {
        width: 100%;
    }

    .collap-filter-mobile {
        display: block;
    }

    .sidebar {
        margin-top: 30px;
    }

    .page-content .sidebar {
        display: none;
        order: -1;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    /*
    * SINGLE TOUR.
    */
    .sidebar-tour {
        width: 100%;
        margin-top: 30px;
    }

    .primary-tour {
        width: 100%;
    }

    .single-tour-row2 .sidebar-tour {
        display: none;
    }

    .single-tour-row4 .container {
        width: 960px;
    }

    .footer-form-submit,
    .footer-email {
        height: 45px;
    }

    .footer-form-submit {
        min-width: 100px;
        font-size: 17px;
    }
}

@media screen and (max-width: 980px) {
    .container {
        width: 680px;
    }

    .box-search-item {
        border-bottom: 1px solid #e8e8e8;
    }

    .box-search-item:after,
    .box-search-duration:before {
        display: none;
    }

    .content-text-image-about {
        display: block;
        margin-bottom: 30px;
    }

    .image-ab {
        left: 0;
        margin-bottom: 30px;
    }

    .block-about {
        padding-bottom: 0px;
    }

    /*
    * FEATURED.
    */
    .box-search-right .box-search-item {
        width: calc(100% / 2);
        box-sizing: border-box;
    }

    .box-search-price {
        padding-right: 0px;
    }

    .box-search-types {
        padding-left: 0px;
    }

    .box-search-types,
    .box-search-date {
        margin-top: 10px;
    }

    .box-search-price:after {
        display: none;
    }

    .box-search-submit button {
        width: 100%;
    }

    .tour-feature-head {
        display: block;
        text-align: center;
    }

    /*
    * FOOTER.
    */
    .footer-item:nth-child(n) {
        width: calc((100% - 30px) / 2);
    }

    .footer-item:nth-child(2) {
        float: right;
        margin-right: 0px;
    }

    .footer-item:nth-child(3) {
        width: 100%;
        margin-right: 0px;
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid #ccc;
    }

    /*
    * ARCHIVE TOUR
    */
    .tour-list-item-left,
    .tour-list-item-right {
        width: 100%;
        margin-right: 0px;
    }

    .tour-list-item-right {
        margin-top: 20px;
    }

    .tour-list-item-right-item:nth-child(n) {
        width: 100%;
        margin: 0px;
    }

    .tour-list-item-price-wrap {
        margin-top: 20px;
        text-align: left;
    }

    .tour-list-item-morelink {
        position: relative;
        display: inline-block;
        left: 0px;
        width: 100%;
        margin-top: 15px;
    }

    /*
    * SINGLE TOUR.
    */
    .single-tour-row4 .container {
        width: 680px;
    }

    /*
    * PAGE CONTACT.
    */
    .contact-map {
        height: 300px;
    }

    .contact-col2-item {
        width: 100%;
    }

    .contact-col2-right {
        margin-top: 30px;
    }

    .search-tab i {
        display: block;
    }

    .home-news-layout {
        grid-template-columns: 1fr;
    }

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

    .home-news-right {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 700px) {
    .container {
        width: 94%;
    }

    .main-nav {
        margin-top: 20px;
    }

    /*
    * HOME UU DIEM.
    */
    .home-ud-item:nth-child(n) {
        width: 100%;
        margin-right: 0px;
        justify-content: left;
    }

    .home-ud-item:nth-child(n+2) {
        margin-top: 0px;
    }

    /*
    * HOME TOUR.
    */
    .tour-col-item:nth-child(n),
    .car-col-item:nth-child(n),
    .home-news-item:nth-child(n),
    .footer-item:nth-child(n) {
        width: 100%;
        margin-right: 0px;
    }

    .tour-col-item:nth-child(n+2),
    .car-col-item:nth-child(n+2),
    .home-news-item:nth-child(n+2),
    .footer-item:nth-child(n+2) {
        margin-top: 30px;
    }

    /*
    * FOOTER.
    */
    .footer-copyright,
    .footer-card {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .footer-card {
        margin-top: 10px;
    }

    /*
    * SINGLE TOUR.
    */
    .single-gallery-item {
        height: 300px;
    }

    .single-tour-nav li:nth-child(n+2) {
        margin-left: 20px;
    }

    .sidebar-tour-attr-item:nth-child(n) {
        width: 100%;
        margin-right: 0px;
    }

    .sidebar-tour-attr-item:nth-child(n+2) {
        margin-top: 10px;
    }

    .single-tour-higlight-left,
    .single-tour-higlight-right {
        width: 100%;
    }

    .single-tour-higlight-right {
        margin-top: 20px;
    }

    .single-tour-row4 .container {
        width: 94%;
    }

    .single-tour-itinerary-item-head {
        padding-right: 20px;
        line-height: 1.5;
    }

    /**/
    .archive-new-item-thumb {
        width: 100%;
    }

    .archive-new-item-info {
        width: 100%;
        margin-top: 15px;
    }

    /**/
    .acf-front-tour-thumb,
    .acf-front-tour-info {
        width: 100%;
    }

    .acf-front-tour-info {
        margin-top: 15px;
    }

    /**/
    .acf-field {
        width: 100% !important;
    }

    .newsletter-box {
        display: block;
        float: left !important;
    }

    .image-ab img {
        max-width: 100%;
    }

    .search-tabs {
        justify-content: space-between;
        gap: unset;
    }

    .search-tab {
        font-size: 13px;
        padding: 0px 5px;
    }

    .search-tab:nth-child(3) {
        display: none;
    }

    .box-search-head {
        font-size: 30px;
    }

    .tour-col-item-slide {
        margin: 10px;
    }

    .tour-feature-head .block-item-title span {
        font-size: 30px;
    }

    .tour-countdown-label {
        display: none;
    }

    .btn-open-review-popup {
        margin-bottom: 10px;
    }

    .tour-reviews-head h3 {
        font-size: 15px;
        font-weight: 600;
        margin-top: 10px;
    }

    .box-review-content {
        padding: 10px;
    }

    .tour-review-avatar {
        width: 44px;
        height: 44px;
    }

    .review-popup .form-submit input {
        float: right;
    }

    .bar-footer {
        display: block;
        position: fixed;
        width: 100%;
        height: 64px;
        bottom: 0;
        left: 0;
        z-index: 1000;
    }

    #button-contact-vr {
        display: none;
    }

    .bar-footer ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .bar-footer ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .icon-left {
        float: left;
        width: calc(50% - 40px);
        height: 64px;
        background: #fff;
        border-top-right-radius: 20px;
        box-shadow: 0 -4px 8px 0 #051A2814
    }

    .icon-right {
        float: right;
        width: calc(50% - 40px);
        background: #fff;
        border-top-left-radius: 20px;
        box-shadow: 0 -4px 8px 0 #051A2814;
        height: 64px
    }

    .icon-right ul li,
    .icon-left ul li {
        width: 50%;
        float: left;
        text-align: center;
        padding-top: 12px
    }

    .icon-left ul li img,
    .icon-right ul li img {
        display: block;
        margin: 0 auto;
        width: 20px;
        margin-bottom: 3px
    }

    .icon-left ul li .icon,
    .icon-right ul li .icon {
        position: relative;
    }

    .icon-left ul li img.icon-active,
    .icon-right ul li img.icon-active {
        position: absolute;
        top: 0;
        transform: translateX(-50%);
        left: 50%;
        opacity: 0;
    }

    .icon-left ul li a:hover img.icon-active,
    .icon-right ul li a:hover img.icon-active {
        opacity: 1;
    }

    .icon-left ul li a,
    .icon-right ul li a {
        color: #808080;
        font-weight: 400;
        font-size: 13px
    }

    .home-icon-bar {
        float: left;
        width: 80px;
        height: 80px;
        background: #fff0;
        border-radius: 50%;
        box-shadow: 0 33px 0 10px #fff;
        position: relative;
        top: -26px;
        box-sizing: border-box;
        padding: 5px;
        --fixed-btn-width: 64px;
    }

    .icon-home {
        width: 100%;
        height: 100%;
        background: var(--secondary);
        border-radius: 50%;
        box-sizing: border-box;
        padding-top: 10px;
        text-align: center;
        position: relative;
        --fixed-btn-after: calc(var(--fixed-btn-width) + 20px);
        --fixed-btn-before: calc(var(--fixed-btn-after) + 20px);
    }

    .icon-home img {
        display: block;
        margin: 0 auto;
        margin-bottom: -2px;
        width: 30px
    }

    @-webkit-keyframes fixed-button-before {
        0% {
            -webkit-transform: translate(-50%, -50%) rotate(0) scale(0.5) skew(1deg);
            -webkit-opacity: 0.1;
        }

        30% {
            -webkit-transform: translate(-50%, -50%) rotate(0) scale(0.7) skew(1deg);
            -webkit-opacity: 0.5;
        }

        100% {
            -webkit-transform: translate(-50%, -50%) rotate(0) scale(1) skew(1deg);
            -webkit-opacity: 0.1;
        }
    }

    @-webkit-keyframes fixed-button-after {
        0% {
            -webkit-transform: translate(-50%, -50%) rotate(0) scale(0.7) skew(1deg);
            opacity: 1;
        }

        50% {
            -webkit-transform: translate(-50%, -50%) rotate(0) scale(1) skew(1deg);
            opacity: 1;
        }

        100% {
            -webkit-transform: translate(-50%, -50%) rotate(0) scale(0.7) skew(1deg);
            opacity: 1;
        }
    }

    @-webkit-keyframes fixed-button-shake {
        0% {
            -webkit-transform: rotate(0) scale(1) skew(1deg);
        }

        10% {
            -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
        }

        20% {
            -webkit-transform: rotate(25deg) scale(1) skew(1deg);
        }

        30% {
            -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
        }

        40% {
            -webkit-transform: rotate(25deg) scale(1) skew(1deg);
        }

        50% {
            -webkit-transform: rotate(0) scale(1) skew(1deg);
        }

        100% {
            -webkit-transform: rotate(0) scale(1) skew(1deg);
        }
    }

    .icon-home a {
        color: #fff;
        font-size: 13px;
        -webkit-animation: fixed-button-shake 1s infinite ease-in-out;
        animation: fixed-button-shake 1s infinite ease-in-out;
        display: block;
        z-index: 2;
        position: relative;
    }

    .icon-home::before {
        content: "";
        width: var(--fixed-btn-before);
        height: var(--fixed-btn-before);
        position: absolute;
        background-color: transparent;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 100%;
        -webkit-animation: fixed-button-before 1.2s infinite ease-in-out;
        animation: fixed-button-before 1.2s infinite ease-in-out;
        transition: all 0.5s;
        transform-origin: 50% 50%;
        opacity: 0.5;
        border: 2px solid var(--color-primary);
    }

    .icon-home::after {
        content: "";
        width: var(--fixed-btn-after);
        height: var(--fixed-btn-after);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        position: absolute;
        border-radius: 100%;
        border: 2px solid transparent;
        -webkit-animation: fixed-button-after 2.3s infinite ease-in-out;
        animation: fixed-button-after 2.3s infinite ease-in-out;
        transition: all 0.5s;
        transform-origin: 50% 50%;
        background-color: var(--color-primary);
        opacity: 1;
    }

    .home-icon-bar:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        display: block;
        border-radius: 50%;
        box-shadow: inset 0 -10px 5px 0 #051A2814;
        z-index: -1
    }

    .footer-bottom .container {
        padding: 0px 0px 75px 0px;
    }

    .footer-item-nav ul {
        list-style-type: none;
    }

    .hotel-room-item:nth-child(n) {
        width: 100%;
        margin-right: 0px;
    }

    .hotel-room-item:nth-child(n+2) {
        margin-top: 30px;
    }

    .home-news-left,
    .home-news-right {
        grid-template-columns: 1fr;
    }

    .hotel-amenities-list{
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
    }

    .hotel-amenity-item{
        width: 100%;
        padding: 0px;
    }
    .hotel-amenity-icon{
        font-size: 20px;
    }
    .hotel-amenity-name{
        font-size: 14px;
    }
    .single-tour-title{
        font-size: 17px;
    }

    .dest-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
        gap: 8px;
    }

    .dest-grid .dest-item:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
        height: 140px;
    }

    .dest-grid .dest-item:nth-child(2) {
        grid-column: 2;
        grid-row: 1 / 3;
        height: 288px;
    }

    .dest-grid .dest-item:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
        height: 140px;
    }

    .dest-grid .dest-item:nth-child(4) {
        grid-column: 1 / 3;
        grid-row: 3;
        height: 160px;
    }

    .dest-grid .dest-item:nth-child(5) {
        grid-column: 1;
        grid-row: 4 / 6; 
        height: 288px;
    }

    .dest-grid .dest-item:nth-child(6) {
        grid-column: 2;
        grid-row: 4;
        height: 140px;
    }

    .dest-grid .dest-item:nth-child(7) {
        grid-column: 2;
        grid-row: 5;
        height: 140px;
    }

    .dest-grid .dest-item:nth-child(8) {
        grid-column: 1 / 3;
        grid-row: 6;
        height: 160px;
    }

    .dest-item-name { font-size: 14px; margin: 0 0 2px; }
    .dest-item-sub { font-size: 12px; }
    .dest-item-overlay { padding: 10px 12px; }
	.single-content table, .single-pro-des table {
    display: block;
		overflow-x:auto;
		height: 100% !important;
		 white-space: nowrap; 
		table-layout: auto;
	}
}