/* xxl */
@media (min-width: 1600px) {

    .up {
        overflow: visible !important;
    }

    .width75 {
        width: 75% !important;
    }

    .borderc {
        border-top-left-radius: 8px; border-bottom-left-radius: 8px;
    }

    .head-home {
        font-size: 1rem !important;
    }

    .fix-img {
        height: 320px;
        object-fit: cover;
    }

    .fix-img-detail {
        height: 520px !important;
        object-fit: cover !important;
    }

    .sub-fix-img-detail {
        height: 140px !important;
        object-fit: cover !important;
    }

    .fix-img-recommend {
        height: 100px !important;
        object-fit: cover !important;
    }

    .check-seach {
        margin-top: -6rem;
        width: 100% !important;
        z-index: 999999999 !important;
    }

    .slick-slide>div {
        padding: 0 20px;
    }

    .room1 {
        text-align: right;
    }

    .content-left {
        position: absolute;
        top: 50%;
        left: 40%;
        transform: translate(-50%, -50%);
    }

    .content-left-2 {
        position: absolute;
        top: 50%;
        left: 30%;
        transform: translate(-50%, -50%);
        z-index: 2;
        /*ให้อยู่เหนือoverlay*/
        color: white;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
    }

     /* Banner */
     .fsm {
        font-size: 48px !important;
    }

    .fsml {
        font-size: 32px !important;
        margin-top:20px !important;
    }
}

/* xl */
@media (min-width: 1200px) and (max-width:1599px) {

    .up {
        overflow: visible !important;
    }


    .width75 {
        width: 75% !important;
    }

    .borderc {
        border-top-left-radius: 8px; border-bottom-left-radius: 8px;
    }

    .head-home {
        font-size: 1rem !important;
    }

    .fix-img {
        height: 320px;
        object-fit: cover;
    }

    .fix-img-detail {
        height: 420px !important;
        object-fit: cover !important;
    }

    .sub-fix-img-detail {
        height: 140px !important;
        object-fit: cover !important;
    }

    .fix-img-recommend {
        height: 100px !important;
        object-fit: cover !important;
    }

    .check-seach {
        margin-top: -6rem;
        width: 100% !important;
        z-index: 999999999 !important;
    }

    .slick-slide>div {
        padding: 0 20px;
    }

    .room1 {
        text-align: right;
    }

    .content-left {
        position: absolute;
        top: 50%;
        left: 40%;
        transform: translate(-50%, -50%);
    }

    .content-left-2 {
        position: absolute;
        top: 50%;
        left: 30%;
        transform: translate(-50%, -50%);
        z-index: 2;
        /*ให้อยู่เหนือoverlay*/
        color: white;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
    }

     /* Banner */
     .fsm {
        font-size: 38px !important;
    }

    .fsml {
        font-size: 24px !important;
        margin-top:20px !important;
    }
}

/* lg */
@media (min-width: 992px) and (max-width:1199px) {

    .up {
        overflow: visible !important;
    }

    .width75 {
        width: 75% !important;
    }

    .borderc {
        border-top-left-radius: 8px; border-bottom-left-radius: 8px;
    }

    .head-home {
        font-size: 1rem !important;
    }

    .fix-img {
        height: 320px;
        object-fit: cover;
    }

    .fix-img-detail {
        height: 420px !important;
        object-fit: cover !important;
    }

    .sub-fix-img-detail {
        height: 110px !important;
        object-fit: cover !important;
    }

    .fix-img-recommend {
        height: 120px !important;
        object-fit: cover !important;
    }

    .check-seach {
        margin-top: -6rem;
        width: 100% !important;
        z-index: 999999999 !important;
    }

    .slick-slide>div {
        padding: 0 20px;
    }

    .room1 {
        text-align: right;
    }

    .content-left {
        position: absolute;
        top: 50%;
        left: 40%;
        transform: translate(-50%, -50%);
    }

    .content-left-2 {
        position: absolute;
        top: 50%;
        left: 25%;
        transform: translate(-50%, -50%);
        z-index: 2;
        /*ให้อยู่เหนือoverlay*/
        color: white;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
    }
}

/* md */
@media (min-width: 768px) and (max-width:991px) {

    .up {
        overflow: visible !important;
    }

    .width75 {
        width: 75% !important;
    }

    .borderc {
        border-top-left-radius: 8px; border-bottom-left-radius: 8px;
    }

    .head-home {
        font-size: 1rem !important;
    }

    .image-wrapper.bg-cover {
        min-height: 15rem !important;
    }

    .image-wrapper.bg-cover {
        min-height: 10rem !important;
    }

    .offcanvas {
        background-color: #000 !important;
    }


    .fix-img {
        height: 260px;
        object-fit: cover;
    }

    .fix-img-detail {
        height: 420px !important;
        object-fit: cover !important;
    }

    .sub-fix-img-detail {
        height: 220px !important;
        object-fit: cover !important;
    }

    .fix-img-recommend {
        height: 100px !important;
        object-fit: cover !important;
    }

    .check-seach {
        margin-top: -6rem;
        width: 100% !important;
        z-index: 999999999 !important;
    }

    .slick-slide>div {
        padding: 0 20px;
    }

    .room1 {
        text-align: right;
    }

    .swiper-controls .swiper-pagination {
        bottom: -1.8rem !important;
    }

    .content-left {
        position: absolute;
        top: 50%;
        left: 40%;
        transform: translate(-50%, -50%);
    }

    .content-left-2 {
        position: absolute;
        top: 50%;
        left: 35%;
        transform: translate(-50%, -50%);
        z-index: 2;
        /*ให้อยู่เหนือoverlay*/
        color: white;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
    }
}

/* sm */
@media (min-width: 576px) and (max-width:767.98px) {

    .up {
        overflow: visible !important;
    }

    .width75 {
        width: 75% !important;
    }

    .borderc {
        border-top-left-radius: 8px; border-bottom-left-radius: 8px;
    }

    .head-home {
        font-size: 1rem !important;
    }

    .image-wrapper.bg-cover {
        min-height: 10rem !important;
    }

    .offcanvas {
        background-color: #fff !important;
    }


    .fix-img {
        height: 320px;
        object-fit: cover;
    }

    .fix-img-detail {
        height: 320px !important;
        object-fit: cover !important;
    }

    .sub-fix-img-detail {
        height: 220px !important;
        object-fit: cover !important;
    }

    .fix-img-recommend {
        height: 100px !important;
        object-fit: cover !important;
    }

    .check-seach {
        margin-top: 30px;
        width: 100% !important;
        z-index: 999999999 !important;
    }

    .slick-slide>div {
        padding: 0 5px;
    }

    .room1 {
        text-align: left;
    }

    .swiper-controls .swiper-pagination {
        bottom: -1.8rem !important;
    }

    .content-left {
        position: absolute;
        top: 50%;
        left: 40%;
        transform: translate(-50%, -50%);
    }

    .content-left-2 {
        position: absolute;
        top: 50%;
        left: 40%;
        transform: translate(-50%, -50%);
        z-index: 2;
        /*ให้อยู่เหนือoverlay*/
        color: white;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
    }
}

/* xs */
@media (max-width:575.98px) {

    .up {
        overflow: visible !important;
    }

    .flexc {
        flex-wrap: wrap !important;
    }

    .width100m {
        width: 100% !important;
    }

    .borderc {
        border-top-left-radius: 8px; border-top-left-radius: 8px;
    }

    .head-home {
        font-size: 0.8rem !important;
        letter-spacing: -1px !important;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        /* number of lines to show */
        line-clamp: 2;
        -webkit-box-orient: vertical;
        font-weight: 600 !important;
    }

    .body-home {
        font-size: 0.6rem !important;
        text-align: center;
        letter-spacing: -0.5px !important;
    }

    .price-home {
        font-size: 0.7rem !important;
        letter-spacing: -0.5px !important;
        text-align: center;
        /* padding: 0 10px; */
    }

    .image-wrapper.bg-cover {
        min-height: 10rem !important;
    }

    .offcanvas {
        background-color: #000 !important;
    }


    .fix-img {
        height: 120px;
        object-fit: cover;
    }

    .fix-img-detail {
        height: 280px !important;
        object-fit: cover !important;
    }

    .sub-fix-img-detail {
        height: 60px !important;
        object-fit: cover !important;
    }

    .fix-img-recommend {
        height: 70px !important;
        object-fit: cover !important;
    }

    .check-seach {
        margin-top: 30px;
        width: 100% !important;
        z-index: 999999999 !important;
    }

    .slick-slide>div {
        padding: 0 5px;
    }

    .room1 {
        text-align: left;
    }

    .content-left {
        position: absolute;
        top: 10%;
        left: 18%;
        transform: translate(-10%, -10%);
        -webkit-transform: translate(-10%, -10%);
        -moz-transform: translate(-10%, -10%);
        -ms-transform: translate(-10%, -10%);
        -o-transform: translate(-10%, -10%);
    }

    /* Banner */
    .fsm {
        font-size: 16px !important;
    }

    .fsml {
        font-size: 15px !important;
    }

    .textd {
        color: #000 !important;
    }

    .content-left-2 {
        position: absolute;
        top: 55%;
        left: 40%;
        transform: translate(-50%, -50%);
        z-index: 2;
        /*ให้อยู่เหนือoverlay*/
        color: white;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
    }

    .navbar-expand-lg .dropdown-toggle:after {
        top:0.8rem !important;
    }

    /* .swiper-controls .swiper-pagination {
        bottom: -1.8rem !important;
    } */
}


/* Font-weight */
.w400 {
    font-weight: 400 !important;
}

.w500 {
    font-weight: 500 !important;
}

.w600 {
    font-weight: 600 !important;
}

.w700 {
    font-weight: 700 !important;
}

.text-line:before {
    background-color: #EF2E7C !important;
}


/* Dropzone */
.dropzone {
    width: 98%;
    margin: 1%;
    border: 2px dashed #A1A1A1 !important;
    border-radius: 5px;
    transition: 0.2s;
}

.dropzone.dz-drag-hover {
    border: 2px solid #A1A1A1 !important;
}

.dz-message.needsclick img {
    width: 50px;
    display: block;
    margin: auto;
    opacity: 0.6;
    margin-bottom: 15px;
}

span.plus {
    display: none;
}

.dropzone.dz-started .dz-message {
    display: inline-block !important;
    width: 120px;
    float: right;
    border: 1px solid rgba(238, 238, 238, 0.36);
    border-radius: 30px;
    height: 120px;
    margin: 16px;
    transition: 0.2s;
}

.dropzone.dz-started .dz-message span.text {
    display: none;
}

.dropzone.dz-started .dz-message span.plus {
    display: block;
    font-size: 70px;
    color: #AAA;
    line-height: 110px;
}

/* Table */
.table {
    border-radius: 5px;
    border-collapse: collapse;
    overflow: hidden;
    /*ซ่อนส่วนที่เกินขอบ*/
    border: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.table th,
.table td {
    border: none;
    /* ลบเส้นขอบภายใน */
}

.table th:first-child,
.table td:first-child {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.table th:last-child,
.table td:last-child {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}


:root,
[data-bs-theme=light] {
    --bs-navy: #EF2E7C !important;
    --bs-pink: #EF2E7C !important;
}

.offcanvas-header {
    padding-top: 0.3rem !important;
    padding-bottom: 0.3rem !important;
}

.navbar-expand-lg[class*=navbar-bg-]:not(.fancy):not(.extended):not(.fixed) .navbar-collapse .nav-link {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.dontclick {
    pointer-events: none !important;
}

.swiper-slide {
    position: relative;
    /* เพิ่ม position relative */
}

.box {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, z-index 0s;
    z-index: 10;
    /* ระดับเริ่มต้น */
}

.box:hover {
    transform: scale(1.05);
    z-index: 20;
    /* ทำให้กล่องอยู่ด้านบนเมื่อมีการชี้เมาส์ */
}

.box img {
    width: 100%;
    height: auto;
    display: block;
}

.content-bottom {
    position: absolute;
    bottom: 5%;
    left: 0;
    right: 0;
    color: white;
    text-align: center;
    padding: 10px;
}


.box-not {
    position: relative;
    text-align: left;
}





.box-not-2 {
    position: relative;
    width: 100%;
    height: auto;
    /* ปรับตามขนาดของวิดีโอ */
}

.video {
    width: 100%;
    height: auto;
    display: block;
    /* แก้ไขปัญหาช่องว่างข้างล่างวิดีโอ */
}

.overlayx {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    /* สีดำที่มีความเข้ม 50% */
    z-index: 1 !important;
    /* ให้อยู่เหนือวิดีโอ */
}



.swiper-container.dots-dark .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    border-color: #EF2E7C !important;
}
