html {
  scroll-behavior: smooth;
}
html, body {
  overflow-x: hidden; 
  width: 100%;
  padding: 0;
  margin: 0; 
}
.rounded-border-1 {
  border-radius: 1rem!important;
}
.rounded-border-top-1 {
  border-top-left-radius: 1rem!important;;
  border-top-right-radius: 1rem!important;;
}
.py-l {
  padding: 7rem 0;
}

.pb-l {
  padding-bottom: 6rem;
}

.pt-l {
  padding-top: 6rem;
}

.py-header {
  padding: 11rem 0 6rem;
}

.header-m-banner {
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.2;
}

.header-card-title{
  height: 5rem;
}
.header-card-title h5{
  font-size: 1.25rem;
}

.header-m-banner-sub.thai-font{
  font-size: 1.5rem;
}

.ref-pap .no-underline, .no-underline a:hover  {
  text-decoration: none;
}

.bg-gradient-play {
	background: linear-gradient(45deg, #82cecd, #3977bb, #505ca9, #c856a1);
	background-size: 400% 400%;
	animation: gradient 5s ease infinite;
	height: 100vh;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

.btn-green {
  color: #fff;
  background-color: #82CECD;
  border-color: #82CECD;
}

.bg-lg-1 {
  background: #eceff2;
}

.bg-lg-2 {
  background: #dde1e4;
}

.bg-light-1 {
  background-color: #f2f3f4;
}

.bg-deep-a {
  background-color: #08172b;
}

.bg-green {
  background: rgb(6,190,182);
  background: linear-gradient(180deg, rgba(6,190,182,1) 70%, rgba(0,188,212,1) 100%);
}

.bg-green-a_gbms {
  background: rgb(40,98,109);
  background: linear-gradient(180deg, rgba(40,98,109,1) 70%, rgba(19,47,60,1) 100%);
}

.bg-green-pap {
  background: rgb(60,131,246); 
  background: linear-gradient(180deg, rgba(60,131,246) 70%, rgba(34,82,153) 100%);
}

.bg-dx {
  background: rgb(192,89,163); 
  background: linear-gradient(180deg, rgba(192,89,163) 70%, rgba(108,91,168) 100%);
}

.bg-dark-blue {
  background: rgb(54,209,220);
  background: linear-gradient(90deg, rgba(91,134,229,1) 30%, rgba(54,209,220,1) 100%);
}

.bg-dark-green {
  background-color: #002126;
}

.bg-black {
  background-color: #000000;
}

.contact-card .bg-gradient-play {
	height: auto;
}

.bg-glass{ 
  background: rgba(20, 20, 20, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bg-image-full {
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}

.text-title {
  color: #82cecd;
}

.padding-jumbo {
  padding-top: 16rem;
  padding-bottom: 16rem;
}

.padding-x-large {
  padding-left: 8rem;
  padding-right: 8rem;
}

.bg-dark-green-pattern {
  background-image: url("../images/bg-dark-green-pattern.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  margin: 0;
}

.bg-bw {
  background: rgb(0,0,0);
  background: linear-gradient(0deg, rgba(0,0,0,1) 10%, rgba(255,255,255,1) 60%);
}

.bg-dl {
  background-image: url("../images/bg-dl.svg");
  background-color: #ffffff;
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0;
}

.bg-1 {
  background-image: url("../images/bgi-1.svg");
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0;
}

.bg-2 {
  background-image: url("../images/bgi-2.svg");
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0;
}

.bg-3 {
  background-image: url("../images/bgi-3.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0;
}

a.custom-card,
a.custom-card:hover {
  color: inherit;
}

.jumbotron {
  background-image: url("../images/jumbo1.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  margin: 0;
}

.modal-jumbo {
  min-width: 50%;
  margin: auto;
  top: 5%;
  background: transparent;
}

.modal-jumbo .modal-content {
  min-height: 50vh;
}

.bg-overlay {
  background: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7));
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  color: #fff;
  padding-top: 50px;
  min-width: 100%;
}

.nav-link {
  padding-right: 1rem !important;
  padding-left:  1rem !important;
}

.navbar-nav .nav-link.active {
  font-weight: 500 !important;
  border-bottom: 2px #82cecd solid !important;
  color: #82cecd !important;
  padding-bottom: 4px; 
}

.card-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.card-item {
 flex: 0 1 24%;
 background: rgb(211, 95, 95);
 margin-bottom: 2em;
}

@media screen and (min-width: 60em) {

  .card-item {
      flex: 0 1 calc(50% - 1em);
  }
}

 
/* --caip(Customers and improved processes)-- */
/* .nav-caip-control-wrap {
  
}

.nav-caip-control{
  background-color: #00C200;
  bottom: 10%;
  transform: translateX(50%);
}

.nav-caip-control .swiper-button-next, .nav-caip-control .swiper-button-prev {
  position: absolute;
    top: 50%;
    background-color: red;
    width: calc(var(--swiper-navigation-size)/ 44 * 27);
    height: var(--swiper-navigation-size);
    margin-top: calc(-1 * var(--swiper-navigation-size)/ 2);
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--swiper-navigation-color,var(--swiper-theme-color));
} */

/* .caip .nav .swiper-button-prev {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  user-select: none;

  & .btn {
    background-color: rgba(255,255,255,0.5);
    color: rgba(0,0,0,0.7);
    border: 2px solid rgba(0,0,0,0.6);
    margin: 0 0.25rem;
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;

    &:hover {
      background-color: rgba(255,255,255,0.3);
    }
  }
} */

/* --End caip(Customers and improved processes)-- */

/* --glitch Effect-- */

.glitch {
  position: relative;
  color: #fff;
  animation: glitch-skew 1s infinite linear alternate-reverse;
}
.glitch::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  left: 2px;
  text-shadow: -2px 0 #ff00c1;
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  left: -2px;
  text-shadow: -2px 0 #ff00c1, 2px 2px #ff00c1;
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% {
    clip: rect(39px, 9999px, 15px, 0);
    transform: skew(0.19deg);
  }
  5% {
    clip: rect(32px, 9999px, 51px, 0);
    transform: skew(0.16deg);
  }
  10% {
    clip: rect(33px, 9999px, 92px, 0);
    transform: skew(0.58deg);
  }
  15% {
    clip: rect(3px, 9999px, 71px, 0);
    transform: skew(0.8deg);
  }
  20% {
    clip: rect(69px, 9999px, 69px, 0);
    transform: skew(0.34deg);
  }
  25% {
    clip: rect(50px, 9999px, 85px, 0);
    transform: skew(0.27deg);
  }
  30% {
    clip: rect(99px, 9999px, 69px, 0);
    transform: skew(0.44deg);
  }
  35% {
    clip: rect(93px, 9999px, 41px, 0);
    transform: skew(0.93deg);
  }
  40% {
    clip: rect(43px, 9999px, 88px, 0);
    transform: skew(0.87deg);
  }
  45% {
    clip: rect(44px, 9999px, 52px, 0);
    transform: skew(0.49deg);
  }
  50% {
    clip: rect(87px, 9999px, 85px, 0);
    transform: skew(0.41deg);
  }
  55% {
    clip: rect(60px, 9999px, 61px, 0);
    transform: skew(0.57deg);
  }
  60% {
    clip: rect(8px, 9999px, 83px, 0);
    transform: skew(0.55deg);
  }
  65% {
    clip: rect(19px, 9999px, 90px, 0);
    transform: skew(1deg);
  }
  70% {
    clip: rect(82px, 9999px, 91px, 0);
    transform: skew(0.05deg);
  }
  75% {
    clip: rect(42px, 9999px, 70px, 0);
    transform: skew(0.82deg);
  }
  80% {
    clip: rect(21px, 9999px, 39px, 0);
    transform: skew(0.45deg);
  }
  85% {
    clip: rect(75px, 9999px, 55px, 0);
    transform: skew(0.05deg);
  }
  90% {
    clip: rect(56px, 9999px, 32px, 0);
    transform: skew(0.6deg);
  }
  95% {
    clip: rect(58px, 9999px, 9px, 0);
    transform: skew(0.39deg);
  }
}
@keyframes glitch-anim2 {
  0% {
    clip: rect(20px, 9999px, 92px, 0);
    transform: skew(0.43deg);
  }
  5% {
    clip: rect(48px, 9999px, 86px, 0);
    transform: skew(0.87deg);
  }
  10% {
    clip: rect(79px, 9999px, 16px, 0);
    transform: skew(0.11deg);
  }
  15% {
    clip: rect(91px, 9999px, 42px, 0);
    transform: skew(1deg);
  }
  20% {
    clip: rect(93px, 9999px, 28px, 0);
    transform: skew(0.63deg);
  }
  25% {
    clip: rect(45px, 9999px, 36px, 0);
    transform: skew(1deg);
  }
  30% {
    clip: rect(91px, 9999px, 95px, 0);
    transform: skew(0.9deg);
  }
  35% {
    clip: rect(84px, 9999px, 74px, 0);
    transform: skew(0.56deg);
  }
  40% {
    clip: rect(19px, 9999px, 14px, 0);
    transform: skew(0.92deg);
  }
  45% {
    clip: rect(80px, 9999px, 91px, 0);
    transform: skew(0.77deg);
  }
  50% {
    clip: rect(53px, 9999px, 87px, 0);
    transform: skew(0.66deg);
  }
  55% {
    clip: rect(9px, 9999px, 66px, 0);
    transform: skew(0.53deg);
  }
  60% {
    clip: rect(74px, 9999px, 76px, 0);
    transform: skew(0.46deg);
  }
  65% {
    clip: rect(41px, 9999px, 73px, 0);
    transform: skew(0.66deg);
  }
  70% {
    clip: rect(60px, 9999px, 87px, 0);
    transform: skew(0.86deg);
  }
  75% {
    clip: rect(90px, 9999px, 63px, 0);
    transform: skew(0.43deg);
  }
  80% {
    clip: rect(46px, 9999px, 8px, 0);
    transform: skew(0.88deg);
  }
  85% {
    clip: rect(36px, 9999px, 56px, 0);
    transform: skew(0.44deg);
  }
  90% {
    clip: rect(31px, 9999px, 3px, 0);
    transform: skew(0.8deg);
  }
  95% {
    clip: rect(77px, 9999px, 87px, 0);
    transform: skew(0.32deg);
  }
}
@keyframes glitch-skew {
  0% {
    transform: skew(2deg);
  }
  10% {
    transform: skew(3deg);
  }
  20% {
    transform: skew(5deg);
  }
  30% {
    transform: skew(1deg);
  }
  40% {
    transform: skew(-2deg);
  }
  50% {
    transform: skew(-2deg);
  }
  60% {
    transform: skew(-3deg);
  }
  70% {
    transform: skew(5deg);
  }
  80% {
    transform: skew(5deg);
  }
  90% {
    transform: skew(3deg);
  }
}

/* --ENd glitch Effect-- */

/* --btn gradient run-- */

.fill-two {
  /* background-image: linear-gradient(to right, #c856a1, #00bcd4); */
  background-image: linear-gradient(45deg, #82cecd, #3977bb, #505ca9, #c856a1);
  background-size: 150% 150%;
  border-radius: 0.3rem;
  transition: all 0.4s ease;
}

.btn-gradient-run:hover .fill-two {
  -webkit-animation: gradient 3s ease infinite;
  -moz-animation: gradient 3s ease infinite;
  animation: gradient 3s ease infinite;
}

@-webkit-keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@-moz-keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* --End btn gradient run-- */
.wrapper-ref {
  /* width: 100vw;
  height: 100vh; */
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-ref {
  position: relative;
  display: flex;
  overflow: hidden;
}
.slide-ref {
  /* height: 100px; */
  display: flex;
  align-items: center;
  animation: slideshow 10s linear infinite;
}
.slide-ref img {
  height: 70px;
  padding: 0 5rem;
}
@keyframes slideshow {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-100%);
    }
}
.slider-ref::before, .slider-ref::after {
  height: 100px;
  width: 200px;
  position: absolute;
  content: "";
  background: linear-gradient(to right, white 0%, rgba(255,255,255,0) 100%);
  z-index: 2;
}
.slider-ref::before {
  left: 0;
  top: 0;
}
.slider-ref::after {
  right:0;
  top:0;
  transform: rotateZ(180deg);
}
/* --End Slide Ref-- */


.fa {
  color: #212529;
}

#to-top-btn {
  display: none;
  position: fixed;
  bottom: 1rem;
  right: 3.5px;
  margin: 0 1rem .5rem 0;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #eeeeee;
  color: white;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 50%;
  font-size: 18px;
}

#to-top-btn:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

#to-top-btn:hover i {
  color: #fff;
}

.images-show {
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

nav {
  transition: top 0.2s ease-in-out;
  width: 100%;
}

.sticky-up {
  top: -100px;
}

#info {
  -webkit-border-radius:5px;
  -moz-border-radius:5px;
  border-radius:5px;        
  background:#fcf8e3;
  border:1px solid  #fbeed5;
  width:95%;
  max-width:900px;
  margin:0 auto 40px auto;
  font-size:12px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
}

  #info .info-wrapper {
    padding:10px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
  } 

  #info a {
    color:#c09853;
    text-decoration:none;
  } 

  #info p {
    margin:5px 0 0 0;
  }

#filters {
  margin-bottom: 1rem;
  padding: 0;
  list-style: none;
}

  #filters li {
    float: left;
  }
  
  #filters li span {
    display: block;
    padding: 5px 20px;   
    text-decoration: none;
    color: #cccccc;
    cursor: pointer;
  }

  #filters li span:hover {
    color: #82CECD;
  }
  
  #filters li span.active {
    font-weight: 500 !important;
    border-bottom: 2px #82CECD solid !important;
    color: #82CECD !important;
  }

#portfoliolist .portfolio {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  width: 19%;
  display: none;
  overflow: hidden; 
  height: 100px; /*mod height*/
}

  .portfolio-wrapper {
    overflow:hidden;
    position: relative !important;
    background: transparent;
    cursor:pointer;

    /*mod height*/
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    /*end mod height*/
  }

  .portfolio img {
    max-width:100%;
    position: relative;
    top:0;
    -webkit-transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
    transition:         all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);   
  }
  
  .portfolio .label {
    position: absolute;
    width: 100%;
    height:60px;
    bottom:-60px;
    -webkit-transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
    transition:         all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
  }

    .portfolio .label-bg {
      background: #82CECD;
      width: 100%;
      height:100%;
      position: absolute;
      top:0;
      left:0;
    }
  
    .portfolio .label-text {
      color:#fff;
      position: relative;
      z-index:500;
      padding:5px 8px;
    }
      
      .portfolio .text-category {
        display:block;
        font-size:9px;
        margin-bottom: 12px;
      }
  /*label animate */
  /* .portfolio:hover .label {
    bottom:0;
  }
  .portfolio:hover img {
    top:-60px;
  }   */
   /*End label animate */

/* #Tablet (Portrait) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
  .container {
    width: 768px; 
  }
}

/*  #Mobile (Portrait) - Note: Design for a width of 320px */
@media only screen and (max-width: 767px) {
  .home-main-banner {
    text-align: center;
    margin: 0 !important;
    padding: 0 !important;
  } 

    .py-header {
      padding: 6rem 0;
    }

    .home-main-banner p {
      font-size: 1rem;
    }

    .header-m-banner {
      font-size: 1.25rem;
      font-weight: 500;
      line-height: 1.2;
      margin-top: 1rem;
    }

    h1.display-4 {
      font-size: 2rem;
    }

    .portfolio img {
      max-width: 70%; /*mod height*/
      left: 50%;
      -ms-transform: translateX(-50%);
      transform: translateX(-50%);
    }
    

  .container { 
    width: 95%; 
  }

  .main-banner {
    margin-top: 106px !important;
  }

  .pb-l {
    padding-bottom: 3rem;
  }
  
  #portfoliolist .portfolio {
    width:100%;
    /*margin:1%;*/
  }   

  #ads {
    display:none;
  }

  .gallery-top {
    height: 12rem !important;
    width: 100%;
  }

  .swiper-container.gallery-thumbs {
    height: 4rem !important;
    box-sizing: border-box;
    padding: 10px 0;
  }

  .social-btn {
    display: none !important;
  }

  .header-banner h2 {
    font-size: 4rem;
  }

  .py-l {
    padding: 3rem 0;
  }

  .img-pd-fix > ul > li {
    height: auto !important;
  }

  .social-btn li:first-child  a { color: #3b5998; font-size: 16px; border-radius: 8px 8px 0px 0px;}
  .social-btn li:nth-child(2) a { color: #00acee; font-size: 16px; border-radius: 0px 0px 0px 0px; }
  .social-btn li:nth-child(3) a { color: #00C200; font-size: 16px; border-radius: 0px 0px 0px 0px;}
  .social-btn li:nth-child(4) a { color: #00C200; font-size: 16px; border-radius: 0px 0px 8px 8px;}

  .social-sm li:first-child  a { color: #3b5998; font-size: 16px; border-radius: 8px 8px 0px 0px;}
  .social-sm li:nth-child(2) a { color: #00acee; font-size: 16px; border-radius: 0px 0px 0px 0px; }
  .social-sm li:nth-child(3) a { color: #00C200; font-size: 16px; border-radius: 0px 0px 0px 0px;}
  .social-sm li:nth-child(4) a { color: #00C200; font-size: 16px; border-radius: 0px 0px 8px 8px;}

  .timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
    overflow-x: hidden;
  }

  ul.timeline:before {
      left: 40px;
    }

      ul.timeline > li > .timeline-panel {
        width: calc(100% - 90px);
        width: -moz-calc(100% - 90px);
        width: -webkit-calc(100% - 90px);
      }

      ul.timeline > li > .timeline-badge {
        left: 22px;
        margin-left: 0;
        top: 24px;
      }

      ul.timeline > li > .timeline-panel {
        float: right;
      }

        ul.timeline > li > .timeline-panel:before {
          border-left-width: 0;
          border-right-width: 15px;
          left: -15px;
          right: auto;
        }

        ul.timeline > li > .timeline-panel:after {
          border-left-width: 0;
          border-right-width: 14px;
          left: -14px;
          right: auto;
        }

    .timeline img {
      height: 20px !important;
    } 
}

/* #Mobile (Landscape) - Note: Design for a width of 480px */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  .container {
    width: 70%;
  }
  
  #ads {
    display:none;
  }

  .caip .container {
    width: 90%;
  }

  .caip h3 {
    text-align: center;
  }
  
}

/* #Clearing */
.container:after { 
  content: "\0020"; 
  display: block; 
  height: 0; 
  clear: both;
  visibility: hidden; }

.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
  content: '\0020';
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0; }

.row:after,
.clearfix:after {
  clear: both; }

.row,
.clearfix {
  zoom: 1; }

.clear {
  clear: both;
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}

.avatar.avatar-xlg {
  width: 7.5rem;
  height: 7.5rem;
}

.avatar {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
}

#map {
  width: 100%; height: 300px;
}

.info-window {
  font-family: 'Montserrat', sans-serif;
}

.info-content {
  color: #999;
}

.hide-btn {
  display: block;
}

.hide {
  display: none !important;
}

#social-btn {
  display: none !important;
}

.social-btn {
  position: fixed;
  margin: 0 .5rem;
  padding: 0;
  perspective: 1000px;
  bottom: 50%;
  right: 0;
  list-style-type: none;
}

.social-btn li a {
  display: block;
  height: 48px;
  width: 48px;
  background: #e7ebee;
  font: normal normal normal
  16px/20px 
  'FontAwesome';
  color: #fff;
  -webkit-font-smoothing: antialiased;
  padding: 16px;
  text-decoration: none;
  text-align: center;
  transition: background .5s ease .300ms;
}

.social-btn li:first-child  a { color: #3b5998; font-size: 16px; border-radius: 8px 8px 0px 0px;}
.social-btn li:nth-child(2) a { color: #00acee; font-size: 16px; border-radius: 0px 0px 0px 0px; }
.social-btn li:nth-child(3) a { color: #00C200; font-size: 16px; border-radius: 0px 0px 0px 0px;}
.social-btn li:nth-child(4) a { color: #1e3050; font-size: 16px; border-radius: 0px 0px 8px 8px;}

.social-btn li:first-child a:hover { background: #3b5998; color: #ffffff;  }
.social-btn li:nth-child(2) a:hover { background: #00acee; color: #ffffff;  }
.social-btn li:nth-child(3) a:hover { background: #00C200; color: #ffffff; }
.social-btn li:nth-child(4) a:hover { background: #1e3050; color: #ffffff; }


 @font-face {
  font-family: 'thaisanslite_r1';
  src: url('../fonts/thaisanslite_r1.otf') format('opentype');
  src: url('../fonts/thaisanslite_r1.ttf' ) format('truetype');
}

.thai-font {
  font-family:'thaisanslite_r1';
  font-size: 1.25rem;
  line-height: 24px;
} 

h1.thai-font {
  font-family:'thaisanslite_r1';
  font-size: 2.5rem;
  font-weight: 100;
  line-height: 2.2rem;
}

.thai-font h2 {
  font-family:'thaisanslite_r1';
  font-size: 36px;
  font-weight: 100;
}

h3.thai-font {
  font-family:'thaisanslite_r1';
  font-size: 1.75rem;
  font-weight: 100;
  line-height: 2.2rem;
}

.thai-font span {
  font-family:'thaisanslite_r1';
  font-size: 12px !important;
  line-height: 12px;
}

.text-green {
  color: #82cecd !important;
}

.a-text, .a-text a {
  color: #82cecd !important;
}
 
.a-text a:hover {
  text-decoration: none;
  color: #3977bb !important;
}
    
.swiper-button-next.swiper-button-op-2, .swiper-button-prev.swiper-button-op-2 {
  color: rgba(33, 33, 33, 0.2);
}

.swiper-button-next.swiper-button-op-light, .swiper-button-prev.swiper-button-op-light {
  color: rgba(255, 255, 255, 0.2);
}

.img-pd-fix > ul > li {
  height: 400px;
  position: relative;
}

ul.swiper-wrapper {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* Swiper styles */
.swiper-container {
  max-width: 100%;
}

/* responive image */
.swiper-container img {
  width: 100%;
  height: auto;
}

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

/* Swiper custom pagination */
.swiper-pagination-bullet {
  width: 34px;
  height: 34px;
  text-align: center;
  line-height: 34px;
  font-size: 14px;
  color: #000;
  opacity: 1;
  background: rgba(0, 0, 0, 0.3);
}

.swiper-pagination-bullet-active {
  color: #fff;
  background: black;
}

.main-banner {
  background-position: 50% 50%; 
  background-size: cover; 
  background-repeat: no-repeat; 
  height: 16rem; 
  overflow: hidden; 
  pointer-events: none; 
  margin-top: 130px;
  transform: translate3d(0px, -74.8px, 0px);
}

.brand-logo img {
  margin: 0;
  padding: 0;
  width: 48px;
  display: inline-block;
}

ul.list-iconic {
  margin: 0;
  padding: 0;
}

ul.list-iconic li p {
  color: rgba(0,0,0,.5);
}

.list-iconic img {
  margin: 0;
  padding: 0;
  width: 24px;
  display: inline-block;
}

.timeline {
  list-style: none;
  padding: 20px 0 20px;
  position: relative;
}


  .timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 1px;
    background-color: #dee2e6;
    left: 50%;
    margin-left: -1.5px;
  }

  .timeline img {
    height: 48px;
  }

    .timeline > li {
      margin-bottom: 20px;
      position: relative;
    }

      .timeline > li:before,
      .timeline > li:after {
        content: " ";
        display: table;
      }

      .timeline > li:after {
        clear: both;
      }

      .timeline > li:before,
      .timeline > li:after {
        content: " ";
        display: table;
      }

      .timeline > li:after {
        clear: both;
      }

        .timeline > li > .timeline-panel {
          width: 46%;
          float: left;
          border-radius: 2px;
          padding: 20px;
          position: relative;
        }

        .timeline > li > .timeline-panel:before {
          position: absolute;
          top: 26px;
          right: -15px;
          display: inline-block;
          border-top: 15px solid transparent;
          border-left: 15px solid #ccc;
          border-right: 0 solid #ccc;
          border-bottom: 15px solid transparent;
          content: " ";
        }

        .timeline > li > .timeline-panel:after {
          position: absolute;
          top: 27px;
          right: -14px;
          display: inline-block;
          border-top: 14px solid transparent;
          border-left: 14px solid #fff;
          border-right: 0 solid #fff;
          border-bottom: 14px solid transparent;
          content: " ";
        }

        .timeline > li > .timeline-badge {
          color: #fff;
          width: 24px;
          height: 24px;
          line-height: 50px;
          font-size: 1.4em;
          text-align: center;
          position: absolute;
          top: 30px;
          left: 51.2%;
          margin-left: -25px;
          background-color: #999999;
          z-index: 100;
          border-top-right-radius: 50%;
          border-top-left-radius: 50%;
          border-bottom-right-radius: 50%;
          border-bottom-left-radius: 50%;
        }

        .timeline > li.timeline-inverted > .timeline-panel {
          float: right;
        }

          .timeline > li.timeline-inverted > .timeline-panel:before {
            border-left-width: 0;
            border-right-width: 15px;
            left: -15px;
            right: auto;
          }

          .timeline > li.timeline-inverted > .timeline-panel:after {
            border-left-width: 0;
            border-right-width: 14px;
            left: -14px;
            right: auto;
          }

.timeline-badge.primary {
  background-color: #2e6da4 !important;
}

.timeline-badge.success {
  background-color: #3f903f !important;
}

.timeline-badge.warning {
  background-color: #f0ad4e !important;
}

.timeline-badge.danger {
  background-color: #d9534f !important;
}

.timeline-badge.info {
  background-color: #5bc0de !important;
}

.timeline-badge.green {
  background-color: #82CECD !important;
}

.timeline-title {
  margin-top: 0;
  color: inherit;
}

.timeline-body > p,
.timeline-body > ul {
  margin-bottom: 0;
}

.timeline-body > p + p {
  margin-top: 5px;
}

@media (max-width: 767px) {
  .carousel-inner .carousel-item >div {
    display: none
  }
  .carousel-inner .carousel-item >div:first-child {
    display: block
  }
}

@media (min-width: 768px) {
  .carousel-inner .carousel-item-end.active, .carousel-inner .carousel-item-next {
    transform: translateX(25%)
  }
  .carousel-inner .carousel-item-start.active, .carousel-inner .carousel-item-prev {
    transform: translateX(-25%)
  }
}

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

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

.slide .carousel-control-next, .carousel-control-prev {
  width: 8%;
}
  
.slide .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='000000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.slide .carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='000000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
  opacity: 0.5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --secondary-color: #151226;
  --contrast-color: #BF307F;
}

.st {
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: #fff;
  animation: expand .8s ease forwards;
  background-color: var(--secondary-color);
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  transition: all .8s ease;
}

.par {
  height: auto;
  overflow: hidden;
}

@keyframes slideIn {
  0% {
    transform: translateX(500px) scale(.2);
  }
  100% {
    transform: translateX(0px) scale(1);
  }
}

@keyframes slideUp {
  0% {
    transform: translateY(300px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes expand {
  0% {
    transform: translateX(1400px);
  }
  100% {
    transform: translateX(0px);
  }
}

.el {
  z-index: 0;
}

.a-logo-ab {
  position: fixed;
  margin: 1rem;
  padding: 0;
  perspective: 1000px;
  top: 0;
  left: 0;
  list-style-type: none;
}

.swiper-slide .anime-slide-zoom{
  pointer-events: none;
  opacity: 0;
  transform: translateY(-5%) scale(0.8);
  transition: 0.5s ease;
  text-transform: uppercase;
}

.swiper-slide-active .anime-slide-zoom{
  opacity: 1;
  transform: translateY(0%) scale(1);
  transition: 0.5s ease;
}

.ai-agent-desc {
  font-family: "IBM Plex Sans Thai", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.25rem;
}

.ibm-plex-sans-thai-thin {
  font-family: "IBM Plex Sans Thai", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.ibm-plex-sans-thai-extralight {
  font-family: "IBM Plex Sans Thai", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.ibm-plex-sans-thai-light {
  font-family: "IBM Plex Sans Thai", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.ibm-plex-sans-thai-regular {
  font-family: "IBM Plex Sans Thai", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.ibm-plex-sans-thai-medium {
  font-family: "IBM Plex Sans Thai", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.ibm-plex-sans-thai-semibold {
  font-family: "IBM Plex Sans Thai", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.ibm-plex-sans-thai-bold {
  font-family: "IBM Plex Sans Thai", sans-serif;
  font-weight: 700;
  font-style: normal;
}
