*{
  font-family: 'Kanit', sans-serif !important;
}
.mySlides {
  display: none;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  font-family: sans-serif;
  min-width: 400px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.styled-table thead tr {
  background: linear-gradient(to bottom,rgb(109, 13, 199),rgb(48, 4, 129));
  color: #ffffff;
  text-align: left;
}

.styled-table th,
.styled-table td {
  padding: 12px 15px;
}

.styled-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
  border-bottom: 2px solid linear-gradient(to bottom,rgb(109, 13, 199),rgb(48, 4, 129));
}

.styled-table tbody tr.active-row {
  font-weight: bold;
  color: linear-gradient(to bottom,rgb(109, 13, 199),rgb(48, 4, 129));
}

.ggf {
  font-weight: bold;
  color: linear-gradient(to bottom,rgb(109, 13, 199),rgb(48, 4, 129));
  font-size: 3.9em;
}

.slider {
  position: relative;
}

#slider {
  position: relative;
  overflow: hidden;
  width: 100% !important;
}

#slider ul {
  position: relative;
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 99999px;
  overflow: hidden;
  list-style: none;
}

#slider ul li {
  position: relative;
  display: block;
  float: left;
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  text-align: center;
}

#slider ul li .slide {
  background-size: cover;
  height: 100vh;
}

button.control_prev,
button.control_next {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: block;
  border: none;
  width: 2em;
  height: 2em;
  line-height: 1.9em;
  background: rgba(255, 255, 255, .30);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 2rem;
  opacity: 0.8;
  cursor: pointer;
  border-radius: 50%;
  transform: translateY(-50%);
}

button.control_prev:focus,
button.control_next:focus {
  outline: none;
  border: 1px rgba(255, 255, 255, .5) solid;
}

button.control_prev:hover,
button.control_next:hover {
  opacity: 1;
  -webkit-transition: all 0.2s ease;
}

button.control_prev {
  left: 2rem;
}

button.control_next {
  right: 2rem;
}

.progress {
  position: absolute;
  background: rgba(255, 255, 255, .3);
  height: 0.5rem;
  width: 100%;
  bottom: 0;
  border-top: 1px rgba(0, 0, 0, .15) solid;
}

.progress .bar {
  height: 100%;
  width: 0%;
  background: #fff;
}

.teaser {
  position: absolute;
  top: 50%;
  text-align: center;
  width: 100%;
  color: #fff;
  transform: translateY(-50%);
}

.teaser h2 {
  font-size: 5em;
  text-transform: uppercase;
  line-height: 1.5em;
  color: #fff;
}

.teaser p {
  font-size: 1.3em;
  line-height: 1.3em;
  border-top: 2px #fff solid;
  width: 33%;
  min-width: 25rem;
  margin: 0rem auto;
  padding: 1.5rem 0;
}

.teaser h3 {
  border-bottom: 2px #fff solid;
  width: 33%;
  padding: 1.5rem 0;
  margin: 0rem auto;
  min-width: 25rem;
}

.teaser a {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

div.example {
  background-color: lightgrey;
  padding: 20px;
}

@media screen and (min-width: 601px) {
  div.example {
      font-size: 80px;
  }
}

@media screen and (max-width: 600px) {
  div.example {
      font-size: 30px;
  }
}

/* .client-logo {
  padding: 1%;
  margin: 1%;
  border-radius: 8px;
} */

.scrollto {
  font-size: 0.8em;
  color: #1A5276;
  font-weight: bold;
}

.bounceInUp {
  text-align: center;
  /* width: 90%;
   padding: 2px; */
  margin: 0px;

}

.xxx {
  border-radius: 8px;
  border-color: #F03E05;
  border: 2px;
}

.bbbr {

  border-radius: 30px;
  border-color: #1A5276;
}

#clients {
  /* background: #0E6251; */
}

.fffoncolor {
  color: #009879;
  font-size: 18px;
  font-weight: bold;
}

.hrnew5 {
  border: 3px solid #F03E05;
  border-radius: 5px;
}

.news-bg {
  padding: 10px;
  background: rgb(0, 33, 36);
  background: linear-gradient(90deg, rgba(0, 33, 36, 1) 0%, rgba(9, 121, 107, 1) 100%);
  border-radius: 8px;
}

.news-xx {
  padding: 10px;
  background: rgb(179, 9, 58);
  background: radial-gradient(circle, rgba(179, 9, 58, 1) 0%, rgba(193, 51, 92, 1) 37%, rgba(255, 232, 240, 1) 100%);
  border-radius: 8px;
}

.news-dd {
  padding: 10px;
  background: rgb(179, 9, 58);
  background: radial-gradient(circle, rgba(179, 9, 58, 1) 0%, rgba(211, 109, 219, 1) 0%, rgba(255, 232, 240, 1) 60%);
  border-radius: 8px;
}


.news-bg2 {
  padding: 10px;
  background: rgb(158, 52, 10);
  background: linear-gradient(90deg, rgba(158, 52, 10, 1) 0%, rgba(175, 96, 12, 1) 100%, rgba(0, 212, 255, 1) 100%);
  border-radius: 8px;
  animation: blinkBorder 1s infinite alternate;
}

@keyframes blinkBorder {
  from {
      border: 2px solid transparent;
  }

  to {
      border: 2px solid white;
  }
}

video {
  width: 60%;
  margin: 1% 1% 1% 1%;
  padding: 2%;
  height: auto;
  border-radius: 6px;
  margin-top: 40px;
}

.custom-img {
  width: 480px;
  height: 380px;
  /* object-fit: cover; */
  /* ป้องกันการบิดเบือนของรูป */
}

.caption h2 {
  color: #fff;
  /* This is the Bootstrap "text-info" color */
  font-weight: bold;
  font-family: 'Arial', sans-serif;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  background: #0a6f6d;
  border-radius: 12px;
}

.caption h2:hover {
  color: #ff5733;
  /* Change text color on hover */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  /* Add shadow on hover */
}

.modal-body {
  position: relative;
  height: 100%;
  width: 100%;
}

/*  */
.intro-info{
  
 color: #fff;;
}
.font-thai{
    font-family: 'Mitr', sans-serif;
    font-family: 'Prompt', sans-serif;

}
.imgmain{
  border-radius: 10px 10px;
}

.imgnew-1{
    border-radius: 70px;
  }
  .imgnew-2{
    border-radius: 50px;
  }
  .imgnew-3{
    border-radius: 80px 80px;
  }

.hover-imgmain{
  /* background-color: #007bff; */
  border-radius: 10px 10px;
}

  /* img_slid */
  


  /* tootip */
  /* hr */
  hr {
    border: 0;
    clear: both;
    display: block;
    margin: 2.4rem auto;
    text-align: center;
    width: 100%;
  }
  
  /* -- Animated hr -- */
  
  .progress {
    background: rgba(1, 15, 30, 0.1);
    height: 1px;
    overflow: hidden;
    position: relative;
  }
  
  .progress::before {
    animation-duration: 2s;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
    animation-name: progress;
    background: #108cd4;
    content: "";
    display: block;
    height: 1px;
    position: absolute;
    width: 80px;
  }
  
  @keyframes progress {
    0% {
      transform: translateX(0px);
    }
    100% {
      transform: translateX(1440px);
    }
  }
  
  .bor-res{
    border-radius: 16px;
  }

/* สถิติ */
  #why-us {
    background: linear-gradient(to bottom,rgb(109, 13, 199),rgb(48, 4, 129));
color: #ffffff;
}

.bgbg{
  color: #fff;
  background: linear-gradient(to bottom,rgb(109, 13, 199),rgb(48, 4, 129));
  }
  .colbgbg{
    background: linear-gradient(to bottom,rgb(109, 13, 199),rgb(48, 4, 129));;
  }

  .colb{
    color: #fff;
    background: linear-gradient(to bottom,rgb(109, 13, 199),rgb(48, 4, 129));
    font-weight: bold;
    font-size: 20px;
    }
  

#footer{
  background: linear-gradient(to bottom,rgb(109, 13, 199),rgb(48, 4, 129));
  }

  #footer .footer-top {
    background: linear-gradient(to bottom,rgb(109, 13, 199),rgb(48, 4, 129));
    padding: 60px 0 30px 0;
}


#footer .footer-top .social-links a {
  background: #000;
}

.back-to-top {
background: #000;
}


#contact .form button[type="submit"] {
  background: linear-gradient(to bottom,rgb(109, 13, 199),rgb(48, 4, 129));
}

.scrollto{
  color: #f3f3f3;
  font-size: 20px;
}
#header{
  background: linear-gradient(to bottom,rgb(109, 13, 199),rgb(48, 4, 129));
}
