/* xxl */
@media (min-width: 1600px) {
    .responsive-boss {
        top: -20%;
        right: 0%;
        width: 25%;
        z-index: 999;
    }

    .responsive-phone {
        top: -30%;
        right: -5%;
        width: 45%;
        z-index: 999;
    }

    .responsive-bg1 {
        left: 0%;
        top: -34%;
    }

    .responsive-bg2 {
        right: 0%;
        top: 5%;
    }

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


}

/* xl */
@media (min-width: 1200px) and (max-width: 1599px) {
    .responsive-boss {
        top: -20%;
        right: 0%;
        width: 25%;
        z-index: 999;
    }

    .responsive-phone {
        top: -30%;
        right: -5%;
        width: 45%;
        z-index: 999;
    }

    .responsive-bg1 {
        left: 0%;
        top: -34%;
    }

    .responsive-bg2 {
        right: 0%;
        top: 5%;
    }
    .A1 {
        bottom: 50px;
        left:12%;
    }
    .A2 {
        bottom: 50px;
        left:47%;
    }
    .A3 {
        bottom: 50px;
        left:81%;
    }
    .accordion-wrapper .card-header button:before {
        font-size: 1.00rem !important;
        padding: 0px 14px 6px 14px ! 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;
}

}

/* lg */
@media (min-width: 992px) and (max-width: 1199px) {
    .responsive-boss {
        top: -20%;
        right: 0%;
        width: 30%;
        z-index: 999;
    }

    .responsive-phone {
        top: 0%;
        right: -5%;
        width: 50%;
        z-index: 999;
    }

    .responsive-bg1 {
        left: 0%;
        top: -40%;
        width: 20%;
    }

    .responsive-bg2 {
        right: 0%;
        top: 8%;
        width: 20%;
    }
    .himg {
        width: 60% !important
    }
    .A1 {
        bottom: 35px;
        left:12%;
        font-size: 14px;
    }
    .A2 {
        bottom: 35px;
        left:46%;
        font-size: 14px;
    }
    .A3 {
        bottom: 35px;
        left:80%;
        font-size: 14px;
    }
    .VS {
        width: 100px !important;
        height: 100px !important;
        left:38%;
        top:47%;
    }
    .VSf {
        font-size: 10px !important;
    }
    .counter {
        font-size: 25px !important;
        font-weight: 500 !important;
    }
    .image-wrapper.bg-full {
        background-size: 130% !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
    }
    .accordion-wrapper .card-header button:before {
        font-size: 1.00rem !important;
        padding: 0px 15px 7px 15px ! important;
    }
}

/* md */
@media (min-width: 768px) and (max-width: 991px) {
    .responsive-boss {
        top: -20%;
        right: 0%;
        width: 25%;
        z-index: 999;
    }

    .responsive-phone {
        top: 22%;
        right: -4%;
        width: 30%;
        z-index: 999;
        position: absolute !important;
    }

    .responsive-bg1 {
        left: 0%;
        top: -34%;
        width: 15%;
    }

    .responsive-bg2 {
        right: 0%;
        top: 15%;
        width: 20%;
    }

    .pin {
        width:15px !important;
        height: 15px !important;
    }

    .pin::after {
        width: 8px !important;
        height: 8px !important;
        top: 4px !important;
        left: 4px !important;
    }

    .image-wrapper.bg-cover {
        min-height: 5rem !important;
    }
    .himg {
        width: 30% !important
    }
    .overflow {
        width: 1000px;
        height: 400px;
    }
    .overflow-auto {
        border: 1px solid #ccc;
    }
    .VS {
        width: 90px !important;
        height: 90px !important;
        left:35%;
        top:45%;
    }
    .VSf {
        font-size: 9px !important;
    }
    .counter {
        font-size: 20px !important;
        font-weight: 500 !important;
    }
    .accordion-wrapper .card-header button {
        font-size: 0.70rem !important;
    }
    .accordion-wrapper .card-header button:before {
        font-size: 0.95rem !important;
        padding: 0px 13px 6px 13px ! important;
    }
}

/* sm */
@media (min-width: 576px) and (max-width: 767.98px) {
    .responsive-boss {
        top: -20%;
        right: 0%;
        width: 25%;
        z-index: 999;
    }

    .responsive-phone {
        top: -30%;
        right: -5%;
        width: 45%;
        z-index: 999;
    }

    .responsive-bg1 {
        left: 0%;
        top: -34%;
    }

    .responsive-bg2 {
        right: 0%;
        top: 5%;
    }

    .pin {
        width:15px !important;
        height: 15px !important;
    }

    .pin::after {
        width: 8px !important;
        height: 8px !important;
    }

    .image-wrapper.bg-cover {
        min-height: 12rem !important;
    }
    .himg {
        width: 45% !important
    }
    .overflow {
        width: 1000px;
        height: 400px;
    }
    .overflow-auto {
        border: 1px solid #ccc;
    }
    .VS {
        width: 110px !important;
        height: 110px !important;
        left:30%;
        top:45%;
    }
    .VSf {
        font-size: 10px !important;
    }
    .counter {
        font-size: 25px !important;
        font-weight: 500 !important;
    }
    .accordion-wrapper .card-header button {
        font-size: 0.60rem !important;
    }
    .accordion-wrapper .card-header button:before {
        font-size: 0.85rem !important;
        padding: 0px 13px 6px 13px ! important;
    }
}

/* xs */
@media (max-width: 575.98px) {
    .responsive-boss {
        top: -20%;
        right: 0%;
        width: 25%;
        z-index: 999;
    }

    .responsive-phone {
        top: -25%;
        left: 22%;
        width: 62%;
        z-index: 999;
        position: absolute !important;
    }

    .responsive-bg1 {
        left: 0%;
        top: -34%;
        width: 15%;
    }

    .responsive-bg2 {
        right: 0%;
        top: -25%;
        width: 20%;
    }

    .pin {
        width:15px !important;
        height: 15px !important;
    }

    .pin::after {
        width: 8px !important;
        height: 8px !important;
        top: 4px !important;
        left: 4px !important;
    }

    .nav-tabs.nav-tabs-basic, .nav-tabs.nav-pills {
        flex-direction: row !important;
    }

    .fs16m {
        font-size: 16px !important;
    }

    .fs12m {
        font-size: 12px !important;
    }

    .image-wrapper.bg-cover {
        min-height: 12rem !important;
    }
    .branch {
        font-size: 20px !important
    }
    .healths {
        font-size: 20px !important
    }
    .himg {
        width: 45% !important
    }
    .overflow {
        width: 1000px;
        height: 400px;
    }
    .overflow-auto {
        border: 1px solid #ccc;
    }
    .VS {
        width: 110px !important;
        height: 110px !important;
        left:30%;
        top:45%;
    }
    .VSf {
        font-size: 10px !important;
    }
    .counter {
        font-size: 25px !important;
        font-weight: 500 !important;
    }
    .pan {
        font-size: 19px !important;
        font-weight: 400 !important;
    }
    .accordion-wrapper .card-header button {
        font-size: 0.60rem !important;
    }
    .accordion-wrapper .card-header button:before {
        font-size: 0.85rem !important;
        padding: 0px 12px 5px 12px ! important;
    }
    .fs {
        font-size: 17px !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: #f16823 !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: #f16823 !important;
    --bs-pink: #f16823 !important;
}

.offcanvas-header {
    padding-top: 0.3rem !important;
    padding-bottom: 0.3rem !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: #f16823 !important;
}

.btn-outline-green {
    border-color: #21b6a0 !important;
    color: #21b6a0 !important;
}
