/* Font */
@import url("https://fonts.googleapis.com/css2?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: Baskerville;
  src: url("assets/img/ff/Baskerville.ttc");
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

body {
  font-family: "Prompt", sans-serif ;
  /* font-family: "Kanit", sans-serif; */
  background-color: #F4F4F4 !important;
}

a {
  color: #555555;
  text-decoration: none;
  font-family: "Baskerville";
}

a:hover {
  color: #F18D79;
  text-decoration: none;

}
.hov-color:hover {
  color: #F18D79;
  text-decoration: none;
  border:1px solid #F18D79;
}
.typing-line.text-ita.a{
  font-size: 145px !important;
  opacity: 1;
  position: relative;
  bottom: 10%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  /* font-family: 'Prompt', sans-serif !important; */
  font-family: "Kanit", sans-serif;
  font-weight: 400;
}
h4 {
  font-weight: 300;
}
hr {
  background-color: #000;
  border-top: 1px solid rgb(80, 80, 80);
}
p {
  /* font-family: 'Prompt', sans-serif !important; */
  font-family: "Kanit", sans-serif;
  /* font-weight: 300 !important; */
}

.kanit-thin {
  font-family: "Kanit", sans-serif;
}

.navbar-mobile #logo-img{
  display: none;
}
.mar-mor {
  margin-left: 49px;
}
.edit-pad-mor {
  margin-left: 110px;
}
.col-7th {
  width: 14.2857%; /* 100% / 7 */
}
.drop-down-product {
  max-height: 500px; /* กำหนดความสูงสูงสุด */
  overflow: hidden; /* ซ่อนข้อมูลที่เกิน */
  overflow-y: auto; /* เพิ่มแถบเลื่อนถ้ามีข้อมูลเกิน */
}
header.hidden {
  transform: translateY(-100%);
}
#hideMenu.hidden {
  transform: translateY(-100%);
}
.size-pic-detail{
  width: 50%;
}
.new-pad {
  margin: 31px 0;
}
.video-container-mb {
  position: absolute;
    top: -7%;
    left: 0%;
    width: 98%;
    height: 100%;
    overflow: hidden;
    border-radius: 50%;
    z-index: -1;
}

.pad-de-pic{
  margin: 20% 0;
}
.mb-logo{
  width: 71%;
    /* height: 100%; */
    object-fit: cover;
}
.name-article-home{
  font-size: 27px;
    margin-top: 24px;
    color:#F18D79 ;
    /* font-family: "Baskerville"; */
    border-bottom: 2px solid;
}
.name-article-home.unborder{
  font-size: 21px;
    margin-top: 24px;
    font-weight: 300;
}
.padmar-beu{
  margin-top: -63%;
}
.name-article-home{
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
    
}
.name-article-home.unborder{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: black;
  font-weight: 300;
    
}

.text-transparent{
  font-size: 4rem;
  font-weight: 200;
  color: #ffffff;
  font-family: "Baskerville";
  font-style: italic;
}
.text-none-transparent{
  font-size: 4rem;
  font-weight: 900;
  color: #ffffff;
  /* font-weight: 500; */
  font-family: "Baskerville";
  /* font-style: italic; */
}
.text-none-transparent.noneita{
  font-family: "Baskerville";
  font-size: 7rem;
  font-weight: 200;
  color: #ffffff;
}
.padmar-ar{
  padding: 4% 0 ;
    margin-top: -3%;
    background: white;
}
.pos-text-effect{
  position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
}
.slide-container.mar-ef{
  padding-left: 50px;
  justify-content: center;
}
.bi-arrow-right,.bi-arrow-left{
  font-size: 40px;
  color: #F18D79;
}
.video-con{
  position: relative;
  height: 64vh;
}
.text-thin-video{
  font-size: 26px;
    color: white;
}
.text-video-in{
  font-size: 48px;
    color: white;
    padding: 20px 0;
}
.font-big{
  font-size: 103px;
  line-height: 1;
  font-family: "Baskerville";
}
.pos-button-bn-video {
  position: absolute;
  top: 79%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* transition: all 0.3s ease-in-out; */
}
/* .pos-button-bn-video:hover {
  transform: translateX(-30%);
  transition: all 0.3s ease-in-out;
} */
.pos-text-video {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}
.pad-article-home{
  padding: 20px 100px 20px;
}
.contact-foot-head{
  font-size: 30px;
  font-family: "Baskerville";
}
.contact-foot-detail{
  font-size: 20px;
  font-weight: 300;
  font-family: prompt;
}

.animate-ko {
  position: relative;
  bottom: 562px;
  left: 322px;
  z-index: 100;
}
 /* ตั้งค่าพื้นฐานสำหรับรูปภาพ */
 .rotate-and-disappear {
  animation: rotateDisappear 6s ease-in-out forwards;
}
.img-scale:hover{
transform: translateY(-5px);
transition: all 0.5s ease-in-out;
}
.img-scale{
transition: all 0.5s ease-in-out;
}
/* การกำหนดอนิเมชั่น */
@keyframes rotateDisappear {
  0% {
      transform: rotate(0deg) scale(1);
      opacity: 1;
  }
  50% {
      transform: rotate(180deg) scale(0.8);
      opacity: 0.8;
  }
  100% {
      transform: rotate(360deg) scale(0);
      opacity: 0;
  }
}
.text-reflex{
  font-size: 350px;
    -webkit-box-reflect: below 1px linear-gradient(transparentม #005);
    line-height: 0.8;
    background: white;
    background-clip: text;
    color: transparent;
    /* -webkit-box-reflect: below -53px linear-gradient(transparent, #0005); */
}
.banner-text{
  position: relative;
  top: 186px;
}
.banner-text-head{
  font-size: 39px;
  color: white;
}
.text-www{
  font-size: 39px;
  color: #FCC326;
  position: relative;
  top:112px;
}
.but-pic-video{
  width: 70%;
}
.blur-img{
  filter: blur(8px);
  -webkit-filter: blur(8px);
}

.frame {
  width: 300px; /* กำหนดความกว้างของกรอบ */
  height: 150px; /* กำหนดความสูงของกรอบ */
  overflow: hidden; /* ซ่อนส่วนที่เกินกรอบ */
  position: relative;
}

.image-container {
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: 0; /* เริ่มต้นจากล่างสุด */
  animation: slideLoopSmoothUp 10s linear infinite; /* ตั้งแอนิเมชัน */
}

.image-container img {
  width: 100%;
  height: auto;
}

@keyframes slideLoopSmoothUp {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-50%);
  }
}

.startw{
   background: #FCC326;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    -webkit-box-shadow: 0px 0px 139px 45px rgba(250, 244, 215, 0.9);
    animation: twinkle 2s infinite ease-in-out alternate; 
    
}
.startw{
   animation: twinkle 2s infinite ease-in-out alternate; 
   -webkit-box-shadow: 0px 0px 139px 45px rgba(250, 244, 215, 0.9);
}
.text-startw{
  font-size: 22px;
    font-weight: 500;
    text-decoration: unset;
    color: black;
}

@keyframes twinkle {
  0% {
      opacity: 0.5;
      transform: scale(0);
  }
  100% {
      opacity: 1;
      transform: scale(5.009);
  }
}
.edit-pad-info{
  padding-bottom: 139px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #f5f0eb;
  background-repeat: no-repeat;
}
.head-pad {
  padding: 0 9% !important;
  box-shadow: 0px 4px 4px -2px rgba(0, 0, 0, 0.2); /* เงาเฉพาะด้านล่าง */
}

/* #preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  background-image: url('../img/bg/2-Banner_0.png');
  background-size: cover;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
  z-index: 100;
} */
 
#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #f5f0eb ;
  border-top-color: #ffffff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}


@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 263px;
  z-index: 996;
  background: #fccd07;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #000000;
  line-height: 0;
}

.back-to-top:hover {
  background: #f7951d4d;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*  */
#button {
  display: inline-block;
  background-color: #ff9800;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
#button::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}
#button:hover {
  cursor: pointer;
  background-color: #333;
}
#button:active {
  background-color: #555;
}
#button.show {
  opacity: 1;
  visibility: visible;
}

/* Styles for the content section */

.content {
  width: 100%;
  margin: 50px auto;
  font-family: "Merriweather", serif;
  font-size: 17px;
  color: #6c767a;
  line-height: 1.9;
}
@media (min-width: 500px) {
  .content {
    /* width: 43%; */
  }
  #button {
    margin: 30px;
  }
}
.content h1 {
  margin-bottom: -10px;
  color: #03a9f4;
  line-height: 1.5;
}
.content h3 {
  font-style: italic;
  color: #96a2a7;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  background: #555555;
  color: #fff;
  height: 40px;
  font-size: 16px;
  font-weight: 600;
  z-index: 996;
  transition: all 0.5s;
}

#topbar.topbar-scrolled {
  top: -40px;
}

#topbar i {
  padding-right: 6px;
  line-height: 0;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #ffffff;
  transition: all 0.5s;
  z-index: 997;
  padding: 20px 0;
  /* top: 40px; */

  /* box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1); */
}
#header.header-scrolled {
  background: rgb(255, 255, 255); /* สีขาวโปร่งใส */
    /* backdrop-filter: blur(10px);  */
    color: #fff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* ขอบด้านล่างเพื่อเพิ่มรายละเอียด */
}
.bg-banner-video {
  margin-top: -43px;
}

@media (max-width: 992px) {
  #header {
    padding: 15px 0;
    /* background-color: rgb(255, 255, 255); */
  }
}

#header.header-scrolled {
  top: 0;
  color: #000 !important;
}

#header .logo {
  font-size: 28px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

#header .logo a {
  color: #555555;
}

/* #header .logo img {
  max-height: 40px;
} */

/**
* Appointment Button
*/
.appointment-btn {
  margin-left: 25px;
  background: #555555;
  color: #fff;
  border-radius: 4px;
  padding: 8px 25px;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 14px;
  display: inline-block;
}
.text-to-line{
  font-size: 17px;
    /* position: absolute; */
    /* bottom: 23%; */
    left: 12%;
    /* transform: translateX(-50%); */
    /* border-bottom: 3px solid black; */
    color: rgb(0, 0, 0);
    background: #ffffff;
    text-decoration: unset;
    padding: 8px 23px;
    border-radius: 50px;
    border: 1px solid black;
    font-weight: 100;
}
.pic-sofa-side{
  width: 110%;
  position: relative;
  /* bottom: -173%; */
  left: -24%;
  transform: translateX(50%);
}

.appointment-btn:hover {
  background: #65c9cd;
  color: #fff;
}

@media (max-width: 768px) {
  .appointment-btn {
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }
}
.pad-article-home-arti{
  padding: 0px 46px;
}
.circle-under-arti{
  font-size: 17px;
    /* background: #ffffff; */
    color: rgb(0, 0, 0);
    display: inline-block;
    /* border-radius: 50px; */
    /* padding: 10px 23px; */
    margin-top: 12px;
    /* border: 1px solid black; */
}
/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus,
.navbar button
{
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding: 10px 6px 10px 30px; */
  font-family: 'Baskerville' !important;
  font-size: 22px;
  color: #ffffff;
  white-space: nowrap;
  transition: 0.3s;
  font-weight: 500 !important;
  /* font-family: 'Cormorant Garamond', serif !important; */
  /* font-family: "Kanit", sans-serif; */
  margin: 9px 41px;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  /* color: #ffbe00 !important; */
  /* border: 1px solid; */
  border-bottom: 1px solid;
}
.navbar li:hover > a {
  text-decoration: none;
  /* color: #ffbe00 !important; */
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 0px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #ffffffde;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  border-radius: 4px;
}
/* test */
.navbar .dropdown ul li:nth-child(even) {
  background: transparent;
}
.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 4px 20px;
  text-transform: none;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
  color: #d7d4d4;
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}
.button-line-made{
  background: #f8f1eb;
    padding: 20px 35px;
    border-radius: 50px;
    font-size: 19px;
    color: black;
    text-decoration: none;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #000000;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}
.new-but-menu {
  position: relative;
  left: 40%;
  width: 50%;
}

.mobile-nav-toggle.bi-x {
  color: #040000;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed !important;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(60, 60, 60, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
  /* display: none; */
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  /* top: 55px; */
  top: 0;
  /* right: 15px; */
  /* bottom: 15px; */
  /* left: 15px; */
  padding: 46px 25px;
  border-radius: 8px;
  background-color: #ffffff;
  overflow-y: auto;
  transition: 0.8s;
  width: 100%;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #000000 !important;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: #fff;
}
.form-check-input:checked {
  background-color: #919191 !important;
  border-color: #8c8d8e !important;
  cursor: pointer;
}
.form-check-input {
  cursor: pointer;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #d1d1d1;
  /* box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25); */
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover > a {
  color: #555555;
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}
.navbar-mobile .cart {
  display: none;
}
.blur-top {
  backdrop-filter: blur(5px);
  position: fixed;
  /* transform: translateX(-50%); */
  width: 100%;
  height: 30%;
  border-radius: 15px;
  top: 0;
  /* box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); */
  transition: 0.5s ease-in-out;
}
.blur-bot {
  backdrop-filter: blur(5px);
  position: fixed;
  transform: translateY(110%);
  width: 100%;
  height: 51%;
  border-radius: 15px;
  top: 0;
  /* box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); */
  transition: 0.5s ease-in-out;
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

#hero {
  width: 100%;
  /* height:73vh; */
  height: 86vh;
  /* background-color: rgba(60, 60, 60, 0.8); */
  overflow: hidden;
  position: relative;
  /* z-index: -1; */
  margin-top: 97px;
}

#hero .carousel,
#hero .carousel-inner,
#hero .carousel-item,
#hero .carousel-item::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

#hero .carousel-item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

#hero .container {
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  padding-top: 30px;
  padding-bottom: 30px;
  margin-bottom: 50px;
  border-top: 4px solid #555555;
}

@media (max-width: 1200px) {
  #hero .container {
    margin-left: 50px;
    margin-right: 50px;
  }
}

#hero h2 {
  color: #2f2f2f;
  margin-bottom: 20px;
  font-size: 36px;
  font-weight: 700;
}

#hero p {
  margin: 0 auto 30px auto;
  color: #555555;
}

#hero .carousel-inner .carousel-item {
  transition-property: opacity;
  background-position: center top;
}

#hero .carousel-inner .carousel-item,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
  opacity: 0;
}

#hero .carousel-inner .active,
#hero .carousel-inner .carousel-item-next.carousel-item-start,
#hero .carousel-inner .carousel-item-prev.carousel-item-end {
  opacity: 1;
  transition: 0.5s;
}

#hero .carousel-inner .carousel-item-next,
#hero .carousel-inner .carousel-item-prev,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
  left: 0;
  transform: translate3d(0, 0, 0);
}

#hero .carousel-control-next-icon,
#hero .carousel-control-prev-icon {
  background: none;
  font-size: 30px;
  line-height: 0;
  width: auto;
  height: auto;
  background: #555555;
  border-radius: 50px;
  transition: 0.3s;
  color: rgba(255, 255, 255, 0.5);
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero .carousel-control-next-icon:hover,
#hero .carousel-control-prev-icon:hover {
  background: #555555;
  color: rgba(255, 255, 255, 0.8);
}

#hero .carousel-indicators li {
  cursor: pointer;
  background: #fff;
  overflow: hidden;
  border: 0;
  width: 12px;
  height: 12px;
  border-radius: 50px;
  opacity: 0.6;
  transition: 0.3s;
}

#hero .carousel-indicators li.active {
  opacity: 1;
  background: #555555;
}

#hero .btn-get-started {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  transition: 0.5s;
  line-height: 1;
  color: #fff;
  background: #555555;
}

#hero .btn-get-started:hover {
  background: #65c9cd;
}

@media (max-width: 992px) {
  #hero {
    height: 50vh;
  }

  #hero .container {
    margin-top: 100px;
  }
}

@media (max-width: 768px) {
  #hero h2 {
    font-size: 28px;
  }
  .swiper-button-next,
  .swiper-button-prev {
    top: 28% !important;
  }
}
@media (max-width: 820px) {
  .swiper-button-next,
  .swiper-button-prev {
    top: 28% !important;
  }
}

@media (max-width: 1920px) {
  .swiper-button-next,
  .swiper-button-prev {
    top: 36% !important;
  }
}
/* @media (max-width: 2560px) {
  .swiper-button-next, .swiper-button-prev{
    top: 40% !important;
  }
} */
@media (min-width: 1024px) {
  #hero .carousel-control-prev,
  #hero .carousel-control-next {
    width: 5%;
  }
}

@media (max-height: 500px) {
  #hero {
    height: 160vh;
  }
}
@media (max-width: 360px) {
  .swiper-button-next,
  .swiper-button-prev {
    top: 45% !important;
  }
}
.button-con{
  font-size: 20px;
    font-weight: 500;
    color: black;
    text-decoration: unset;
    background-color: #FCC326;
    padding: 16px 84px;
    border-radius: 50px;
}
.button-con:hover{
  background-color: #f8c845;
}
.custom-pad{
  position: relative;
  top: 138px;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  /* padding: 60px 0; */
  overflow: hidden;
}
.bn{
  margin-top: 7%;
}

.section-bg {
  background-color: #f7fcfc;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

/* .section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #555555;
  bottom: 0;
  left: calc(50% - 25px);
} */

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  background-color: #ecf8f9;
  min-height: 40px;
  margin-top: 120px;
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 70px;
  }
}

.breadcrumbs h2 {
  font-size: 24px;
  font-weight: 300;
  margin: 0;
}

@media (max-width: 992px) {
  .breadcrumbs h2 {
    margin: 0 0 10px 0;
  }
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #6c757d;
  content: "/";
}

.nav-link:focus{
  font-weight: 600 !important;
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Featured Services
--------------------------------------------------------------*/
.featured-services .icon-box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.12);
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  z-index: 1;
}

.featured-services .icon-box::before {
  content: "";
  position: absolute;
  background: #d9f1f2;
  right: 0;
  left: 0;
  bottom: 0;
  top: 100%;
  transition: all 0.3s;
  z-index: -1;
}

.featured-services .icon-box:hover::before {
  background: #555555;
  top: 0;
  border-radius: 0px;
}

.featured-services .icon {
  margin-bottom: 15px;
}

.featured-services .icon i {
  font-size: 48px;
  line-height: 1;
  color: #555555;
  transition: all 0.3s ease-in-out;
}

.featured-services .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 16px;
}

.featured-services .title a {
  color: #111;
}

.featured-services .description {
  font-size: 15px;
  line-height: 28px;
  margin-bottom: 0;
}

.featured-services .icon-box:hover .title a,
.featured-services .icon-box:hover .description {
  color: #fff;
}

.featured-services .icon-box:hover .icon i {
  color: #fff;
}

/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
  background: #555555;
  color: #fff;
  background-size: cover;
  padding: 60px 0;
}

.cta h3 {
  font-size: 28px;
  font-weight: 700;
}

.cta .cta-btn {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 35px;
  border-radius: 25px;
  transition: 0.5s;
  margin-top: 10px;
  border: 2px solid #fff;
  color: #fff;
}

.cta .cta-btn:hover {
  background: #fff;
  color: #555555;
}

/*--------------------------------------------------------------
# About Us
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 600;
  font-size: 26px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}
.just-hd{
  justify-content: center;
  display: flex;
}
.about .content ul li {
  padding-bottom: 10px;
}

.about .content ul i {
  font-size: 20px;
  padding-right: 4px;
  color: #555555;
}

.about .content p:last-child {
  margin-bottom: 0;
}
.dummy{
  position: absolute;
    top: 19%;
}
.hide{
  display: none;
}
/* สร้างปุ่ม sticky ด้านขวามือ */
.sticky-buttons {
  position: fixed;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.sticky-buttons button {
  padding: 10px 15px;
  cursor: pointer;
  border: none;
  background-color: #FCC326;
  color: black;
  border-radius: 5px;
  font-size: 16px;
}

.sticky-buttons button:hover {
  background-color: #555;
}
/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
  padding-bottom: 30px;
}

.counts .count-box {
  /* box-shadow: -10px -5px 40px 0 rgba(0, 0, 0, 0.1); */
  /* padding: 30px; */
  width: 100%;
}

.counts .count-box i {
  display: block;
  font-size: 30px;
  color: #555555;
  float: left;
}

.counts .count-box span {
  font-size: 42px;
  line-height: 24px;
  display: block;
  font-weight: 700;
  color: #555555;
  margin-left: 50px;
}

.counts .count-box p {
  padding: 30px 0 0 0;
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
}


.counts .count-box a {
  /* font-weight: 600; */
  display: block;
  /* margin-top: 20px; */
  /* color: #7b7b7b; */
  /* font-size: 15px; */
  /* font-family: "Poppins", sans-serif; */
  transition: ease-in-out 0.3s;
  color: #000000 !important;
}

.counts .count-box a:hover {
  color: #000000;
}

/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 5px 0 10px 60px;
}

.features .icon-box i {
  font-size: 48px;
  float: left;
  color: #555555;
}

.features .icon-box p {
  font-size: 15px;
  color: #848484;
  margin-left: 60px;
}

.features .image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 400px;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  margin-bottom: 20px;
  text-align: center;
}

.services .icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 50%;
  transition: 0.5s;
  color: #555555;
  overflow: hidden;
  box-shadow: 0px 0 25px rgba(0, 0, 0, 0.15);
}

.services .icon i {
  font-size: 36px;
  line-height: 0;
}

.services .icon-box:hover .icon {
  box-shadow: 0px 0 25px rgba(63, 187, 192, 0.3);
}

.services .title {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 18px;
  position: relative;
  padding-bottom: 15px;
}

.services .title a {
  color: #444444;
  transition: 0.3s;
}

.services .title a:hover {
  color: #555555;
}

.services .title::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 2px;
  background: #555555;
  bottom: 0;
  left: calc(50% - 25px);
}

.services .description {
  line-height: 24px;
  font-size: 14px;
}
.under-name{
  color: #F18D79;
    font-size: 33px;
    /* padding-bottom: 10px; */
    font-weight: 500;
    font-family: 'Baskerville';
    line-height: 0;
    margin-bottom: 42px;
}
.word{
  text-align: center;
    font-size: 34px !important;
    font-weight: 300 !important;
}
/*--------------------------------------------------------------
# Appointments
--------------------------------------------------------------*/
.appointment .php-email-form {
  width: 100%;
}

.appointment .php-email-form .form-group {
  padding-bottom: 8px;
}

.appointment .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.appointment .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.appointment .php-email-form .error-message br + br {
  margin-top: 25px;
}

.appointment .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  font-size: 24px;
  position: relative;
  height: 190px;
  /* กำหนดความสูงที่เหมาะสม */
}

.marquee {
  display: inline-block;
  position: absolute;
  will-change: transform;
  font-size: 172px;
  color: #f5f0eb;
  /* กำหนดสีของตัวอักษรให้ชัดเจน */
}

.appointment .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.appointment .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.appointment .php-email-form input,
.appointment .php-email-form textarea,
.appointment .php-email-form select {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  padding: 10px !important;
}

.appointment .php-email-form input:focus,
.appointment .php-email-form textarea:focus,
.appointment .php-email-form select:focus {
  border-color: #555555;
}

.appointment .php-email-form input,
.appointment .php-email-form select {
  height: 44px;
}

.appointment .php-email-form textarea {
  padding: 10px 12px;
}

.appointment .php-email-form button[type="submit"] {
  background: #555555;
  border: 0;
  padding: 10px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}

.appointment .php-email-form button[type="submit"]:hover {
  background: #52c2c6;
}

/*--------------------------------------------------------------
# Departments
--------------------------------------------------------------*/
.departments .nav-tabs {
  border: 0;
}

.departments .nav-link {
  border: 0;
  padding: 20px;
  color: #555555;
  border-radius: 0;
  border-left: 5px solid #fff;
  cursor: pointer;
}

.departments .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  transition: 0.3s;
}

.departments .nav-link p {
  font-size: 14px;
  margin-bottom: 0;
}

.departments .nav-link:hover h4 {
  color: #555555;
}

.departments .nav-link.active {
  background: #f7fcfc;
  border-color: #555555;
}

.departments .nav-link.active h4 {
  color: #555555;
}

.departments .tab-pane.active {
  -webkit-animation: slide-down 0.5s ease-out;
  animation: slide-down 0.5s ease-out;
}

.departments .tab-pane img {
  float: left;
  max-width: 300px;
  padding: 0 15px 15px 0;
}

@media (max-width: 768px) {
  .departments .tab-pane img {
    float: none;
    padding: 0 0 15px 0;
    max-width: 100%;
  }
}

.departments .tab-pane h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #555555;
}

.departments .tab-pane p {
  color: #777777;
}

.departments .tab-pane p:last-child {
  margin-bottom: 0;
}
.video-container {
  position: fixed;
  top: 41%;
  left: 31%;
  width: 0px;
  height: 0px;
  overflow: hidden;
  border-radius: 50%;
  transition: width 0.5s ease, height 0.5s ease, top 0.5s ease, left 0.5s ease, border-radius 0.5s ease, transform 1s ease;
  z-index: -1;
}
.flowe {
  display: inline-block;
  position: relative;
}

.video-container-new {
  position: absolute;
  top: 3%;
  left: 9%;
  width: 83%;
  height: 82%;
  overflow: hidden;
  border-radius: 50%;
  z-index: -1;
}




@-webkit-keyframes slide-down {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes slide-down {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: -40px 0 0 40px;
  position: relative;
  z-index: 2;
  /* border: 6px solid #fff; */
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 45px;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0 0 0 45px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #b2e4e6;
  font-size: 26px;
}
.p-detail-our{
  padding: 0 12%;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 0 15px;
  padding: 20px 20px 60px 20px;
  /* background: #f0fafa; */
  position: relative;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  /* position: relative; */
  position: absolute;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #555555;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #555555;
}

/*--------------------------------------------------------------
# Doctors
--------------------------------------------------------------*/
.doctors .member {
  margin-bottom: 20px;
  overflow: hidden;
  text-align: center;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(63, 187, 192, 0.1);
}

.doctors .member .member-img {
  position: relative;
  overflow: hidden;
}

.doctors .member .social {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 40px;
  opacity: 0;
  transition: ease-in-out 0.3s;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.doctors .member .social a {
  transition: color 0.3s;
  color: #555555;
  margin: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.doctors .member .social a i {
  line-height: 0;
}

.doctors .member .social a:hover {
  color: #555555;
}

.doctors .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

.doctors .member .member-info {
  padding: 25px 15px;
}

.doctors .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
  color: #555555;
}

.doctors .member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #aaaaaa;
}

.doctors .member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: #777777;
}

.doctors .member:hover .social {
  opacity: 1;
}

/*--------------------------------------------------------------
# Gallery
--------------------------------------------------------------*/
.gallery {
  overflow: hidden;
}

.gallery .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.gallery .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #555555;
}

.gallery .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #555555;
}

.gallery .swiper-slide-active {
  text-align: center;
}

.services .swiper-slide-active {
  text-align: center;
  transform: scale(1);
}

@media (min-width: 992px) {
  .gallery .swiper-wrapper {
    padding: 40px 0;
  }

  .gallery .swiper-slide-active {
    border: 2px solid #555555;
    padding: 4px;
    background: #fff;
    z-index: 1;
    transform: scale(1.2);
    margin-top: 10px;
  }
}

.vdo-mascos {
  width: 9%;
}
.vdo-text {
  font-size: 44px;
  font-weight: 600;
  margin-bottom: 29px;
}
.botton-to-some {
  border-radius: 46px;
  padding: 20px 52px;
  background-color: #3c9670;
  color: white;
  font-size: 23px;
  text-decoration: none;
}
.botton-to-some:hover {
  color: rgb(0, 0, 0);
  background-color: #fdcd07;
  /* border: 2px solid #FDCD07; */
  /* border-bottom: 2px solid black; */
  box-shadow: 2px 5px 5px #00000085;
}
.card-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-shadow {
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2); /* Blurred shadow */
}
.menu-footer-small {
  font-size: 30px;
  display: flex;
  margin-bottom: 3%;
  text-decoration: none;
  color: white;
}
/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.pricing .box {
  padding: 20px;
  background: #fff;
  text-align: center;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.edit-foot-icon{
  justify-content: end;
  align-items: end;
}
.pricing h3 {
  font-weight: 400;
  margin: -20px -20px 20px -20px;
  padding: 20px 15px;
  font-size: 16px;
  font-weight: 600;
  color: #777777;
  background: #f8f8f8;
}

.pricing h4 {
  font-size: 36px;
  color: #555555;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  margin-bottom: 20px;
}

.pricing h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing h4 span {
  color: #bababa;
  font-size: 16px;
  font-weight: 300;
}

.pricing ul {
  padding: 0;
  list-style: none;
  color: #444444;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.pricing ul li {
  padding-bottom: 16px;
}

.pricing ul i {
  color: #555555;
  font-size: 18px;
  padding-right: 4px;
}

.pricing ul .na {
  color: #ccc;
  text-decoration: line-through;
}

.pricing .btn-wrap {
  margin: 20px -20px -20px -20px;
  padding: 20px 15px;
  background: #f8f8f8;
  text-align: center;
}

.pricing .btn-buy {
  background: #555555;
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 4px;
  color: #fff;
  transition: none;
  font-size: 14px;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  transition: 0.3s;
}

.pricing .btn-buy:hover {
  background: #65c9cd;
}

.pricing .featured h3 {
  color: #fff;
  background: #555555;
}

.pricing .advanced {
  width: 200px;
  position: absolute;
  top: 18px;
  right: -68px;
  transform: rotate(45deg);
  z-index: 1;
  font-size: 14px;
  padding: 1px 0 3px 0;
  background: #555555;
  color: #fff;
}

.search-bar {
  width: 42%;
}

/* Container for big text and small text */
.text-container {
  position: relative;
  display: inline-block;
  font-size: 70px; /* Adjust size of big text */
  overflow: hidden;
  width: 100%;
  /* left: 13%; */
}

.name-article-home.unborder{
border: none !important;
}
/* Big text */
.text-large {
  font-weight: 400;
  color: #a8a8a8;
  line-height: 1.1;
}
.text-large a{
  text-decoration: unset;
  color: #a8a8a8;
  position: relative;
  z-index: 2;
}
.text-large a:hover{
  color: #ffff;
}

/* Small text that will slide out */
.text-small {
  position: absolute;
  top: 33%;
  right: -100%; /* Initially hidden off-screen to the right */
  font-size: 0.5em; /* Adjust size of small text */
  opacity: 0;
  transition: right 0.8s ease, opacity 0.5s ease;
  white-space: nowrap;
}

/* Hover effect */
.text-container:hover .text-small {
right: 10%; /* Slide into view from right to left */
  opacity: 1;
}
/* Small text that will slide out */
.text-small-chat {
  position: absolute;
  top: 33%;
  right: -100%; /* Initially hidden off-screen to the right */
  font-size: 0.5em; /* Adjust size of small text */
  opacity: 0;
  transition: right 0.8s ease, opacity 0.5s ease;
  white-space: nowrap;
}

/* Hover effect */
.text-container:hover .text-small-chat {
right: 14%; /* Slide into view from right to left */
  opacity: 1;
}
/* Small text that will slide out */
.text-small-mail {
  position: absolute;
  top: 33%;
  right: -100%; /* Initially hidden off-screen to the right */
  font-size: 0.5em; /* Adjust size of small text */
  opacity: 0;
  transition: right 0.8s ease, opacity 0.5s ease;
  white-space: nowrap;
}

/* Hover effect */
.text-container:hover .text-small-mail {
right: 16%; /* Slide into view from right to left */
  opacity: 1;
}
/* Small text that will slide out */
.text-small-follow {
  position: absolute;
  top: 33%;
  right: -100%; /* Initially hidden off-screen to the right */
  font-size: 0.5em; /* Adjust size of small text */
  opacity: 0;
  transition: right 0.8s ease, opacity 0.5s ease;
  white-space: nowrap;
}

/* Hover effect */
.text-container:hover .text-small-follow {
right: 25%; /* Slide into view from right to left */
  opacity: 1;
}

.edit-w-logo{
  width: 17vh;
  margin: 23px;
}

/*--------------------------------------------------------------
# Frequently Asked Questioins
--------------------------------------------------------------*/
.faq {
  padding: 60px 0;
}

.faq .faq-list {
  padding: 0;
  list-style: none;
}

.faq .faq-list li {
  border-bottom: 1px solid #d9f1f2;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.faq .faq-list .question {
  display: block;
  position: relative;
  font-family: #555555;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  padding-left: 25px;
  cursor: pointer;
  color: #32969a;
  transition: 0.3s;
}

.faq .faq-list i {
  font-size: 16px;
  position: absolute;
  left: 0;
  top: -2px;
}

.faq .faq-list p {
  margin-bottom: 0;
  padding: 10px 0 0 25px;
}

.faq .faq-list .icon-show {
  display: none;
}

.faq .faq-list .collapsed {
  color: black;
}

.faq .faq-list .collapsed:hover {
  color: #555555;
}

.faq .faq-list .collapsed .icon-show {
  display: inline-block;
  transition: 0.6s;
}

.faq .faq-list .collapsed .icon-close {
  display: none;
  transition: 0.6s;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  color: #444444;
  text-align: center;
  box-shadow: 0 0 20px rgba(214, 215, 216, 0.5);
  padding: 20px 0 30px 0;
}

.contact .info-box i {
  font-size: 32px;
  color: #555555;
  border-radius: 50%;
  padding: 8px;
  border: 2px dotted #c5ebec;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #777777;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form {
  box-shadow: 0 0 20px rgba(214, 215, 216, 0.5);
  padding: 30px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br + br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}
.head-text-about{
  font-size: 45px;
    color: white;
    font-weight: 500;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 4px;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #555555;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type="submit"] {
  background: #555555;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}
.pic-sym{
  width: 19%;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #65c9cd;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #282828;
  padding: 0 0 15px 0;
  color: #fff;
  font-size: 14px;
}

#footer .footer-top {
  background: #282828;
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Roboto", sans-serif;
}
.text-detail-about{
  font-size: 25px;
  font-family: "Prompt", sans-serif ;
}
ul li::marker {
  color: #000000; /* เปลี่ยนสีจุดวงกลมเป็นสีแดง */
}
.content-section.showText .pos-yt{
  animation: fadeInUp 0.5s ease-in-out;
}
.content-section .pos-yt{
  transition: 0.5s ease-in-out;
}
.swiper-button-next, .swiper-button-prev {
  color: #F18D79 !important;
}

@keyframes fadeInUp {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}
.button-show-doctor{
  background: #F18D79;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 50px;
    font-size: 23px;
    font-family: "Prompt", sans-serif ;
}

.text-pos-expert{
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 39px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  text-align: center;
  z-index: 1;
  font-family: "Baskerville";
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #adb5bd;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #adb5bd;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #555555;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #555555;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: #FCC326;
}
.border-policy{
  border-top: 2px solid white;
    padding-top: 20px;
}
#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border: 1px solid #d5d5d5;
  border-radius: 4px;
}

#footer .footer-top .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}

#footer .footer-top .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: -1px;
  right: -1px;
  bottom: -1px;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #555555;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

#footer .footer-top .footer-newsletter form input[type="submit"]:hover {
  background: #65c9cd;
}

#footer .copyright {
  text-align: center;
  padding-top: 11px;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
}
.contact-foot-detail.link{
  text-decoration: unset;
  color: black;
  font-family: prompt;
  font-weight: 500;
}
.contact-foot-detail.nob{
  text-decoration: unset;
  color: black;
  font-family: prompt;
  font-weight: 300;
}
.image-container-zoom {
  overflow: hidden;
  border-radius: 22px;
 
  position: relative;
  margin: auto;
}
.pos-oursolu{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
}

.image-container-zoom img {
  width: 100%;
  height: 100%;
  transition: transform 0.1s ease; /* ทำให้การเปลี่ยนแปลงดูนุ่มนวล */
}

#zoom-section {
  /* height: 100vh; ความสูงเต็มหน้าจอ */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f4f4f4;
  padding-bottom: 8%;
}
.pos-pic-why{
  max-width: 550px;
    overflow: hidden;
    position: absolute;
    top: 0;
}
.pos-pic-why-right{
  max-width: 550px;
    overflow: hidden;
    position: absolute;
    top: 0%;
    right: 0;
}
.pad-oursolu{
  padding: 20%;
}
.mar-forspace{
  margin-top:9%;
}

.head-sub-why{
  font-size: 18px;
  font-weight: 200;
}
.head-first-why{
  font-size: 34px;
    font-weight: 400;
}
.pad-why-new{
  padding: 5% 14%;
    /* border-right: 1px solid white; */
   
    display: flex;
    align-items: center;
}
.pic-beauty-jr-top{
  width: 33%;
}
.pic-beauty-jr{
  width: 20%;
}
/* .book-button-why {
  background: transparent;
  padding: 15px 35px;
  font-size: 16px;
  border-radius: 50px;
  color: #000000;
  text-decoration: unset;
  border: 1px solid #000000;
 
  position: absolute;
  top: 132%;
    left: 50%;
    transform: translate(-50%, -50%);
} */
.book-button-why {
  background: transparent;
  padding: 15px 35px;
  font-size: 16px;
  border-radius: 50px;
  color: #000000;
  text-decoration: unset;
  border: 1px solid #000000;
  /* margin: 0 20px; */
  position: absolute;
  /* top: 132%; */
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 3%;
}
/***********************EFFECT ARTICLES PROMOTION  *******************/
.box14 {
  position: relative;
}
.box15,
.box17,
.box18 {
  box-shadow: 0 0 50px #7e7d7d;
  text-align: center;
}
.box14:before {
  content: "";
  width: 100%;
  height: 100%;
  background: rgba(131, 129, 129, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: all 0.35s ease 0s;
}
.box14:hover:before {
  opacity: 1;
}
.box14 img {
  width: 100%;
  height: auto;
}
.box14 .box-content {
  width: 90%;
  height: 90%;
  position: absolute;
  top: 5%;
  left: 5%;
}
.box14 .box-content:after,
.box14 .box-content:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  transition: all 0.7s ease 0s;
}
.box14 .box-content:before {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  transform: scale(0, 1);
  transform-origin: 0 0 0;
}
.box14 .box-content:after {
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  transform: scale(1, 0);
  transform-origin: 100% 0 0;
}
.box14:hover .box-content:after,
.box14:hover .box-content:before {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.15s;
}
.box14 .title {
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  margin: 15px 0;
  opacity: 0;
  transform: translate3d(0, -50px, 0);
  transition: transform 0.5s ease 0s;
}
.box14:hover .title {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.box14 .post {
  font-size: 14px;
  color: #fff;
  padding: 10px;
  background: #d79719;
  opacity: 0;
  border-radius: 0 19px;
  transform: translate3d(0, -50px, 0);
  transition: all 0.7s ease 0s;
}
.box14 .icon,
.box15 .icon {
  padding: 0;
  list-style: none;
}
.box14:hover .post {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 0.15s;
}
.box14 .icon {
  width: 100%;
  margin: 0;
  position: absolute;
  bottom: -10px;
  left: 0;
  opacity: 0;
  z-index: 1;
  transition: all 0.7s ease 0s;
}
.box14:hover .icon {
  bottom: 20px;
  opacity: 1;
  transition-delay: 0.15s;
}
.box14 .icon li a {
  display: block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border: 1px solid #fff;
  border-radius: 0 16px;
  font-size: 14px;
  color: #fff;
  margin-right: 5px;
  transition: all 0.4s ease 0s;
}
.box14 .icon li a:hover {
  background: #d79719;
  border-color: #d79719;
}
@media only screen and (max-width: 990px) {
  .box14 {
    margin-bottom: 30px;
  }
}
/*********************** HOVER-EFFECT SERVICE CATEGORY *******************/
/*Fade Hover Effect*/
/*ZoomIn Hover Effect*/
.hover-zoomin a {
  display: block;
  position: relative;
  overflow: hidden;
}
.hover-zoomin img {
  /* width: 100%; */
  height: auto;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.hover-zoomin:hover img {
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -o-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}

/*Fade Hover Effect*/
.hover-fade a {
  display: block;
  position: relative;
  overflow: hidden;
  background-color: #333;
}
.hover-fade img {
  width: 100%;
  height: auto;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.hover-fade:hover img {
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -o-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0.5)";
  filter: alpha(opacity=0.5);
  opacity: 0.5;
}

/*ZoomIn Hover-Mask Effect*/
.hover-mask a {
  display: block;
  position: relative;
  overflow: hidden;
}
.hover-mask img {
  width: 100%;
  height: auto;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.hover-mask:hover img {
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -o-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}
.hover-mask a h2 {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  margin-top: 0px;
  margin-bottom: 0px;
  height: 100%;
  width: 100%;
  padding: 45% 20px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  transition: all 0.5s linear;
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
}
.hover-mask:hover a h2 {
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  opacity: 1;
}
.hover-mask .glyphicon {
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -o-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  color: #fff;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  transition: all 0.5s linear;
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
}
.hover-mask:hover .glyphicon {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  transition: all 0.5s linear;
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=1)";
  filter: alpha(opacity=1);
  opacity: 1;
}

/* Hover Blur Effect */
.text-white {
  color: #fff;
}
.hover-blur a {
  display: block;
  position: relative;
  overflow: hidden;
}
.hover-blur img {
  width: 100%;
  height: auto;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.hover-blur:hover img {
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -o-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
  -webkit-filter: grayscale(0.6) blur(1px);
  filter: grayscale(0.6) blur(1px);
}
.hover-blur a h2 {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  margin-top: 0px;
  margin-bottom: 0px;
  height: 100%;
  width: 100%;
  padding: 45% 20px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  /*background dotted*/
  background-image: -webkit-repeating-radial-gradient(
    center center,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.8) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: -moz-repeating-radial-gradient(
    center center,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.8) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: -ms-repeating-radial-gradient(
    center center,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.8) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: repeating-radial-gradient(
    center center,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.8) 1px,
    transparent 1px,
    transparent 100%
  );
  -webkit-background-size: 3px 3px;
  -moz-background-size: 3px 3px;
  background-size: 3px 3px;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  transition: all 0.5s linear;
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
}
.hover-blur:hover a h2 {
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  opacity: 1;
}
.button-container{
  display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.size-icon-footer{
  width: 17%;
}
.book-button-new{
  text-align: center;
  background: transparent;
  padding: 8px 35px;
  font-size: 14px;
  border-radius: 50px;
  color: white;
  text-decoration: unset;
  border: 1px solid white;
  margin: 0 20px;
  display: flex;
  align-items: center;
  text-decoration: none;
  /* color: inherit; */
  max-width: 15%;
  height: auto;
  justify-content: center;
}
.book-button-new-our{
  background: transparent;
    padding: 15px 35px;
    font-size: 16px;
    border-radius: 50px;
    color: white;
    text-decoration: unset;
    border: 1px solid white;
    /* margin: 0 20px; */
    position: absolute;
    top: 84%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.pos-but-new{
    top: 72%;
    /* left: 83%; */
    position: absolute;
    /* transform: translate(-50%, -50%); */
    width: 100%;
}
.hover-blur .text-white {
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -o-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  transition: all 0.5s linear;
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
}
.hover-blur:hover .text-white {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  transition: all 0.5s linear;
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=1)";
  filter: alpha(opacity=1);
  opacity: 1;
}

/* Hover Zoomout */
.hover-zoomout a {
  display: block;
  position: relative;
  overflow: hidden;
}
.hover-zoomout img {
  width: 100%;
  height: auto;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -o-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}
.hover-zoomout:hover img {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

/*Hover Blurout Effect*/
.hover-blurout a {
  display: block;
  position: relative;
  overflow: hidden;
}
.hover-blurout img {
  width: 100%;
  height: auto;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -o-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}
.hover-blurout:hover img {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  /*Blur Filtr*/
  -webkit-filter: grayscale(0.6) blur(1px);
  -moz-filter: grayscale(0.6) blur(1px);
  -o-filter: grayscale(0.6) blur(1px);
  -ms-filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2);
  filter: progid:DXImageTransform.Microsoft.blur(pixelradius=2);
  filter: grayscale(0.6) blur(2px);
}
.hover-blurout a h2 {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  margin-top: 0px;
  margin-bottom: 0px;
  height: 100%;
  width: 100%;
  padding: 45% 20px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4);
  /*background dotted*/
  background-image: -webkit-repeating-radial-gradient(
    center center,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.8) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: -moz-repeating-radial-gradient(
    center center,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.8) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: -ms-repeating-radial-gradient(
    center center,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.8) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: repeating-radial-gradient(
    center center,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.8) 1px,
    transparent 1px,
    transparent 100%
  );
  -webkit-background-size: 3px 3px;
  -moz-background-size: 3px 3px;
  background-size: 3px 3px;

  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  transition: all 0.5s linear;
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
}
.hover-blurout:hover a h2 {
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  opacity: 1;
}
.hover-blurout .glyphicon {
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -o-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  color: #fff;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  transition: all 0.5s linear;
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
}
.hover-blurout:hover .glyphicon {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  transition: all 0.5s linear;
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=1)";
  filter: alpha(opacity=1);
  opacity: 1;
}
.button-toport{
  color: black;
    background: #FCC326;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: unset;
    font-size: 1rem;
}
/* ---------Hover Overlay text Effect--------- */

.overlay-item {
  display: block;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.overlay-item .mask {
  display: block;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  height: 100%;
}
.overlay-item img {
  display: block;
  width: 100%;
  height: auto;
  x-margin-right: auto;
  x-margin-left: auto;
}
.overlay-item h3 {
  text-transform: uppercase;
  text-align: center;
  position: relative;
  padding: 10px;
  margin: 0px 0px 20px 0px;
  display: block;
  background-color: #333;
  color: #fff;
}
.overlay-item p {
  text-align: left;
}
.overlay-item a.btn {
  margin: 10px 0;
}

.overlay-effect img {
  -webkit-transform: scaleY(1);
  -moz-transform: scaleY(1);
  -o-transform: scaleY(1);
  -ms-transform: scaleY(1);
  transform: scaleY(1);
  -webkit-transition: all 0.7s ease-in-out;
  -moz-transition: all 0.7s ease-in-out;
  -o-transition: all 0.7s ease-in-out;
  -ms-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
}
.overlay-effect .mask {
  background-color: rgba(255, 255, 255, 0.3);
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  transition: all 0.5s linear;
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
}
.overlay-effect h3 {
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -o-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  transition: all 0.5s linear;
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
}
.overlay-effect p {
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -o-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  transition: all 0.5s linear;
}
.overlay-effect a.btn {
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -o-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  transition: all 0.5s linear;
}
.overlay-effect:hover img {
  -webkit-transform: scale(10);
  -moz-transform: scale(10);
  -o-transform: scale(10);
  -ms-transform: scale(10);
  transform: scale(10);
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
}
.overlay-effect:hover .mask {
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  opacity: 1;
}
.overlay-effect:hover h3,
.overlay-effect:hover p,
.overlay-effect:hover a.btn {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  opacity: 1;
}
/*Hover Fall Effect*/
.fall-item {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
  text-align: center;
}
.fall-item .mask,
.fall-item .content {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
}
.fall-item img {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
}
.fall-item h2 {
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  position: relative;
  padding: 10px;
  background: rgba(0, 0, 0, 0.8);
  margin: 0 0 0 0;
}
.fall-item p {
  font-style: italic;
  position: relative;
  color: #fff;
  padding: 10px 20px 20px;
  text-align: center;
}
.fall-effect .mask {
  background-color: rgba(255, 255, 255, 0.7);
  top: -200px;
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
  -webkit-transition: all 0.3s ease-out 0.5s;
  -moz-transition: all 0.3s ease-out 0.5s;
  -o-transition: all 0.3s ease-out 0.5s;
  -ms-transition: all 0.3s ease-out 0.5s;
  transition: all 0.3s ease-out 0.5s;
}
.fall-effect h2 {
  -webkit-transform: translateY(-200px);
  -moz-transform: translateY(-200px);
  -o-transform: translateY(-200px);
  -ms-transform: translateY(-200px);
  transform: translateY(-200px);
  -webkit-transition: all 0.2s ease-in-out 0.1s;
  -moz-transition: all 0.2s ease-in-out 0.1s;
  -o-transition: all 0.2s ease-in-out 0.1s;
  -ms-transition: all 0.2s ease-in-out 0.1s;
  transition: all 0.2s ease-in-out 0.1s;
}
.fall-effect p {
  color: #333;
  -webkit-transform: translateY(-200px);
  -moz-transform: translateY(-200px);
  -o-transform: translateY(-200px);
  -ms-transform: translateY(-200px);
  transform: translateY(-200px);
  -webkit-transition: all 0.2s ease-in-out 0.2s;
  -moz-transition: all 0.2s ease-in-out 0.2s;
  -o-transition: all 0.2s ease-in-out 0.2s;
  -ms-transition: all 0.2s ease-in-out 0.2s;
  transition: all 0.2s ease-in-out 0.2s;
}
.fall-effect a.btn {
  -webkit-transform: translateY(-200px);
  -moz-transform: translateY(-200px);
  -o-transform: translateY(-200px);
  -ms-transform: translateY(-200px);
  transform: translateY(-200px);
  -webkit-transition: all 0.2s ease-in-out 0.3s;
  -moz-transition: all 0.2s ease-in-out 0.3s;
  -o-transition: all 0.2s ease-in-out 0.3s;
  -ms-transition: all 0.2s ease-in-out 0.3s;
  transition: all 0.2s ease-in-out 0.3s;
}
.fall-effect:hover .mask {
  -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  opacity: 1;
  top: 0px;
  -webkit-transition-delay: 0s;
  -moz-transition-delay: 0s;
  -o-transition-delay: 0s;
  -ms-transition-delay: 0s;
  transition-delay: 0s;
}
.fall-effect:hover h2 {
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  -o-transform: translateY(0px);
  -ms-transform: translateY(0px);
  transform: translateY(0px);
  -webkit-transition-delay: 0.4s;
  -moz-transition-delay: 0.4s;
  -o-transition-delay: 0.4s;
  -ms-transition-delay: 0.4s;
  transition-delay: 0.4s;
}
.fall-effect:hover p {
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  -o-transform: translateY(0px);
  -ms-transform: translateY(0px);
  transform: translateY(0px);
  -webkit-transition-delay: 0.2s;
  -moz-transition-delay: 0.2s;
  -o-transition-delay: 0.2s;
  -ms-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
.fall-effect:hover a.btn {
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  -o-transform: translateY(0px);
  -ms-transform: translateY(0px);
  transform: translateY(0px);
  -webkit-transition-delay: 0s;
  -moz-transition-delay: 0s;
  -o-transition-delay: 0s;
  -ms-transition-delay: 0s;
  transition-delay: 0s;
}

/* social links */
.social-links {
  position: relative;
  transition: 0.5s;
  float: right;
  background-color: #f1f1f1;
  padding: 10px 10px;
  opacity: 0.8;
  border-radius: 30px;
}
.social-links ul {
  margin: 0px;
  padding: 0px;
  bottom: 10px;
}
.social-links ul li {
  text-align: center;
  /* margin: 4px 0px; */
  list-style: none;
}
.social-links ul li a .fa {
  color: #fff;
  font-size: 22px;
  display: table;
  margin: 0 auto;
  padding-top: 15px;
  width: 50px;
  height: 35px;
}
.social-links ul li a i.fa-facebook {
  color: #475993;
}
.social-links ul li a i.fa-twitter {
  color: #55acee;
}
.social-links ul li a i.fa-google-plus {
  color: #f73533;
}
.social-links ul li a i.fa-instagram {
  color: #e43367;
}
.social-links ul li a i.fa-youtube {
  color: #ed2124;
}
.social-links ul li a .fa:hover {
  opacity: 0.8;
}
.social-links ul li a {
  display: block;
  height: 100%;
  text-decoration: none;
}
.social-share {
  position: fixed;
  /* height: 300px; */
  top: 25%;
  right: 0px;
  /* z-index: 999; */
}
.share-btn.hide-links {
  transform: rotatey(180deg);
  position: relative;
  right: -50px;
}
.share-btn.show-links {
  transform: rotatey(0deg);
}
.share-btn {
  background-color: transparent;
  border: none;
  width: 50px;
  height: 50px;
  top: 4px;
  right: 3px;
  position: relative;
  transition: 0.7s all ease-in;
  color: #2196f3;
  font-size: 25px;
}
/* end */

/* ++++++++++++++++++++++++++ new code  +++++++++++++++++++++++++++ */

.btn-seemore {
  display: inline-block;
  background: transparent;
  padding: 6px 34px 6px 34px;
  color: white;
  border: 1px solid #fff;
  display: none;
}
.btn-seemore > a:hover {
  color: #f7941d !important;
  transition: 0.4s;
}

.card-sparepart:hover .btn-seemore {
  display: inline-block;
}

.border-bottom-data-detail {
  border-bottom: 1px solid #7d7d7d;
  padding-bottom: 9px;
  margin-bottom: 24px;
}

.btn-contact-line {
  border: 1px solid #000;
  padding: 8px 15px 8px 15px;
}

.btn-contact-line:hover {
  opacity: 0.4;
}

.btn-clothers-more {
  display: inline-block;
  background: transparent;
  padding: 6px 48px 6px 48px;
  color: white;
  border: 1px solid #fff;
  box-shadow: 1px 1px 3px #2f2f2f;
}

.btn-clothers-more > a {
  text-shadow: 1px 0px 2px #000;
  font-size: 24px;
}

.btn-clothers-more > a:hover {
  color: #000000 !important;
  transition: 0.4s;
}

.btn-clothers-more:hover {
  background: white;
}
.bi-cart4 {
  font-size: 28px !important ;
}

.btn-sub-clothers-more {
  display: none;
  background: transparent;
  padding: 6px 48px 6px 48px;
  color: white;
  border: 1px solid #fff;
  box-shadow: 1px 1px 3px #2f2f2f;
}

.btn-sub-clothers-more > a {
  text-shadow: 1px 0px 2px #000;
  font-size: 24px;
}

.btn-sub-clothers-more > a:hover {
  color: #000000 !important;
  transition: 0.4s;
}

.btn-sub-clothers-more:hover {
  background: white;
}

.hover-clothers-product:hover .btn-sub-clothers-more {
  display: inline-block;
}

.hover-clothers-product:hover #cover-product-clothers {
  filter: brightness(0.5);
}

.but-bot:hover {
  transform: scale(1.05);
}
.but-top:hover {
  transform: scale(1.05);
}
.head-text-about {
  font-size: 60px;
  color: white;
  font-weight: 500;
  font-family: "Baskerville";
  height: 10vh;
}
.head-text-about .text-thin{
  font-size: 74px;
  padding: 7px 46px;
  font-family: "Baskerville" !important;
  font-weight: 400;
}
.typing-line.text-ita{
  font-style: italic;

}
.head-text-about .text-thin-bot{
  font-weight: 100 !important;
}

.but-circle {
  border-radius: 20px !important;
}
.but-half-right {
  border-radius: 0 20px 20px 0px !important;
  width: 232px;
}
.but-half-left {
  border-radius: 20px 0px 2px 20px !important;
  width: 232px;
}
.custom-mar-detail-product {
  margin-bottom: 25px;
  padding: 22px;
}
.custom-size-but {
  width: 299%;
  text-align: left;
  margin-left: 4%;
}
.custom-size-but-menu {
  width: 202%;
  margin-left: 6% !important;
}
.invisible-button-left {
  position: relative;
  top: -20%;
  left: -29%;
  padding: 3% 8% !important;
  background-color: transparent !important;
  color: transparent !important;
  border: transparent !important;
}
.invisible-button-right {
  position: relative;
  top: -20%;
  left: -27%;
  padding: 3% 8% !important;
  background-color: transparent !important;
  color: transparent !important;
  border: transparent !important;
}
.head-sub-about{
  color: black;
  font-size: 55px;
  /* padding-bottom: 10px; */
  font-weight: 800;
}
.pic-detail-service{
  width: 60%;
}
/* responsive Desktop */

/* จอ desktop 1920 * 1080  */
@media screen and (min-width: 1920px) and (min-height: 1080px) {
  #hero {
    height: 74vh !important;
  }
}

/* Notebook ใหญ่ */
/* @media only screen and (min-width: 1400px) and (max-width: 1700px) {
  #hero{
    height: 92vh !important;
    margin-top: 80px !important;
  }
}   */

/* laptop โน๊ตบุ๊ค  ที่ใช้อยู่เครื่องใหญ่ */
@media screen and (min-width: 1280px) and (max-width: 1919px) {
  /* แท็ก CSS ที่คุณต้องการปรับแต่งสำหรับจอโน๊ตบุ๊ตที่ใหญ่ อยู่ในนี้ */
  /* เขียนสไตล์ CSS ที่คุณต้องการให้แสดงผลบนจอโน๊ตบุ๊ตที่ใหญ่ในนี้ */
  /* #hero{
    height: 92vh !important;
    margin-top: 80px !important;
  } */
}

/* laptop โน๊ตบุ๊ค  ที่ใช้อยู่เครื่องใหญ่ */
@media screen and (min-width: 1280px) and (max-width: 1919px) {
  /* แท็ก CSS ที่คุณต้องการปรับแต่งสำหรับจอโน๊ตบุ๊ตที่ใหญ่ อยู่ในนี้ */
  /* เขียนสไตล์ CSS ที่คุณต้องการให้แสดงผลบนจอโน๊ตบุ๊ตที่ใหญ่ในนี้ */
  /* #hero{
    height: 90vh !important;
  } */
  .tab-content-pad {
    padding-bottom: 332px !important;
  }

  #tung-motor-img {
    width: 66% !important;
  }
}

/* laptop โน๊ตบุ๊ค  เล็ก */
@media screen and (min-width: 1280px) and (max-width: 1440px) {
  /* แท็ก CSS ที่คุณต้องการปรับแต่งสำหรับจอโน๊ตบุ๊ตที่ใหญ่ อยู่ในนี้ */
  /* เขียนสไตล์ CSS ที่คุณต้องการให้แสดงผลบนจอโน๊ตบุ๊ตที่ใหญ่ในนี้ */
  .detail-mocy-one {
    font-size: 20px !important;
  }
  .detail-mocy-two {
    font-size: 18px !important;
  }
  .magin-promotion-custom {
    margin-left: 89px !important;
  }
}

/* ipad แนวตั้ง */
@media only screen and (min-device-width: 768px) and (max-device-width: 1259px) and (orientation: portrait) {
  .text-pos-expert{
    
    font-size: 28px;
   
  }
  .pad-our-mb{
    padding: 0 10%;
  }
  .padmar-beu {
    margin-top: 39px;
}
  .text-none-transparent {
    font-size: 2.5rem;
}
.text-transparent {
  font-size: 2rem;
}
  .edit-foot-icon{
    justify-content: center !important;
    align-items: center !important;
  }
  .text-detail-about {
    font-size: 11px;
}
.button-show-doctor {
  padding: 9px;
  font-size: 12px;
}
  .img-container .text-pos-about-section {
    font-size: 27px !important;
}
.img-container .button-pos-about-section {
  font-size: 11px !important;
  left: 16% !important;
  padding: 7px 19px !important;
}
.name-article-home {
  font-size: 21px;
}
.bi-arrow-right,.bi-arrow-left {
  font-size: 30px;
}
.appointment-button {
  width: 44px !important;
  height: 44px !important;
}
.appointment-button:hover {
  width: 100% !important;
}
.pos-button-bn-right {
  position: absolute;
  top: 77%;
  left: 67%;
}
.pad-article-home {
  padding: 20px 21px 20px;
}
.typing-line {
  font-size: 2.2em;
  line-height: 49px;
}
.head-text-about .text-thin {
  font-size: 27px;
}
.text-video-in {
  font-size: 36px;
  padding: 1px 0;
}
.text-thin-video {
  font-size: 22px;
}
.but-pic-video {
  width: 50%;
}
.pos-button-bn-video {
  left: 36%;
}
.contact-foot-detail {
  font-size: 21px;
}
.contact-foot-head {
  font-size: 36px;
}
  .core-txt {
    font-size: 10px !important;
}
  #header.header-scrolled {
    backdrop-filter: unset;
}
/* #header{
  backdrop-filter: blur(10px) ;
} */
.scroll-text {
  margin: 66px 0px;
}
  .bn {
    margin-top: 9%;
    margin-bottom: -3%;
}
  .text-head-arti{
    font-size: 18px;
    padding-top: 20px;
  }
 
  .edit-posi-paral{
    position: relative;
    left: -108px;
    bottom: 76px;
  }
  .head-text-about {
    font-size: 20px;
}
.layer2 .title {
  left: 26% !important;
}
  .banner-text-head {
    font-size: 18px;
}
.he-video{
  height: 23vh !important;
}
.text-reflex {
  font-size: 171px;
  -webkit-box-reflect: below -16px linear-gradient(transparent, #0005);
}
  .head-pad {
    padding: 0px 2% !important;
  }
  .icon-con-size {
    width: 58% !important;
  }
  .new-but-menu {
    position: relative;
    left: 80%;
    width: 20% !important;
  }
  .mar-mor {
    margin-left: 45px;
  }
  .tab-content-pad {
    padding-bottom: 236px !important;
  }
  .head-chasis {
    width: 40%;
    margin-left: 28%;
  }

  .justify-head-custom {
    justify-content: space-between !important;
  }
  #hero {
    height: 29vh !important;
  }
  .navbar-mobile a,
  .navbar-mobile a:focus {
    font-size: 20px !important;
  }
  #logo-img {
    width: 6vh !important;
  }
  .edit-ban-mortor {
    height: 398px !important;
  }
  .margin-custom-line-btn {
    margin-left: 63px !important;
  }
  .btn-clo-detail {
    margin-left: 67px !important;
  }
  #title-logo-royal-aboutpage {
    width: 40% !important;
  }
  .about-detail-one-sub {
    font-size: 18px !important;
  }
  .about-detail-one-all {
    line-height: 31px !important;
  }
  .about-detail-two {
    line-height: 32px !important;
  }

  #tung-motor-img {
    width: 53% !important;
  }
  #tung-motor-img-on {
    width: 52% !important;
  }

  .data-color-mocy {
    font-size: 14px !important;
  }
  .tabs .tabs-nav {
    width: auto !important;
  }
  .edit-ban-ar {
    height: 424px !important;
  }
  .card-width-ar-all {
    width: 80% !important;
  }
  .dsc-detail-ar {
    font-size: 20px !important;
  }
  .edit-ban-review {
    height: 500px !important;
  }
  .edit-ban-promotion {
    height: 500px !important;
  }
  .card-position-pro {
    bottom: 16rem !important;
  }
  .detail-promotion-page {
    font-size: 19px !important;
  }
  #logo-classic-word {
    width: 8% !important;
  }

  .activity-name-detail {
    text-align: center !important;
    padding-top: 16px !important;
  }
  .activity-detail-text > br {
    display: none !important;
  }

  .edit-ban-activity {
    height: 500px !important;
  }
  .overlay-image {
    padding: 3px 5px  !important;
    font-size: 12px !important;
}
}

/* ipad แนวนอน */
@media only screen and (min-device-width: 768px) and (max-device-width: 1366px) and (orientation: landscape) {
  .text-detail-arti img {
    margin-right: 5%;
    margin-left: 5%;
}
  .book-button-new-our {
    padding: 8px 9px;
}
.pos-pic-why {
  left: -17%;
}
.pic-left-why{
  width: 42%;
}
.posi-butline{
  margin-top: -16px;
}
.pos-pic-why-right {
  /* top: 45%; */
  right: -16%;
}
.col-custom-60 {
  flex: 0 0 59.3% !important;
}
.text-to-line {
  font-size: 9px;
}
.head-sub-why {
  font-size: 13px;
}
.book-button-why {
  padding: 10px 28px;
  font-size: 13px;
}
.text-transparent {
  font-size: 3rem;
}
  .book-button-new {
    max-width: 27%;
}
  .navbar a, .navbar a:focus, .navbar button {
    margin: 9px 25px;
}
  .text-none-transparent {
    font-size: 2.5rem;
}
  .text-detail-about {
    font-size: 11px;
}
.button-show-doctor {
  padding: 9px;
  font-size: 12px;
}
  .pos-button-bn-right {
    left: 63% !important;
}
.img-container .text-pos-about-section {
  font-size: 27px !important;
}
.img-container .button-pos-about-section {
  font-size: 12px !important;
}
.pad-article-home {
  padding: 20px 16px 20px;
}
.name-article-home {
  font-size: 17px;
}
.text-video-in {
  font-size: 26px;
  padding: 2px 0;
}

.contact-foot-detail {
  font-size: 11px;
}
.text-thin-video {
  font-size: 16px;
}
  .core-txt {
    font-size: 15px !important;
}
  .pic-sofa-side {
    left: -12%;
}
  .text-desc-be span{
    font-size:20px !important ;
  }
  .text-head-arti{
    font-size: 18px;
    padding-top: 20px;
  }
  .numcart {
    left: 68% !important;
}
  .head-text-about {
    font-size: 33px;
}
  .he-video{
    height: 89vh !important;
  }
 
  .edit-posi-paral{
    position: relative;
    left: -343px !important;
    width: 130% !important;
  }
  .banner-text-head {
    font-size: 21px;
}
.head-sub {
  font-size: 50px;
}
.head-first {
  font-size: 35px;
}
.text-explan {
  font-size: 25px;
}
.text-reflex {
  font-size: 240px;
}
  #header div {
    padding: 0 !important;
  }
  .form-check-label {
    font-size: 12px !important;
  }
  #hero {
    height: 56vh;
    margin-top: 76px !important;
  }
  .mar-mor {
    margin-left: 24px;
  }
  .tab-content-pad {
    padding-bottom: 297px !important;
  }
  /* start from pooh */
  .text-pro-home h4 {
    font-size: 16px;
  }
  .edit-con-home {
    padding: 0 14px !important;
  }
  .text-pro-home p {
    font-size: 12px;
  }
  .pic-home-pro {
    width: 87% !important;
  }
  .edit-height {
    height: 700px !important;
  }

  /* end pooh */
  .navbar a,
  .navbar a:focus,
  .navbar button {
    padding: 9px 1px 6px 0px !important;
    font-size: 14px !important;
  }
  #logo-img {
    width: 17vh !important;
  }

  .margin-custom-line-btn {
    margin-left: 14px !important;
  }
  .btn-clo-detail {
    margin-left: 0px !important;
  }
  .padmar-detail-page {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  .padding-detail-spare-custom {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  .line-height-data-address {
    line-height: 24px !important;
  }
  .text-data-address-big {
    font-size: 20px !important;
  }
  .text-data-address-small {
    font-size: 16px !important;
  }

  #tung-motor-img-on {
    width: 56% !important;
  }
  #tung-motor-img {
    width: 56% !important;
  }

  .detail-mocy-one {
    font-size: 18px !important;
  }
  .card-width-ar-all {
    width: 70% !important;
  }

  .carousel-inner-activity-img {
    width: 77% !important;
  }
  .bi-caret-left-fill {
    color: black !important;
  }
  .bi-caret-right-fill {
    color: black !important;
  }
  .box-justify-activity-slide {
    display: flex !important;
    justify-content: center !important;
  }
  .box-detail-activity {
    padding-top: 24px !important;
    text-align: center !important;
  }
  .activity-detail-text {
    padding-left: 0px !important;
  }
}

/* mobile แนวตั้ง */
@media only screen and (max-width: 767px) and (orientation: portrait) {
  .text-pos-expert {
    font-size: 15px !important;
  
}
  .p-detail-our {
    padding: 0px 0%;
}
  .book-button-new-our {
    padding: 7px 8px;
    font-size: 12px;
}
.pad-pic-solu{
  padding: 6% 0;
}
  .pad-mb-sol {
    padding: 0% 14%;
    margin-top: 8px;
}
  .text-banner-mb{
    font-size: 60px !important;
        color: white;
        line-height: 1;
        font-family: 'Baskerville' !important;
  }
  .pos-but-new {
    top: 80%;
    left: 50%;
    width: 100%;
    transform: translate(-49%, -50%);
}
.pos-text-bn.buttonmb{
  position: absolute;
        top: 77%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 62%;
}
  
  .typing-line.text-ita.a {
    font-size: 33px !important;
    bottom: unset;
}
  
  header.hidden {
    transform: none;
  }
  #navbar{
    justify-content: space-between!important;
  }
  .size-icon-footer{
    width: 14%;
  }
  .circle-under-arti {
    font-size: 14px;
    /* padding: 5px 23px; */
    margin-top: 12px;
  }
  .appointment-button .logo img {
    height: 100% !important;
}
  .merch-pad{
    margin-top: -10px !important;
  }
  #scrollText{
    left: 4%;
  }
  #scrollTextOne{
    left: 9%;
  }
  #scrollTextTwo{
    left: 17%;
  }
  #scrollTextThree{
    left: 21%;
  }
  .scroll-text-home {
    display: block !important;
}
.text-transparent {
  font-size: 1.5rem;
}
.text-to-line {
  font-size: 9px;
}
.img-container img {
  filter: grayscale(0) !important;
}
.text-none-transparent {
  font-size: 2rem;
}
  .img-container .text-pos-about-section {
    font-size: 23px !important;
}
.slide-container.mar-ef {
  padding-left: 7px;
}
.img-container .button-pos-about-section {
  font-size: 11px !important;
  border: 3px solid white !important;
  padding: 5px 19px !important;

}
.mar-mb-about-home{
  margin-top: 22px !important;
}
  .button-show-doctor {
    padding: 8px;
    font-size: 13px;
}
  .text-video-in {
    padding: 0px 0;
    font-size: 18px !important;
}
.pos-button-bn-video {
  top: 80%;
  left: 23%;
}
.text-detail-about {
  font-size: 13px;
}
.edit-foot-icon{
  justify-content: center !important;
}
  .pos-text-video {
    width: 100%;
    top: 62%;
}
  .text-thin-video {
    font-size: 12px !important;
}
  .contact-foot-detail {
    font-size: 13px !important;
}
.bi-arrow-right,.bi-arrow-left {
  font-size: 25px;
}
.contact-foot-head {
  font-size: 22px;
}
.name-article-home {
  font-size: 19px;
}
.pad-article-home {
  padding: 20px 0px 20px;
}
  .pos-button-bn-right {
    top: 61% !important;
        left: 48% !important;
        width: 63%;
}
  .head-text-about .text-thin {
    font-size: 13px;
}
  .edit-w-logo {
    width: 7vh;
    position: absolute;
}
.text-large span{
  display: none !important;
}
  .core-txt {
    font-size: 13px !important;
}
 
  .rotate-image {
    width: 34%;
    top: 3vh !important;
    left: 80% !important;
}
  #header.header-scrolled {
    backdrop-filter: unset !important;
}
  .gallery {
    padding: 0rem !important;
}
  .back-to-top {
    bottom: 368px !important;
}
.rotate-image-foot {
  top: 5vh !important;
  left: -10vh !important;
  width: 18vh;
}
  .text-container {
    font-size: 23px;
}
  .text-to-line-foot{
    font-size: 21px;
    position: absolute;
    bottom: -0%;
    left: 50%;
    transform: translateX(-50%);
    border-bottom: 3px solid black;
    color: black;
  }
  .text-desc-be span{
    font-size:14px !important ;
  }
  .text-head-product-name {
    font-size: 29px;
}
  .text-head-arti{
    font-size: 18px !important;
    padding-top: 20px;
  }
  .pad-mb-arti{
    padding: 0 !important;
  }
  .buttontovideo {
    padding: 11px 24px  !important;
    font-size: 9px  !important;
}
  .buttonshow {
    padding: 11px 24px  !important;
    font-size: 9px  !important;
}
  .overlay-image{
    font-size: 13px !important;
    padding: 6px 1px !important;
  }
  .typing-line {
    line-height: 17px !important;
    border-right: unset !important;
    font-size: 23px !important;
  }
  .head-text-about .text-thin {
    padding: 2px 16px;
}
  .pos-button-bn {
    top: 61% !important;
    left: 3% !important;
    width: 63%;
}
.appointment-button {
  width: 30px !important;
  height: 30px !important;
}
.appointment-button:hover {
  width: 100% !important;
}
.text-bn{
  font-size: 8px !important;
}
  .typing-lines {
    line-height: 42px !important;
}
  .text-startw {
    font-size: 16px;
}
.head-text-about {
  font-size: 21px !important;
}
.startw {
  width: 150px;
  height: 150px;
}
  .col-xl-5th {
    flex: 0 0 auto;
    width: 20% !important;
}
  .edit-pad-info {
    padding-bottom: 10px;
}
  .button-con {
    font-size: 12px;
    padding: 7px 53px;
}
.custom-pad {
  top: -17px;
}
.big-text {
  font-size: 22px !important;
  font-weight: 700;
}
.frame {
  width: 100% !important;
  height: 50vh !important;
}
  .video-mb{
    position: relative;
    width: 100vw;
    height: 100vh;
    top: -35px;
    left: 0;
    border-radius: 0;
    z-index: -1;
  }
  .text-reflex {
    position: relative;
    z-index: 100;
    font-size: 83px;
    -webkit-box-reflect: below -5px linear-gradient(transparent, #0005);
}
  .navbar-mobile .dropdown ul {
    margin: 10px 0px;
    background: #ffffff;
  }
  .navbar .dropdown ul li:nth-child(even) {
    background: #ffffff;
  }
  .head-table-rate {
    font-size: 9px;
  }
  .edit-none-banner {
    margin-top: 83px !important;
  }
  .text-head-product-sub {
    font-size: 22px !important;
  }

  .col-7th {
    width: 100% !important; /* 100% / 7 */
  }
  .mar-mor {
    margin-left: 0 !important;
  }
  .tung-motor img {
    width: 66% !important;
  }
  .tab-contents {
    padding-bottom: 332px !important;
  }

  .margin-custom-line-btn {
    margin-left: 49px !important;
  }

  .justify-head-custom {
    justify-content: space-between !important;
  }

  #logo-img {
    margin-left: 27% !important;
    width: 6vh !important;
  }
  .mobile-nav-toggle {
    /* padding-left: 63px !important; */
  }
  #hero {
    margin-top: 19% !important;
  }
  .dispaly-custom-contact {
    /* display:  inline !important; */
  }
  #logo-classic-word {
    width: 10% !important;
  }
  .bi-caret-left-square {
    font-size: 25px !important;
  }
  .bi-caret-right-square {
    font-size: 25px !important;
  }
  .bi-x-lg {
    font-size: 19px !important;
  }
  #close {
    top: 24% !important;
    right: 42px !important;
  }
  .cart {
    margin-right: 24px !important;
  }
  .bi-list {
    margin-right: 20px !important;
  }
  #cartCount {
    top: 6px !important;
  }
  .box-detail-pro-recommend {
    margin-top: 20px !important;
  }
  .edit-con-home {
    padding: 0 4% !important;
  }
  .detail-pro-recommend {
    font-size: 15px !important;
  }
  #hero {
    height: 21vh !important;
    margin-top: 66px !important;
  }
  #footer .copyright {
    padding-top: 12px !important;
  }
  #footer {
    padding: 0 0 16px 0 !important;
  }
  #title-logo-royal-aboutpage {
    width: 70% !important;
  }
  .tabs .tabs-nav {
    display: inline-block !important;
  }
  #tung-motor-img-on {
    width: 39% !important;
  }
  #tung-motor-img {
    width: 39% !important;
  }
  .data-color-mocy {
    font-size: 14px !important;
  }

  .edit-ban-ar {
    height: 300px !important;
  }
  .card-width-ar-all {
    width: 97% !important;
  }
  .tile-ar {
    font-size: 18px !important;
  }
  .title-detail-ar {
    text-align: center !important;
    font-size: 19px !important;
  }
  .dsc-detail-ar {
    font-size: 15px !important;
  }
  .edit-ban-review {
    height: 300px !important;
  }
  .padding-review-img {
    padding-left: 13px !important;
    padding-right: 13px !important;
  }
  .edit-ban-promotion {
    height: 300px !important;
  }
  .card-position-pro {
    bottom: 16rem !important;
  }
  .detail-promotion-page > br {
    display: none;
  }
  .detail-promotion-page {
    font-size: 18px !important;
  }
  .company-title {
    font-size: 17px !important;
  }
  .address-detail-contact {
    font-size: 15px !important;
  }
  #contactpage-img {
    width: 100% !important;
  }
  .edit-ban-activity {
    height: 300px !important;
  }
  .box-detail-activity {
    text-align: center !important;
    padding-top: 13px !important;
  }
  .box-activity {
    padding: 19px !important;
  }
  .activity-detail-text {
    padding-left: 0px !important;
    font-size: 14px !important;
  }
  .activity-detail-text > br {
    display: none !important;
  }
  .text-sub > br {
    display: none !important;
  }
}

/* mobile แนวตั้ง */
@media only screen and (max-width: 375px) and (orientation: portrait) {
 
  #hero {
    height: 23vh !important;
    margin-top: 17% !important;
  }
  .company-title {
    font-size: 16px !important;
  }
  .address-detail-contact {
    font-size: 14px !important;
  }
}

/* mobile แนวตั้ง */
@media only screen and (max-width: 360px) and (orientation: portrait) {
  #hero {
    height: 21vh !important;
    margin-top: 27% !important;
  }
}

/* mobile แนวนอน จอใหญ่ */
@media only screen and (min-device-width: 768px) and (max-device-width: 1023px) and (orientation: landscape) {
  .tab-content-pad {
    padding-bottom: 290px !important;
  }
  .box-detail-pro-recommend {
    margin-top: 20px !important;
  }
  #hero {
    height: 90vh !important;
    margin-top: 57px !important;
  }
  .justify-head-custom {
    justify-content: space-between !important;
  }
  #logo-md {
    width: 18% !important;
  }
  .about-detail-one-sub {
    font-size: 19px !important;
  }
  .tabs .tabs-nav {
    width: auto !important;
  }

  .card-position-pro {
    bottom: 15rem !important;
  }
  .detail-promotion-page > br {
    display: none;
  }
  .detail-promotion-page {
    font-size: 18px !important;
  }
}

/* mobile จอเล็ก ตั้ง*/
@media only screen and (max-width: 360px) and (orientation: portrait) {
  .text-video-in {
    padding: 0px 0;
    font-size: 16px !important;
}
.text-thin-video {
  font-size: 13px !important;
}
  .book-button-new-our {
    padding: 7px 7px;
    font-size: 10px;
}
  .head-sub {
    font-size: 15px !important;
}
.head-first {
  font-size: 11px !important;
}
.text-none-transparent {
  font-size: 1.5rem;
}
.book-button-new {
  font-size: 7px !important;
}
.head-sub.sml {
  font-size: 25px !important;
}
}

/* mobile จอเล็ก นอน*/
@media only screen and (max-width: 767px) and (orientation: landscape) {
  #hero {
    height: 85vh !important;
    margin-top: 61px !important;
  }
  .justify-head-custom {
    justify-content: space-between !important;
  }
  .edit-ban-mortor {
    height: 353px !important;
  }
  .edit-ban-spare {
    height: 352px !important;
  }
  .edit-ban-cloth {
    height: 423px !important;
  }
  .tabs .tabs-nav {
    width: auto !important;
  }
  #tung-motor-img-on {
    width: 56% !important;
  }
  .edit-ban-ar {
    height: 393px !important;
  }
  .card-width-ar-all {
    width: 97% !important;
  }
  .edit-ban-review {
    height: 400px !important;
  }
  .edit-ban-promotion {
    height: 400px !important;
  }
  .detail-promotion-page > br {
    display: none;
  }
  .detail-promotion-page {
    font-size: 18px !important;
  }
  .edit-ban-activity {
    height: 400px !important;
  }
  .box-detail-activity {
    text-align: center !important;
    padding-top: 13px !important;
  }
  .box-activity {
    padding: 19px !important;
  }
  .activity-detail-text {
    padding-left: 0px !important;
    font-size: 18px !important;
  }
  .activity-detail-text > br {
    display: none !important;
  }
}

/* text ถังสี */
.data-color-mocy {
  text-transform: uppercase;
}

/* @media only screen and (min-device-width: 768px) and (max-device-width: 843px) and (orientation: landscape){
  .tab-content-pad {
    padding-bottom: 200px !important;
}
} */

.strikethrough {
  text-decoration: line-through;
  color: rgb(0, 0, 0); /* ปรับสีตามที่ต้องการ */
}

.text-explan {
  color: white;
  font-size: 23px;
}
.text-ser-detail {
  font-size: 13px;
  display: flex !important;
  justify-content: center;
}
.ser-icons {
  width: 20%;
}
.big-text{
  font-size: 35px;
  font-weight: 700;
}
.core-txt{
  color: black;
    font-size: 20px;
    /* padding-bottom: 10px; */
    line-height: 1.3;
    font-weight: 300;
}

.head-first {
  color: black;
  font-size: 20px;
  /* padding-bottom: 10px; */
  line-height: 1.3;
  font-weight: 200;
}
.head-sub {
  color: #F18D79;
  font-size: 55px;
  /* padding-bottom: 10px; */
  font-weight: 500;
  font-family: 'Baskerville';
}
.small-head{
  font-size: 17px;
    font-weight: 500;
    position: relative;
    top: 23px;
}
.text-discount {
  color: #3c9670;
}
.promotion-text {
  margin-bottom: 0px;
  font-size: 17px;
  color: gray;
}
.product-name {
  margin-bottom: 0px;
  font-size: 30px;
  font-weight: 300;
}
.price-normal {
  margin-bottom: 0px;
  color: black;
  font-weight: 700;
}
.head-product-new {
  font-size: 28px;
  margin-left: -29px;
  margin-bottom: 22px;
  color: #ffbe00 !important;
}
.col-xl-5th {
  flex: 0 0 20%;
  max-width: 20%;
  padding: 0 !important;
}
.col-custom-40{
  flex: 0 0 39.5%;
  max-width: 40%;
  padding: 0%;
}
.col-custom-60{
  flex: 0 0 59.9%;
  max-width: 60%;
  padding: 0 !important;
  overflow: hidden; /* ซ่อนส่วนที่เกิน */
}
.pic-mascos {
  width: 15%;
}
.padd-about {
  padding: 0 21%;
}
.image-link {
  display: inline-block;
  width: 215px;
  height: 71px;
  background-image: url("https://img5.pic.in.th/file/secure-sv1/Button-1394fc05299dbd24b.png");
  background-size: cover;
  text-decoration: none;
}

.image-link:hover {
  background-image: url("https://img5.pic.in.th/file/secure-sv1/icon-42.png");
}
.head-sub-sec {
  color: white;
  margin-left: -39%;
}
.head-sub-line {
  color: #ffbe00;
  font-size: 67px;
  border-bottom: 8px solid #ffbe00;
  margin: 0px 10%;
  padding: 2% 0%;
}
.test-des-head {
  font-size: 20px;
  color: white;
  font-weight: 500;
}
.test-des-sub {
  font-size: 20px;
  color: white;
  font-weight: 200;
}
.but-top {
  position: absolute;
  margin-top: 26%;
  transition: transform 0.2s;
}
.pic-a {
  position: relative;
  left: 6%;
}
.pic-b {
  z-index: 100;
}
.pic-c {
  position: relative;
  right: 7%;
}
.text-product-nu {
  font-size: 24px;
  font-weight: 300;
  color: white;
}
.text-product-un {
  font-weight: 100;
}
.text-product-em {
  font-size: 33px;
  font-weight: 500;
}
.posi-text1 {
  position: absolute;
  z-index: 1000;
  left: 5%;
  margin-top: -23%;
}
.posi-text2 {
  position: absolute;
  z-index: 1000;
  right: 5%;
  margin-top: 31%;
}
.text-product-nu-bot {
  font-size: 28px;
  font-weight: 500;
  color: white;
  line-height: 1;
}
.text-product-un-bot {
  font-weight: 200;
  font-size: 18px;
}
.but-bot {
  position: absolute;
  margin-top: 27%;
  z-index: 100;
  transition: transform 0.2s;
}
.head-bot-cer {
  font-size: 100px;
  font-weight: 500;
}
.head-sub-cer {
  font-size: 2rem;
}
.head-sub-sec-cer {
  font-size: 20px;
  font-weight: 300;
}
.head-sub-line-cer {
  font-size: 2rem;
}
.icon-size-custom {
  width: 5%;
}
.text-contact-bot {
  font-size: 30px;
  padding: 47px 0;
}
.form-custom {
  width: 640px;
  height: 924px;
}
.head-ar {
  font-size: 27px;
  font-weight: 300;
  padding-top: 26px;
}
.head-ar-sub {
  font-size: 20px;
  font-weight: 200;
  padding-bottom: 15px;
}
.button-ar {
  padding: 7px 16px;
  cursor: pointer;
  border-radius: 16px;
  text-decoration: none;
  color: black;
}
.head-sub-con {
  padding-top: 57px;
  font-size: 46px;
  font-weight: 400;
  line-height: 71px;
}

.button-to-checkout {
  border-radius: 50px !important;
  background: linear-gradient(to top, #fdeec5 0%, #fac946 100%) !important;
  padding: 10px 24px;
  color: black !important;
}
.button-buy-img {
  width: 100%;
}

/* nb จอเล็ก*/
@media screen and (min-width: 1280px) and (max-width: 1365px) {
  .mar-arti {
    margin: 0 7% !important;
}
  .under-name {
    font-size: 26px;
    line-height: 1;

}
  .book-button-new {
    max-width: 16%;
}
  .pic-left-why {
    width: 100%;
}
.pos-pic-why {
  left: 0%;
}
  .bor-pic{
    width: 79%;
  }
  .text-transparent {
    font-size: 3rem;
}
  .book-button-new {
    padding: 5px 7px;
    font-size: 13px;
}
.pos-but-new {
  top: 63% !important;
}
.pos-but-new.video{
  top: 70% !important;
}
  .head-first-why {
    font-size: 29px;
}
  .pos-pic-why {
    max-width: 341px;
}
.pos-pic-why-right {
  max-width: 377px;
  top: 0%;
  right: -2%;
}

.book-button-new-our {
  padding: 7px 15px;
  font-size: 13px;
  top: 84%;
  left: 44%;
}
.book-button-why {
  padding: 6px 29px;
  font-size: 13px;
}

  .pos-button-bn {
    left: 12% !important;
    width: 36%;
}
.text-to-line {
  font-size: 13px;
}
  .typing-line{
    font-size: 76px !important;
  }
  .head-text-about .text-thin {
    font-size: 48px;
    padding: 4px 28px;
}
  .circle-under-arti {
    font-size: 15px;
    /* padding: 5px 20px; */
    margin-top: 9px;
}
  .text-detail-about {
    font-size: 19px;
}
.button-show-doctor {
  font-size: 17px;
}
  .img-container .button-pos-about-section {
    font-size: 15px !important;
}
.text-video-in {
  font-size: 32px;
}
.pad-article-home {
  padding: 20px 39px 20px;
}
.text-thin-video {
  font-size: 20px;
}
.name-article-home {
  font-size: 19px;
}
  .pos-button-bn-right {
    left: 63%;
}
  .core-txt {
    font-size: 16px;
}
  .bn {
    margin-top: 7%;
}
  .text-to-line {
    left: 18%;
}
.product-name {
  margin-bottom: -10px;
  font-size: 15px;
}
.text-container:hover .text-small-mail {
  right: 27%;
}
.text-container:hover .text-small {
  right: 18%;
}
.text-container:hover .text-small-chat {
  right: 24%;
}
.rotate-image-foot {
  top: 74vh;
}
.rotate-image-foot {
  top: 13vh !important;
  left: -58% !important;
}
  .head-text-about {
    font-size: 31px;
}
  .he-video{
    height: 70vh !important;
  }
  .banner-text-head {
    font-size: 25px;
}
.text-reflex {
  font-size: 295px;
}
/* .video-container {
  top: 298px;
  left: 228px;
  width: 188px ;
  height: 188px;
} */
  .file-label {
    padding: 2px 159px;
  }
  .button-buy-img {
    width: 67%;
  }
  /* #hero {
    height: 71vh !important;
    margin-top: 126px !important;
} */
  .button-made-to-order-color {
    padding: 11px 37px !important;
  }
  .button-made-to-order-over {
    padding: 11px 33px !important;
  }
  .amout-product {
    font-size: 24px;
  }
  .form-check-label {
    font-size: 20px !important;
  }
  .text-ser-detail {
    font-size: 13px;
  }
  .vdo-text {
    font-size: 31px;
  }
  .text-explan {
    font-size: 17px;
  }
  .head-sub-why {
    font-size: 14px;
}
.set-align{
  align-items: start;
}
.posi-butline{
  margin-top: -12px;
}
  .pic-edit-custom-top {
    width: 72%;
  }
  .head-first {
    font-size: 14px;
  }
  .foot-poli {
    font-size: 12px;
}
  .head-sub {
    font-size: 49px;
  }
  .head-sub-line {
    font-size: 47px;
  }
  .product-box {
    width: 70%;
  }
  .but-top {
    margin-top: 44%;
    width: 26%;
  }
  .pic-a,
  .pic-b,
  .pic-c {
    width: 38%;
  }
  .but-bot {
    width: 26%;
    margin-top: 32%;
  }
  .coverflow {
    height: 552px;
  }
  .coverflow__image {
    width: 450px;
    height: 517px;
  }
  .head-bot-cer {
    font-size: 80px;
    font-weight: 500;
  }
}
/* nb จอใหญ่*/
@media screen and (min-width: 1440px) and (max-width: 1600px) {
  .mar-arti {
    margin: 0 7% !important;
}
  .under-name {
    font-size: 28px;
    line-height: 1;
}
  .bor-pic{
    width: 70%;
  }
  .navbar a, .navbar a:focus, .navbar button {
    font-size: 18px;
}
  .head-sub-why {
    font-size: 13px;
}
  .book-button-why{
        font-size: 16px;
  }
  .book-button-new {
    padding: 6px 15px;
    font-size: 13px;
}
  .head-first-why {
    font-size: 31px;
}
  .pos-pic-why {
    max-width: 412px;
  }
  .pos-pic-why-right {
    max-width: 425px;
    top: 0%;
    right: -2%;
  }
  .text-none-transparent {
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    /* font-weight: 500; */
    font-family: "Baskerville";
    /* font-style: italic; */
  }
  .book-button-new-our {
    padding: 9px 15px;
    font-size: 16px;
    left: 45%;
}
  .contact-foot-detail {
    font-size: 18px;
}
  .navbar a, .navbar a:focus, .navbar button {
 
    margin: 9px 31px;
}
  .head-text-about {
    height: 14vh;
}
  .pos-button-bn-right {
    left: 53%;
}
  .pos-button-bn {
    left: 28%;
}
.but-pic-banner{
  width: 50% !important;
}
  .circle-under-arti {
    font-size: 15px;
    /* padding: 5px 20px; */
    margin-top: 9px;
}
  .text-detail-about {
    font-size: 19px;
}
.button-show-doctor {
  font-size: 17px;
}
  .img-container .button-pos-about-section {
    font-size: 15px !important;
}
.text-video-in {
  font-size: 32px;
}
.pad-article-home {
  padding: 20px 39px 20px;
}
.text-thin-video {
  font-size: 20px;
}
.name-article-home {
  font-size: 19px;
}
  .pos-button-bn-right {
    left: 63%;
}
  .bn {
    margin-top: 8%;
}
  .banner-text-head {
    font-size: 31px;
}
  .head-text-about {
    font-size: 31px;
}
  .he-video{
    height: 97vh !important;
  }
  .text-reflex {
    font-size: 300px;
}
.video-container {
  top: 325px;
  left: 301px;
  width: 0px;
  height: 0px;
}
  .form-check-label {
    font-size: 23px !important;
  }
  .text-ser-detail {
    font-size: 14px;
  }
  .vdo-text {
    font-size: 37px;
  }
  .text-explan {
    font-size: 20px;
  }
  .pic-edit-custom-top {
    width: 72%;
  }
  .head-first {
    font-size: 16px;
  }
  .head-sub {
    font-size: 49px;
  }
  .head-sub-line {
    font-size: 47px;
  }
  .product-box {
    width: 70%;
  }
  .but-top {
    margin-top: 44%;
    width: 26%;
  }
  .pic-a,
  .pic-b,
  .pic-c {
    width: 38%;
  }
  .but-bot {
    width: 26%;
  }
  .coverflow {
    height: 552px;
  }
  .coverflow__image {
    width: 450px;
    height: 517px;
  }
  .head-bot-cer {
    font-size: 80px;
    font-weight: 500;
  }
}
/*ipad ตั้ง */
@media only screen and (min-device-width: 768px) and (max-device-width: 1259px) and (orientation: portrait) {
  .text-detail-arti img {
    margin-right: unset !important;
    margin-left: unset !important;
}
.text-detail-arti img{
  width: 100% !important;
}
  .pos-text-slider {
    position: absolute;
    top: 189% !important;
}
  .pad-why-new {
    padding: 5% 7%;
}
.over-size-pic{
  width: 200% !important;
  max-width: 200% !important;
}
.pos-but-new.video {
  top: 67%;
}
#navbar {
  justify-content: space-between !important;
}
.size-icon-footer {
  width: 9%;
}
  
  #navbar{
    justify-content: space-between !important;
  }
  .book-button-new {
    padding: 2px 3px !important;
        font-size: 12px !important;
        max-width: 30%;
}
.pos-but-new {
  top: 56%;
}
  #zoom-section {
    height: 36vh;
}
  .pos-button-bn {
    top: 77% !important;
    left: 14% !important;
    width: 40%;
}
.pos-button-bn-right {
  top: 77% !important;
  left: 50% !important;
  width: 40%;
}
.typing-line {
  font-size: 46px !important;
}
  .pad-article-home-arti {
    padding: 0px 11px;
}
.circle-under-arti {
  font-size: 14px;
  /* padding: 5px 23px; */
  margin-top: 12px;
}
  .text-to-line {
    font-size: 15px;
    bottom: 42%;
    left: 18%;
    border-bottom: 2px solid black;
}
.scroll-text {
  margin: 56px 0px;
}
.product-name {
  font-size: 12px;
}
.price-normal {
  font-size: 13px;
}
.rotate-image-foot {
  left: -482% !important;
}
.text-container:hover .text-small {
  right: 28%;
}
.text-container:hover .text-small-chat {
  right: 40%;
}
.text-container:hover .text-small-mail {
  right: 41%;
}
  #hero {
    margin-top: 66px;
  }
  .text-head-product-sum {
    font-size: 28px;
  }
  .modal-content {
    width: 154% !important;
    height: 40vh;
  }
  .modal-dialog {
    margin: 0 !important;
  }
  .fade {
    padding: 0 !important;
  }
  .text-explan {
    font-size: 18px;
  }
  .text-ser-detail {
    font-size: 13px;
  }
  .image-link {
    width: 170px;
    height: 58px;
  }
  .vdo-text {
    font-size: 35px;
    font-weight: 600;
    margin-bottom: 29px;
    margin-top: 24px;
  }
  .head-first {
    font-size: 24px;
  }
  .frame {
    height: 55vh !important;
    /* margin-top: 50px; */
}
.button-con {
  font-size: 12px;
  padding: 9px 49px;
}
.head-ser-box{
  font-size: 13px;
}
.big-text {
  font-size: 21px;
}
  .head-sub {
    font-size: 40px;
  }
  .head-sub-line {
    font-size: 32px;
    border-bottom: 5px solid #ffbe00;
  }
  .test-des-sub {
    font-size: 8px;
  }
  .test-des-head {
    font-size: 15px;
  }
  .but-top {
    margin-top: 12%;
    width: 38%;
    left: 60%;
  }
  .pic-a,
  .pic-b,
  .pic-c {
    width: 39%;
  }
  .text-product-nu {
    font-size: 16px;
  }
  .text-product-em {
    font-size: 24px;
    font-weight: 500;
  }
  .text-product-nu-bot {
    font-size: 16px;
  }
  .text-product-un-bot {
    font-weight: 200;
    font-size: 10px;
  }
  .but-bot {
    width: 26%;
    left: 41%;
    margin-top: 0%;
  }
  .coverflow__image[data-coverflow-index] {
    left: 66%;
  }
  .coverflow__image {
    width: 288px;
    height: 321px;
  }
  .coverflow {
    height: 390px;
  }
  .head-sub-cer {
    font-size: 1rem;
  }
  .head-bot-cer {
    font-size: 41px;
  }
  .head-sub-sec-cer {
    font-size: 20px;
  }
  .head-sub-line-cer {
    font-size: 20px;
  }
  .head-sub-sec-cer {
    font-size: 14px;
  }
  .icon-size-custom {
    width: 11%;
  }
  .logo-size-foot {
    width: 41%;
  }
  .menu-footer {
    font-size: 56px;
  }
  .menu-footer-small {
    font-size: 36px;
    display: block;
    margin-bottom: 3%;
  }
  .icon-foot-size {
    width: 48% !important;
  }
}
/*ipad นอน*/
@media only screen and (min-device-width: 768px) and (max-device-width: 1259px) and (orientation: landscape) {
  .text-detail-arti img {
    margin-right: unset !important;
    margin-left: unset !important;
}
.text-detail-arti img{
  width: 100% !important;
}
  .pos-button-bn {
    top: 77% !important;
    left: 14% !important;
    width: 40%;
}
.pos-button-bn-right {
  top: 77% !important;
  left: 50% !important;
  width: 40%;
}
.typing-line {
  font-size: 75px !important;
}
  .circle-under-arti {
    font-size: 14px;
    padding: 5px 23px;
    margin-top: 12px;
  }
  .bn {
    margin-top: 7%;
}
  .text-to-line {

    left: 21%;
}
  .rotate-image-foot {
    left: -482% !important;
  }
  .text-container:hover .text-small {
    right: 28%;
  }
  .text-container:hover .text-small-chat {
    right: 40%;
  }
  .text-container:hover .text-small-mail {
    right: 41%;
  }


  .head-first {
    font-size: 12px;
}
  .text-reflex {
    font-size: 205px;
    /* -webkit-box-reflect: below -28px linear-gradient(transparent, #0005); */
}
  .rate-price {
    font-size: 22px !important;
  }
  .button-made-to-order-color {
    padding: 10px 21px !important;
  }
  .button-made-to-order-over {
    padding: 10px 17px !important;
  }
  .size-section-made {
    width: 67vh !important;
  }
  .rate-price {
    font-size: 22px;
  }
  .amout-product {
    font-size: 19px;
  }
  .head-ser-bo {
    font-size: 21px;
  }
  .text-ser-detail {
    font-size: 10px;
  }
  .image-link {
    width: 170px;
    height: 58px;
  }
  .vdo-text {
    font-size: 24px;
  }
  .menu-footer-small {
    font-size: 11px;
  }
  .foot-poli {
    font-size: 11px;
  }
  .text-explan {
    font-size: 17px;
  }
  .head-ar {
    font-size: 19px;
  }
  
  .head-sub-line {
    font-size: 48px;
  }
  .head-sub {
    font-size: 35px;
  }
  .head-sub-line {
    font-size: 34px;
  }
  .test-des-sub {
    font-size: 11px;
  }
  .test-des-head {
    font-size: 11px;
  }
  .product-box {
    width: 43%;
  }
  .but-top {
    margin-top: 1%;
    width: 29%;
    left: 63%;
  }
  .pic-a,
  .pic-b,
  .pic-c {
    width: 39%;
  }
  .posi-text2 {
    margin-top: 35%;
  }
  .but-bot {
    width: 24%;
    left: 42%;
    margin-top: 0%;
  }

  .coverflow__image[data-coverflow-index] {
    left: 64%;
  }
  .coverflow__image {
    width: 327px;
    height: 393px;
  }
  .coverflow {
    height: 424px;
  }
  .head-bot-cer {
    font-size: 57px;
  }
  .head-sub-cer {
    font-size: 1rem;
  }
  .head-sub-line-cer {
    font-size: 1rem;
  }
}
/* mobile จอใหญ่ ip12 ตั้ง*/
@media only screen and (max-width: 767px) and (orientation: portrait) {
  .pad-why-new {
    display: block !important;
}
  .book-button-new.video {
    padding: 0px 9px;
    font-size: 12px;
    margin: 24px 14px;
    max-width: 54%;
}
 
  .pad-why-new {
    padding: 4% 1%;
}
  .book-button-new {
    padding: 0px 9px;
    font-size: 12px;
    margin: 24px 22px;
    max-width: 100%;
}
  .navbar a, .navbar a:focus {
    margin: 0 !important;
}
  .bn {
    margin-top: 11%;
    /* margin-bottom: -17%; */
}
.scroll-text {
  margin: 22px 0px !important;
}
.edit-position-above {
  position: unset !important;
}
.edit-position-top {
  position: unset !important;
}
.text-to-line {
  bottom: 26%;
  left: 50%;
}
.text-to-detail {
  font-size: 23px;
}
  .head-pad {
    padding: 0 0% !important;
  }
  .menu-con {
    font-size: 42px !important;
  }
  .menu-con-small {
    font-size: 16px !important;
  }
  .icon-con-size {
    width: 65% !important;
  }
  .navbar-mobile button {
    display: none;
  }

  .card-title {
    font-size: 13px;
  }
  .button-buy-img {
    width: 61%;
    margin-top: 26px;
  }
  .size-section-made {
    width: 50vh !important;
  }
  .button-made-to-order-color {
    padding: 5px 14px !important;
  }
  .button-made-to-order-over {
    padding: 7px 12px !important;
    font-size: 15px !important;
  }
  .file-label {
    padding: 2px 136px;
  }
  .button-upload {
    align-items: center;
    display: grid;
  }
  .file-label {
    padding: 2px 112px !important;
    margin-bottom: 10px;
  }
  .rate-price {
    font-size: 12px !important;
  }
  .bar-amout-product {
    font-size: 20px !important;
  }
  .text-head-product-sum {
    font-size: 28px !important;
  }
  .head-ar {
    font-size: 15px;
  }
  .submenu {
    left: 62% !important;
  }
  .head-ar-sub {
    font-size: 15px;
  }
  .form-custom {
    width: 371px;
    height: 924px;
  }
  .head-first {
    font-size: 12px;
  }
  .head-sub {
    font-size: 28px;
  }
  .vdo-text {
    font-size: 18px;
  }
  .botton-to-some {
    padding: 9px 23px;
    font-size: 17px;
  }
  .vdo-text {
    font-size: 19px;
    margin-bottom: 5px;
    margin-top: 13px;
  }
  .menu-footer-small {
    display: block;
  }
  .icon-foot-size {
    width: 59% !important;
  }
  .logo-size-foot {
    width: 37%;
  }
  .foot-poli {
    font-size: 9px;
  }
  .head-sub-line {
    font-size: 12px;
    border-bottom: 3px solid #ffbe00;
  }
  .pic-a,
  .pic-b,
  .pic-c {
    width: 85%;
  }
  .text-product-nu {
    font-size: 7px;
  }
  .text-product-em {
    font-size: 13px;
  }
  .text-product-nu-bot {
    font-size: 7px;
  }
  .text-product-un-bot {
    font-size: 4px;
  }
  .but-bot {
    width: 43%;
    margin-top: 9%;
    left: 35%;
  }
  .but-top {
    width: 43%;
    margin-top: 13%;
    left: 35%;
  }
  .test-des-sub {
    font-size: 10px;
  }
  .test-des-sub {
    font-size: 10px;
  }
  .product-box {
    width: 55%;
  }
  .coverflow__image[data-coverflow-index] {
    left: 68%;
  }
  .coverflow__image {
    width: 290px;
    height: 410px;
  }
  .coverflow {
    height: 488px;
  }
  .head-bot-cer {
    font-size: 38px;
  }
  .head-sub-cer {
    font-size: 16px;
  }
  .head-sub-sec-cer {
    font-size: 16px;
  }
  .head-sub-line-cer {
    font-size: 1rem;
  }
  .cer-pic {
    width: 90% !important;
  }
  .text-contact-bot {
    font-size: 13px;
    padding: 9px 0;
  }
  .icon-size-custom {
    width: 12%;
  }
  .head-sub-con {
    padding-top: 12px;
    font-size: 21px;
    font-weight: 400;
    line-height: 50px;
  }
  .text-explan {
    font-size: 11px;
  }
  .head-ser-box {
    font-size: 17px;
  }
  
  .image-link {
    width: 193px;
    height: 68px;
  }
  .head-product-new {
    font-size: 20px;
    margin-left: -6px;
  }
  .product-name {
    font-size: 12px;
  }
  .price-normal {
    font-size: 13px;
  }
  .text-discount {
    font-size: 11px;
  }
}
/* mobile จอใหญ่ ip12 นอน*/
@media only screen and (min-device-width: 768px) and (max-device-width: 1023px) and (orientation: landscape) {
  .banner-text-head {
    font-size: 18px !important;
}
}
/* ip14max */
@media only screen and (min-device-width: 430px) and (max-device-width: 767px) and (orientation: portrait) {
}
/* mobile จอเล็ก ตั้ง*/
@media only screen and (max-width: 360px) and (orientation: portrait) {
}
/* mobile จอเล็ก นอน*/
@media only screen and (max-width: 767px) and (orientation: landscape) {
}

.icon-foot-size {
  width: 82%;
}
.mas-foot-size {
  position: relative;
  top: -18%;
  left: 61%;
  transform: rotate(-6deg);
}

/* gallerynew */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.gallerynew {
  column-count: 4;
  --webkit-column-count: 4;
  --moz-column-count: 4;
  gap: 1rem;
  padding: 4rem;
}

.image img {
  height: auto;
  width: 100%;
}
.bi-cart {
  font-size: 25px;
}
.buttoncart {
  background-color: transparent !important;
  border: none !important;
}

/* Responsive-ness for different screen-sizes */
@media screen and (max-width: 810px) {
  .gallerynew {
    column-count: 3;
    --webkit-column-count: 3;
    --moz-column-count: 3;
  }
}

@media screen and (max-width: 500px) {
  .gallerynew {
    column-count: 2;
    --webkit-column-count: 2;
    --moz-column-count: 2;
  }
}

@media screen and (max-width: 400px) {
  .gallerynew {
    column-count: 3;
    --webkit-column-count: 1;
    --moz-column-count: 1;
    padding: 10px;
  }
}

.filter-head {
  font-size: 37px;
}
.form-check-input {
  font-size: 22px;
  margin-top: 11px;
}
.form-check-label {
  font-size: 16px;
    margin: 10px 0;
}
.filter-button {
  border: none;
  background-color: transparent;
}
.bi-funnel {
  font-size: 25px;
}
.text-head-product-detail {
  text-transform: none;
  font-weight: 500;
  /* margin-bottom: 29px; */
}
.text-head-product-name {
  font-size: 40px;
  color: #F7B701;
  font-weight: 700;
}
.rate-price {
  list-style: none;
  text-align: end;
  font-size: 29px;
  font-weight: 300;
}
.bar-amout-product {
  width: 22vh !important;
  height: 5vh;
  font-size: 32px !important;
}
.amout-product {
  font-size: 27px;
}
.text-head-product-sub {
  font-size: 40px;
  color: black;
  font-weight: 500;
}
.text-head-product-sum {
  font-size: 40px;
  color: black;
  font-weight: 500;
  margin-bottom: 6%;
}
.box-detail-product {
  /* margin-top: 55px !important; */
  /* margin-bottom: 23px !important; */
}
.amount-pack,
.amount-currency {
  float: right;
}
.text-head-product-sub-detail {
  font-size: 23px;
  font-weight: 300;
}
.madeto-order-right,
.madeto-order-rightt {
  float: right !important;
  font-weight: 400;
}
.madeto-order-left,
.madeto-order-right,
.madeto-order-rightt {
  font-size: 23px;
}
.button-made-to-order-color {
  border-radius: 50px !important;
  padding: 11px 44px;
  border: 1px solid #c2c2c2 !important;
  color: black !important;
  margin: 0 12px;
}
.btn-check:checked + .btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check) + .btn:active {
  background-color: white !important;
  border: 3px solid #3c9670 !important;
}
.pic-print {
  width: 87px;
  height: 77px;
}
.button-made-to-order-over {
  border-radius: 50px !important;
  padding: 11px 40px;
  border: 1px solid #c2c2c2 !important;
  color: black !important;
  margin: 0 12px;
}

/*  */
.file-input {
  display: none; /* ซ่อนปุ่ม input แบบดั้งเดิม */
}

.file-label {
  display: inline-block;
  /* width: 50px; */
  /* height: 50px; */
  border-radius: 50px;
  background-color: #ffff;
  color: #000000;
  text-align: center;
  line-height: 50px;
  font-size: 14px;
  cursor: pointer;
  padding: 2px 205px;
  border: 1px solid #c2c2c2 !important;
}

.file-label:hover {
  border: 3px solid #3c9670 !important;
}

.submit-button {
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  background-color: #3c9670;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.submit-button:hover {
  border: 3px solid #3c9670 !important;
}
/* ipad pro12.9 */
@media only screen and (min-device-width: 1366px) and (max-device-width: 1441px) and (orientation: landscape) {
  .banner-text-head {
    font-size: 30px;
}
  /* #hero {
      height: 45vh !important;
      margin-top: 161px ;
  } */
  #header div {
    padding: 0 !important;
  }
}
@media only screen and (min-device-width: 1023px) and (max-device-width: 1335px) and (orientation: landscape) {
  /* #hero {
      height: 45vh !important;
      margin-top: 161px ;
  } */
  #header div {
    padding: 0 !important;
  }
}
@media only screen and (min-device-width: 769px) and (max-device-width: 1025px) and (orientation: portrait) {
  .navbar a,
  .navbar a:focus {
    padding: 8px 1px 5px 0px;
    font-size: 11px;
  }
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1366px) and (orientation: landscape) {
  /* #hero {
      height: 55vh !important;
      margin-top: 76px !important;
  } */
  #header div {
    padding: 0 !important;
  }
}

.but-buy {
  border: none !important;
}
.btn:first-child:hover,
:not(.btn-check) + .btn:hover {
  background-color: transparent;
}
.menu-con {
  font-size: 66px;
}
.menu-con-small {
  font-size: 43px;
}
.icon-con-size {
  width: 30%;
}
.card-title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.edit-none-banner {
  margin-top: 150px;
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1259px) and (orientation: portrait) {
  #hero {
    height: 31vh !important;
  }
}

.swiper {
  width: 100%;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  /* background: #fff; */
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  /* border-radius: 8px; */
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}

.price-rate {
  border-bottom: 1px solid #dee2e6; /* เส้นแบ่งใต้แต่ละแถว */
  padding: 10px 0; /* เพิ่มช่องว่างด้านบนและล่าง */
  display: flex;
  align-items: center;
}

.price-rate .col-6 {
  border-right: 1px solid #dee2e6; /* เส้นแบ่งกลางระหว่างคอลัมน์ */
  padding-right: 10px;
}

.price-rate .col-6:last-child {
  border-right: none; /* ไม่แสดงเส้นแบ่งขวาในคอลัมน์สุดท้าย */
  padding-left: 10px;
}

.price-rate.header {
  border-bottom: 2px solid #000; /* เส้นแบ่งหนาสำหรับหัวข้อ */
  font-weight: bold;
}

.rate-price {
  margin: 0;
}

.text-end {
  text-align: right;
}
.icon-branch {
  width: 40%;
}
#parallaxSection {
  padding-bottom: 19vh; /* เพิ่ม padding ด้านล่างเพื่อให้เลื่อนได้ต่อ */
}

.parallax-container {
  perspective: 1px;
  height: 95vh; /* ลดความสูงลงเล็กน้อยเพื่อช่วยให้เลื่อนได้ */
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none; /* สำหรับ Firefox */
}

.parallax-container::-webkit-scrollbar {
  display: none; /* สำหรับ Chrome, Safari และ Edge */
}
.parallax-layer {
  position: absolute;
  width: 100%;
  padding: 150vh 0;
}

.parallax-layer-background {
  transform: translateZ(-1px);
}

.parallax-layer-base {
  transform: translateZ(0px);
}

.title {
  font-size: 3em;
  color: #333;
  position: absolute;
  margin: 0;
}

/* จัดตำแหน่งที่แตกต่างกัน */
.layer1 .title {
  top: 10%;
  left: 10%;
}

.layer2 .title {
  top: 30%;
  left: 60%;
}

.layer3 .title {
  top: 50%;
  left: 20%;
}

.layer4 .title {
  top: 70%;
  left: 50%;
}

.layer5 .title {
  top: 20%;
  left: 80%;
}

.layer6 .title {
  top: 50%;
  left: 30%;
}

.image-container-graphic {
  position: relative;
  width: 100%;
  max-width: 500px;
  /* หรือขนาดที่คุณต้องการ */
  transition: all 0.5s ease-in-out;
}

.image-container-graphic:hover {
  transform: translateY(-20px);
  transition: all 0.5s ease-in-out;
}

.image-container img {
  width: 85%;
  height: auto;
}

.background-image {
  display: block;
}

.overlay-image {
  position: absolute;
  top: 85%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: auto;
  text-align: center;
  text-decoration: unset;
  color: black;
  background: linear-gradient(to top, #fdeec5 0%, #fac946 100%);
  padding: 12px 10px;
  border-radius: 50px;
  font-size: 19px;
  font-weight: 500;
}

.overlay-image-back {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  /* ปรับขนาด overlay ให้เหมาะสม */
  height: auto;
}
/* slideauto pic */
.moving-images {
  position: relative;
  height: 100vh; /* ความสูงของ section */
  overflow: hidden;
  display: flex;
  justify-content: space-around; /* กระจายภาพให้ห่างกัน */
}

.moving-images img {
  position: absolute;
  bottom: -850px; /* เริ่มจากล่างจอ */
  /* width: 150px; ขนาดภาพ */
  animation-timing-function: linear; /* ตั้งให้เคลื่อนที่เส้นตรง */
}

@keyframes moveUp {
  from { transform: translateY(0); }
  to { transform: translateY(-1800px); } /* เคลื่อนที่ขึ้น */
}

/* ตั้งค่า animation แต่ละภาพให้ต่างกัน */
.image1 {
  left: 10%; /* ตำแหน่งเริ่มต้น */
  animation: moveUp 5s infinite;
  width: 25%;
}

.image2 {
  left: 30%;
  animation: moveUp 7s infinite;
  width: 35%;
}

.image3 {
  left: 50%;
  animation: moveUp 6s infinite;
  width: 35%;
}

.image4 {
  left: 70%;
  animation: moveUp 8s infinite;
  width: 45%;
}

.image5 {
  left: 19%;
  animation: moveUp 9s infinite;
  width: 20%;
  z-index: -1;
}


.text-sub-arti{
  
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.text-head-arti{
  font-size: 31px;
  margin-top: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.text-but-ar{
  text-decoration: unset;
    color: #fccd07;
    font-weight: 500;
}
.carousel-indicators [data-bs-target] {
  width: 10px !important;
  height: 10px !important;
  padding: 0 !important;
  background-color: white !important ;
  border: 0 !important;
  opacity: .5 !important;
  transition: opacity .6s ease !important;
  border-radius: 50% !important;
  border: 1px solid black !important;
}
.carousel-indicators .active {
  opacity: 1;
  background-color: black !important;
}
.carousel-indicators{
  position: unset !important;
}
.edit-position-above{
  position: relative;
    top: 143px;
}
.edit-position-top{
  position: relative;
    bottom: 119px;
}
.text-to-detail{
  font-size: 30px;
}
.appointment-button {
  /* display: flex; */
  align-items: center;
  justify-content: center;
  background-color: #f18d79; /* สีพื้นหลัง */
  border-radius: 50px; /* ให้มุมมน */
  color: white;
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease; /* เพิ่มการเปลี่ยนแปลง */
  overflow: hidden;
  width: 80px; /* เริ่มต้นเป็นวงกลม */
  height: 80px;
  position: relative;
}
.appointment-button.right {
  /* display: flex; */
  align-items: center;
  justify-content: center;
  background-color: #ffffff; /* สีพื้นหลัง */
  border-radius: 50px; /* ให้มุมมน */
  color: #f18d79;
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease; /* เพิ่มการเปลี่ยนแปลง */
  overflow: hidden;
  width: 80px; /* เริ่มต้นเป็นวงกลม */
  height: 80px;
  position: relative;
}

.appointment-button .logo {
  width: 100%;
  height: 100%;
  border-radius: 50%; /* ให้ภาพเป็นวงกลม */
  overflow: hidden; /* ตัดส่วนเกินออก */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3%;
}

.appointment-button .logo img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ปรับขนาดรูปให้เหมาะสม */
}

.appointment-button .text-bn {
  opacity: 0; /* ซ่อนข้อความเริ่มต้น */
  white-space: nowrap;
  margin-left: 10px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.appointment-button:hover {
  width: 100%; /* ขยายเมื่อชี้ */
  padding: 0 20px;
  display: flex !important;
}

.appointment-button:hover .text-bn {
  opacity: 1; /* แสดงข้อความเมื่อชี้ */
  transform: translateX(0); /* ขยับข้อความ */
}
.appointment-button:hover .logo {
  padding: 0 !important;
}

.pos-button-bn{
  position: absolute;
    top: 77%;
    left: 25%;
}

.pos-button-bn-right{
  position: absolute;
    top: 77%;
    left: 50%;
}
.but-pic-banner{
  width: 75%;
}
.pos-text-bn{
  position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.img-container-about {
  position: relative;
  display: inline-block; /* ให้ container ขนาดตามรูปภาพ */
}
.img-container {
  position: relative;
  display: inline-block; /* ให้ container ขนาดตามรูปภาพ */
}

.img-container img {

  height: auto; /* ปรับให้รูปภาพ responsive */
  filter: grayscale(1);
  transition: all 0.5s ease-in-out;
}
.img-container:hover img {
  filter: grayscale(0);
  transition: all 0.5s ease-in-out;
}
.button-non-bor{
  border: none;
}

.img-container,.img-container-about .text-pos-about-section {
  position: absolute;
  top: 89%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white; /* สีของข้อความ */
  font-size: 39px; /* ปรับขนาดข้อความ */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* เพิ่มเงาให้อ่านง่ายขึ้น */
  text-align: center;
  z-index: 1; /* ให้ข้อความอยู่บนสุด */
  font-family: "Baskerville";
}

.img-container,.img-container-about .button-pos-about-section {
  font-size: 26px;
  text-decoration: unset;
  color: white;
  position: absolute;
  top: 84%;
  left: 20%;
  border: 2px solid white;
  padding: 13px 28px;
  border-radius: 50px;
}
.img-container .button-pos-about-section:hover {
  background: white;
  color: black;
}
.scale-img-about{
  width: 101%;
}

/* ipad pro นอน */
@media only screen and (min-device-width: 1366px) and (max-device-width: 1439px) and (orientation: landscape){
  .pic-left-why {
    width: 70% !important;
}
.pos-pic-why {
  left: -8%;
}
.pos-pic-why-right {
  /* top: 43%; */
  right: -8%;
}
.text-to-line {
  font-size: 15px !important;
}
.typing-line {
 
  font-size: 61px!important;
}
.book-button-new {
  max-width: 21% !important;
}
.text-video-in {
  font-size: 40px !important;
}
.text-thin-video {
  font-size: 25px !important;
}
.head-first {
  font-size: 16px;
}
}