/*

Known Template 

https://templatemo.com/tm-516-known

*/

  @import url('https://fonts.googleapis.com/css?family=Muli:300,700|Nunito');

  body {
    background: #ffffff;
    /*font-family: 'Nunito', sans-serif;*/
    font-family: "Kanit", serif;
    overflow-x: hidden;
    padding-top: 70px;
  }


  /*---------------------------------------
     TYPOGRAPHY              
  -----------------------------------------*/

  h1,h2,h3,h4,h5,h6 {
    font-family: "Kanit", serif;
    font-weight: bold;
    line-height: inherit;
  }

  h1 {
    color: #252525;
    font-size: 3em;
    line-height: normal;
  }

  h2 {
    color: #353535;
    font-size: 2em;
    padding-bottom: 10px;
  }

  h3 {
    font-size: 1.5em;
    margin-bottom: 0;
  }

  h3,
  h3 a {
    color: #454545;
  }

  p {
    color: #757575;
    font-size: 14px;
    font-weight: normal;
    line-height: 24px;
  }



  /*---------------------------------------
     GENERAL               
  -----------------------------------------*/

  html{
    -webkit-font-smoothing: antialiased;
  }

  a {
    color: #252525;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    text-decoration: none !important;
  }

  a,
  input, button,
  .form-control {
    -webkit-transition: 0.5s;
    transition: 0.5s;
  }

  a:hover, a:active, a:focus {
    color: #29ca8e;
    outline: none;
  }

  ::-webkit-scrollbar{
    width: 8px;
    height: 8px;
  }

  ::-webkit-scrollbar-thumb {
    cursor: pointer;
    background: #000000;
  }

  .section-title {
    padding-bottom: 40px;
  }

  .section-title h2 {
    margin: 0;
  }

  .section-title small {
    display: block;
  }

  .overlay {
    background: rgba(20,20,20,0.5);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .entry-form {
    background: #252020;
    border-radius: 100%;
    text-align: center;
    padding: 6em;
    width: 450px;
    height: 450px;
  }

  .entry-form h2 {
    color: #ffffff;
    margin: 0;
  }

  .entry-form .form-control {
    background: transparent;
    border: 0;
    border-bottom: 1px solid;
    border-radius: 0;
    box-shadow: none;
    height: 45px;
    margin: 10px 0;
  }

  .entry-form .submit-btn {
    background: #ffffff;
    border-radius: 50px;
    border: 0;
    color: #252020;
    width: 50%;
    height: 50px;
    margin: 30px auto;
    margin-bottom: 10px;
  }

  .entry-form .submit-btn:hover {
    background: #3f51b5;
    color: #ffffff;
  }

  section {
    position: relative;
    padding: 100px 0;
  }

  #team,
  #testimonial {
    background: #f9f9f9;
  }

  #team, 
  #testimonial {
    text-align: center;
  }
  
  #google-map iframe {
    border: 0;
    width: 100%;
    height: 390px;
  }



  /*---------------------------------------
     BUTTONS               
  -----------------------------------------*/

  .section-btn {
    background: transparent;
    border-radius: 50px;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-size: inherit;
    font-weight: normal;
    padding: 15px 30px;
    transition: 0.5s;
  }

  .section-btn:hover {
    background: #ffffff;
    border-color: transparent;
  }



  /*---------------------------------------
       PRE LOADER              
  -----------------------------------------*/

  .preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background: none repeat scroll 0 0 #ffffff;
  }

  .spinner {
    border: 1px solid transparent;
    border-radius: 3px;
    position: relative;
  }

  .spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 45px;
    height: 45px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 1px solid #575757;
    border-top-color: #ffffff;
    animation: spinner 1.5s linear infinite;
  }

  @-webkit-@keyframes spinner {
    to {transform: rotate(360deg);}
  }

  @keyframes spinner {
    to {transform: rotate(360deg);}
  }



  /*---------------------------------------
      MENU              
  -----------------------------------------*/

  .custom-navbar {
    background: #ffffff;
    border-top: 5px solid #2E8B57;
    border-bottom: 0;
    -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    margin-bottom: 0;
    padding: 0;
  }

  .custom-navbar .navbar-brand {
    color: #454545;
    font-size: 18px;
    font-weight: bold;
    line-height: 40px;
  }

  .custom-navbar .navbar-nav.navbar-nav-first {
    margin-left: 8em;
  }

  .custom-navbar .navbar-nav.navbar-right li a {
    padding-right: 12px;
    padding-left: 12px;
  }

  .custom-navbar .navbar-nav.navbar-right li a .fa {
    background: #2E8B57;
    border-radius: 100%;
    color: #ffffff;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    display: inline-block;
    margin-right: 5px;
  }

  .custom-navbar .nav li a {
    line-height: 40px;
    color: #575757;
    padding-right: 22px;
    padding-left: 22px;
  }

  .custom-navbar .navbar-nav > li > a:hover,
  .custom-navbar .navbar-nav > li > a:focus {
    background-color: transparent;
  }

  .custom-navbar .nav li a:hover {
    background-color: #2E8B57;
    color: #ffffff;
  }

  .custom-navbar .nav li.active > a {
    background-color: #2E8B57;
    color: #ffffff;
  }

  .custom-navbar .navbar-toggle {
    border: none;
    padding-top: 10px;
  }

  .custom-navbar .navbar-toggle {
    background-color: transparent;
  }

  .custom-navbar .navbar-toggle .icon-bar {
    background: #252525;
    border-color: transparent;
  }



  /*---------------------------------------
      HOME  & SLIDER            
  -----------------------------------------*/

  #home {
    padding: 0;
    font-family: "Kanit", serif;
  }

  #home h1 {
    color: #ffffff;
  }

  #home h3 {
    color: #f9f9f9;
    font-size: 16px;
    font-weight: 300;
    margin: 0;
    padding: 5px 0 40px 0;
  }

  @media (min-width: 768px) {
    .home-slider .col-md-6 {
      padding-left: 0;
    }
  }

  .home-slider .caption {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: left;
    background-color: rgba(20,20,20,0.2);
    height: 100%;
    color: #fff;
    cursor: e-resize;
    font-family: "Kanit", serif;
  }

  .home-slider .item {
    background-repeat: no-repeat;
    background-attachment: local;
    background-size: cover;
    height: 650px;
  }
  
  .caption h3 a { color: #FFF; }
  .caption h3 a:hover { color: #FF3; }

  .home-slider .item-first {
    background-image: url(../images/slide4.jpg);
	background-position: center;
  }

  .home-slider .item-second {
    background-image: url(../images/slide02.png);
  }

  .home-slider .item-third {
    background-image: url(../images/slider-image3.jpg);
  }



  /*---------------------------------------
      FEATURE              
  -----------------------------------------*/

  .feature-thumb {
    border: 1px solid #f0f0f0;
    padding: 5em 3em;
  }

  .feature-thumb span {
    background: #3f51b5;
    border-radius: 50px;
    color: #ffffff;
    font-size: 25px;
    font-weight: bold;
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    margin-bottom: 5px;
  }

  .feature-thumb h3 {
    margin: 10px 0;
  }



  /*---------------------------------------
      ABOUT              
  -----------------------------------------*/

  #about figure {
    display: inline-block;
    vertical-align: top;
    margin-left: 15px;
  }

  #about figure span {
    float: left;
    margin-left: -15px;
    padding: 15px 20px;
    position: relative;
    top: 20px;
  }

  #about figure span i {
    background: #29ca8e;
    border-radius: 50px;
    color: #ffffff;
    font-size: 25px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
  }



  /*---------------------------------------
      TEAM              
  -----------------------------------------*/

  .team-thumb {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    text-align: left;
  }

  .team-info {
    padding: 20px 30px;
  }

  .team-image img {
    width: 100%;
  }

  .team-thumb .social-icon {
    border-top: 1px solid #f0f0f0;
    padding: 4px 20px 0 20px;
  }

  .team-thumb .social-icon li a {
    background: #ffffff;
    color: #252020;
  }

  .team-info h3 {
    margin: 0;
  }


  /*---------------------------------------
      COURSES             
  -----------------------------------------*/

  #courses .section-title {
    text-align: center;
  }

  #courses .owl-theme .owl-nav {
    margin-top: 30px;
  }

  #courses .owl-theme .owl-nav [class*=owl-] {
    border-radius: 2px;
    font-size: 16px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    padding: 0;
  }

  .courses-thumb {
    background: #f9f9f9;
    position: relative;
  }

  .courses-top {
    position: relative;
  }

  .courses-image {
    background: linear-gradient(to right, #202020, #101010);
  }

  .courses-date {
    background: linear-gradient(rgba(255, 0, 0, 0), rgba(0, 0, 0, 0.6));
    width: 100%;
    position: absolute;
    bottom: 0;
    padding: 20px 25px;
  }

  .courses-date span,
  .courses-author span {
    font-size: 14px;
    font-weight: bold;
  }

  .courses-date span {
    color: #ffffff;
    display: inline-block;
    margin-right: 10px;
  }

  .courses-detail {
    padding: 25px 25px 15px 25px;
  }

  .courses-detail h3 {
    margin: 0 0 2px 0;
  }

  .courses-info {
    border-top: 1px solid #f0f0f0;
    position: relative;
    clear: both;
    padding: 15px 25px;
  }

  .courses-author,
  .courses-author span {
    display: inline-block;
    vertical-align: middle;
  }

  .courses-author img {
    display: inline-block !important;
    border-radius: 50px;
    width: 50px !important;
    height: 50px;
    margin-right: 10px;
  }

  .courses-price {
    float: right;
    margin-top: 10px;
  }

  .courses-price span {
    background: #29ca8e;
    border-radius: 2px;
    color: #ffffff;
    display: block;
    padding: 5px 10px;
  }

  .courses-price.free span {
    background: #3f51b5;
  }



  /*---------------------------------------
     NEWS              
  -----------------------------------------*/

  .news-thumb {
    clear: both;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
  }

  .news-thumb .news-image {
    float: left;
    width: 40%;
    margin-right: 30px;
  }

  .news-info h3 {
    margin-top: 5px;
    margin-bottom: 10px;
  }

  .news-date span {
    color: #909090;
    font-weight: bold;
  }



  /*---------------------------------------
      TESTIMONIAL             
  -----------------------------------------*/

  #testimonial .item {
    background: #ffffff;
    margin: 20px 0;
    padding: 4em 3em;
    text-align: left;
  }

  #courses .col-md-4,
  #testimonial .col-md-4 {
    display: block;
    width: 100%;
  }

  #testimonial .item > p {
    font-size: 16px;
    line-height: 26px;
  }

  .tst-rating {
    margin-bottom: 15px;
  }

  .tst-rating .fa {
    color: #3f51b5;
  }

  .tst-image,
  .tst-author {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 20px;
    text-align: left;
  }

  .tst-image img {
    border-radius: 50px;
    width: 60px !important;
    height: 60px;
    margin-right: 15px;
  }

  .tst-author h4 {
    margin: 0;
  }

  .tst-author span {
    color: #808080;
    font-size: 14px;
  }



  /*---------------------------------------
      CONTACT             
  -----------------------------------------*/

  #contact {
    background: #3f51b5;
  }

  #contact h2 {
    color: #ffffff;
  }

  #contact .section-title {
    padding-bottom: 20px;
  }

  #contact h2 > small,
  #contact p,
  #contact a {
    color: #f9f9f9;
  }

  #contact-form {
    padding: 1em 0;
  }

  #contact-form .col-md-12,
  #contact-form .col-md-4 {
    padding-left: 0;
  }

  #contact-form .form-control {
    border: 0;
    border-radius: 5px;
    box-shadow: none;
    margin: 10px 0;
  }

  #contact-form input {
    height: 50px;
  }

  #contact-form input[type='submit'] {
    border-radius: 50px;
    border: 1px solid transparent;
  }

  #contact-form input[type='submit']:hover {
    background: transparent;
    border-color: #ffffff;
    color: #ffffff;
  }
  



  /*---------------------------------------
     FOOTER              
  -----------------------------------------*/
  .ft{
    background-color: #252020;
    padding: 30px;
    color: #fefefe;
  }

  footer {
    background: #252020;
    padding: 50px 0;
  }

  footer .section-title {
    padding-bottom: 10px;
  }

  footer h2 {
    font-size: 20px;
  }

  footer a,
  footer p {
    color: #909090;
  }

  footer strong {
    color: #d9d9d9;
  }

  footer address p {
    margin-bottom: 0;
  }

  footer .social-icon {
    margin-top: 25px;
  }

  .footer-info {
    margin-right: 2em;
  }

  .footer-info h2 {
    color: #ffffff;
    padding: 0;
  }

  .footer_menu h2 {
    margin-top: 2em;
  }

  .footer_menu ul {
    margin: 0;
    padding: 0;
  }

  .footer_menu li {
    display: inline-block;
    list-style: none;
    margin: 5px 10px 5px 0;
  }

  .newsletter-form .form-control {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: 0;
    border-bottom: 1px solid #303030;
    height: 50px;
    margin: 5px 0;
  }

  .newsletter-form input[type="submit"] {
    background: transparent;
    border: 1px solid #f9f9f9;
    border-radius: 50px;
    color: #ffffff;
    display: block;
    margin-top: 20px;
    outline: none;
    width: 50%;
  }

  .newsletter-form input[type="submit"]:hover {
    background: #29ca8e;
    border-color: transparent;
  }

  .newsletter-form .form-group span {
    color: #909090;
    display: block;
    font-size: 12px;
    margin-top: 20px;
  }



  /*---------------------------------------
     SOCIAL ICON              
  -----------------------------------------*/

  .social-icon {
    position: relative;
    padding: 0;
    margin: 0;
  }

  .social-icon li {
    display: inline-block;
    list-style: none;
    margin-bottom: 5px;
  }

  .social-icon li a {
    border-radius: 100px;
    color: #29ca8e;
    font-size: 15px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-decoration: none;
    text-align: center;
    transition: all 0.4s ease-in-out;
    position: relative;
    margin: 5px 5px 5px 0;
  }

  .social-icon li a:hover {
    background: #29ca8e;
    color: #ffffff;
  }



  /*---------------------------------------
     RESPONSIVE STYLES              
  -----------------------------------------*/

  @media screen and (max-width: 1170px) {
    .custom-navbar .navbar-nav.navbar-nav-first {
      margin-left: inherit;
    }
  }

  @media only screen and (max-width: 992px) {
    section,
    footer {
      padding: 60px 0;
    }

    .home-slider .item {
      background-position: center center;
    }

    .feature-thumb,
    .about-info,
    .team-thumb,
    .footer-info {
      margin-bottom: 50px;
    }

    .contact-image {
      margin-top: 50px;
    }
  }


  @media only screen and (min-width: 768px) and (max-width: 991px) {
    .custom-navbar .nav li a {
      padding-right: 10px;
      padding-left: 10px;
    }
  }

  @media only screen and (max-width: 767px) {
    h1 {
      font-size: 2.5em;
    }

    h1,h2,h3 {
      line-height: normal;
    }

    .custom-navbar {
      background: #ffffff;
      -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      padding: 10px 0;
      text-align: center;
    }

    .custom-navbar .navbar-brand,
    .custom-navbar .nav li a {
      line-height: normal;
    }

    .custom-navbar .nav li a {
      padding: 10px;
    }

    .custom-navbar .navbar-brand,
    .top-nav-collapse .navbar-brand {
      color: #252525;
      font-weight: 600;
    }

    .custom-navbar .nav li a,
    .top-nav-collapse .nav li a {
      color: #575757;
    }

    .custom-navbar .navbar-nav.navbar-right li {
      display: inline-block;
    }

    .footer-info {
      margin-right: 0;
    }

    .footer-info.newsletter-form {
      margin-bottom: 0;
    }

    .entry-form {
      display: block;
      margin: 0 auto;
    }
  }


  @media only screen and (max-width: 580px) {
    h2 {
      font-size: 1.8em;
    }

    #testimonial .item {
      padding: 2em;
    }

    .contact-image {
      margin-top: 0;
    }
  }

  @media only screen and (max-width: 480px) {
    h1 {
      font-size: 2em;
    }

    #home h3 {
      font-size: 14px;
    }

    .entry-form {
      border-radius: 0;
      padding: 2em;
      max-width: 100%;
      max-height: 100%;
      width: inherit;
      height: inherit;
    }
  }
  /*-------------------------Start Front------------------------------------*/
.kanit-thin {
  font-family: "Kanit", serif;
  font-weight: 100;
  font-style: normal;
}

.kanit-extralight {
  font-family: "Kanit", serif;
  font-weight: 200;
  font-style: normal;
}

.kanit-light {
  font-family: "Kanit", serif;
  font-weight: 300;
  font-style: normal;
}

.kanit-regular {
  font-family: "Kanit", serif;
  font-weight: 400;
  font-style: normal;
}

.kanit-medium {
  font-family: "Kanit", serif;
  font-weight: 500;
  font-style: normal;
}

.kanit-semibold {
  font-family: "Kanit", serif;
  font-weight: 600;
  font-style: normal;
}

.kanit-bold {
  font-family: "Kanit", serif;
  font-weight: 700;
  font-style: normal;
}

.kanit-extrabold {
  font-family: "Kanit", serif;
  font-weight: 800;
  font-style: normal;
}

.kanit-black {
  font-family: "Kanit", serif;
  font-weight: 900;
  font-style: normal;
}

.kanit-thin-italic {
  font-family: "Kanit", serif;
  font-weight: 100;
  font-style: italic;
}

.kanit-extralight-italic {
  font-family: "Kanit", serif;
  font-weight: 200;
  font-style: italic;
}

.kanit-light-italic {
  font-family: "Kanit", serif;
  font-weight: 300;
  font-style: italic;
}

.kanit-regular-italic {
  font-family: "Kanit", serif;
  font-weight: 400;
  font-style: italic;
}

.kanit-medium-italic {
  font-family: "Kanit", serif;
  font-weight: 500;
  font-style: italic;
}

.kanit-semibold-italic {
  font-family: "Kanit", serif;
  font-weight: 600;
  font-style: italic;
}

.kanit-bold-italic {
  font-family: "Kanit", serif;
  font-weight: 700;
  font-style: italic;
}

.kanit-extrabold-italic {
  font-family: "Kanit", serif;
  font-weight: 800;
  font-style: italic;
}

.kanit-black-italic {
  font-family: "Kanit", serif;
  font-weight: 900;
  font-style: italic;
}
/*------------------------------End Front-----------------------------------------------------*/
.dataservice{
  background-color: #F5F5F5;
}
.dataservice h1{
	text-align: center;
	font-size: 50px;
	background: linear-gradient(to right, #006400, #ADFF2F);
  	-webkit-background-clip: text;
  	-webkit-text-fill-color: transparent;
}
.dataservice h2{
	text-align: center;
	font-size: 30px;
	background: linear-gradient(to right, #006400, #ADFF2F);
  	-webkit-background-clip: text;
  	-webkit-text-fill-color: transparent;
}
.blog-content-service {
  background-color: #ffffff; /* พื้นหลังเริ่มต้น */
  transition: 0.4s ease-in-out; /* เพิ่ม transition เพื่อให้ลื่นไหล */
  padding-top: 30px;
  padding-bottom: 30px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 10px;
  margin-bottom: 50px;
}

.blog-content-service:hover {
  background-color: #2E8B57; /* พื้นหลังตอน hover */
  color: #ffffff;            /* ตัวหนังสือตอน hover */
}
/*---------------------------------------*/
.bog-show-aticle{
  background-color: #ffffff;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 50px;
  padding-top: 80px;
}
.bog-show-aticle::after {
  content: "";
  display: table;
  clear: both;
}
.bogsmall-show-aticle {
  background-color: #2E8B57; /* พื้นหลังเริ่มต้น */
  color: #ffffff;
  transition: 0.4s ease-in-out; /* เพิ่ม transition เพื่อให้ลื่นไหล */
  padding-top: 30px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 20px;
  margin-bottom: 50px;
}

.bogsmall-show-aticle:hover {
  background-color: #f5f5f5; /* พื้นหลังตอน hover */
  color: #2E8B57;            /* ตัวหนังสือตอน hover */
}
.bogsmall-show-aticle h1,
.bogsmall-show-aticle h2,
.bogsmall-show-aticle h3,
.bogsmall-show-aticle p,
.bogsmall-show-aticle span,
.bogsmall-show-aticle a {
  color: inherit;
  transition: 0.4s ease-in-out;
}
.bogsmall-show-aticle:hover h1,
.bogsmall-show-aticle:hover h2,
.bogsmall-show-aticle:hover h3,
.bogsmall-show-aticle:hover p,
.bogsmall-show-aticle:hover span,
.bogsmall-show-aticle:hover a {
  color: #2E8B57;
}

/*-------------------------------------*/
.static-user{
  background-color: #ffffff;
  margin-bottom: 50px;
}
.static-user h2{
	text-align: center;
	font-size: 30px;
	background: linear-gradient(to right, #006400, #ADFF2F);
  	-webkit-background-clip: text;
  	-webkit-text-fill-color: transparent;
}
/*-------------------------------------*/
/* ปุ่มเปิด */
    .open-btn {
      padding: 10px 20px;
      background-color: #007bff;
      color: white;
      border: none;
      cursor: pointer;
      border-radius: 6px;
    }

    /* พื้นหลังมืด */
    .modal-overlay {
      display: none;
      position: fixed;
      z-index: 999;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
    }

    /* กล่อง popup */
    .modal-content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: white;
      padding: 20px;
      border-radius: 10px;
      width: 700px;
      text-align: center;
      position: relative;
    }
    .modal-content h3{
      text-align: center;
	    font-size: 20px;
	    background: linear-gradient(to right, #006400, #ADFF2F);
  	-webkit-background-clip: text;
  	-webkit-text-fill-color: transparent;
    }

    .textbox-inter {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: white;
      padding: 20px;
      border-radius: 10px;
      width: 700px;
      position: relative;
    }

    /* ปุ่มปิดแบบ X มุมขวาบน */
    .close-btn {
      position: absolute;
      top: 10px;
      right: 10px;
      background: transparent;
      border: none;
      font-size: 20px;
      cursor: pointer;
      color: #aaa;
    }

    .close-btn:hover {
      color: red;
    }
    /*----------------------------------*/
.custom-table {
  width: 100%;
  border-collapse: collapse;
}

.custom-table th, .custom-table td {
  padding: 10px;
  border: 1px solid #ccc;
  text-align: left;
}

/* พื้นหลังของหัวตาราง */
.custom-table th {
  background-color: #b6e4c5;
  color: #000; /* สีตัวอักษรสามารถปรับให้เข้ากับพื้นหลัง */
}

/* แถวสลับสี */
.custom-table tr:nth-child(odd) td {
  background-color: #effaf2;
}

.custom-table tr:nth-child(even) td {
  background-color: #d9f2df;
}

/* เมื่อชี้เมาส์ */
.custom-table tbody tr:hover td {
  background-color: #b6e4c5;
}

/*---------------------------------------*/
.selecr-reward{
  width: 100%;
  height: 40px;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
}
.selecr-year{
  width: 150px;
  height: 40px;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
}
.reward-mounth{
  width: 50%;
  height: 40px;
  padding: 5px;
  border: 1px solid #006400;
  border-radius: 3px;
}
button.submit-btn {
  background-color: #005b59;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button.submit-btn:hover {
  background-color: #b6e4c5;
  color: #003300; /* เปลี่ยนสีตัวอักษรให้อ่านง่ายเมื่อพื้นอ่อน */
}
button.reject-btn {
  background-color: #B22222;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button.reject-btn:hover {
  background-color: #FF6347;
  color: #003300; /* เปลี่ยนสีตัวอักษรให้อ่านง่ายเมื่อพื้นอ่อน */
}
/*---------------------------------------*/
.select-date{
  width: 80px;
  height: 40px;
  padding: 5px;
  margin-right: 20px;
  border: 1px solid #ccc;
  border-radius: 3px;
}
/*-------------------------------------*/
/* CSS สำหรับตาราง .public-aticle */
table.public-aticle {
  width: 100%;
  border-collapse: collapse;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  color: #222;             /* default text color (เข้ม) */
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  font-family: "Kanit", sans-serif;
}

/* หัวตาราง */
table.public-aticle thead th {
  background: #006400;     /* สีตามที่ขอ */
  color: #fff;          /* ตัวหนังสือสีเข้ม */
  font-weight: 700;
  padding: 12px 14px;
  text-align: left;
  border-bottom: 2px solid rgba(0,0,0,0.08);
  vertical-align: middle;
}

/* เซลล์เนื้อหา */
table.public-aticle tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  vertical-align: middle;
  color: #222;             /* ตัวหนังสือสีเข้ม */
}

/* สลับแถว: คี่ = ขาว, คู่ = เทาอ่อน */
table.public-aticle tbody tr:nth-child(odd) {
  background: #ffffff;
}
table.public-aticle tbody tr:nth-child(even) {
  background: #f5f5f5;     /* เทาอ่อน */
}

/* hover effect เพื่อให้ดู interactive */
table.public-aticle tbody tr:hover {
  background: #eef4ff;     /* สีจางเมื่อชี้เมาส์ */
}

/* ขนาดคอลัมน์เล็กๆ ให้ wrap สวย */
table.public-aticle td, table.public-aticle th {
  word-break: break-word;
}

/* responsive เบื้องต้น: บนหน้าจอเล็ก ให้เลื่อนแนวนอน */
@media (max-width: 700px) {
  .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table.public-aticle { min-width: 700px; }
}
/*--------------------------------------------*/
.main-blog-content{
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 50px;
  margin-top: 50px;
  overflow: auto;
}
.blog-report-article{
  background-color: #f5f5f5;
  padding: 10px;
  padding-top: 30px;
  padding-bottom: 30px;
  border-radius: 10px;
  margin-bottom: 10px;
}
.article-title{
  font-size: 16px;
  font-weight: 400;
}
.funding-total{
  font-size: 16px;
  font-weight: 500;
  color: #005b59;
}
.blog-report-article2{
  background-color: #fff;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}
.article-title2{
  font-size: 16px;
  font-weight: 400;
}
/*---------------------------------------*/
.info-grid {
  display: grid;
  grid-template-columns: 150px auto;   /* คอลัมน์ซ้ายกว้างเท่ากันเป๊ะ */
  row-gap: 8px;
  column-gap: 10px;
}

.info-grid .label {
  font-weight: bold;
  font-size: 16px;
  color: #333;
}

.info-grid .value {
  color: #444;
}
/*-------------------------------------*/
hr.sub-event-edu{
  border: 0;                     /* ปิด border เริ่มต้น */
  border-top: 1px dotted #005b59;/* ความหนา, รูปแบบจุด, สี */
  margin: 10px 0;                /* ปรับระยะบน-ล่าง */
  opacity: 0.95;
}
/*------------------------------------------*/
.research-blog-Relation{
  background-color: #fff;
  border-radius: 10px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding: 10px;
  min-height: 100px;
  margin-bottom: 10px;
  text-align: center;
}
/*---------------------------------------*/
.research-blog-number{
  background-color: #fff;
  border-radius: 5px;
  padding: 5px;
  text-align: center;
  min-height: 150px;
}
.stat-number {
  font-size: 60px;
  font-weight: 700;
  color: #005b59;
  line-height: 1.2;
}
/*-----------------------------------------*/
.tag-container a {
    display: inline-block;
    font-family: "Kanit", sans-serif;
    padding: 6px 10px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* คำทั่วไป */
.tag-cloud-normal {
    background-color: #ffffff;
    color: #363636;
    border: 1px solid #ccc;
}

/* คำเด่น */
.tag-cloud-badge {
    background-color: #005b59;
    color: #ffffff !important;
}

/* hover สำหรับทุกคำ */
.tag-container a:hover {
    background-color: #b6e4c5 !important;
    color: #ffffff !important;
}

/*---------------------------------------------*/
.info-nisit {
    display: grid;
    grid-template-columns: 200px 1fr; /* ปรับความกว้างช่องซ้าย */
    gap: 10px;
    margin-bottom: 6px;
    font-size: 16px;
    color: #363636;
    margin-top: 50px;
}

.info-nisit .label {
    font-weight: 600;
    font-size: 16px;
    color: #363636;
}
