/*
Theme Name:  Travel Sense Asia
Description: This is a child theme for Flatsome Theme
Author: admin
Template: flatsome
Version: 3.0
*/


/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
.post-big-thumb .post-desc {
    color: #fff !important;
    font-size: 16px;
    display: none;
}

/* Ẩn header option trên điện thoại */
@media screen and (max-width: 849px)
{
    .header_option {
        display: none;
    }
}
.category-tour .duration{
    white-space: initial !important;
}
#loading-global{
    display: none;
}
/*
ajaxt loading
 */
#filter-keyword{
    padding-left: 15px !important;
}
#main.loading{
    position: relative;
}
#main.loading #loading-global{
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
}
#main.loading #loading-global #loading-global-content{
    position: relative;
    width: 100%;
    height: 100%;
}
#main.loading #loading-global #loading-global-content::before {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    content: '';
    position: absolute;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 9999999;
}

#main.loading #loading-global #loading-global-content::after {
    content: ' ';
    display: block;
    width: 32px;
    height: 32px;
    margin: 1px;
    border-radius: 50%;
    border: 3px solid #1370a0;
    border-color: #1370a0 transparent #f28417 transparent;
    animation: lds-dual-ring 0.6s linear infinite;
    z-index: 99999991;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.pagination{
    text-align: right;
}
.pagination>* {
    background: unset !important;
    border: 1px solid #000;
    color: #000;
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-left: 10px;
}
.pagination .current{
    border: 1px solid #ff8d00 !important;
    color: #ff8d00 !important;
}
.banner-category img{
    width: 100%;
}
@media screen and (max-width:849px){
     #cat-search-list-container{
        display: none;
        position: fixed;
        top: 0px;
        left: 0px;
        background-color: rgba(0,0,0,0.1);
        width: 100vw;
        height: 100vh;
        padding: 0;
    }
    .open  #cat-search-list-container{
        display: block;
        z-index: 99999;
    }
    .cat-search-list-content{
        background-color: #ffffff;
        width: 100%;
        height: 100%;
    }
    .cat-search-list-content{

    }
    .filter-caption{
        padding: 20px 10px;
    }
    .filter-button{
        border-radius: 5px;
        border: 1px solid #ddd;
        padding: 5px 10px;
    }
    .filter-caption{
        color: #000;
        font-weight: normal;
        font-size: 24px;
        border-bottom: 1px solid #ddd;
        display: block;
    }
    .filter-close{
        position: absolute;
        padding: 5px;
        top: 50%;
        transform: translate(0%, -50%);
        right: 10px;
    }
    .filter-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px 16px; /* row-gap / column-gap */
    }

    .filter-item {
        display: flex;
        align-items: center; /* căn giữa theo chiều dọc */
        line-height: 20px;
        gap: 15px;
    }

    .filter-item input[type="checkbox"] {
        margin: 0; /* bỏ margin mặc định */
        float: none; /* xoá float */
    }


    .des-vietnam{
        color: black !important;
    }
}

@media only screen and (min-width: 992px) {
    .section-map-popular h3 {
        color: #ffffff !important;
    }
    .popular-travel-sights .box-text h4 {
        font-size: 28px;
        color: #ffffff;
        font-weight: bold;
    }

    .section-the-inside .title-the-inside h3 {
        font-size: 41px;
        font-weight: normal;
    }
}