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

    .newbr {
        word-wrap: break-word; max-width: 220px;
    }

    .width75 {
        width: 75% !important;
    }

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

    .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;
    }

    .h-custom {
        height: 800px; background-position:center;
    }
}

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

    .newbr {
        word-wrap: break-word; max-width: 220px;
    }

    .width75 {
        width: 75% !important;
    }

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

    .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;
    }

    .h-custom {
        height: 800px; background-position:center;
    }
}

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

    .newbr {
        word-wrap: break-word; max-width: 220px;
    }

    .width75 {
        width: 75% !important;
    }

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

    .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%);
    }

    .h-custom {
        height: 800px; background-position:center;
    }
}

/* md */
@media (min-width: 768px) and (max-width:991px) {
    .newbr {
        word-wrap: break-word; max-width: 160px;
    }

    .width75 {
        width: 75% !important;
    }

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

    .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%);
    }

    .h-custom {
        height: 800px;
    }
}

/* sm */
@media (min-width: 576px) and (max-width:767.98px) {
    .newbr {
        word-wrap: break-word; max-width: 180px;
    }

    .width75 {
        width: 75% !important;
    }

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

    .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%);
    }

    .h-custom {
        height: 800px;
    }
}

/* xs */
@media (max-width:575.98px) {
    .newbr {
        word-wrap: break-word; max-width: 180px;
    }

    .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;
    }

    #alert-success {
        position: fixed;
        top: 15%;
        /* ห่างจากด้านบนของหน้าจอ */
        left: 50%;
        /* ห่างจากด้านขวาของหน้าจอ */
        transform: translate(-50%, -50%);
        z-index: 1050;
        display: none;
        width: 80% !important;
        text-align: center;
    }

    .h-custom {
        height: 800px;
    }

    /* .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: #FE7D40 !important;
}

.form-check-input:checked {
    background-color: #114C50 !important;
    border-color: #114C50 !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: #FE7D40 !important;
    --bs-pink: #FE7D40 !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-controls .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    border-color: #10393B !important;

}

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

.text-main {
    color: #10393B !important;
}

.text-sub {
    color: #FE7D40 !important;
}

.text-black {
    color: #1B1B1B !important;
}

.btn-orange {
    --bs-btn-bg: #FE7D40 !important;
    --bs-btn-border-color: #FE7D40 !important;
    --bs-btn-hover-bg: #FE7D40 !important;
    --bs-btn-hover-border-color: #FE7D40 !important;
    --bs-btn-active-bg: #FE7D40 !important;
    --bs-btn-active-border-color: #FE7D40 !important;
    --bs-btn-disabled-bg: #FE7D40 !important;
    --bs-btn-disabled-border-color: #FE7D40 !important;
}

.btn-green {
    --bs-btn-bg: #114C50 !important;
    --bs-btn-border-color: #114C50 !important;
    --bs-btn-hover-bg: #114C50 !important;
    --bs-btn-hover-border-color: #114C50 !important;
    --bs-btn-active-bg: #114C50 !important;
    --bs-btn-active-border-color: #114C50 !important;
    --bs-btn-disabled-bg: #114C50 !important;
    --bs-btn-disabled-border-color: #114C50 !important;
}

/*  Wizard */

.mm-survey {
	margin-top: 30px;
	margin-bottom: 30px;
}

.mm-survey-container {
	width: 100%;

	background: transparent;
}

.mm-survey-results-container {
	width: 100%;

	background: #fafafa;
}

.mm-survey-page {
	display: none;
	font-weight: 100;
	padding-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 20px;
}

.mm-survey-page.active {
	display: block;
}

.mm-survey-controller {
	position: relative;
    height: 60px;
    background: transparent;
    padding: 12px 14px;
}

.mm-survey-results-controller {
	position: relative;
    height: 60px;
    background: #333;
    padding: 12px 14px;
}

.mm-back-btn {
	display: inline-block;
    position: relative;
    float: left;
}

.mm-prev-btn {
    display: inline-block;
    position: relative;
    float: left;
}

.mm-next-btn {
	display: inline-block;
	opacity: 0.25;
    position: relative;
    float: right;
}

.mm-finish-btn {
	display: none;
    position: relative;
    float: right;
}

.mm-finish-btn button {
	background: #3DD2AF !important;
    color: #fff;
}

.mm-survey-controller button {
	background: #fff;
    border: none;
    padding: 8px 18px;
    font-weight: 300;
    background-color: #ADB6B1;
    color: #10393B;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

.mm-survey-results-controller button {
	background: #fff;
	border: none;
	padding: 8px 18px;
}

.mm-survey-progress {
    width: 100%;
    height: 50px;
    background: #FFFFFF;
    overflow: hidden;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

.mm-progress {
	transition: width 0.5s ease-in-out;
}

.mm-survey-progress-bar {
	height: 50px;
    width: 0%;
    border-top-left-radius: 15px !important;
    border-bottom-left-radius: 15px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    background: linear-gradient(to left, #268085, #114C50);
}

.mm-survey-q {
	list-style-type: none;
	padding: 0px;
}

.mm-survey-q li {
	display: block;
	/*padding: 20px 0px;*/
	margin-bottom: 10px;
	width: 100%;
	background: #fff;
}

.mm-survey-q li input {
	width: 100%;
}

.mm-survery-content label {
	width: 100%;
	padding: 10px 10px;
	margin: 0px !important;
}

.mm-survery-content label:hover {
	cursor: pointer;
}

.mm-survey-question {
	min-height: 100px;
}

.mm-survey-question p {
	font-size: 22px;
    font-weight: 200;
    margin-bottom: 20px;
    line-height: 40px;
}

.mm-survery-content label p {
	display: inline-block;
    position: relative;
    top: 2px;
    left: 5px;
    margin: 0px;
}

.mm-survey-item {
	background: #fff;
	margin-bottom: 15px;
	border-bottom: 1px solid rgba(33,33,33,0.15);
    border-radius: 0px 0px 4px 4px;
}

.mm-prev-btn button:focus, .mm-next-btn button:focus, .mm-finish-btn button:focus {
	outline: none;
	border: none;
}

.mm-survey.okay .mm-next-btn {
	display: inline-block;
	opacity: 1;
}

.mm-finish-btn.active {
	display: inline-block;
}

.mm-survey-results {
	display: none;
}

.mm-survey-results-score {
	margin: 0px;
    padding: 0px;
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
    font-size: 80px;
    font-family: 'Raleway';
    font-weight: 600;
    letter-spacing: -6px;
}

.mm-survey-results-list {
	list-style-type: none;
	padding: 0px 15px;
    margin: 0px;
}

.mm-survey-results-item {
	color: #fff;
    margin-top: 10px;
    padding: 15px 15px 15px 0px;
    font-family: 'Raleway';
    font-weight: 300;
}

.mm-survey-results-item.correct {
	background: linear-gradient(to left, #4CB8C4, #3CD3AD);
}

.mm-survey-results-item.incorrect {
	background: linear-gradient(to left, #d33c62, #dc1144);
}

.mm-item-number {
	height: 40px;
	position: relative;
	padding: 17px;
	background: #333;
	color: #fff;
}

.mm-item-info {
	float: right;
}

.mm-survey-progress-text {
    text-align: center;
    font-size: 16px;
    color: #ffffff;
    position:absolute;
    z-index: 99;
    padding: 12px 10px 10px 15px;
}
