body{
    font-family: 'Sarabun', sans-serif;
    background: #f1f3f5;
  }

  /* footer */
  .footer-grid{
    background: #8B0000;
    padding: 40px 0;
    color: #fff;
  }
  .footer-grid a{
    font-weight: 200;
    opacity: 0.9;
    color: #fff;
    text-decoration: none;
  }
  .footer-grid a:hover{
    font-weight: 300;
    opacity: 1;
  }
  .footer-grid ul{
    padding: 0;
  }
  .footer-grid ul li{
    list-style-type: none;
    margin: 4px 0;
  }

  #logo-main{
    height: auto;
    width: 120px;
  }

  /* custom bootstap */
  .navbar-light .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
    color: rgba(0,0,0,.5);
  }
  .dropdown-item:hover{
    background-color: #8B0000;
    color: #fff;
  }
  .dropdown-item div:hover{
    transform: translateX(3px);
    transition: all .4s ease;
  }

  a.nav-link{
    color: #383838;
  }

.title-header{
    -webkit-box-shadow: 0px 10px 6px -5px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 10px 6px -5px rgba(0,0,0,0.75);
    box-shadow: 0px 10px 6px -5px rgba(0,0,0,0.75);
    padding: 20px 0 10px 0;
    margin: 0 0 40px 0;
    background-color: #fff;
}

img.leader-logo{
    border-radius: 10px;
    border: solid 3px lightgray;
    max-width: 200px;
}
.leader-logo-label{
    color: grey;
}
.leader-logo-label div:nth-child(1){
    font-size: 1.2rem;
    padding: 15px 0 6px 0;
    color: #000;
}
.leader-logo-label div:nth-child(2){
    font-size: 1rem;
}

.news-blog{
    -webkit-box-shadow: 0px 3px 10px 3px rgba(205,209,212,1);
    -moz-box-shadow: 0px 3px 10px 3px rgba(205,209,212,1);
    box-shadow: 0px 3px 10px 3px rgba(205,209,212,1);
    transition: 0.4s;
    background-color: #fff;
}
.news-blog:hover{
    -webkit-box-shadow: 0px 10px 16px 13px rgba(205,209,212,1);
    -moz-box-shadow: 0px 10px 16px 13px rgba(205,209,212,1);
    box-shadow: 0px 10px 16px 13px rgba(205,209,212,1);
    transform: translateY(-3px);
}

.news-blog a{
    text-decoration: none;
    color: #000;
}

.news-blog p{
    position: relative;
    top: -3rem;
    padding: 0 1rem;
    text-align: start;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-blog img{
    height: 260px;
    width: 100%;
}
.news-blog.pr p{
    position: relative;
    top: 0;
    padding: 15px;
    background-color: #fff;
}

.title-header{
    -webkit-box-shadow: 0px 10px 6px -5px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 10px 6px -5px rgba(0,0,0,0.75);
    box-shadow: 0px 10px 6px -5px rgba(0,0,0,0.75);
    padding: 20px 0 10px 0;
    margin: 0 0 40px 0;
    background-color: #fff;
}

.news-blog{
    -webkit-box-shadow: 0px 3px 10px 3px rgba(205,209,212,1);
    -moz-box-shadow: 0px 3px 10px 3px rgba(205,209,212,1);
    box-shadow: 0px 3px 10px 3px rgba(205,209,212,1);
    transition: 0.4s;
    background-color: #fff;
}
.news-blog:hover{
    -webkit-box-shadow: 0px 10px 16px 13px rgba(205,209,212,1);
    -moz-box-shadow: 0px 10px 16px 13px rgba(205,209,212,1);
    box-shadow: 0px 10px 16px 13px rgba(205,209,212,1);
    transform: translateY(-3px);
}
.news-title i.arrow-more-btn{
    background-image: url(/logo/left-arrow.svg);
    background-repeat: no-repeat;
    width: 30px;
    height: 24px;
    position: absolute;
    bottom: -6rem;
    left: 0;
    opacity: 0;
    transition: 0.5s;
    filter: invert(9%) sepia(97%) saturate(3769%) hue-rotate(357deg) brightness(96%) contrast(116%);
}
.news-blog:hover i.arrow-more-btn{
    opacity: 1;
    transform: translateX(4.5rem);
}

.news-blog a{
    text-decoration: none;
    color: #000;
}

.news-blog p{
    position: relative;
    top: -3rem;
    padding: 0 1rem;
    text-align: start;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-blog img{
    height: 260px;
    width: 100%;
}
.news-title{
    background-color: #650000;
    opacity: 0.75;
    position: relative;
    top: -4rem;
    padding: 0.25rem 0.5rem;
    line-height: 1.5em;
    height: 4em;
    overflow: hidden;
}
.news-title h5{
    color: #ffffff;
}

.news-more-btn{
    color:#9B0000;
    position: absolute;
    bottom: -6rem;
    left: 1rem;
}

#more-news{
    padding-top: 20px;
    padding-bottom: 30px;
}
#more-news a{
    color:#9B0000;
    font-weight: 500;
    text-decoration: none;
}
#more-news i{
    background-image: url(logo/left-arrow.svg);
    background-repeat: no-repeat;
    width: 30px;
    height: 24px;
    position: absolute;
    right: 0;
    opacity: 0;
    transition: 0.5s;
    filter: invert(9%) sepia(97%) saturate(3769%) hue-rotate(357deg) brightness(96%) contrast(116%);
}
#more-news:hover i{
    opacity: 1;
    transform: translateX(-5.7rem);
}

.owl-carousel img {
    display: block;
    height: 420px;
}

h1{
    color: #9B0000;
}

img#leader-logo{
    border-radius: 10px;
    border: solid 3px lightgray;
    width: 100%;
}
.leader-logo-label{
    color: grey;
}
.leader-logo-label div:nth-child(1){
    font-size: 1.2rem;
    padding: 15px 0 6px 0;
    color: #000;
}
.leader-logo-label div:nth-child(2){
    font-size: 1rem;
}

#leader-mission{
    margin: 30px 20px;
    border: solid #c74355 2px;
    padding: 6px 0;
    border-radius: 10px;
    transition: .6s;
    background-color: #fff;
}
#leader-mission:hover{
    background-color: #c74355;
}

#leader-mission a{
    text-decoration: none;
    color: #000;
}
#leader-mission:hover a{
    color: #fff;
}

/* news leader */
.news-blog{
    -webkit-box-shadow: 0px 3px 10px 3px rgba(205,209,212,1);
    -moz-box-shadow: 0px 3px 10px 3px rgba(205,209,212,1);
    box-shadow: 0px 3px 10px 3px rgba(205,209,212,1);
    transition: 0.4s;
    background-color: #fff;
}
.news-blog:hover{
    -webkit-box-shadow: 0px 10px 16px 13px rgba(205,209,212,1);
    -moz-box-shadow: 0px 10px 16px 13px rgba(205,209,212,1);
    box-shadow: 0px 10px 16px 13px rgba(205,209,212,1);
    transform: translateY(-3px);
}
.news-title i.arrow-more-btn{
    background-image: url(logo/left-arrow.svg);
    background-repeat: no-repeat;
    width: 30px;
    height: 24px;
    position: absolute;
    bottom: -6rem;
    left: 0;
    opacity: 0;
    transition: 0.5s;
    filter: invert(9%) sepia(97%) saturate(3769%) hue-rotate(357deg) brightness(96%) contrast(116%);
}
.news-blog:hover i.arrow-more-btn{
    opacity: 1;
    transform: translateX(4.5rem);
}

.news-blog a{
    text-decoration: none;
    color: #000;
}

.news-blog p{
    position: relative;
    top: -3rem;
    padding: 0 1rem;
    text-align: start;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
h5{
    font-size: 1rem;
}
.news-blog img{
    height: 260px;
    width: 100%;
}
.news-title{
    background-color: #650000;
    opacity: 0.75;
    position: relative;
    top: -4rem;
    padding: 0.25rem 0.5rem;
    line-height: 1.5em;
    height: 4em;
    overflow: hidden;
}
.news-title h5{
    color: #ffffff;
}


#more-news{
    padding-top: 20px;
    padding-bottom: 30px;
}
#more-news a{
    color:#9B0000;
    font-weight: 500;
    text-decoration: none;
}
#more-news i{
    background-image: url(logo/left-arrow.svg);
    background-repeat: no-repeat;
    width: 30px;
    height: 24px;
    position: absolute;
    right: 0;
    opacity: 0;
    transition: 0.5s;
    filter: invert(9%) sepia(97%) saturate(3769%) hue-rotate(357deg) brightness(96%) contrast(116%);
}
#more-news:hover i{
    opacity: 1;
    transform: translateX(-5.7rem);
}

/* news pr */
.news-blog.pr p{
    position: relative;
    top: 0;
    padding: 15px;
    background-color: #fff;
}

/* news file */
.news-file{
    background: #fff;
    -webkit-box-shadow: 0px 3px 10px 3px rgba(205,209,212,1);
    -moz-box-shadow: 0px 3px 10px 3px rgba(205,209,212,1);
    box-shadow: 0px 3px 10px 3px rgba(205,209,212,1);
    transition: 0.4s;
    font-size: 0.9rem;
    line-height: 1.4rem;
    font-weight: 200;
    padding: 1rem;
    border-radius: 8px;
    max-height: 240px;
}
.news-file:hover{
    -webkit-box-shadow: 0px 10px 16px 13px rgba(205,209,212,1);
    -moz-box-shadow: 0px 10px 16px 13px rgba(205,209,212,1);
    box-shadow: 0px 10px 16px 13px rgba(205,209,212,1);
    transform: translateY(-3px);
}
.news-file a{
    color:#000;
    text-decoration: none;
}
.news-file img{
    width: 14px;
    height: 14px;
    padding-right: 4px;
    filter: invert(6%) sepia(72%) saturate(6939%) hue-rotate(358deg) brightness(119%) contrast(107%);
}

/* favorite link */
.fav-link{
    border-radius: 10px;
    background-color: #fff;
    padding: 20px 10px;
    -webkit-box-shadow: inset 0px 0px 15px 6px rgba(219,219,219,1);
    -moz-box-shadow: inset 0px 0px 15px 6px rgba(219,219,219,1);
    box-shadow: inset 0px 0px 15px 6px rgba(219,219,219,1);
}
.fav-link a img{
    width: 100%;
}
.fav-link .link-item{
    -webkit-box-shadow: 0px 3px 4px 2px rgba(205,209,212,1);
    -moz-box-shadow: 0px 3px 4px 2px rgba(205,209,212,1);
    box-shadow: 0px 3px 4px 2px rgba(205,209,212,1);
    transition: 0.4s;
}
.fav-link .link-item:hover{
    -webkit-box-shadow: 0px 3px 10px 4px rgba(205,209,212,1);
    -moz-box-shadow: 0px 3px 10px 4px rgba(205,209,212,1);
    box-shadow: 0px 3px 10px 4px rgba(205,209,212,1);
    transform: translateY(-3px);
}
#header-show{
    display: block;
}

.icon-show .client-logo {
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  .icon-show .client-logo img {
    height: 50%;
    filter: grayscale(75%);
    transition: 0.3s;
  }

  .icon-show .client-logo:hover img {
    filter: none;
    transform: scale(1.2);
  }

  .icon-show img {
    transition: all 0.4s ease-in-out;
  }

 .section-header h2{
    margin-top: 20px;
    padding: 30px;
    text-align: center;
 }
.content{
    padding: 10px;
}
 .content h2{
    color: #540f0f;
    font-size: 24px;
 }

 h3.last-updated {
    font-size: 22px;
    font-family: 'thsarabunnew';
    color: #FFFFFF;
    text-transform: uppercase;
    border-left: 4px solid #F3D303;
    padding: 10px 20px;
    width: 30%;
    background: #8b0000;
}

/*--------------------------------------------------------------
# Scroll top button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background: rgba(82, 116, 236, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
  }

  .scroll-top i {
    font-size: 24px;
    color: #fff;
    line-height: 0;
  }

  .scroll-top:hover {
    background: rgba(13, 66, 255, 0.8);
    color: #fff;
  }

  .scroll-top.active {
    visibility: visible;
    opacity: 1;
  }

@media only screen and (max-width: 570px) {
    #logo-roiet{
      width: 100%;
    }
    .owl-carousel img {
        height: auto;
    }
    .news-title h5 {
        font-size: 1rem;
    }
    h1{
        font-size: 1.8rem;
    }
}
