@import url('https://fonts.googleapis.com/css?family=Kanit|Kodchasan');
@import url('bootstrap/css/bootstrap.css?v=1');
@import url('https://use.fontawesome.com/releases/v5.2.0/css/all.css');
@import url('animate.css?v=1');
:root {
    --bs-blue: #0d6efd;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #dc3545;
    --bs-orange: #993300;
    --bs-yellow: #ffc107;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-primary: #0d6efd;
    --bs-secondary: #6c757d;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  }
  
.topbarright {
  position: relative;
  background: var(--warning);
}

.topbarright::before {
  position: absolute;
  content: "";
  width: 30px;
  height: 100%;
  top: 0;
  left: -15px;
  transform: skewX(-30deg);
  background-color: var(--warning);
}
  body{
  margin-top: 0;
  margin-bottom: 0;
  margin-right: 0;
  margin-left: 0;
  font-family: 'Kanit';
  }
  .top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--bs-warning);
    transform: skew(30deg);
}
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}
.bg_gray{
    background-color: var(--bs-gray-dark);
}
.bg-orange{
    background-color: #993300;
}
.bg-pink{
  background-color: var(--bs-pink);
}
.text-orange{
  color: var(--bs-orange);
}
.links {
    text-decoration: none;
    
  }
.jarallax {
    position: relative;
    z-index: 0; }
  
.jarallax > .jarallax-img {
    position: absolute;
    object-fit: cover;
    font-family: 'object-fit: cover;';
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
    z-index: -1; }
.navbar {
    font-family: 'Kanit'
}
.navbar-nav li:hover>.dropdown-menu {
    display: block;
    font-family: 'Kanit';
  }
.bg-img {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat; 
    background-attachment: fixed;
}
.navbar-brand{
  max-width: 100%;
  height: auto;
}
.logo{
  width: 100px;
  height: auto;
}


.image  {
    width: 100%;
    height: 300;
    transition: all 2s ease-in-out
}

.image:hover {
    transform: scale(2, 2);
    cursor: pointer
}
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


@media (max-width: 768px) {
    .hidden{
        display: none;
    }
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
   
}
.carousel-inner img {
    margin: auto;
  }
 /* Custom CSS for zoom-in animation */
 .zoomIn {
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.zoomIn.show {
    opacity: 1;
    transform: scale(1);
}
/* Custom CSS for Title */
.catheader__topic{
    left: 0;
    height:32px;
    border-bottom:2px solid var(--bs-warning);
}
.catheader__topic .text{
  left: 0;
    height:30px;
  
    background:var(--bs-warning);
    color:#000;
    font-size:14pt;
    font-weight:700;
    float:left;
    font-family:kanit,sans-serif;
}.catheader__topic .arrow{
    color:var(--bs-warning);
    width:0;
    height:0;
    border-bottom:30px;
    border-bottom-style:solid;
    border-right:15px solid transparent;float:left;
}
.bg-overlay {
  position: relative;
  z-index: 2;
  background-position: center center;
  background-size: cover; }
  .bg-overlay::after {
    background-color: rgba(0, 0, 0, 0.61);
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: ""; }
.wrap {
    position: relative;
    height: 85vh;
  }
  @media (max-width: 900px) {
    .hidden{
      display: none;
  }
  }
  @media (max-width: 500px) {
    .detail img{
      max-width: 100%;
      height: auto;
    }
   
  }
  .video-bg {
    position: relative;
    height: 100%;
    background: #000;
    overflow: hidden;
  }
  
  .video-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(155, 167, 211, 0.3);
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000000' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
  }
  
  .video-bg iframe {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vw;
    
  }
  @media (min-aspect-ratio: 16/9) {
    .video-bg iframe {
      max-height: 56.25vw;
      width: 100vw;
      height: 100vw;
    }
    .wrap{
      max-height: 56.25vw;
    }
     
  }
  @media (max-aspect-ratio: 16/9) {
    .detail iframe {
      height: 56.25vw;
      width: 100vw;
      height: 100vw;
    }
    .video-bg iframe {
      max-height: 56.25vw;
      width: 100vw;
      height: 100vw;
    }
    .wrap{
      max-height: 56.25vw;
    }
  }
  :root {
    --s:10vw;
  }
  
  .title {
    background: #f2f2f2;
  }
  
  .img {
    min-height: 130px;
    background: center/cover no-repeat;
  }
  
  .col:first-child {
    clip-path: polygon(0 0, calc(100% - 15px) 0, calc(100% - var(--s)) 100%, 0 100%);
    margin-right: calc(-1*var(--s)/2);
  }
  
  .col:nth-child(2) {
    clip-path: polygon(var(--s) 0, calc(100% - 15px) 0, calc(100% - var(--s)) 100%, 15px 100%);
    margin: 0 calc(-1*var(--s)/2);
  }
  
  .col:last-child {
    clip-path: polygon(var(--s) 0, 100% 0, 100% 100%, 15px 100%);
    margin-left: calc(-1*var(--s)/2);
  }
  
  /* rectify the alignment of the text */
  .col:nth-child(2) > .title,
  .col:last-child > .title{
    padding-left: calc(var(--s) - 15px)!important;
  }

  
  .div_hover{
    background-color: #FFFFFF;
  }
  
 /*
  .div_hover:hover {
    background-color:  var(--bs-info);
  }
  */
  .div_hover3{
    background-color: #FFFFFF;
    overflow: hidden;
    height: 120px;
  }
  
  .div_hover3:hover {
    --bs-bg-opacity: 1;
  }
  .div_hover2 {
    background: var(--bs-primary); 
  }
   /*
  .div_hover2:hover {
    background-color:  var(--bs-info);
  }
 */
  @media (max-width: 800px) {
    .carousel-inner .carousel-item > div {
        display: none;
    }
    .carousel-inner .carousel-item > div:first-child {
        display: block;
    }
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex;
}

/* medium and up screens */
@media (min-width: 768px) {
    .carousel-inner .carousel-item-end.active,
    .carousel-inner .carousel-item-next {
      transform: translateX(25%);
      overflow: hidden;
    }
    
    .carousel-inner .carousel-item-start.active, 
    .carousel-inner .carousel-item-prev {
      transform: translateX(-25%);
      overflow: hidden;
    }
}

.carousel-inner .carousel-item-end,
.carousel-inner .carousel-item-start { 
  transform: translateX(0);
  overflow: hidden;
}

.bg3 {
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 40px;
  border-bottom: solid 1px #ccc;
  background: rgb(170, 201, 212);
  background: radial-gradient(circle, rgb(202, 235, 247) 0%, rgba(165, 187, 212, 0.003) 100%);
}
.bg4{
  padding-top: 40px;
  padding-bottom: 40px;
  border-bottom: solid 1px #ccc;
  border-top: solid 1px #ccc;
  background: var(--bs-primary);
  background: linear-gradient(103deg, rgba(34,193,195,0.15730042016806722) 0%, rgba(255,255,255,1) 100%);
  
}
.portfolio-btn2 {
  height:105px;
  overflow: hidden;
  transform: skew(-10deg);
  -o-transform: skew(-10deg);
  -moz-transform: skew(-10deg);
  -webkit-transform: skew(-10deg);
  font-family: "Raleway";
  text-transform: uppercase;
  display: table;
  position: relative;
  transition: all 200ms linear;
  -o-transition: all 200ms linear;
  -ms-transition: all 200ms linear;
  -moz-transition: all 200ms linear;
  -webkit-transition: all 200ms linear;
}

.portfolio-btn2 span {
  display: inline-block;
  transform: skew(10deg);
  -o-transform: skew(10deg);
  -moz-transform: skew(10deg);
  -webkit-transform: skew(10deg);
}
.portfolio-btn2 img {
  display: inline-block;
  transform: skew(10deg);
  -o-transform: skew(10deg);
  -moz-transform: skew(10deg);
  -webkit-transform: skew(10deg);
}
.galleryslide {
  width: 100%;
  height: 450px;
}

.footbox{
  position: absolute;
  padding: 0;
  width: 200px;
  height: 341px;
  margin-top: -120px;
}
.bos{
  overflow: hidden;
}
.bos img{
  width: 100%;
  height: auto;
}
@media (max-width: 768px) {
 .bos{display: none;}
}

.breadcrumb-area {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 255px; }
@media only screen and (max-width: 767px) {
  .catheader__topic .arrow{
    display: none;
}
    .breadcrumb-area {
      height: 180px; } }
.breadcrumb-area .breadcrumb-content h2 {
    color: #ffffff;
    font-size: 30px;
    text-transform: uppercase;
    display: block; }
@media only screen and (max-width: 767px) {
      .breadcrumb-area .breadcrumb-content h2 {
        font-size: 24px; } }
.breadcrumb-area .breadcrumb-content .breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 0; }
.breadcrumb-area .breadcrumb-content .breadcrumb .breadcrumb-item::before {
      color: #ffffff; }
.breadcrumb-area .breadcrumb-content .breadcrumb .breadcrumb-item.active {
      color: #ffbb38;
      font-size: 16px;
      font-weight: 600; }
.breadcrumb-area .breadcrumb-content .breadcrumb .breadcrumb-item a {
      font-size: 16px;
      color: #ffffff;
      font-weight: 600; }
.breadcrumb-area .breadcrumb-content .breadcrumb .breadcrumb-item a:hover {
        color: #ffbb38; }
.jarallax {
          position: relative;
          z-index: 0; }
        
.jarallax > .jarallax-img {
          position: absolute;
          object-fit: cover;
          font-family: 'object-fit: cover;';
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          z-index: -1; }
.detail img{
  max-width: 100%;
  height: auto;
}


.detail iframe {
  display: block;
  width: 100%;
  height: 480px;
  
}
@media (min-aspect-ratio: 16/9) {
  .video-bg iframe {
    max-height: 56.25vw;
  }
   
}
.bg-fixed {
  background-attachment: fixed !important; }

.align-items-end {
    -webkit-box-align: end !important;
    -ms-flex-align: end !important;
    align-items: flex-end !important; 
  }
.manager{
  max-width: 100%;
  height: auto;
  bottom: 0;
}
.managerfoot{
  max-width: 50%;
  height: auto;
  bottom: 0;
  -webkit-box-align: end !important;
  -ms-flex-align: end !important;
  align-items: flex-end !important; 
}
.ftco-hireme {
      background: #b1b493;
      padding: 0;
      color: rgba(255, 255, 255, 0.9); 
    }
.ftco-hireme h2 {
        color: #fff;
        font-size: 34px;
        font-weight: 600; 
      }


      @media (min-width: 992px) {
        .border-menu{border-left: dashed 1px #d1cdca;}
        .navbar-brand{
          z-index: 10000;
          position: absolute;
          padding: 0;
          top:0;
          max-width: 100%;
          height: auto;
        }        
        .ftco-hireme img {
          margin-top: -130px; } 
        .manager img{
          width: 140px;
          max-width: 100%;
          height: auto;
          margin-top: -80px; 
          padding-bottom: 0;
          padding-bottom: 0;
          margin-bottom: 0;
          bottom: 0;
        }
        .managerfoot{
          margin-top: -40px;
          bottom: 0;
          padding-bottom: 0;
          margin-bottom: 0;
        }
        .box4{
          margin-top: -89px;
          bottom: 0;
        }
        .menu{
          margin-top: -65px;
          position:relative;
          display: block;
        }
      }
  

      @media (max-width: 768px) {
        .navbar-brand{
          z-index: 1;
        }    
      .manager img {
        max-width: 100%;
        height: auto;
        bottom: 0;
        padding-bottom: 0;
        margin-bottom: 0;
        bottom: 0;
        display: none;
      }
      .menu{
        position:relative;
        display: block;
      }
    }
      .map_section .map_container {
        height: 460px;
      }
      
      .map_section .map_container .map-responsive {
        height: 100%;
      }
      .footer {
        height: auto;
    }
.map{
  background-image: url("../img/map.png");
  background-repeat: no-repeat;
  background-position: left;
  background-attachment: fixed;
  
}
.mapfoot{
  background-image: url("../img/map.png");
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

.org{
  background-image: url("../img/footer.png");
  background-repeat: no-repeat;
  background-position: left;
  background-attachment: fixed;
}

.container-youtube {
  position: relative;
}

.container-youtube img {
  display: block;
}

.container-youtube .fa-youtube {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.mx-linear {
background: rgb(255, 255, 255);
background: -moz-linear-gradient(45deg, rgb(255, 255, 255) 50%, rgb(0, 72, 179) 25%);
background: -webkit-linear-gradient(45deg, rgba(255, 255, 255) 50%, rgb(0, 72, 179) 25%);
background: linear-gradient(45deg, rgba(255, 255, 255) 50%,  rgb(0, 72, 179) 25%);
}

.date {
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  background-color: #198754;
}
.date span {
  display: block;
  line-height: 30px;
}
.month {
  font-size: 16px;
  background-color: #0d6efd;
}

.ftco-degree {
  display: block;
  width: 100%;
  position: relative;
  z-index: 1;
  padding-top: 3em; 
  }
.ftco-degree:before {
    content: '';
    position: absolute;
    left: 0;
    top: -40px;
    overflow: visible;
    width: 50%;
    height: 80px;
    z-index: 0;
    -webkit-transform: skewY(6deg);
    -moz-transform: skewY(6deg);
    -ms-transform: skewY(6deg);
    -o-transform: skewY(6deg);
    transform: skewY(6deg);
    background-color: #fff; 
}
.ftco-degree:after {
    content: '';
    position: absolute;
    right: 0;
    top: -40px;
    overflow: visible;
    width: 50%;
    height: 80px;
    z-index: 0;
    -webkit-transform: skewY(-6deg);
    -moz-transform: skewY(-6deg);
    -ms-transform: skewY(-6deg);
    -o-transform: skewY(-6deg);
    transform: skewY(-6deg);
    background-color: #fff; 
}

.index-carousel {
  position: relative;
  height: 100%;
  background: #000;
  overflow: hidden;
}

.index-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  }

.index-carousel iframe {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vw;
  
}
@media (min-aspect-ratio: 16/9) {
  .index-carousel iframe {
    max-height: 56.25vw;
    width: 100vw;
    height: 100vw;
  }
  .wrap{
    max-height: 56.25vw;
  }
   
}
@media (max-aspect-ratio: 16/9) {
  .detail iframe {
    height: 56.25vw;
    width: 100vw;
    height: 100vw;
  }
  .index-carousel iframe {
    max-height: 56.25vw;
    width: 100vw;
    height: 100vw;
  }
  @media (min-aspect-ratio: 16/9) {
    .index-carousel iframe {
      max-height: 56.25vw;
    }
     
  }
}
.custom-caption {
z-index:1;
position: absolute;
top: 5%;
left: 50%;
transform: translateX(-50%);
padding: 10px;
width: 100%;
text-align: center; /* Centers the text */
transition: all ease-in-out 0.5s;
}


.custom-caption h1{
display: block;
margin: auto;
text-align: center;
opacity: 0.8;
width: 50%;
font-family: 'Kanit';
padding: 10px;
background-color: #212529;
}
.custom-caption h1 a {
color: #FFFFFF; /* Set the color of the link text */
text-decoration: none; /* Remove the underline from the link */
opacity: 1;
}
.custom-caption a:hover {
text-decoration: none; /* Add underline on hover */
}


/*********************** Demo - 1 *******************/
.news_box1 img,.news_box1:after,.news_box1:before{width:100%;transition:all .3s ease 0s}
.news_box1 .icon,.news_box2,.news_box3,.news_box4,.news_box5 .icon li a{text-align:center}
.news_box10:after,.news_box10:before,.news_box1:after,.news_box1:before,.news_box2 .inner-content:after,.news_box3:after,.news_box3:before,.news_box4:before,.news_box5:after,.news_box5:before,.news_box6:after,.news_box7:after,.news_box7:before{content:""}
.news_box1,.news_box11,.news_box12,.news_box13,.news_box14,.news_box16,.news_box17,.news_box18,.news_box2,.news_box20,.news_box21,.news_box3,.news_box4,.news_box5,.news_box5 .icon li a,.news_box6,.news_box7,.news_box8{overflow:hidden}
.news_box1 .title,.news_box10 .title,.news_box4 .title,.news_box7 .title{letter-spacing:1px}
.news_box3 .post,.news_box4 .post,.news_box5 .post,.news_box7 .post{font-style:italic}
/*********************** Demo - 2 *******************/


/*********************** Demo - 7 *******************/
.news_box7{position:relative}
.news_box7:after,.news_box7:before{width:100%;height:100%;background:rgba(11,33,47,.9);position:absolute;top:0;left:0;opacity:0;transition:all .5s ease 0s}
.news_box7:after{background:rgba(255,255,255,.3);border:2px solid #0dab76;top:0;left:170%;opacity:1;z-index:1;transform:skewX(45deg);transition:all 1s ease 0s}
.news_box7:hover:before{opacity:1}
.news_box7:hover:after{left:-170%}
.news_box7 img{width:100%;height:auto}
.news_box7 .news_box-content{width:100%;position:absolute;bottom:-100%;left:0;transition:all .5s ease 0s}
.news_box7:hover .news_box-content{bottom:30%}
.news_box7 .title{display:block;font-size:22px;font-weight:700;color:#fff;margin:0 0 10px}
.news_box7 .post{display:block;font-size:15px;font-weight:600;color:#fff;margin-bottom:10px}
.news_box7 .icon{margin:0}
.news_box7 .icon li{display:inline-block}
.news_box7 .icon li a{display:block;width:35px;height:35px;line-height:35px;border-radius:50%;background:#0dab76;font-size:18px;color:#fff;margin-right:10px;transition:all .5s ease 0s}
.news_box8 .icon li,.news_box8 .title{display:inline-block}
.news_box7 .icon li a:hover{transform:rotate(360deg)}
@media only screen and (max-width:990px){.news_box{margin-bottom:30px}
}
