@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@100..700&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@font-face {
  font-family: 'LINESeedSansTH';
  src: url('fonts/LINESeedSansTH_W_Th.woff2') format('woff2'),
       url('fonts/LINESeedSansTH_W_Th.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'LINESeedSansTH';
  src: url('fonts/LINESeedSansTH_W_Rg.woff2') format('woff2'),
       url('fonts/LINESeedSansTH_W_Rg.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'LINESeedSansTH';
  src: url('fonts/LINESeedSansTH_W_Bd.woff2') format('woff2'),
       url('fonts/LINESeedSansTH_W_Bd.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}



html, body{
      font-family: 'LINESeedSansTH', 'Anuphan', sans-serif;
	font-size: 16px;
    background: #ffffff !important;
    color:#05084b !important;
          display: flex;
      flex-direction: column;
      min-height: 100vh; /* ให้ body สูงเท่า viewport */
      margin: 0;
}

main {
      flex: 1; /* ดัน footer ลงไป */
    }

 .fk {
     font-family: "Kanit", sans-serif;
 } 

.fanp {
     font-family: "Anuphan", sans-serif;
 }    

.text-red{
	color: red !important;
}

.pricebanner{
    font-size: 60px;
    color: #19376D;
    font-weight: 800;
    line-height: 60px;
}

.pricesingle{
    font-size: 60px;
    color: #050645;
    font-weight: 800;
    line-height: 60px;
}

.country-carousel .item img {
    width: 100%;
    height: 250px; /* กำหนดสูงตามต้องการ */
    object-fit: cover; /* crop ให้เต็ม container */
    border-radius: 0.5rem; /* ปรับมุมถ้าอยาก */
}

/*.tab-content {
    color: #fff;
}
*/
.bgyel1{
    background: #ffe500;
}

.bgyel1:hover{
    background: #ffcc00;
}

.maximg img{
  max-width: 100%;
  height: auto !important;
}

.btnbanner{
    font-size: 26px;
    font-weight: 600;
    padding: 5px 20px;
    border-radius: 20px;
}

.bxcode{
    font-size: 14px;
}

.fsbtn{
    font-size: 24px;
}

.fs12{
	font-size: 12px;
}

.fs14{
	font-size: 14px;
}
.fs15{
    font-size: 15px;
}
.fs16{
    font-size: 16px;
}

.fs18{
    font-size: 18px;
}

.bannertour{
	width: 75%;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 48px !important;
        font-size: 20px;
}

.select2-container .select2-selection--single {
    height: 48px !important;
}

.flex-basis-50 { flex: 0 0 50%; }
.flex-basis-100 { flex: 0 0 100%; }

.boxtriptxtright{
    position: absolute;
    top: -40px;
    right: 10px;
}

.list-group-item a:hover{
    color:#050645 !important;
}

.bgblue{
    background: #070449 !important;
    color: #fff !important;
}

.tdbgblue{
    background: #FAFAFA !important;
    color: #222222 !important;
}

.text-limit-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;     /* แสดงแค่ 2 บรรทัด */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.txtblue{
    color:#050645 !important;
}

.bgyellow{
    background: #ffe500 !important;
    color: #050645 !important;
}

.tabbtn.active, .tabbtn:hover {
    background: #050645;
   color:#fff !important; 
}

.tabbtn{
   color:#050645 !important; 
}

.sldisprice{
    font-size: 50px;
    line-height:50px;
    text-decoration: line-through;
}

.slprice{
    font-size: 100px;
    line-height:100px;
}

.navbar-nav{
    font-size: 20px;
    font-weight: 600;
    color: #011663;
}

.dropdown-item{
    font-size: 18px;
    font-weight: 600;
}

/*.nav-link{
    color: #011663;
    transition: all .2s;
}

.nav-link:hover{
    transition: all .2s;
    transform : translateY(-4px);
}
*/



.txtdate{
    font-size: 16px;
}

.rounded-menu{
    border-bottom-left-radius: 50rem !important;
    border-top-left-radius: 50rem !important;
}


.page-item.active .page-link {
  color: #fff !important;
  background-color: #050645 !important;
  border-color: #050645 !important;
}

.page-link {
    color: #050645 !important;
}




#tour-carousel {
  position: relative;
}

#tour-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

#tour-carousel .owl-nav .owl-prev, #tour-carousel .owl-nav .owl-next {
background: #ffbf00 !important;
    color: #05084b;
/*    font-size: 30px;
    font-weight: bold;*/
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    transition: 0.3s;
}

#tour-carousel .owl-nav .owl-prev:hover, #tour-carousel .owl-nav .owl-next:hover {
  background: #05084b !important;
  border-radius: 50%;
  color: #fff;
}

#tour-carousel .owl-prev {
  left: -50px;  /* ขยับซ้าย */
}

#tour-carousel .owl-next {
  right: -50px; /* ขยับขวา */
}

#tour-carousel .item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;  /* ป้องกันบิดเบี้ยว */
}

.tour-grid .item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tour-grid .owl-nav .owl-prev, .tour-grid .owl-nav .owl-next {
background: #ffbf00 !important;
    color: #05084b !important;
    font-size: 30px;
    font-weight: bold;
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    transition: 0.3s;
}

.tour-grid .owl-nav .owl-prev:hover, .tour-grid .owl-nav .owl-next:hover {
  background: #05084b !important;
  border-radius: 50%;
  color: #fff !important;
}


/* ครอบ content ด้านใน .item */
.tour-grid .item > .col-12 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* image ขยายเต็ม width */
.tour-grid .item img {
    object-fit: cover;
    height: auto;
}

.hv{
    transition: all 0.3s ease-out;
}



.country-carousel .owl-nav .owl-prev, .country-carousel .owl-nav .owl-next {
background: #ffbf00 !important;
    color: #05084b !important;
    font-size: 30px;
    font-weight: bold;
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    transition: 0.3s;
}

.country-carousel .owl-nav .owl-prev:hover, .country-carousel .owl-nav .owl-next:hover {
  background: #05084b !important;
  border-radius: 50%;
  color: #fff !important;
}



.hv:hover{
    margin-top: -5px;
    transform: translateY(-2px);
    transition: all 0.3s ease-out;
}



.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%; 
  left: 0;
  right: 0;
  z-index: 1050; 
}*/

.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, #050645 0%, #FFFFFF 100%);
    color: #ffffff;
 }

 .accordion-button:hover {
    background-image: linear-gradient(90deg, #050645 0%, #FFFFFF 100%);
    color: #ffffff;
 }

 .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background:#050645;
    color: #fff !important;
    border: none;
    border-radius: 0;
}

 .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link:hover {
    background:#050645;
    color: #fff !important;
    border: none;
    border-radius: 0;
}

 .nav-tabs .nav-link {
    background: #fff;
    color: #050645 !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;
 }

.img-200 img {
  height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.search-wrapper {
            max-width: 600px;
            margin: 20px auto;
        }
        
        .search-box {
            position: relative;
            box-shadow: 0 2px 15px rgba(0,0,0,0.05);
            border-radius: 50px;
            transition: all 0.3s ease;

        }
        
        .search-box:focus-within {
            box-shadow: 0 3px 20px rgba(0,0,0,0.1);
            transform: translateY(-2px);
        }
        
        .search-input {
            border-radius: 50px;
            padding-left: 20px;
            padding-right: 20px;
            border: 2px solid transparent;
            transition: all 0.3s ease;
            height: 50px;
            border-color: #070449;
            font-size: 18px;
            font-weight: 800;
        }
        
        .search-input:focus {
            border-color: #0d6efd;
            box-shadow: none;
        }
        
        .search-icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #6c757d;
            z-index: 10;
        }
        
        .search-button {
            position: absolute;
            right: 5px;
            top: 50%;
            transform: translateY(-50%);
            border-radius: 50px;
            padding: 8px 20px;
            transition: all 0.3s ease;
            background: #070449;
            color: #fff;
        }
        
        .search-button:hover {
            background-color: #000;
            color: #fff;
            transform: translateY(-50%) scale(1.05);
        }

        /* Dark theme search box */
        .search-box.dark {
            background-color: #212529;
        }
        
        .search-box.dark .search-input {
            background-color: #212529;
            color: #fff;
        }
        
        .search-box.dark .search-input::placeholder {
            color: #6c757d;
        }
        
        .search-box.dark .search-icon {
            color: #6c757d;
        }


@media only screen and (max-width: 1024px) {
.bannertour{
	width: 100%;
}
.boxtriptxtright{
    position: relative;
    top: 0;
    right: 0;
    margin-bottom: 10px;
}
}

@media only screen and (max-width: 992px) {
.rounded-menu{
    border-bottom-left-radius: 0rem !important;
    border-top-left-radius: 0rem !important;
}
.sldisprice{
    font-size: 25px;
    line-height:25px;
    text-decoration: line-through;
}

.slprice{
    font-size: 50px;
    line-height:50px;
}

#tour-carousel .owl-prev {
  left: -10px;  /* ขยับซ้าย */
}

#tour-carousel .owl-next {
  right: -10px; /* ขยับขวา */
}

.txtdate{
    font-size: 14px;
}

.fsbtn{
    font-size: 20px;
}

}

@media (min-width: 768px) { /* md */
  .flex-md-auto { flex: 0 0 auto; }
}



@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;
}
}