body {
  display: flex;
  flex-direction: column;
}
.main-header{
    height: 50px;
    box-shadow: 0 0px 7px rgb(0 0 0 / 24%);
    position: fixed;
    width:100%;
    top: 0;
    z-index: 105;
    background-color: #fff;
}
.main-header .icon {
    width:2em;
    height: 2em;
}
.main-header .ico-facebook:hover {color:#2173f3 !important;}
.main-header .ico-line-app:hover {color:#12b400 !important;}
.main-header .ico-instagram:hover {color:#e18600 !important;}
.main-header .ico-tiktok:hover {color:#000 !important;}
.main-body {
    flex:1;
    background-color: #fafafa;
}

.border-left {1px solid #aaa;}
.logo {
    width: 75px;
    height: auto;
    cursor: pointer;
    margin:0 5px;
}
.breadcrumb {
    color: #666;
    padding: 5px;
    margin-top:50px;
}
.breadcrumb ol li {
  display: inline-block;
  font-size: 12px;
}
.breadcrumb ol li + li:before {
    content: "";
    background-image: url(../images/caret-right.png);
    background-size: 20px;
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 2px;
}
.breadcrumb .icon {
    width: 18px;
    height: 18px;
    margin: 5px;
    color: #777;
    vertical-align: middle;
}
.breadcrumb a:hover {text-decoration: underline;color:#333}
/*
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 12vw;
    height: 12vw;
    background-color: #eee;
    border-radius: 50%;
    position: relative;
    margin: 0vh auto 2rem auto;
    border: 4px solid #80bdd0;
    max-width: 180px;
    max-height: 180px;
}
.logo-container img {
    width: 88%;
}*/

.l-side, .c-side, .r-side {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    position: static;
}
.c-side {
  
}
.r-side {min-width: 50px;padding: 0 10px;}
/*.r-side > * {flex-grow:1;}*/
.r-side .social-list, .separator-h {display: none;}
/******** footer  ***********/
.main-footer {
  background-color: rgb(20, 54, 88);
  color:#d0d0d0;
}
.footer-flex {
    display: flex;
    flex-direction: column;
    margin-bottom: 1em;
}
.footer-section > div {
  padding: 10px;
  min-width: 300px;
}
.footer-flex .col-1 {min-width:45%;text-align: center;}
.footer-flex .col-1 p {margin:0 1em;}
.footer-flex p {line-height: 1.6em;}
.footer-flex .flex-group-1 {
  display: flex;
  flex-flow: row wrap;
}
.footer-flex .flex-group-1 > div{
  flex:1;
  min-width: 160px;
}
.logo-footer{
    margin: 20px 10px;
    width: 150px;
    height: auto;
    filter: brightness(1.1)
}
.group-text {
    font-family: Kanit;
    font-size: 17px;
    margin: 20px 0 10px;
    color: #FFC107;
    font-weight: normal;
}
.footer-link li{
  margin: 10px 0;
}
.trademark {
    color: #b8b8b8;
    text-align: center;
    background-color: rgb(255 255 255 / 10%);
    padding: 2px 2em;
    border-radius: 10px;
    margin: 2px 1em;
    font-size: 11px;
}
.footer-flex .social-list {
    justify-content: center;
    margin: 15px 0;
    font-size: 20px;
}
.footer-flex .social-list .icon {
    color: #c7c7c7;
    margin: 0 0.1em;
}
.contact {
  display: flex;
  flex-direction: row;
  margin-top: 10px;
  flex-wrap: wrap;
}
.contact > * {
    flex:1;
    white-space: nowrap;
    margin: 5px 5px 5px 0;
}
.contact .icon {
    width: 17px;height:17px;
    vertical-align: middle;
    margin-right: 8px;
}
/********  Main NAV  *********/
.c-side {position: static}
.btn-menu {
    padding: 10px;
    display: block;
}
.nav-main {
        position: static;
        height: 100%;
        border: none;
        box-shadow: none;
        width: auto;
        display: none;
}
  
.nav-list {
    display: flex;
    flex-direction: row;
    height: 100%;
    align-items: center;
    font-size: 1.1em;
}
    
.nav-item {
  white-space: nowrap;
  cursor: pointer;
  margin: 0 5px;
  color:#555;
  display: flex;
  align-items: center;
}
.nav-main .nav-item span {
    padding: 0 7px;
    line-height: 40px;
    display: block;
    border-radius: 6px;
}

.nav-list .nav-item {
    width: auto;
    line-height: 50px;
    padding: 0;
    height: 100%;
    position: relative;
    z-index: 10;
}

.nav-main .nav-item > ul {
    flex-direction: column;
    line-height: normal;
    position: absolute;
    top:90%;
    border: 1px solid #ccc;
    padding: 10px 5px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgb(0 0 0 / 27%);
    display: none;
    border-radius: 6px;
}
/*
.nav-item:hover > ul {display: flex;}
*/
.nav-main .nav-item > ul.show {display: flex;}
.nav-main .nav-item > ul > li > a {
    display: block;
    padding: 7px 20px;
    text-decoration: none;
    line-height: normal;
    border-radius: 4px;
}
.nav-main .nav-item > ul > li > a:hover {background-color: #eee;}

.nav-main .drop-down:after{
    content: '';
    display: inline-block;
    width:16px;height: 16px;
    background: url(../images/down.png) no-repeat top left;
    background-size: 16px 16px;
    vertical-align: middle;
    margin-left: 5px;
}
/*
.nav-item:has(>ul):hover ul{
    display: flex;
}*/
.nav-main .nav-item:hover > ul{
    display: flex;
}
.nav-main .nav-item:hover span{
    background-color: rgb(0 150 136 / 11%);
}
.collaspe-text {display: none;}
div:has(.collaspe-text):hover > .social-list {
    display: flex;
    background-color: #fff;
    border-bottom-left-radius: 7px;
}
/********** NAV mobile  **********/
.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    background-color: #fafafa;
    padding: 10px;
    left: 0;
    box-shadow: 0 2px 6px rgb(0 0 0 / 17%);
    width:100%;
    font-size: 16px;
}
.nav-mobile.show {
    display: block;
}
.nav-mobile .nav-item {
    display: flex;
    line-height: 2.5em;
    position: relative;
    border-top: 1px dotted #ccc;
}
.nav-mobile .nav-item > ul {
    left: 100%;
    top: 1px;
    flex-direction: row;
    display: flex;
    align-items: center;
    font-size: 13px;
}
/*
.nav-mobile .nav-item > ul a {
    display: block;
    padding: 2px 12px;
    text-decoration: none;
    line-height: normal;
    margin: 0 3px;
    border-radius: 5px;
    background-color: #ebebeb;
}

/********************************/
.social-list {
    display: flex;
    font-size: 1.1em;
    align-items: center;
}
.social-list > a {
    display: block;
    /*height: 25px;*/
    margin: 0.4em;
}
.social-list .icon{
    width: 1.7em;
    height: 1.7em;
}
.social-list .icon:hover {
      transform: scale(1.2);
}
.slide-3col .banner {padding:20px;margin: 10px 0;}

.banner img {
    box-shadow: 0 1px 5px rgb(0 0 0 / 32%);
    border-radius: 6px;
    width: 100%;
}
.slick-slide img {
  width:100%;
  border-radius: 6px;
  box-shadow: 0 0 6px -1px rgb(0 0 0 / 38%);
}
.slick-prev, .slick-next {
    width: 40px;
    height: 40px;
}
.slick-prev:before, .slick-next:before {
    width: 40px;
    height: 40px;
    display: inline-block;
}
.slick-prev:before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FF9800' fill-rule='evenodd' d='M14.601 4.47a.75.75 0 0 1 0 1.06l-6.364 6.364a.25.25 0 0 0 0 .354l6.364 6.364a.75.75 0 0 1-1.06 1.06L7.177 13.31a1.75 1.75 0 0 1 0-2.475L13.54 4.47a.75.75 0 0 1 1.06 0' clip-rule='evenodd'/%3E%3C/svg%3E");
}

.slick-next:before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FF9800' fill-rule='evenodd' d='M9.399 4.328a.75.75 0 0 1 1.06 0l6.364 6.363a1.75 1.75 0 0 1 0 2.475L10.46 19.53a.75.75 0 0 1-1.06-1.06l6.364-6.364a.25.25 0 0 0 0-.354L9.399 5.388a.75.75 0 0 1 0-1.06' clip-rule='evenodd'/%3E%3C/svg%3E");
}

.slide-3col-pad {
    margin: 20px 15px;
}
.slide-3col-pad  .slick-slide {
  padding: 15px;

}
.section-text {
    font-family: Sarabun;
    font-size: 1.4em;
    color: #161616;
    margin: 1em 15px 10px;
    font-weight: normal;
}
.section-text:before{
  content:"";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: #f5960b;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 10px;
}
.header-ctrl {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #aaa;
    position: sticky;
    top: 50px;
    background-color: #fff;
}
.header-text {
    font-family: Kanit;
    font-size: 22px;
    color: #333;
    letter-spacing: 1px;
    margin: 15px;
}
.header-ctrl .header-text {margin-bottom: 0;}
.header-h4{
    font-family: Kanit;
    font-size: 20px;
    margin: 0 0 10px;
    color: #177595;
}
.head-title {
    font-family: sans-serif;
    color: #019291;
    font-size: 1.2em;
    margin: 5px 0;
}
/****** List box   *********/
.list-box {
    display: flex;
    flex-flow:row wrap;
}
.list-box > div {
    width:50%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.list-box > div img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 2px 7px rgb(0 0 0 / 22%);
}
.list-box.landscape {
  
}
.caption {
    display: block;
    margin:7px 0;
    font-size: 1.1em;
    text-align: center;
}
.sub-caption {
    color:#007598;
    display: block;
    text-align: center;
}
.ellip-2line{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.btn-line-group {
  display: flex;
  justify-content: center;
  align-items: center;
  margin:0 1em;
}
.btn-line-group > * {
    flex:1;
    height: 100%;
    display: flex;
    align-items: end;
    justify-content: end;
}
.btn-line {
    display: block;
    text-align: center;
    margin: 0 3px;
    padding: 10px 15px;
    white-space: nowrap;
    font-size: 15px;
    color:#444;
    flex: 1;
    border-bottom: 4px solid transparent;
    top: 2px;
    position: relative;
}
.btn-line.active {
  /*background-color:#ffebc6;*/
  border-bottom-color: #FF9800 ;
}
.btn-line:hover {border-bottom-color: #ccc;;}
.btn-01 {
    text-align: center;
    margin: 0 3px;
    padding: 5px 15px;
    border-radius: 5px;
    white-space: nowrap;
    background-color: #07a0a8;
    color: #fff;
}
.btn-01:hover {
    background-color: #11969d;
}
.btn-02 {
    display: block;
    padding: 2px 12px;
    text-decoration: none;
    line-height: normal;
    margin: 0 3px;
    border-radius: 5px;
    background-color: #ebebeb;
}
.btn-02:hover {
    background-color: #009688;
    color: #fff;
}
.apply {display: none;}
/* Extra small devices (phones, 600px and down) */
@media only screen and (min-width: 481px) {

}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 640px) {
    .section-text {font-size: 1.5em;}
    .nav-main {display: flex;}
    .btn-menu  {display: none;}
    .apply {display: block;}
    .list-box > div { width:33%;padding: 15px;}
    .header-text {font-size: 26px;}
    .header-ctrl {flex-direction: row;}
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
   .main-header {height: 60px;}
   .logo { width: 90px;}
   .breadcrumb {margin-top:60px;}
   
   .caption {font-size: 1.2em;}
   .nav-main {top:60px;}
   .collaspe-text {display: inline-block;}
   .r-side .social-list {
    position: absolute;
    top: 100%;right:0;
    border: 1px solid #ccc;
    font-size: 20px;
    flex-direction: column;
   }
    .footer-flex .col-1 {min-width:40%;text-align: left;}
    .footer-flex {flex-direction:row}
    .footer-flex .social-list {justify-content:start;}
    .footer-flex .col-1 p {margin-right: 3em;}
    
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
   /* .nav-list .nav-item {margin: 0 20px;} */
    .section-text {font-size: 1.6em;}
    .list-box > div { width:25%;padding: 15px;}
    .collaspe-text {display: none;}
    .nav-list .nav-item {margin: 0 15px;}
   .r-side .social-list {
    position: static;
    display: flex;
    flex-direction: row;
    border: none;
    font-size: inherit;
   }
    .r-side .social-list {}
    .social-list {font-size: 1em;}
    .social-list a {margin:0 0.2em;}
    .footer-flex .col-1 {min-width:40%;}
    .separator-h {display: inline-block;}
    .header-text {font-size: 28px;}
}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .section-text {font-size: 1.8em;}
    .list-box > div { width:16%;padding: 10px;}
    .list-box.landscape > div {width:24%}
    .footer-flex .col-91 {min-width:45%;}
}



