/* ====================================================
    Responsive
==================================================== */
/* Desktop 1200 - up */
.hidden{
    display:none;
}
.hidden2{
    display:none !important;
}
.filter-bed2{
    bottom: -6rem !important;
}
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* Normal desktop :992px. (Laptop 14") */
@media (min-width: 992px) and (max-width: 1199px) {
    /* Global */
    h1 {
        font-size: 30px;
    }
    h2 {
        font-size: 26px;
    }
    h3 {
        font-size: 22px;
    }
    h4 {
        font-size: 20px;
    }
    h5 {
        font-size: 18px;
    }
    h6 {
        font-size: 16px;
    }
    #filter-province,.filter-subs{
       top:10vw !important;
       left: 0px;
    }
}

@media(max-width: 991px) {
    .header-btn-auth{
        display: none;
    }
    .site-logo a img{
        width: 120px;
    }
    .js-select2{
        margin-bottom: 0.5rem !important;
    }
    .search_completion_year{
        padding: 0px;
    }
    #project_search_btn{
        width: 100%;
    min-height: 3.6rem;
    }
    .contact-sell{
        display: none;
    }
    .contact-sell-sm{
        display: block;
    }
    .section__{
        width: 100% !important;
    }
    #a-filter-bed{
        margin-top: 1vw;
    }
    #a-filter-price{
        margin-top: 1vw;
    }
    #filter-price{
        width: 96% !important;
        top: 8vw !important;

    }
    #filter-province,.filter-subs{
        top:11vw !important;
        left: 0px;
     }
     .btn-filter span{
        /* display: none; */
     }
     .btn-filter{
        padding-bottom: .5rem;
     }
}   
 
/* Tablet device :768px. */
@media (min-width: 768px) and (max-width: 991px) {
    /* Global */
    body {
        font-size: 14px;
    }
    h1 {
        font-size: 26px;
    }
    h2 {
        font-size: 22px;
    }
    h3 {
        font-size: 20px;
    }
    h4 {
        font-size: 18px;
    }
    h5 {
        font-size: 16px;
    }
    h6 {
        font-size: 15px;
    }
    p {
        font-size: 14px;
    }

}

 
/* small mobile :320px. */
@media (max-width: 767px) {
    /* Global */
    body {
        font-size: 14px;
    }
    h1 {
        font-size: 24px;
    }
    h2 {
        font-size: 20px;
    }
    h3 {
        font-size: 18px;
    }
    h4 {
        font-size: 17px;
    }
    h5 {
        font-size: 16px;
    }
    h6 {
        font-size: 14px;
    }
    p {
        font-size: 14px;
    }
    .slider-ctr{
        width: 90% !important;
        height: 288px !important;    
    }
    .search_completion_year{
        width: 100%;
        padding: 0;
    }
    .mobile-menu-toggle{
        position: absolute;
        top: 15%;
        right: 5%;
        
    }
    .site-logo-wrap{
        margin-bottom: 0px !important;
    }
    .ltn__header-4 .ltn__header-middle-area, .ltn__header-5 .ltn__header-middle-area{
        padding: 0px !important;
    }
    .ltn__header-top-area .container{
        max-width: 100% !important;
    }
    .ltn__header-top-area .container .row .col-md-5{
        display: none !important;
    }
    .site-logo a img{
        width: 70px;
    }
    /* .img-child{
        display: none !important;
    } */
    .img-main{
        margin-bottom: 0px;
        padding: 0px !important;
    }
    .btn-see-all-photos{
        position: relative;
        top: 1rem;
    }
    #show_all_photos .image-holder,#image-holder .image-holder img,#show_all_photos .photo-gallery__wrapper{
        width: 100%;
        height: auto;
    }
    .image-holder img{
        height: auto !important;
    }
    #user_btn{
        display: none;
    }

    #s_1{
        .col-10{
            width: 100% !important;
        };
        .col-2{
            margin-top: 10px !important;
            width: 100% !important;
        }
    }
    .image-cover{
        min-height: 26vw;
    }
    .ltn__product-item-4 .product-title {
        font-size: 16px !important;
    }
    .filter-bed2{
        bottom: -4.8rem !important;
    }
    .btn-filter{
        overflow: hidden;
        font-size: 12px;
        div{
            width: 55px !important;
            height: 55px !important;
        };
        span{
            text-wrap: nowrap !important;
            animation: move-left-to-right linear 12.5s infinite;
        }
    }
    .list-project-type li{
        text-align: center;
        margin: 0;
        width: 30.33%;
        max-width: 100%;
    }
    .list-project-type li::before{
        right: 0;
    }
    .list-project-type li span:last-child{
        display: none;
    }
    #filter-price{
        width: 94% !important;
        top: 10vw !important;
    }
    #filter-province,.filter-subs{
        top:11vw !important;
        left: 0px;
     }
}
@keyframes move-left-to-right {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

/* use this one to move from right to left direction */
@keyframes move-right-to-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
@media (max-width: 500px) {
    .slider-ctr{
        width: 90% !important;
        height: 255px !important;    
    }

    .image-cover{
        min-height: 40vw;
    }
    .ltn__product-item .real-estate-agent{
        width: 100%;
    }
    .ltn__product-item .product-title{
        width: 100%;
        overflow: hidden;
        height: 4.1vw;
    }
    .product-img-location ul li{
        overflow: hidden;
        height: 4vw;
    }
    .list-project-type li:last-child span:first-child{
        font-size: 11px;
    }
    .list-project-type li:last-child span:first-child i{
        display: none;
    }
    #filter-price{
        width: 93% !important;
        top: 14vw !important;
    }
    #filter-bed{
        width: 94% !important;
        z-index: 9;
        bottom: 0px !important;
        top: 1vw;
        height: 72px;
        .filter-box{
            display: flex !important;
        }
    }
    #filter-province,.filter-subs{
        top:16vw !important;
        left: 0px;
     }
}
@media (max-width: 450px) {
    .slider-ctr{
        width: 90% !important;
        height: 237px !important;    
    }
    .image-cover{
        min-height: 50vw;
    }

    .btn-filter{
        overflow: hidden;
        font-size: 12px;
        div{
            width: 45px !important;
            height: 45px !important;
        };
        span{
            /* text-wrap: nowrap; */
            text-wrap: wrap;
            font-size: 12px;
        }
    }
    .product-price span{
        font-size: 14px;
    }
    .product-title a{
        font-size: 12px;
    }

    .btn-is-studio{
         display: none !important;
    }
    #filter-province,.filter-subs{
        top:18vw !important;
        left: 0px;
     }
     .image-cover {
        min-height: 32vw;
    }
    .ltn__product-item-4 .product-info {
        padding: 8px 20px 1px  !important;
    }
    .ltn__product-item .real-estate-agent {
        width: 100%;
        margin-top: 5px !important;
    }
    .ltn__product-item .real-estate-agent button{
        font-size: 12px !important;
    }
}
@media (max-width: 400px) {
    .slider-ctr{
        width: 90% !important;
        height: 205px !important;    
    }
    .slider-control .control.prev,.slider-control .control.next {
        top: 40% !important;
        opacity: .8;
    }
    .accordion-item button span,.accordion-content p{
        font-size: 14px !important;
    }
    .image-cover{
        min-height: 40vw;
    }
    .filter-bed2{
        bottom: -4rem !important;
    }
    #filter-price{
        width: 92% !important;
        top: 18vw !important;
    }
    #filter-province,.filter-subs{
        top:20vw !important;
        left: 0px;
     }
}
