body {
  font-family: "Sarabun", sans-serif;
  background-color: white !important;
  margin-left: 0;
  margin-right: 0;
  min-width: 1340px;
  color: black;
}
/* html {
  -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
} */
main {
  min-width: 1340px;
}

@media print {
  @page {
    size: landscape;
  }

  html,
  body {
    width: 21cm;
    height: 29.7cm;
  }
}

.container_main {
  max-width: 1340px;
  min-width: 1340px;
}

.slick-header .slick-dots {
  bottom: -20x;
  z-index: 10;
}
.slick-header .slick-dots li {
  width: 12px;
  height: 12px;
  margin: 0 3px;
}

.slick-header .slick-dots li button::before {
  opacity: 0.75;
  color: #a2d5f2;
  font-size: 12px;
}

.slick-header .slick-dots li.slick-active button::before {
  opacity: 1;
  color: #0867a9;
  font-size: 14px;
}

.slick-picture .slick-slide {
  margin-left: 49px;
}

.slick-picture .slick-dots {
  bottom: -45px;
  background: #f6f6f6;
  width: auto;
  padding: 2px 20px;
  border-radius: 12px;
  left: 44.2%;
}
.slick-picture .slick-dots li {
  margin: 0 1px;
}

.slick-picture .slick-dots li button::before {
  line-height: 16px;
  font-size: 14px;
}

.slick-picture .slick-dots li.slick-active button::before {
  color: #008372;
}

.slick-travel .slick-prev::before {
  content: "";
  height: 28px;
  width: 29px;
  background: url("../images/icon/prev.png");
  display: block;
  opacity: 1;
  background-repeat: no-repeat;
}

.slick-travel .slick-next::before {
  content: "";
  height: 28px;
  width: 29px;
  background: url("../images/icon/next.png");
  display: block;
  opacity: 1;
  background-repeat: no-repeat;
}

.slick-travel .slick-next {
  right: -50px;
}
.slick-travel .slick-prev {
  left: -60px;
}

.bg_travel {
  background-image: url("../images/travel/bg_travel.png");
  width: 100%;
  min-height: 628px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.bg_vdo {
  background-image: url("../images/vdo/bg_vdo.jpg");
  width: 100%;
  min-height: 545px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.bg_title_webboard {
  background-image: url("../images/webboard/bg_title_webboard.png");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  width: 363px;
  height: 94px;
}
.bg_crf {
  background-image: url("../images/crf/bg_crf.png");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  width: 1028px;
  height: 724px;
}

.title_crf_active {
  background-color: #094776 !important;
  color: white !important;
  position: relative;
  z-index: 10 !important;
  top: 12px;
}
.title_crf {
  color: #074495;
  background-color: #7bc7d7;
  position: relative;
  top: 12px;
  z-index: 1;
}

.title_crf_triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 15px 0 15px;
  border-color: #094776 transparent transparent transparent;
  transform: rotate(0);
}

.fade-enter-active, .fade-leave-active {
  transition: opacity 0.5s;
}
.fade-enter-from, .fade-leave-to {
  opacity: 0;
}


.slide-enter-active, .slide-leave-active {
  transition: transform 0.5s ease, opacity 0.5s ease;
  position: absolute;   /* กันไม่ให้ div ซ้อนเลย์เอาท์ */
}
.slide-enter-from {
  transform: translateX(100%);
  opacity: 0;
}
.slide-enter-to {
  transform: translateX(0);
  opacity: 1;
}
.slide-leave-from {
  transform: translateX(0);
  opacity: 1;
}
.slide-leave-to {
  transform: translateX(-100%);
  opacity: 0;
}


.hoverfootertext:hover{
  cursor: pointer;
  color: #0054a5;
  text-shadow: rgb(255, 243, 131) 1px 0px 0px,
    rgb(255, 243, 131) 1.75517px 0.958851px 0px,
    rgb(255, 243, 131) 1.0806px 1.68294px 0px,
    rgb(255, 243, 131) 0.141474px 1.99499px 0px,
    rgb(255, 243, 131) -0.832294px 1.81859px 0px,
    rgb(255, 243, 131) -1.60229px 1.19694px 0px,
    rgb(255, 243, 131) -1.97998px 0.28224px 0px,
    rgb(255, 243, 131) -1.87291px -0.701566px 0px,
    rgb(255, 243, 131) -1.30729px -1.5136px 0px,
    rgb(255, 243, 131) -0.421592px -1.95506px 0px,
    rgb(255, 243, 131) 0.567324px -1.91785px 0px,
    rgb(255, 243, 131) 1.41734px -1.41108px 0px,
    rgb(255, 243, 131) 1.92034px -0.558831px 0px;
}


.lightbox:focus {
  pointer-events: none;
  outline: 0;
}

.img-popup {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(38, 40, 52, 0.9);
  text-align: center;
  display: none;
  z-index: 9999999999999;
  animation: pop-in;
  animation-duration: 0.5s;
  -webkit-animation: pop-in 0.5s;
  -moz-animation: pop-in 0.5s;
  -ms-animation: pop-in 0.5s;
}

.img-popup img {
  position: absolute;
  top: 50%;
  max-width: 100%;
  max-height: 99vh;
  /* box-shadow: 3px 3px 10px black; */
  display: inline-block;
  transform: translate(-50%, -50%);
}

.lightboxfadeout {
  animation: fadeout;
  animation-duration: 0.5s;
  -webkit-animation: fadeout 0.5s;
  -moz-animation: fadeout 0.5s;
  -ms-animation: fadeout 0.5s;
}



/* paginattion */
.pagination li {
  display: inline;
}

.pagination a {
  float: left;
  padding: 0 12px;
  line-height: 30px;
  text-decoration: none;
  border: 1px solid #ddd;
}

.pagination .active a,
.pagination a:hover {
  background-color: #1563a7;
  color: white;
}

.pagination .active a {
  color: white;
  cursor: default;
}

.pagination .disabled a,
.pagination .disabled a:hover,
.pagination .disabled span {
  color: #94999e;
  background-color: transparent;
  cursor: default;
}

.pagination li:first-child a,
.pagination li:first-child span {
  /* border-left-width: 1px; */
  -webkit-border-radius: 3px 0 0 3px;
  -moz-border-radius: 3px 0 0 3px;
  border-radius: 10px 0 0 10px;
}

.pagination li:last-child a {
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 10px 10px 0;
}

/* endpaginattion */