

body {
    padding-top: 0rem;
    padding-bottom: 0rem;
    color: #5a5a5a;
    font-family: "Noto Sans Thai", sans-serif;
}

a{
    color: #5a5a5a;
    text-decoration: none;
}
.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
  }

  @media (min-width: 768px) {
    .bd-placeholder-img-lg {
      font-size: 3.5rem;
    }
  }

.bg-hec{
    
    background-color: #037843;
    background-color: #88c426;
    background-color: #166e6a;

    
    height: 150px;
}

.bg-hec .container {
    text-align: left;
}

.bg-hec-footer{
    background-color: #166e6a;
    height: 180px;
    color: #eee;
    padding-top: 9px;
    padding-left: 15px;
    font-size: 10pt;
}

.bg-hec-footer a{
    color:#eee;
}

.logo-box {
    width: 18%;
    display: block;
    float: left;
    margin-top: 20px;
    text-shadow: 2px 2px 4px #000000;
}

.hec-icon-nsru{
    width: 10%;
    max-width: 110px;
}

.hec-icon-hec {
    width: 100%;
    max-width: 270px;
    margin-left: 0%;
    text-shadow: 2px 2px 4px #000000;
}

.banner-box {
    color: #fff;
    font-size: 2.8em;
    display: inline-block;
    padding: 10px;
    width: 82%;
    text-align: right;
    text-shadow: 2px 2px 4px #858080;
}

.banner-box:hover{ color: #fff;}


.banner-box .row1{
    font-size: 2.7vw;
}

.banner-box .row2{
    font-size: 2.6vw;
}


.hec-banner{
    width: 65%;
    margin-left: 4%;
}


.caption-box{
    width: 150px;
    height: 60px;
    position: absolute;
    right: 0%;
    bottom: 1%;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    color: #fff;
    text-align: center;
    z-index: 9001;
}


.container{
    max-width: 1200px;
}

.hec-icon{
    width: 50%;
    border-radius: 15px;
}

.dropdown-menu .hec-icon {
    width: 16%;
    border-radius: 15px;
}

.feature-icon .hec-icon {
    width: 100%;
    border-radius: 15px;
}

.hec-nev {
    background-color: #a5e5d5;
    background-color: #eafde7;
}

.hec-nev2 {
    background-color: #a5e5d5;

}

#main-nev{display:flex;}
#main-nev-mobile{display:none;}
.menu-title {
    background-color: #197f7b;
    color: #fff;
    text-align: center;
    width: 70%;
    margin: auto;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}


.menu-title2 {
    background-color: #197f7b;
    color: #fff;
    text-align: center;
    width: 85%;
    margin: auto;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    padding: 2%;;
}

.hec-nev .dropdown-toggle::after {
    display: none;
    margin-left: 0em;
    vertical-align: 0;
    content: "";
    border-top: 0.em solid;
    border-right: 0.em solid transparent;
    border-bottom: 0;
    border-left: 0.em solid transparent;
}


.hec-nev .nav-item{
    width: 16.6666%;
    text-align: center;;
}




.container.marketing{
    border: #eeeeee 1px solid;
    border-radius: 4px;
    padding-top: 15px;
    padding-left: 10px;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #fff;
    border-radius: 0.75rem;
    margin-right: 1rem;
    background-color: #166e6a !important;
}

.link-all-right{
    float: right !important;;
}

.featurette-heading {
    margin-top: 0rem;
}

.marketing h2 {
    font-weight: 200;
    font-size: 2.2rem;
}

.marketing h2.gallery-title {
    font-size: 11pt;
    margin-top: 50%;
    line-height: 1.2!important;
    font-weight: 400!important;
    /* background-color: #fdfe0ce0; */
    color: #fdfe0c;
    padding: 0.9rem;
}

#gallery-box{
    margin-top: 50px;
    margin-left: 0.7%;
}

.gallery_item_box{
    width: 400%;
}

.rounded-5 {
    border-radius: 0.5rem;
}
 
.gallery-item-box .col-md-4{
    padding: 10px;
    height: 300px;
    width: 385px;
}

.btn.gallery_link {
    width: 90px;
    font-size: 12px;
    display: block;
    position: absolute;
    bottom: 2.5%;
    right: 2%;
    height: 19px;
    padding: 0;
    font-size: 8pt;
}

.gallery_date {
    width: 75px;
    font-size: 12px;
    display: block;
    position: absolute;
    bottom: 3%;
    left: 2%;
    background-color: #0d6efd;
    border-radius: 3px;
}

.featurette-divider.top {
    margin-top: 0.2rem;
}

ul#main-nev li ul li:nth-child(odd){
    background-color: #bdebd6;
}
 

.carousel-caption {
    bottom: 3rem;
    z-index: 10;
    background-color: #014224a8;
    padding: 15px;
}

.img-responsive{
    max-width: 100%;
    max-height: 100%;;
}

.page-title-box{
    padding-top: 1em;
    padding-bottom: 1em;;

}

.knowledge-thumbnail{
    width: 200px;
    height: 150px;
    
}

#knowledge-box .row.featurette .col-md-10{
    width:82%;
}

#knowledge-box .row.featurette .col-md-2{
    width:18%;
    padding-right: 0;
}

.btn.knowledge_link {
    width: 100px;
    font-size: 12px;
    display: block;
    height: 28px;
}



.text-shadow-1 {
    text-shadow: 0 0.125rem 0.25rem rgb(0 0 0);
}

#main-nev2  .nav-item {
    width: 25%;
    text-align: center;
}

.hec-footer{
    background-color: #166e6a;;
}