/** @format */

@import "./layouts.css";
@import "./responsive_layout.css";
@import "./styles/components.css";
@import "./styles/breakpoint.css";

@font-face {
  font-family: Bubble;
  src: url(./asset/NotoSansTha.ttf);
}

* {
  font-family: "Bubble", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.navbar {
  z-index: 100;
}
.vertical-line {
  border-left: 1px solid #edebeb;
  height: 50px;
  margin: 0 25px;
}
.btn.btn-default {
  width: 123px;
  height: 40px;
  border-radius: 99px;
  border: 1px solid #213472 !important;
  color: white !important;
  background-color: #213472;
}
.btn.btn-login {
  width: 150px;
  height: 40px;
  border-radius: 99px;
  border: 1px solid #213472 !important;
  color: white !important;
  background-color: #213472;
}
.btn.btn-default, .btn.btn-login:hover {
  background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.2) 100%
    ),
    var(--Primary, #213472);
  color: white !important;
}
.btn.btn-class {
  width: max-content;
  min-height: 40px;
  max-height: max-content;
  border-radius: 99px;
  border: 1px solid #213472 !important;
  color: #213472 !important;
  background-color: white;
  white-space: nowrap;
}
.btn.btn-class-2 {
  padding: 8px 24px 8px 8px !important;
  appearance: none;
  /* background-image: url("./asset/icons/slide/select.svg"); */
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 24px 24px;
  min-width: 200px;
  width: auto;
  height: 40px;
  border-radius: 99px;
  border: 1px solid #213472 !important;
  color: #213472 !important;
  background-color: white;
}
.btn.btn-class:hover {
  border-radius: 99px;
  border: 1px solid var(--Primary, #213472);
  background: linear-gradient(
      0deg,
      rgba(33, 52, 114, 0.24) 0%,
      rgba(33, 52, 114, 0.24) 100%
    ),
    #fff;
}

.select-icons {
  margin-top: 10px;
  right: 10px;
  /* margin-left: 234px; */
}

.btn.btn-class-2:hover {
  border-radius: 99px;
  border: 1px solid var(--Primary, #213472);
  background: linear-gradient(
      0deg,
      rgba(33, 52, 114, 0.24) 0%,
      rgba(33, 52, 114, 0.24) 100%
    ),
    #fff;
}

.btn.btn-class.active {
  background-color: var(--Primary, #213472);
  color: white !important;
}

.btn-class.active {
  background-color: green;
  color: white !important;
}

.hover-effect:hover circle {
  stroke: #213472;
  fill: url(#gradient1); /* ใช้ gradient ที่กำหนดใน <defs> */
}

.hover-effect:hover path {
  fill: #141414;
}

.section-banner-container {
  background-image: url(./asset/icons/baner/bg.jpg);
}
.bg-bg-cover {
  /* height: 659px; */
  width: 100%;
  object-fit: cover;
  object-position: 75% 50%;
}
.img-bg-cover {
  top: 0;
  right: 0;

  position: absolute;
}

.poniter {
  cursor: pointer;
}

.hero {
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
}
.banner-description {
  position: absolute;
  top: 50%;
  left: 3rem;
  transform: translate(0%, -50%);
}

.wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  /* padding: 20px ; */
  /* background-color: red; */
}

.carousel {
  padding: 5px;
  display: flex;
  scroll-behavior: smooth;
  overflow-x: hidden;
  gap: 24px;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel :where(.card-container, .img) {
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel.dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.carousel.no-transition {
  scroll-behavior: auto;
}

.carousel.dragging .card-container {
  cursor: grab;
  user-select: none;
}
.wrapper .carousel1 {
  padding: 5px;
  display: flex;
  scroll-behavior: smooth;
  overflow-x: hidden;
  gap: 24px;
}

.carousel1::-webkit-scrollbar {
  display: none;
}

.carousel1 :where(.card-container, .img) {
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel1.dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.carousel1.no-transition {
  scroll-behavior: auto;
}

.carousel1.dragging .card-container {
  cursor: grab;
  user-select: none;
}

.wrapper .carousel3 {
  padding: 5px;
  display: flex;
  scroll-behavior: smooth;
  overflow-x: hidden;
  gap: 24px;
}

.carousel3::-webkit-scrollbar {
  display: none;
}

.carousel3 :where(.card-container, .img) {
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel3.dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.carousel3.no-transition {
  scroll-behavior: auto;
}

.carousel3.dragging .card-container {
  cursor: grab;
  user-select: none;
}

.wrapper .carousel5 {
  padding: 5px;
  display: flex;
  scroll-behavior: smooth;
  overflow-x: hidden;
  gap: 24px;
}

.carousel5::-webkit-scrollbar {
  display: none;
}

.carousel5 :where(.card-container, .img) {
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel5.dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.carousel5.no-transition {
  scroll-behavior: auto;
}

.carousel5.dragging .card-container {
  cursor: grab;
  user-select: none;
}

.wrapper4 {
  margin-top: 32px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel4 {
  display: flex;
  overflow: hidden;
}

.carousel4 {
  display: flex;
  overflow: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

.wrapper-tablet {
  margin-top: 32px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-tablet {
  display: flex;
  overflow: hidden;
}

.carousel-tablet {
  display: flex;
  overflow: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

.slide-data-test {
  min-width: max-content;
  transition: transform 1s ease;
}

.slide-data {
  min-width: 100%;
  transition: transform 1s ease; /* เพิ่ม transition ให้การเลื่อนนุ่มนวลขึ้น */
}

.carousel-indicators-desktop,
.carousel-indicators-mobile {
  display: flex;
  justify-content: center;
}

.carousel-indicators-desktop button,
.carousel-indicators-mobile button {
  background-color: #213472;
  border: none;
  border-radius: 20%;
  height: 5px;
  width: 30px;
  margin: 0 5px;
  cursor: pointer;
  opacity: 0.5;
}

.carousel-indicators-desktop button.active,
.carousel-indicators-mobile button.active {
  opacity: 1;
}

.carousel-indicators-desktops button:focus,
.carousel-indicators-mobile button:focus {
  outline: none;
}

.card-container {
  min-width: 304px;
  width: 304px;
  /* height: 364px; */
  min-height: 364px;
  /* height: max-content; */
  background-color: #fff;
  /* height: 100%; */
  /* min-height: 405px; */
  background: #fff;
  border-radius: 8px;
  display: block;
  list-style: none;
  cursor: pointer;
  scroll-snap-align: start;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.08);
  /* border: 1px solid wheat; */
}
.card-container-set-min-hight {
  height: 364px;
  /* min-height: 405px; */
}

.card-header-image {
  height: auto;
  width: 100%;
  /* border-radius: 8px 8px; */
  /* padding: 4px 4px; */

  img {
    width: 100%;
    object-fit: cover;
  }
}

.card-container:hover {
  border-radius: 4px;
  background: #fff;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.16);
}

.card-container img.card-cover {
  width: 100%;
  min-height: 171px;
  max-height: 171px;
  /* object-fit: cover; */
}

.card-detail {
  padding: 1rem;
  flex-direction: column;
  justify-content: space-between;
  height: 142px;

  margin-top: 4px;
  margin-bottom: 4px;
}

/* .card-detail p,
.card-detail h3 {
  padding-bottom: 4px;
} */

.card-text {
  height: 120px;
  max-height: 120px;
}

.card-detail p,
.card-text p {
  font-weight: 400;
  font-size: 14px;
  margin: 0px;
  color: #ffa400;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-bottom: 4px;
}

.card-detail h3,
.card-text h3 {
  font-weight: 700;
  font-size: 18px;
  margin: 0px;
  text-align: left;
  color: #141414;
  height: auto;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 1.2; /* Ensure this matches your design */
  max-height: 4.3em; /* 3 lines * line-height (1.2) */
  word-wrap: break-word; /* Ensure words break within the container */
}

.under-line {
  width: 100%;
  height: 1px;
  background-color: #ccc;
  margin-top: 20px;
}

.under-line-four-card {
  width: 100%;
  height: 1px;
  background-color: #ccc;
  margin-top: 32px;
}

.under-line-topic {
  width: 10%;
  height: 1px;
  background-color: #ccc;
  margin-top: 63px;
}

.under-line-page-all-search {
  width: 100%;
  height: 1px;
  background-color: #ccc;
  margin-top: 20px;
}

.footer-detail {
  background-color: #f7f9fe;
}

.card-footer {
  padding: 0 16px;
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  background-color: none;
}

.card-footer-foure-card {
  padding: 0 16px;
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  margin-top: 16px;
}

.footer-h3 {
  font-size: 28px;
  color: #213472;
}

.section-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  margin: inherit;
}
@media screen and (max-width: 1800px) {
  .section-banner-content {
    top: -34px;
  }
}
@media screen and (max-width: 1600px) {
  .section-banner-content {
    top: -47px;
  }
}
@media screen and (max-width: 1500px) {
  .section-banner-content {
    top: -57px;
  }
}

.section-banner-content1 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-box {
  width: 466px;
  height: 56px;
  margin-top: 24px;
  /* max-width: 466px;
  max-height: 56px; */
}

.search-box-page {
  width: 466px;
  height: 56px;
  margin-top: 24px;
  /* max-width: 466px;
  max-height: 56px; */
}

.section-banner-content-Tablet {
  top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* transform: translate(-0%, -50%); */
}

.title-banner {
  color: #fff;
  margin-bottom: 16px;
  width: 876px;
}

.title-banner h1 {
  font-size: 50px;
  font-weight: 600;
  padding: 0;
  margin: 0;
  /* letter-spacing: 3px; */
}

.sub-banner {
  /* color: rgba(20, 20, 20, 0.6); */
  margin-bottom: 24px;
  color: #fff;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.sub-banner p {
  padding: 0;
  margin: 0;
  font-size: 24px;
}

.input-group {
  min-width: 55px;
}

.footer-container {
  background-color: #213472;
  color: white;
  font-size: 15px;
}
.color-link {
  color: #ffa400;
}

.color-white {
  color: white !important;
}

.footer-container .bottom {
  background-color: #ffa400;
  color: white;
}

.bg-card {
  background-color: #fafafa;
  width: 1289px;
  height: 80vh;
}

.flex-item {
  flex: 1 0 20%;
  max-width: 20%;
  padding: 10px;
}

.padding-custome {
  padding: 0 !important;
}

.px-custom {
  padding-left: 40px !important;
  /* padding-right: 188px !important; */
}

.search-icon-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-icon.close {
  width: 26px;
  height: 26px;
  line-height: 0;
  font-weight: 500;
  background-color: #17171766;
  color: #fff;
  border: none;
}
.search-icon.v-line {
  width: 1px;
  height: 36px;
  background-color: #17171766;
}

.search-icon.v-line-search-all-page {
  width: 1px;
  height: 25px;
  margin-top: 8px;
  right: 38px;
  /* margin-left: 232px; */
  background-color: rgba(0, 0, 0, 0.1);
}
.search-icon-right {
  right: 144px;
}

.password-icon-right {
  right: 20px;
}

.input-login-custome {
  margin-top: 37px;
  z-index: 10;
  transform: translateY(-50%);
}

.search-custome {
  margin-top: 28px;
  z-index: 10;
  transform: translateY(-50%);
}

.search-custome-right {
  right: 10px;
}
.search-custome-left {
  left: 10px;
}

.responsive-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 0px !important;
}

.no-border-radious {
  border-radius: 0px !important;
}

.close-suctome {
  position: absolute;
  top: -155px;
  right: 10px;
  z-index: 1050;
}

.close--guide-suctome {
  position: absolute;
  top: -115px;
  right: 10px;
  z-index: 1050;
}

.modal-content {
  border-radius: 8px !important;
}

.modal-content .b-radius,
img {
  border-radius: 7px 7px 0px 0px;
}

.b-radius-none {
  border-radius: 0px !important;
}

.rounded-bottom {
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
}

#status-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  background: none;
}
/* ป้องกัน select จากการถูกแสดงซ้อนกัน */
.select-container {
  position: relative;
}

.hide-icon-clear {
  display: none;
}
.hide-icon-clear-tablet {
  display: none;
}

.hide-icon-clear-mobile {
  display: none;
}

.modal-header {
  padding: 0 !important;
  position: relative;
  border: none !important;
}

.modal-body-guide,
.modal-footer {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-left: 0px;
  margin-right: 0px;
}

.modal-body-guide h3 {
  color: var(--Dark-Text, #141414);
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.border-input {
  border: 1px solid rgba(20, 20, 20, 0.1);
  padding: 12px 20px;
  margin: 8px 0;
  outline: none;
}

.border-input:focus {
  border: 1px solid var(--Primary, #213472);
}

.error-message {
  display: none;
  color: rgba(255, 0, 0, 0.8);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-top: -20px;
}

.error {
  border: 1px solid red !important;
}

.dropbtn {
  background-color: orange;
  padding: 10px;
  font-size: 20px;
  cursor: pointer;
}
.dropdown {
  position: relative;
  display: inline-block;
  margin-left: 10px; /* เพิ่มระยะห่างจาก navbar item อื่นๆ */
}
.dropText {
  display: none;
  position: absolute;
  background-color: skyblue;
  min-width: 120px;
  z-index: 1;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); /* เพิ่มเงาให้กับ dropdown */
  border-radius: 5px; /* ทำมุมขอบโค้ง */
  padding: 10px; /* เพิ่ม padding เพื่อให้ข้อความดูสวยงาม */
}
.dropText a {
  color: black;
  padding: 10px;
  text-decoration: none;
  display: block;
}
.dropText a img {
  margin-right: 10px; /* ระยะห่างระหว่างไอคอนและข้อความ */
}
.dropText a:hover {
  background-color: blue;
  color: white;
}
.dropdown:hover .dropText {
  display: block;
}
.box-width-bottom {
  padding-top: 80px;
  padding-bottom: 80px;
  /* padding-left: 75px;
  padding-right: 75px; */
}
.height-box {
  height: 208px !important;
  max-height: 208px !important;
}

.search-area {
  margin-top: 80px;
  margin-bottom: 80px;
}
.card-container img.card-cover-tablet {
  width: 100%;
  min-height: 171px !important;
  max-height: 171px !important;
  /* object-fit: cover; */
}

.card-container img.card-cover {
  object-fit: fill;
  width: 100%;
  min-height: 171px !important;
  max-height: 171px !important;
}

.padding-right-input-search {
  padding-right: 188px;
}

/* .modal-content .b-radius .bg-guide-mobile {
  display: block;
} */

/* .margin-top-tablet {
  margin: 0  auto;
} */

@media screen and (max-width: 1366px) {
  .search-box {
    max-width: 466px;
    width: 100%;
  }
  .search-box-page {
    max-width: 466px;
    width: 100%;
  }

  .card-container-set-min-width {
    min-width: 260px;
    width: 260px;
    height: 364px;
    min-height: 364px;
    /* height: max-content; */
    background-color: #fff;
    /* height: 100%; */
    /* min-height: 405px; */
    background: #fff;
    border-radius: 8px;
    display: block;
    list-style: none;
    cursor: pointer;
    scroll-snap-align: start;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.08);
    /* border: 1px solid wheat; */
  }
}

@media screen and (max-width: 1180px) {
  .search-box {
    width: 100%;
  }
  .search-box-page {
    width: 150%;
  }
}

@media screen and (max-width: 1024px) {
  .container-fluid.d-flex.align-items-center.justify-content-center {
    margin-top: -110px !important;
  }

  .search-box-page {
    max-width: 560px;
    width: 200%;
  }
  .search-box {
    max-width: 100%;
  }

  .card-container img.card-cover-tablet {
    width: 100%;
    min-height: 138.375px !important;
    max-height: 138.375px !important;
    /* object-fit: cover; */
  }

  .select-icons {
    margin-top: 10px;
    left: 255px;
    /* margin-left: 234px; */
  }

  .search-icon.v-line-search-all-page {
    width: 1px;
    height: 25px;
    margin-top: 8px;
    left: 250px;
    /* margin-left: 232px; */
    background-color: rgba(0, 0, 0, 0.1);
  }

  .btn.btn-class-2 {
    padding: 8px 24px 8px 8px !important;
    appearance: none;
    /* background-image: url("./asset/icons/slide/select.svg"); */
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 24px 24px;
    min-width: 200px;
    width: auto;
    height: 40px;
    border-radius: 99px;
    border: 1px solid #213472 !important;
    color: #213472 !important;
    background-color: white;
  }

  .vertical-line {
    display: none;
  }

  .section-banner-content-Tablet {
    position: static !important;
  }

  .title-banner-tablet-vertical {
    color: var(--Dark-Text, #141414);
  }
  .sub-banner-tablet-vertical {
    color: var(--Dark-Text, #141414);
  }
}

@media (max-width: 900px) {
  .card-container {
    width: 100%;
    min-width: 304px;
    min-height: 171px;
    margin-left: 0;
  }

  .card-container-set-min-hight {
    width: 246px !important;
    min-width: 246px !important;
    height: 331px !important;
    min-height: 331px !important;
  }

  .search-box {
    width: 100%;
  }

  /* .search-area {
    padding-top: 80px;
    margin-bottom: 80px;
  } */

  .under-line-page-all-search {
    width: 100%;
    height: 1px;
    background-color: #ccc;
    margin-top: 20px;
  }

  /* .card-container img.card-cover {
    width: 100%;
    min-height: 171px !important;
    max-height: 171px !important;
    object-fit: cover;
  } */
  .card-container img.card-cover-tablet {
    width: 100%;
    min-height: 138.375px !important;
    max-height: 138.375px !important;
    /* object-fit: cover; */
  }

  .container-tablet {
    max-width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .under-data {
    margin-top: 80px;
  }

  .close--guide-suctome {
    position: absolute;
    top: -73px;
    right: 10px;
    z-index: 1050;
  }
  .button-guide-dowload {
    margin-top: 0px !important;
  }

  .btn.btn-class {
    max-width: max-content;
  }

  .padding-custome {
    padding: 0 !important;
  }

  /* ---------------------- navbar---------------------- */
  .carousel-indicators-desktop {
    margin-top: 32px;
  }

  .navbar-collapse {
    max-height: none;
    overflow-y: visible;
  }

  .navbar-nav-scroll {
    overflow: visible !important;
  }

  /* ปรับแต่ง layout ของ menu items */
  .navbar-nav .nav-item {
    margin-bottom: 32px;
  }

  .navbar-nav .nav-item:last-child {
    margin-bottom: 0;
  }

  .navbar-nav .nav-item a,
  .navbar-nav .nav-item select {
    padding-left: 0;
  }

  /* ขยาย card ให้เต็มหน้าจอ */
  .navbar-collapse {
    position: fixed;
    width: 100%;
    height: fit-content;
    top: 63px;
    left: 0;
    background-color: #fff;
    /* border: red solid 1px; */
    padding: 32px 24px;
    z-index: 1000;
    box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.16);
  }

  /* จัดการกับ dropdown ถ้ามี */
  .navbar-nav .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    box-shadow: none;
  }

  .vertical-line {
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 0px;
    margin-left: 1px;
    margin-bottom: 32px;
  }

  /* .card-tablet {
    width: 50% !important;
  } */

  /* .wrapper .carousel {ddddddddd
    grid-auto-columns: calc((100% / 2) - 9px);
  }
  .wrapper .carousel1 {
    grid-auto-columns: calc((100% / 2) - 9px);
  }
  .wrapper .carousel3 {
    grid-auto-columns: calc((100% / 2) - 9px);
  }
  .wrapper5 .carousel5 {
    grid-auto-columns: calc((100% / 2) - 9px);
  } */
}

@media screen and (max-width: 767px) {
  .card-footers {
    padding: 16px !important;
    display: flex;
    gap: 16px;
    /* margin-bottom: 16px; */
    background-color: none;
  }
  .card-container {
    width: 100%;
    /* min-width: unset; */
    margin-left: 0;
  }

  .under-data {
    margin-top: 100px;
  }

  .btn.btn-class {
    width: 78%;
    max-width: max-content;
  }
  .under-data {
    margin-top: 80px;
  }

  .card-img-top {
    height: 200px;
    min-height: 200px;
  }
}

@media screen and (max-width: 600px) {
  .card-footers {
    padding: 16px !important;
    display: flex;
    gap: 16px;
    /* margin-bottom: 16px; */
    background-color: none;
  }
  .wrapper .carousel {
    grid-auto-columns: 100%;
  }
  .wrapper .carousel1 {
    grid-auto-columns: 100%;
  }
  .wrapper .carousel3 {
    grid-auto-columns: 100%;
  }
  .wrapper .carousel5 {
    grid-auto-columns: 100%;
  }

  .under-data {
    margin-top: 100px;
  }

  .flex-item {
    flex: 1 0 50%;
    max-width: 50%;
  }

  .close-suctome {
    position: absolute;
    top: -155px;
    right: 10px;
    z-index: 1050;
  }
}

/* ----------------------- Mobile แนวตั้ง ------------------------- */

@media screen and (max-width: 575px) {
  .container-fluid.d-flex.align-items-center.justify-content-center {
    margin-top: -10px !important;
  }
  .margin-hero {
    margin-top: 23px !important;
    padding-left: 16px;
  }
  .search-box {
    width: 100%;
    height: 53px;
    margin-top: 24px;
    /* max-width: 466px;
    max-height: 56px; */
  }

  .card-container {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    height: 334px;
  }

  .card-container .orther-skill {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    height: 334px;
  }

  .container-tablet {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .col-6 {
    padding-left: 8px;
    padding-right: 8px;
  }

  .card-container img.card-cover {
    width: 100%;
    max-width: 250px;
    min-height: 140.625px !important;
    max-height: 140.625px !important;
  }

  .card-detail h3,
  .card-text h3 {
    color: var(--Dark-Text, #141414);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    -webkit-line-clamp: 2;
  }

  .slide-control svg {
    display: none !important;
  }

  .btn.btn-class {
    width: max-content;
  }

  .card-footers {
    padding: 16px !important;
    display: flex;
    gap: 16px;
    /* margin-bottom: 16px; */
    background-color: none;
  }

  .close-suctome {
    position: absolute;
    top: -115px;
    right: 10px;
    z-index: 1050;
  }
  .close--guide-suctome {
    position: absolute;
    top: -125px;
    right: 10px;
    z-index: 1050;
  }

  .modal-guide-mobile {
    width: 342px !important;
    height: 509.73px !important;
  }

  .video-guide {
    width: 310.001px !important;
    height: 174.788px !important;
    flex-shrink: 0 !important;
  }

  .title-guide {
    padding: 0;
    margin: 0;
    margin-left: 0px !important;
  }

  .margin-search {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .search-area {
    /* margin-top: 32px !important; */
    margin-top: -25px !important;
    margin-bottom: 32px !important;
  }

  .search-box-page {
    /* max-width: 560px; */
    width: 100%;
  }

  .text-guide-mobile {
    font-size: 16px !important;
    margin: 0 !important;
    padding-left: 4px;
  }

  .button-guide-dowload {
    margin-top: 10px !important;
    margin-right: -10px;
  }

  .button-login {
    margin-right: 0px;
  }
  .card-container img.card-cover-tablet {
    width: 100%;
    min-height: 93.938px !important;
    max-height: 93.938px !important;
    object-fit: cover;
  }

  .card-detail {
    padding: 1rem;
    flex-direction: column;
    justify-content: space-between;
    height: 112px;
    margin-top: 4px;
    margin-bottom: 4px;
    padding-bottom: 40px;
  }

  .padding-custome {
    margin-left: -8px;
    margin-right: -8px;
  }

  .card-mobile-shadow:hover {
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.08) !important;
  }

  .vertical-line {
    display: none;
  }

  .card-img-top {
    height: 93.938px;
    max-height: 93.938px;
    min-height: 93.938px;
    object-fit: cover;
  }

  .fixed-scroll {
    /* overflow-x: auto; */
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* สำหรับ Firefox */
    -ms-overflow-style: none; /* สำหรับ Internet Explorer และ Edge */
  }

  .fixed-scroll::-webkit-scrollbar {
    display: none; /* สำหรับ Chrome, Safari, และ Opera */
  }

  .fixed-scroll .d-flex {
    display: inline-flex !important;
    flex-wrap: nowrap;
  }

  .fixed-scroll .btn-class {
    flex-shrink: 0;
  }

  .navbar-collapse {
    top: 79px;
  }
}

.menu-lang .dropdown-menu {
  width: 124px;
  min-width: 124px;
}
