html, body{
	font-size: 16px;
    background: #f9f9f9 !important;
}

.text-red{
	color: red !important;
}

.fs12{
	font-size: 12px;
}

.fs14{
	font-size: 14px;
}
.fs15{
    font-size: 15px;
}
.fs16{
    font-size: 16px;
}

.fs18{
    font-size: 18px;
}

.bannertour{
	width: 75%;
}


.icright{
    width: 58px;
    height: 58px;
    border-radius: 10px 0 0 10px;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.icright:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.minus, .plus{
    width: 32px;
}

.loader {
  width: 50px;
  aspect-ratio: 1;
  display: grid;
  border: 4px solid #0000;
  border-radius: 50%;
  border-color: #ccc #0000;
  animation: l16 1s infinite linear;
}
.loader::before,
.loader::after {    
  content: "";
  grid-area: 1/1;
  margin: 2px;
  border: inherit;
  border-radius: 50%;
}
.loader::before {
  border-color: #f03355 #0000;
  animation: inherit; 
  animation-duration: .5s;
  animation-direction: reverse;
}
.loader::after {
  margin: 8px;
}
@keyframes l16 { 
  100%{transform: rotate(1turn)}
}

#accordionPanelsStayOpenMobile .accordion-button:not(.collapsed) {
    background: none;
}

#accordionPanelsStayOpenMobile .accordion-button::after {
  filter: brightness(0) invert(1); /* ทำให้ icon เป็นสีขาว */
}

.animation-set4 {
    animation: set4 0.5s infinite;
}

@keyframes set4 {
    0% {
        color: red;
    }

    25% {
        color: orange;
    }

    50% {
        color: yellow;
    }

    75% {
        color: #33cf30;
    }

    100% {
        color: green;
    }
}

.biconsch {
    position: relative;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 100%;
    display: flex;
    overflow: hidden;
    margin: 0 auto;
}

.btn-sch {
    position: relative;
    width: 9rem;
    height: auto;
    margin: 0 16px;
    overflow: hidden;
}

.bsch-view {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    column-gap: 1rem;
    row-gap: 1rem;
}

.biconsch p {
    font-size: 2rem;
    color: #000;
    display: flex;
    margin: auto;
    text-align: center;
}

.name-scmd-h {
    font-size: 0.88rem;
    color: #000;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    padding-top: 3px;
}

.biconsch i {
    color: #fff;
}

.bgiconsc-fb {
    background-color: #4267b2;
}
.bgiconsc-line {
    background-color: #00c300;
}
.bgiconsc-ig {
    background-color: #e4405f;
}
.bgiconsc-tt {
    background-color: #000000;
}



.owl-item {
            display: flex;
            justify-content: center;
        }
        .tour-item {
/*           background: rgb(233 233 233);*/
background: #fff;
         box-shadow: 0px 10px 20px -5px rgba(0, 0, 0, 0.05);
        }
        .tour-item img {
            width: 100%;
            border-radius: 5px;
        }

        .tour-item:hover{
            margin-top: -5px;
            transform: translateY(-2px);
            transition: all 0.3s ease-out;
        }

        .ttopic{
            font-size: 16px;
            border-bottom: 1px dashed #e6e6e6;
        }
        .tdetail{
            font-size: 14px;
        }
        .tour-info {
            color: #000;
        }

        .owl-carousel .tour-item {
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure equal height */
}

.owl-carousel .tour-info {
    flex-grow: 1; /* Allow content to expand */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ttopic {
    min-height: 50px; /* Minimum height */
    flex-grow: 1; /* Expand automatically */
}

.tdetail {
    flex-grow: 1; /* Push content down */
}

.owl-carousel .owl-stage-outer{
    padding: 0 5px;
}

       
        /* Style for custom navigation buttons */
        .owl-nav {
            position: absolute;
            top: 50%;
            width: 100%;
            transform: translateY(-50%);
            color: #fff;
            display: none;
        }


        .owl-carousel:hover .owl-nav{
            display: block;
        }

        .owl-prev, .owl-next {
            font-size: 2rem;
            color: #ffffff;
            background: rgb(0 0 0 / 75%) !important;
            border-radius: 50%;
            padding: 10px;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
                display: flex !important;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
        }
        .owl-prev {
            left: 10px;
        }
        .owl-next {
            right: 10px;
        }
        .owl-stage {
            padding-left: 0 !important;
            padding-bottom: 20px;
            padding-top: 10px;
        }

table.display.dataTable tbody td {
  vertical-align: middle;
}

.bargrid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    display: grid;
    width: 100%;
    align-items: center;
    gap: 0.8rem;
}

table.display.dataTable tbody td{
    vertical-align: top !important;
}

.boxicmenu img{
    width: 32px;
}

.boxicmenu:hover{
    color: #000000 !important;
   background: #f2f2f2;
   border-radius: 10px;
    -webkit-transition: background-color 200ms linear;
    -ms-transition: background-color 200ms linear;
    transition: background-color 200ms linear;
}

.mega-menu {
  width: 100%; /* Make the dropdown full-width */
  max-width: 960px; /* Adjust as necessary */

}
.mega-menu .dropdown-item {
  white-space: normal; /* Allow text wrapping */
}

.dropdown-menu {
  top: 100%; /* Ensure the dropdown starts below the nav */
  left: 0;
  right: 0;
  z-index: 1050; /* Adjust to ensure proper stacking */
}

.megaMenu a:hover{
    color: #a91e23 !important;
}

.megaMenu{
    background: #fff;
      margin:0 !important;
      border-radius: 0;
}

.flex-container {
  display: flex;
  flex-wrap: wrap; /* อนุญาตให้ flex item ห่อเมื่อเกินแถว */
  gap: 10px; /* ระยะห่างระหว่าง item */
}

.flex-item {
  flex: 1 1 calc(25% - 10px); /* แถวละ 4 รูป (25% ต่อรูป) */
  max-width: 25%; /* กำหนดความกว้างสูงสุด */
  padding: 0; /* ลบ padding ของ item */
  margin: 0; /* ลบ margin ของ item */
  box-sizing: border-box; /* เพื่อป้องกัน padding/border มีผลต่อขนาด */
}

.flex-item img {
  width: 100%; /* ให้ภาพขยายเต็มพื้นที่ของ flex-item */
  height: auto; /* ปรับสัดส่วนภาพอัตโนมัติ */
  display: block; /* ป้องกันช่องว่างจาก inline-block */
}

.thumbnaillg {
    width: 150px;
    height: 150px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    max-width: 100%;
}

/*.nav-item a:hover{
    color: #ff5500 !important;
}*/

.accordion-button:not(.collapsed) {
    background-image: linear-gradient(90deg, #ededed 0%, #FFFFFF 100%);
    color: #000;
 }

 .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-image: linear-gradient(180deg, #ededed 0%, #ce2127 100%);
    color: #fff !important;
}

.btnphones{
    background: #fff;
    text-align: center;
    color: #316efd;
    padding: 12px 10px;
    display: block;
    border-radius: 0;
    cursor: pointer;
    margin-top: 10px;
    border: 1px solid #316efd;
    border-radius: 50px;
    font-size: 18px;
}

.btnphones:hover {
  background: #316efd;
  color: #fff;
}


.btnsline{
   background: #fff;
      text-align: center;
    color: #54c56c;
    padding: 12px 10px;
    display: block;
    border-radius: 0;
    cursor: pointer;
    margin-top: 10px;
    border: 1px solid #54c56c;
    border-radius: 50px;
    font-size: 18px;

}
.btnsline:hover {
  background: #54c56c;
  color: #fff;
}
.btnspdf {
   background: #fff;
      text-align: center;
    color: #e54e4e;
    padding: 12px 10px;
    display: block;
    border-radius: 0;
    cursor: pointer;
    margin-top: 10px;
    border: 1px solid #e54e4e;
    border-radius: 50px;
    font-size: 18px;

}
.btnspdf:hover {
  background: #e54e4e;
  color: #fff;
}

.btnsword{
   background: #fff;
      text-align: center;
    color: #034fc5;
    padding: 12px 10px;
    display: block;
    border-radius: 0;
    cursor: pointer;
    margin-top: 10px;
    border: 1px solid #034fc5;
    border-radius: 50px;
    font-size: 18px;

}
.btnsword:hover {
  background: #034fc5;
  color: #fff;
}

.btnscopy {
   background: #fff;
      text-align: center;
    color: #2f2f2f;
    padding: 12px 10px;
    display: block;
    border-radius: 0;
    cursor: pointer;
    margin-top: 10px;
    border: 1px solid #2f2f2f;
    border-radius: 50px;
    font-size: 18px;

}
.btnscopy:hover {
  background: #2f2f2f;
  color: #fff;
}




.boxcountry{
    box-shadow: 0px 20px 30px -30px rgb(0 0 0 / 20%);
}

 .bg-orange{
 	background-color: #d10101 !important;
 }


 .bg-orange2{
    background-color: #dd3e43;
 }

 .bgfooter{
    background: #f3f3f3;
 }



@media only screen and (max-width: 1024px) {
.bannertour{
	width: 100%;
}
}

@media only screen and (max-width: 768px) {
.customtb{
    font-size: 11px;
}

.tbbook{
    font-size: 14px;
}

/*table tr td:nth-child(4),
    table tr th:nth-child(4),
    table tr td:nth-child(5),
    table tr th:nth-child(5) {
        display: none;
    }*/

/*     .offcanvas{
    background-image: linear-gradient(180deg, #ce2127 0%, #ff767b 100%);
 }*/


.icright{
    width: 42px;
    height: 42px;
    border-radius: 5px 0 0 5px;
}

table.display.dataTable tbody td {
  vertical-align: top;
}

.boxicmenu img{
    width: 32px;
}

.bannertour{
	width: 100%;
}
  .bargrid{
  grid-template-columns: 1fr 1fr;
}
}