/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/
body {
  font-family: "Kanit", sans-serif;
  font-size: 15px;
}
.sub-menu-container .menu-item > .menu-link {
  font-family: "Kanit", sans-serif;
  font-size: 0.8rem;
}
.content-wrap {
  padding: 80px 0;
}
#logo .standard-title {
  display: none;
}
#logo .standard-title p {
  line-height: 22px;
  margin-bottom: 0px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: "Kanit", sans-serif;
}
#logo img {
  max-height: 80px;
  min-height: 80px;
}
/* #top-bar {
  display: none;
} */
#top-social li:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.dark #top-social li:last-child {
  border-right: 1px solid;
  border-right-color: rgba(255, 255, 255, 0.1);
}
.style-3 .menu-container > .menu-item > .menu-link {
  margin: 0px;
}

.ytb-thumbnail {
  height: 80px;
}
@media (min-width: 992px) {
  #logo img {
    max-height: 100px;
  }
  #top-bar {
    display: block;
  }
  #header.transparent-header,
  #header.transparent-header:not(.sticky-header) #header-wrap {
    border-bottom: none;
  }
  #header.transparent-header.full-header #logo {
    border-right: none;
  }
  #header.transparent-header.full-header .primary-menu .menu-container {
    border-right: none;
  }
  .style-light .menu-link,
  .style-light .header-misc-icon > a {
    color: #fff;
  }

  .not-dark .menu-link,
  .not-dark .header-misc-icon > a {
    color: #444;
  }
  #logo .standard-title p {
    color: #ffffff;
  }

  .sticky-header #logo .standard-title p {
    color: #444;
  }
  .full-topbar > .container {
    width: 100%;
    max-width: none;
    padding: 0 30px;
  }
  .ytb-thumbnail {
    height: 100px;
  }
}
@media (min-width: 1200px) {
  .title-block.custom h1 {
    font-size: 64px;
    line-height: 64px;
  }
  .title-block.custom span {
    font-size: 46px;
  }
}
.section {
  background-color: #ebf1f0 !important;
}

.test::before {
  content: "";
  position: absolute;
  display: block;
  top: 40%;
  left: 35%;
  width: 110%;
  height: 120%;
  background-size: 12px 12px;
  background-position: center;
  transform: translate(-50%, -50%);
  background-image: radial-gradient(#1abc9c 14%, transparent 14%);
  -webkit-mask-image: radial-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0) 75%);
  mask-image: radial-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0) 75%);
  z-index: 0;
}
.img-deputy {
  position: relative;
  z-index: 1;
}
.dot-parttern::before {
  content: "";
  position: absolute;
  display: block;
  top: 55%;
  left: 54%;
  width: 110%;
  height: 120%;
  background-size: 12px 12px;
  background-position: center;
  transform: translate(-50%, -50%);
  background-image: radial-gradient(#1abc9c 14%, transparent 14%);
  -webkit-mask-image: radial-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0) 75%);
  mask-image: radial-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0) 75%);
  z-index: 0;
}

.owl-carousel.image-carousel.custom .team-image {
  display: flex;
  justify-content: center;
}
.owl-carousel.image-carousel.custom .team-title h4 {
  font-size: 1.1rem;
}

.ellipsis-2line {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 54px;
}

.ellipsis-3line {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  height: 48px;
}
.ellipsis-3line-md {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  height: 48px;
}
.entry-title h2 a,
.entry-title h3 a,
.entry-title h4 a {
  color: #1abc9c;
}
.entry-title h2 a:hover,
.entry-title h3 a:hover,
.entry-title h4 a:hover {
  color: #333;
}

.card .entry-title {
  padding-top: 1.25rem;
}
.heading-block h1,
.heading-block h2,
.heading-block h3,
.heading-block h4,
.emphasis-title h1,
.emphasis-title h2 {
  color: #555;
}
.bg-light {
  background-color: #f6f7f8 !important;
}
.tab-nav li a {
  font-weight: 600;
}
.bg-green {
  background-color: #0f6458 !important;
}
.bg-green-light {
  background-color: rgba(15, 100, 88, 0.15) !important;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1abc9c;
}
.tab-nav.tab-nav2 li a {
  font-weight: 400;
}

.btn-gold {
  color: #fff;
  background-color: #c19552;
  border-color: #c58e3b;
}
.btn-gold:hover {
  color: #fff;
  background-color: #c38425;
  border-color: #bf8835;
}
.btn-red {
  color: #fff;
  background-color: #db0000;
  border-color: #db0000;
}
.btn-red:hover {
  color: #fff;
  background-color: #a82629;
  border-color: #9a2023;
}
.text-normal {
  font-size: 100% !important;
}

.swiper-slide .yt-bg-player,
.section .yt-bg-player {
  z-index: 0;
}

#ytb-video {
  cursor: pointer;
}

#ytb-video-button.play-icon {
  position: absolute;
  display: block;
  left: 50%;
  top: 50%;
  width: 60px;
  height: 60px;
  line-height: 61px;
  margin-top: -31px;
  margin-left: -31px;
  transition: transform 0.3s ease;
}
#ytb-video-button.play-icon i {
  width: 60px;
  height: 60px;
  line-height: 61px;
  font-size: 28px;
  color: #fff;
  text-align: center;
  border-radius: 50%;
  background-color: red;
  box-shadow: 0 5px 10px rgb(0 0 0 / 20%);
  z-index: 2;
  transition: all 0.3s ease;
}

#ytb-video:hover .play-icon {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

#ytb-video:hover .play-icon i {
  /* background-color: #1abc9b;
  color: #fff; */
}

#ytb-video-button.play-icon i.icon-play {
  padding-left: 4px;
}

#ytb-video-button.play-icon i:nth-of-type(2),
.video-played #ytb-video-button.play-icon i:nth-of-type(1) {
  display: none;
}

.video-played #ytb-video-button.play-icon i:nth-of-type(2) {
  display: block;
}

#ytb-video:not(:hover) i:nth-of-type(2) {
  opacity: 0;
}

.item-categories h5 {
  position: absolute;
  top: auto;
  left: 10px;
  bottom: 0;
  padding: 12px 22px;
}
.bg-green-2 {
  background-color: #193532 !important;
}

/* Section Instagram */
.custom-travel .image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: 0.5s ease;
  backface-visibility: hidden;
  position: relative;
}

.custom-travel .middle {
  transition: 0.5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  height: 100%;
  width: 100%;
}

.custom-travel .instagram-image:hover .image {
  opacity: 0.3;
}

.custom-travel .instagram-image:hover .middle {
  opacity: 1;
}

.custom-travel .text {
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  padding: 10px;
}

.custom-travel
  [class*="col-"]:not([class*="sticky-"]):not([class*="position-"]) {
  position: relative;
}
.custom-travel [class*="gutter-"] > .custom-travel .col,
.custom-travel [class*="gutter-"] > [class*="col-"] {
  padding-right: calc(var(--custom-gutter) / 2);
  padding-left: calc(var(--custom-gutter) / 2);
  margin-top: var(--custom-gutter);
}

.custom-travel [class*="gutter-"] {
  --custom-gutter: var(--bs-gutter-x);
  margin-right: calc(var(--custom-gutter) / -2);
  margin-left: calc(var(--custom-gutter) / -2);
  margin-top: calc(var(--custom-gutter) * -1);
}

.bg-brown-light {
  background-color: #fdf3e7 !important;
}
#copyrights {
  padding: 20px 0;
}

.dark .footer-big-contacts {
  color: rgba(255, 255, 255, 0.8);
}
.footer-big-contacts {
  color: #333;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1px;
}
.footer-big-contacts span {
  display: block;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  color: #cfcfcf;
  letter-spacing: 2px;
}
.col-mb-20 > .col,
.col-mb-20 > [class*="col-"] {
  padding-bottom: 20px;
}
.subscribe-widget {
  margin-top: 30px;
}
.footer-address-contacts {
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 1.7;
}

#page-title.page-title-parallax h1 {
  font-size: 32px;
  color: #fff;
}
#page-title.page-title-parallax .breadcrumb-item a {
  color: #fff;
}
#page-title.page-title-parallax .breadcrumb-item:last-of-type a {
  color: rgba(255, 255, 255, 0.8);
}
#page-title.page-title-parallax span {
  color: rgba(255, 255, 255, 0.8);
}

.si-share.custom span {
  line-height: 36px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
}

.error404 {
  color: rgba(15, 100, 88, 0.15);
}
.dark .heading-block > h4 {
  color: #eee;
}
.btn-green {
  color: #fff;
  background-color: #0f6458;
  border-color: #0e6256;
}
.btn-green:hover {
  color: #fff;
  background-color: #0c564b;
  border-color: #0c564b;
}
.input-group button {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.entry-title h2,
.entry-title h3,
.entry-title h4 {
  color: #1abc9c;
}
.tab-nav.tab-border-top li.ui-tabs-active {
  border-top: 2px solid #1abc9c;
}
.entry-light .entry-body {
  background-color: #fff;
  background-clip: border-box;
  /* border: 1px solid rgba(0, 0, 0, 0.125);หห */
  border: none;
  border-radius: 0.25rem;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  flex: 1 1 auto;
  min-height: 1px;
  padding: 1.25rem;
}
.entry-light .entry-body p {
  margin-bottom: 0px;
}
.entry-light .entry-image img {
  border-radius: 3px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}
@media (min-width: 1200px) {
  .full-header #logo {
    padding-right: 0px;
  }
  #logo .standard-title {
    display: block;
  }
  .slide-height {
    height: 400px;
  }
  .entry-light.entry-image-left .entry-body {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
  }
  .entry-light.entry-image-left .entry-image img {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
  }
  #ytb-video-button.play-icon {
    width: 100px;
    height: 100px;
    line-height: 100px;
    margin-top: -49.6px;
    margin-left: -49.6px;
  }
  #ytb-video-button.play-icon i {
    width: 100px;
    height: 100px;
    line-height: 100px;
    font-size: 44px;
  }
}
.bg-gold {
  background-color: #c19552 !important;
}
.rounded-small {
  border-radius: 3px;
}
.depty-title-size {
  font-size: 34px;
  letter-spacing: -1px;
}

@media (min-width: 992px) {
  .depty-title-size {
    font-size: 34px;
    letter-spacing: -1px;
  }
  .entry-image .min-height-lg {
    height: 220px;
  }
}
.bg-twice {
  background-image: url("../images/main/bg-video-2.jpg") !important;
  background: no-repeat center;
  background-position-y: -10%;
}

@media (max-width: 1199px) {
  .bg-twice {
    background-position-y: -34%;
    padding-top: 16px !important;
  }
}
@media (max-width: 767px) {
  .bg-twice {
    background-position-y: -23%;
    padding-top: 16px !important;
  }
}
@media (max-width: 461px) {
  .bg-twice {
    background-position-y: -38%;
    padding-top: 16px !important;
  }
}
@media (max-width: 767px) {
  .stretched #gotoTop {
    display: block;
  }
  #page-title.page-title-parallax h1 {
    font-size: 26px;
    color: #fff;
  }
}

.table thead th {
  font-weight: 600;
}
.table.table-sm th,
.table.table-sm td {
  padding: 0.65rem;
  font-size: 15px;
}
.table tbody td p {
  color: #555;
  margin-bottom: 0px;
}
table {
  margin-bottom: 0px;
}
table.table {
  margin-bottom: 0px;
}
.faqs ol,
.faqs ul {
  padding-left: 30px;
}

.custom-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1abc9c;
}
.text-green {
  color: #1abc9c !important;
}
.border-bottom-1 {
  border-bottom: 1px solid #dee2e6;
}

.posts-md .entry-title h4 {
  font-size: 15px;
}
.body-gray {
  -webkit-filter: grayscale(90%);
  filter: grayscale(90%);
}

.text-gray {
  color: #555;
}
.img-thumbnail {
  border: none;
}
.help-block {
  margin-top: 4px;
  color: red;
}
.text-2 {
  font-size: 1rem;
}
.file-preview {
  display: none;
}
.alert.fade:not(.show) {
  opacity: 1 !important;
}

.custom-contact-card-link {
  background-color: #1abc9c;
  color: #fff;
}
#page-menu-wrap {
  background-color: #0f6458 !important;
}
.button {
  background-color: #db0000;
}
.opening-table .heading-block span {
  font-size: 16px;
  font-weight: 400;
}

.opening-table {
  padding: 30px;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #eee;
}

.text-primary {
  color: #1abc9c !important;
}
h5.modal-title {
  font-size: 18px;
  font-weight: 600;
}
.petition .fbox-content h3 {
  font-size: 1.3rem;
}
.comment-wrap {
  padding: 50px 50px 50px 75px;
}
@media (min-width: 992px) {
  .sub-menu-container,
  .mega-menu-content {
    width: 254px;
  }
}
.entry-content table th,
.entry-content table td {
  vertical-align: top;
}

.entry-content .table th,
.entry-content .table td {
  vertical-align: middle;
}

.entry-content img {
  max-width: 100%;
  height: auto !important;
}

@media (min-width: 992px) {
  .entry-light .entry-image img {
    width: 240px !important;
    height: 140px !important;
  }
}

@media (min-width: 1200px) {
  .entry-light .entry-image img {
    width: 310px !important;
    height: 210px !important;
  }
  .section {
    padding: 100px 0;
  }
}

.fw-medium {
  font-weight: 400 !important;
}
.team-title h4 {
  font-weight: 400 !important;
}
.entry-title h1,
.entry-title h2,
.entry-title h3,
.entry-title h4 {
  font-weight: 400 !important;
}

.visitor-center span {
  display: inline-block;
  padding: 0px 6px 0px;
  border-radius: 4px;
  background: #212529;
  margin-right: -2px;
  color: #eee;
}
.visitor-center {
  margin-left: 14px;
}

.accordion-bg .accordion-header {
  background-color: #0f6458 !important;
}

.toggle-header, .accordion-header {
  color: #fff;
  font-weight: 400;
}
p {
  margin-bottom: 10px !important;
}
a.ita-link{
  font-size: 14px;
  display: inline-block;
  padding: 0 3px 0 12px;
  border: none !important;
  color: #444;
}

.text-dark-green {
  color: #0f6458 !important;
}
.bg-brand{
  background-color: #0f6458;
  color: #FFF;
}
ul.ita li {
  font-size: 1rem;
  line-height: 2.0;
}

.ita > .media-body {
  flex: 1;
  flex-basis: 100%;
  padding: 10px;
}

@media (max-width: 767px) {
  .media.ita {
    flex-wrap: wrap;
    justify-content: center;
  }
  .ita > .media-body {
      flex: 1;
      flex-basis: 100%;
      padding-top: 0px;
      padding-left: 20px;
      padding-right: 20px;
  }
}
@media (min-width: 992px) {
  .ita-nested-xs{
    min-width: 280px;
  }
  .ita-nested-sm{
    min-width: 320px;
  }
}
.heading-block.contact::after{
  margin-top: 14px;
}