/****************************************
visitkohtao by CMNice Solutions. *
****************************************/

/******** Fonts ********/
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com');
@import url('https://fonts.gstatic.com');
@import url('https://fonts.googleapis.com/css2?family=Abel&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@300;400;500;600;700&display=swap');


@font-face {
    font-family: 'BLK-POHCHANG';
    src: url('fonts/BLK-POHCHANG.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    
}
@font-face {
    font-family: 'Charmonman';
    src: url('fonts/TH Charmonman Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
body {
  font-family: 'Abel', sans-serif;
}

header, nav {
  font-family: 'Abel', sans-serif;
}

/* Mobile */
@media screen and (max-width: 993px) {
    .header-contain {
        position: relative !important;
    }

    .header-mb {
        background:#fff;
        height:85px;
    }

    .header-mb p {
        font: 14px/1.2 'Abel', sans-serif;
        color: #1B673A;
        font-weight: 200;
        margin-bottom: 0;
    }
     .header-mb h1 {
        font: 16px/1.2 'Abel', sans-serif;
        color: #070070;
        font-weight: 200;
        margin-bottom: 0;
    }
      .header-mb h2 {
        font: 14px/1.2 'BLK-POHCHANG', Kanit;
        color: #070070;
        font-weight: 200;
        margin-bottom: 0;
    }
      
    .mobile-logo {
        height: 80px !important;
    }

    .navbar-expand-lg {
        background-color: #fff !important;
    }

    .nav-item {
        border-bottom: 2px solid #EF4322;
    }

    .nav-item .nav-link {
        font: 18px/1.6 'Abel', sans-serif !important;
        color: #fff !important;
        font-weight: 300 !important;
    }

    .navbar-nav .show {
        background-color: #fff !important;
        color: #fff !important;
    }

    .navbar-nav .dropdown-menu {
        /* background-color: #5F800C !important; */
        color: #fff !important;
    }

    .nav-item .dropdown-menu .dropdown-item {
        color: #fff !important;
        font-size: 18px !important;
        line-height: 1.6 !important;
    }

    .nav-item .dropdown-menu .mb-dropdown-item {
        font-size: 12px !important;
    }

    /**/
    .team-item-text {
        min-height: 7rem !important;
    }

    /**/
 
.slide-contain {
    height: 350px;
    font-family: 'Abel', sans-serif;
}

.slide-contain h1 {
    font: 36px/1.2 'Abel', sans-serif;
    font-weight: 200;
    color: #fff;
}

    /* Mobile */
@media (max-width: 768px) {
    .slide-contain {
        min-height: 300px;
        font-family: 'Kanit', sans-serif;
    }

.slide-contain h1 {
    font: 36px/1.2 'Abel', sans-serif;
    font-weight: 200;
    color: #fff;
}


}

    /**/
    .service-block {
        height: 310px !important;
    }

    .service-block .mask {
        background: rgba(0, 85, 167, 0.75) !important;

    }

    .service-block .mask h3,
    .service-block .mask p {
        color: #fff !important;
    }

    .service-detail-contain-bg {
        background-size: auto 100% !important;
    }
}

/* Desktop */
body {
    background: #FFFFFF;
}



/* Content Container */
.content_container {
    position: relative;
}

/* WIDTH SETTING */
.container-fluid {
    padding: 0 !important;
}
.container {
    max-width: 1320px !important;
    position: relative;
}


/* Content Wrapper Container */
.logo {
    position: relative;
}

.top-contact {
    /* position: absolute; */
    font-family: 'Abel', sans-serif;
}

.top-contact p {
    font: 14px/1 'Abel', sans-serif;
    color: #fff;
    font-weight: 200;
    margin: 0;
}
.top-contact h1 {
    font: 16px/1 'Abel', sans-serif;
    color: #fff;
    font-weight: 200;
    font-style: italic;
    margin: 0;
}
.top-contact h2 {
    font: 22px/1 'Abel', sans-serif;
    color: #070070;
    font-weight: 300;
}
.top-contact a {
    font: 16px/1 'Abel', sans-serif;
    color: #fff;
    font-weight: 200;
    font-style: italic;
    text-decoration: none;
    margin: 0;
}
.vertical.carousel .carousel-item {
    overflow: hidden;
}

.vertical.carousel .carousel-item-next:not(.carousel-item-start),
.vertical.carousel .active.carousel-item-end {
    transform: translateY(100%);
}

.vertical.carousel .carousel-item-prev:not(.carousel-item-end),
.vertical.carousel .active.carousel-item-start {
    transform: translateY(-100%);
}

.vertical.carousel .carousel-indicators {
    top: 0;
    left: unset;

    margin-left: unset !important;
    margin-right: 1rem;

    flex-direction: column;
}

.vertical.carousel .carousel-indicators [data-bs-target] {
    height: 30px;
    width: 3px;
}

.vertical.carousel .carousel-control-prev,
.vertical.carousel .carousel-control-next {
    width: 100%;
    height: 60px;
}

.vertical.carousel .carousel-control-prev-icon,
.vertical.carousel .carousel-control-next-icon {
    transform: rotateZ(90deg);
}

.vertical.carousel .carousel-control-next {
    top: unset;
    bottom: 0;
}

.fa-stack[data-count] {
    cursor: pointer;
}

.fa-stack[data-count]:after {
    position: absolute;
    right: 0%;
    top: -5px;
    width: 15px;
    height: 15px;
    content: attr(data-count);
    font: 11px/14px 'Noto Sans SC', sans-serif !important;
    border-radius: 50%;
    text-align: center;
    font-weight: 700 !important;
    background: #fff;
    color: #fff;
}

.hero-video{
width:100%;
height:700px;
overflow:hidden;
position:relative;
}

.hero-video iframe{
position:absolute;
top:50%;
left:50%;
width:100%;
height:56.25vw; /* 16:9 */
min-height:100%;
min-width:100%;
transform:translate(-50%,-50%);
border:0;
}

/* Mobile & Tablet*/
@media (max-width:1180px){

.hero-video{
height:auto;
}

.hero-video iframe{
position:relative;
top:auto;
left:auto;
transform:none;
width:100%;
height:56.25vw; /* 16:9 */
}

}

/* กำหนดขนาด slide */
.carousel-img-wrapper {
    height: 500px; /* ความสูงบนจอคอม */
    overflow: hidden;
    position: relative;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* บนมือถือ ปรับเป็นอัตราส่วน 16:9 */
@media (max-width: 768px) {
    .carousel-img-wrapper {
        height: 0;
        padding-top: 56.25%; /* 16:9 */
        position: relative;
    }
    .carousel-img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
    }
}


/* กำหนดขนาด slide banner logo */
.carousel-img-logo-wrapper {
    height: 300px; /* ความสูงบนจอคอม */
    overflow: hidden;
    position: relative;
}

.carousel-img-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* บนมือถือ ปรับเป็นอัตราส่วน 16:9 */
@media (max-width: 768px) {
    .carousel-img-logo-wrapper {
        height: 0;
        padding-top: 56.25%; /* 16:9 */
        position: relative;
    }
    .carousel-img-logo {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
    }
}

/* กำหนดขนาด slide banner */
.carousel-img-banner-wrapper {
    height: 500px; /* ความสูงบนจอคอม */
    overflow: hidden;
    position: relative;
}

.carousel-img-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* บนมือถือ ปรับเป็นอัตราส่วน 16:9 */
@media (max-width: 768px) {
    .carousel-img-banner-wrapper {
        height: 0;
        padding-top: 56.25%; /* 16:9 */
        position: relative;
    }
    .carousel-img-banner {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
    }
}


/* Partner */
.swiper-slide {
    font-size: 14px;
    font: 14px/1 'Abel', sans-serif;
}

/* Swiper*/
.swiper-arrow-contain {
    width: 50px !important;
    height: 20px;
    display: block;
    /* margin: 0 auto; */
    /* text-align: center; */
    position: relative;
}

.swiper-arrow-contain .swiper-button-prev,
.swiper-arrow-contain .swiper-button-next {
    width: 20px;
    height: 20px;
    border: 1px solid #d3cf0a;
    background-color: #d3cf0a;
    text-align: center;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.swiper-arrow-contain .swiper-button-prev {
    left: 0;
}

.swiper-arrow-contain .swiper-button-next {
    right: 0;
}


:root {
    --swiper-navigation-size: 10px !important;
}


/* Header */
/* .header-contain {
    position: absolute;
    top: 0;
    z-index: 99;
    background-color: rgba(255, 255, 255, 0.75);
}  ทำให้อยู่ชิดบนสุด*/
.header-contain {
    position: relative;
    z-index: 99;
    background-color: #fff;
}

.header_container {
    position: relative;
    font-family: 'Abel', sans-serif;
}

.header_container p {
    font: 18px/1 'Abel', sans-serif;
    /* color: #624827; */
    font-weight: 300;
}

.header_menu {
    position: relative;
    background-color: #f8f8f8;
    font-family: 'Abel', sans-serif;
}

.header_container .btn-sm {
    font: 14px/1 'Abel', sans-serif;
}

.header-nav {
    background: #FEFDFB;
    /* position: absolute; */
    z-index: 99;
    color: #fff;

}
.header-nav-page {
    background: #FEFDFB;
    /* position: absolute; */
    z-index: 99;
    color: #fff;

}

.rslides {
    box-sizing: border-box;
    padding: 0px !important;
}

.rslides li {
    text-align: center;
}

.rslides img {
    display: block;
    float: none;
    width: auto;
    max-width: 100%;
    border: 0;
    text-align: center;
    margin: 0 auto;
}

.fixed-top {
    background: #ffffffd2;
    top: -40px;
    transform: translateY(40px);
    transition: transform .3s;
    z-index: 999;
    /*background: linear-gradient(90deg, rgba(31,87,34,1) 0%, rgba(33,105,43,1) 35%, rgba(33,118,50,1) 100%);*/
}

#carouselCaptions {
    border: 0px solid #fff;
    overflow: hidden;
}

/* Lang */

.bg-boxlang {
    background-color: #F2F2F2 !important;
    /* border: 1px solid #000; */
    border-radius: 5px !important;
}

.bg-boxlang:hover {
    background-color: #F2F2F2 !important;
}

.main_menu {
    width: 100%;
    text-align: right;
    list-style: none;
    display: block;
}

.main_menu li {
    display: inline-block;
    /* border: 1px solid #eb2031; */
    vertical-align: top;
    margin: 0 10px;
}

.main_menu li a {
    font: 20.64px/32px 'supermarket';
    color: #fff;
    padding: 0 5px;
}

.main_menu li:hover {
    background-color: #fde7e8;
    border: 1px solid #000;
}

.main_menu li:hover a {
    color: #5F800C;
}

#menu_active {
    background-color: #fde7e8;
    border: 1px solid #000;
}

#menu_active a {
    color: #5F800C;
}

.submenu {
    width: 792px;
    position: absolute;
    top: 91px;
    right: 0;
    background-color: #000;
    z-index: 9;
    list-style: none;
    display: block;
    box-sizing: border-box;
    padding-left: 20px;
    text-align: center;

}

.submenu li {
    display: inline-block;
    border: 0;
    margin: 0 5px;
    position: relative;
}

.submenu li a {
    font: 14.55px/34px 'supermarket';
    color: #fff;
}

.submenu li #submenu {
    width: 120px;
    position: absolute;
    top: 34px;
    left: -10px;
    opacity: 0;
    transition: visibility 0s, opacity 0.2s linear;
}

.submenu li:hover #submenu {
    opacity: 1;
}

.submenu li #submenu li {
    width: 100%;
    /* background-color: #ff3333; */
    margin: 0;
    padding: 0 10px;
    text-align: left;

}

.submenu li #submenu li a {
    color: #fff;
}

.nav-item .nav-link {
    font-family: 'Abel', sans-serif;
    font-size: 18px;
    line-height: 1;
    color: #000;
    font-weight: 300;
    transition: all 0.1s;
}
.nav-link.active {
    color: #000 !important;
    border-bottom: 2px solid #000;
}

.nav-item .nav-lang {
    font-size: 14px;
    line-height: 1;
}

.nav-item .nav-link i {
    font-size: 22px;
}

.nav-item .nav-link:hover {
    /* color: #6e6e6d; */
    color: #000;
    /* border-bottom: 2px solid#000; */

}


.nav-item .active {
    color: #000 !important;
    /* background-color: #EF4322; */
    border-bottom: 2px solid#000;
    /* line-height: 3em; */

}

.nav-item :hover {
    color: #65CC4E !important;
    /* background-color: #EF4322; */
    /* border-bottom: 2px solid#f09c6d; */
    /* line-height: 3em; */

}


/* hassub */
.hassub,
.hassub ul {
	transition: all 0.2s ease-in-out;
}

.nav-icon-item {
	position: relative;
}

/* เมนูขวาสุด dropdown ไม่ให้ตกจอ */
.nav-icon-item.hassub:last-child > ul {
	left: auto;
	right: 0;
}

/* effect เมนูหลัก */
.nav-icon-item a p {
	transition: all 0.3s ease;
}

.nav-icon-item a:hover p {
	color: #718973 !important;
	transform: translateY(-3px);
}

.nav-icon-item a img {
	width: 25px;
	transition: transform 0.3s ease;
	z-index: 9;
	margin-right: 6px;
	vertical-align: middle;
}

.nav-icon-item a:hover img {
	transform: scale(1.05);
}

.nav-icon-item-news a img {
	width: 245px;
	transition: transform 0.3s ease;
	z-index: 9;
	/* margin-right: 6px; */
	vertical-align: middle;
}

.nav-icon-item-news a:hover img {
	transform: scale(1.1);
}

/* dropdown หลัก */
.nav-icon-item > ul {
	position: absolute;
	top: 100%;
	left: 0;
	width: 220px;
	background: #F2F2F2;
	/* border-radius: 10px; */
	box-shadow: 0 6px 20px rgba(0,0,0,0.1);
	padding: 0;  /* ลบ margin/padding จาก HTML */
	z-index: 2048;
    border-top: 5px solid #65CC4E;

	opacity: 0;
	visibility: hidden;
	transform: translateY(5px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

/* แสดง dropdown เวลาชี้ */
.nav-icon-item:hover > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* item dropdown */
.nav-icon-item ul li {
	padding: 10px 16px;
	border: none;
	transition: background 0.2s;
	position: relative; /* สำคัญสำหรับ sub menu */
	list-style: none;
}

.nav-icon-item ul li a {
	text-decoration: none;
	color: #333 !important;
	display: flex;
	align-items: center;
	font-size: 16px;
}

.nav-icon-item ul li a i {
	margin-right: 8px;
	color: #1B673A;
	transition: transform 0.2s ease;
}

.nav-icon-item ul li:hover {
	background: #f5f5f5;
	border-radius: 6px;
}

.nav-icon-item ul li:hover a i {
	transform: translateX(3px);
}

/* Sub menu */
.nav-icon-item ul li ul {
	position: absolute;
	top: 0;                  /* ชิดขอบบน li  */
	margin-top: -2px;        /* ขยับขึ้นใกล้เมนูหลัก */
	left: 100%;              /* ชิดด้านขวา li  */
	min-width: 200px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 6px 15px rgba(0,0,0,0.1);
	padding: 0;
	z-index: 2050;

	opacity: 0;
	visibility: hidden;
	transform: translateX(5px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

/* แสดง sub menu เวลาชี้ */
.nav-icon-item ul li:hover > ul {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}

/* hover sub item */
.nav-icon-item ul li ul li:hover {
	background: #f0f0f0;
	border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
	.nav-icon-item ul {
		position: static;
		width: 100%;
		box-shadow: none;
		border-radius: 0;
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: none;
	}

	.nav-icon-item ul li ul {
		position: static;
		transform: none;
		opacity: 1;
		visibility: visible;
	}
}

.disabled-link {
  pointer-events: none;
  cursor: default;
}

.btn-close-custom {
    background: #dc3545;         /* สีแดง (Bootstrap danger) */
    color: #fff;
    border: none;
    border-radius: 50%;          /* ทำให้เป็นปุ่มวงกลม */
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: 0.3s;
}
.btn-close-custom:hover {
    background: #bb2d3b;         /* สีแดงเข้มขึ้นเวลา hover */
    transform: rotate(90deg);    /* หมุนเล็กน้อยตอน hover */
}


/* Nav icon */
.nav-icon-contain {
	font-size: 14px;
	font-family: 'Abel', sans-serif;
	line-height: 1.4;
}

.nav-icon-contain p {
	font-size: 12px;
	font-family: 'Abel', sans-serif;
	line-height: 1;
	color: #000;
}

.nav-icon-contain button {
	font-size: 16px;
	font-family: 'Abel', sans-serif;
	line-height: 1;
	color: #fff;
	background-color: #1B673A;
	width: 100%;
	height: 80px;
}

.nav-icon-contain a:hover button {
    font-size: 16px;
	font-family: 'Abel', sans-serif;
	line-height: 1;
	background-color: #FACC02;
	color: #000;
}



.navbar-toggler {
    /* background-color: #000; */
}

.dropdown-toggle::after {
    vertical-align: 0.1em !important;
}

.nav-mb-button {
    font-size: 30px;
}

/**/
.navbar,
.navbar-nav .dropdown {
    position: inherit !important;
}

.dropdown-menu-detail {
    font-family: 'Abel', sans-serif;
    line-height: 1.4;
}

.dropdown-menu-detail h3 {
    font-size: 18px;
}

.dropdown-menu-detail p {
    font-size: 14px;
}

.black-nav {
    z-index: 5;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    font-family: 'Abel', sans-serif;
}

.black-nav .nav-link {
    font: 14px/1 'Abel', sans-serif;
    color: #000;
    font-weight: 300;
}

/* position dots in carousel */
.flickity-page-dots {
    bottom: 10px !important;
}

/* white circles */
.flickity-page-dots .dot {
    width: 12px !important;
    height: 12px !important;
    opacity: 1 !important;
    background: transparent !important;
    border: 2px solid white !important;
}

/* fill-in selected dot */
.flickity-page-dots .dot.is-selected {
    background: white !important;
}

.carousel-cell {
    width: 100%;
    margin-right: 10px;
}

/* Services */
.s-box {
    position: relative;
}

.s-box .img {
    /* position: relative; */
    /* width: 100px;
    height: 100px; */
    background-color: white;
    border-radius: 50%;
    border: 5px solid #ccc;
}

/* Circle list */
.circle-list {
    position: relative;
}

.circle-list h1 {
    font: 29px/1 'Abel', sans-serif;
    font-weight: 500;
    color: #3b1413;
}

.circle-list h2 {
    font: 14.96px/1.3 'Abel', sans-serif;
    font-weight: 500;
    color: #d0a051;
    text-transform: uppercase;
}

.circle-list h3 {
    font: 15.55px/1 'Abel', sans-serif;
    font-weight: 700;
    color: #3b1413;
}

.circle-list p {
    font: 15.03px/1.2 'Abel', sans-serif;
    font-weight: 400;
    color: #3b1413;
}

.circle-list a {
    font: 13.89px/1 'Abel', sans-serif;
    font-weight: 400;
    color: #e8645a;
    text-decoration: none;
}


.line-top {
    border-top: 3px solid #3BBC9C;
    /* width: 150px; */
}

/* service  */

.service_container p {
    font: 16px/1.5 'Abel', sans-serif;
    font-weight: 200;
    line-height: 1.5em;
    color: #000;
    text-indent: 2em;

}

.service_container button {
    font: 16px/1.5 'Abel', sans-serif;
    font-weight: 300;
    /* line-height: 1.5 em; */
    color: #000;
}

.service_container h1 {
    font: 38px 'Abel', sans-serif;
    color: #000;
    line-height: 1em;
    font-weight: 300;

}

.service_container h2 {
    font: 24px 'Abel', sans-serif;
    color: #000;
    font-weight: 200;
    line-height: 1em;

}

.service_container img {
    max-width: 100%;
    height: auto !important;
}

.service_container a {
    font: 18px/1.5 'Abel', sans-serif;
    font-weight: 200;
    text-decoration: none;
    color: #360000;
}

  .service_container ul {
	list-style-type: disc;
	padding-left: 20px;
    font: 16px/1.2 'Abel', sans-serif;
    font-weight: 200;
  }
  
  .service_container li {
	margin-bottom: 8px;
  }
  .service_container ul li::marker {
	color: #360000; /* เปลี่ยนสีจุด */
	font-size: 1.5em; /* ขยายจุด */
  }

.service-contain-box {
    background-color: #ffffffbc;
}

.service-contain img {
    max-width: 100%;
    height: auto !important;
}


.service-contain {
    position: relative;
    /* background: url('../images/bg-about02.jpg') center no-repeat; */
    background-size: cover;
    /* box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px; */
    z-index: 2;
    /* height: 400px; */
    font-family: 'Abel', sans-serif;
}

.service-contain h1 {
    font: 30px/1.4 'Abel', sans-serif;
    font-weight: 400;
    color: #000;
}

.service-contain h2 {
    font: 16px/1.4 'Abel', sans-serif;
    font-weight: 400;
    color: #000;
}

.service-contain a {
    font: 13.89px/1 'Abel', sans-serif;
    font-weight: 400;
    text-decoration: none;
}

.service-contain p {
    font: 16.89px/1 'Abel', sans-serif;
    font-weight: 300;
    line-height: 2em;
    color: #666;
    text-decoration: none;

}

.service-contain h3 {
    font: 14px/1.4 'Abel', sans-serif;
    font-weight: 400;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
    border-left: 4px solid #65CC4E;
    padding-left: 12px;
}

.section-title  a{
    font: 30px/1.4 'Abel', sans-serif;
    font-weight: 400;
    color: #000;
}

.section-title  a:hover{
    font: 30px/1.4 'Abel', sans-serif;
    font-weight: 400;
    color: #3A7CBC;
}

.asset-card {
    background: #f9f9f9;
    border-radius: 16px;
    padding: 14px 16px;
    transition: all 0.25s ease;
}

.asset-card:hover {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.file-icon {
    font-size: 1.4rem;
    color: #65CC4E;
    margin-right: 12px;
    margin-top: 2px;
}

.asset-title {
    font-size: 1rem;
    font-weight: 500;
    color: #222;
    line-height: 1.5;
}

.btn-download {
    background: linear-gradient(135deg, #ff4d4d, #e63946);
    color: #fff;
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.btn-download:hover {
    background: linear-gradient(135deg, #e63946, #c1121f);
    color: #fff;
    transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 767px) {
    .section-title {
        font-size: 1.15rem;
    }

    .asset-title {
        font-size: 0.95rem;
    }
}

.service-box hr {
    color: #CACACA !important;
    /* border-top-width: 2px; */
    border-top: 2px dotted #ffffff96;
    opacity: 2;
}
/* กำหนดขนาด slide  */
.carousel-service img {
    display: block;
    height: 420px;
    margin-right: 5px;
}

.fade-left {
  width: 100%; /* ขนาดตามต้องการ */
  height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent, black);
  mask-image: linear-gradient(to right, transparent, black);
}
.fade-right {
  -webkit-mask-image: linear-gradient(to left, transparent, black);
  mask-image: linear-gradient(to left, transparent, black);
}
/* photo  */
.photo_container {
    /* background: url(../images/cover/bg-about.jpg) center no-repeat;
	background-size: cover;
	background-attachment: fixed; */
    background-color: #F1EAD8;
}
.photo_container p {
    font: 14px/1.5 'Abel', sans-serif;
    font-weight: 200;
    line-height: 1.5em;
    color: #000;
}

.photo_container button {
    font: 16px/1.5 'Abel', sans-serif;
    font-weight: 300;
    /* line-height: 1.5 em; */
    color: #000;
}

.photo_container h1 {
    font: 38px 'Abel', sans-serif;
    color: #000;
    line-height: 1em;
    font-weight: 300;

}

.photo_container h2 {
    font: 16px 'Abel', sans-serif;
    color: #000;
    font-weight: 300;
    line-height: 1.5em;

}

.photo_container img {
    max-width: 100%;
    height: auto !important;
}

.photo_container a {
    font: 16px/1.5 'Abel', sans-serif;
    font-weight: 200;
    text-decoration: none;
    /* color: #F7904C; */
}
/* ความสูงสำหรับหน้าจอปกติ (Desktop) */
.cover-photo {
    background: url('../images/cover/cover-photo.png') top center no-repeat;
    background-size: cover;
    height: 200px;
    font-family: 'Charmonman', Kanit;
    color: #1B673A;
}
.cover-photo h1{
    color: #1B673A;
    line-height: 1.5em;
    font-weight: 200;
}
/* ถ้าเป็นภาษาไทย */
.lang-th .cover-photo h1 {
  font-family: 'Charmonman', sans-serif;
  font-size: 42px;
}

/* ถ้าเป็นภาษาอังกฤษ */
.lang-en .cover-photo h1 {
  font-family: 'Abel', sans-serif;
  font-size: 34px;
}
/* สำหรับมือถือ (กว้าง <= 768px) */
@media (max-width: 768px) {
    .cover-photo {
        height: 100px;
    }
    .cover-photo h1{
    font-family: 'Charmonman', Kanit;
    font-size: 24px;
    color: #1B673A;
    line-height: 1.5em;
    }
    /* ถ้าเป็นภาษาไทย */
        .lang-th .cover-photo h1 {
        font-family: 'Charmonman', sans-serif;
        font-size: 36px;
        }

        /* ถ้าเป็นภาษาอังกฤษ */
        .lang-en .cover-photo h1 {
        font-family: 'Abel', sans-serif;
        font-size: 28px;
        }
}
/* ความสูงสำหรับหน้าจอปกติ (Desktop) */
.cover-about {
    background: url('../images/cover/cover-photo.png') top center no-repeat;
    background-size: cover;
    height: 200px;
    font-family: 'Charmonman', Kanit;
    color: #1B673A;

}

/* สำหรับมือถือ (กว้าง <= 768px) */
@media (max-width: 768px) {
    .cover-about {
        height: 150px;
        color: #1B673A;
        font-family: 'Charmonman', Kanit;

    }
}


/* contact-page */
.contact-page {
    position: relative;
    background-size: cover;
    z-index: 2;
    font-family: 'Abel', sans-serif;
}

.contact-page h1 {
    font: 28px/1.2 'Abel', sans-serif;
    font-weight: 200;
    color: #4177B9;
}

.contact-page h2 {
    font: 18px/1.2 'Abel', sans-serif;
    font-weight: 300;
    color: #4b504a;
    line-height: 1.5em;
}

.contact-page h3 {
    font: 14px/1 'Abel', sans-serif;
    font-weight: 200;
    color: #000;
    line-height: 1.5em;
}

.contact-page h3 i {
    color: #ef4f14;
}

.contact-page p {
    font: 18.03px/1.2 'Abel', sans-serif;
    font-weight: 300;
}

.contact-page a {
    font: 13.89px/1 'Abel', sans-serif;
    font-weight: 400;
    text-decoration: none;
    color: #000;
}
.contact-badge{
display:inline-flex;
align-items:center;
gap:8px;
background:#6aa84f;
color:#fff;
padding:6px 20px;
border-radius:30px;
font-size:28px;
font-weight:400;
}

.contact-badge .dot{
font-size:8px;
}

.contact-card{
display:flex;
align-items:center;
gap:18px;
padding:18px 22px;
border-radius:40px;
background:#f7f7f7;
text-decoration:none;
transition:all .3s;
box-shadow:0 3px 10px rgba(0,0,0,0.05);
}

.contact-card:hover{
transform:translateY(-3px);
box-shadow:0 10px 25px rgba(0,0,0,0.1);
background:#fff;
}

.contact-icon{
width:50px;
height:50px;
display:flex;
align-items:center;
justify-content:center;
background:#ffffff;
border-radius:50%;
box-shadow:0 2px 8px rgba(0,0,0,0.08);
flex-shrink:0;
}

.contact-icon img{
width:24px;
height:24px;
object-fit:contain;
}

.contact-card h6{
margin:0;
font-size:16px;
color:#333;
}

.contact-card p{
margin:0;
font-size:16px;
color:#6aa84f;
}


/* footer */
.footer-container {
    background:
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
        url('../images/cover/footer.png') top center no-repeat;
    background-size: cover;
    z-index: 2;
    font-family: 'Abel', sans-serif;
}

.footer-container h1 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: 21px;
    line-height: 1.5em;
    font-weight: 400;
    margin-top: 10px;
}

.footer-container hr {
    color: #fff;
}

.footer-container h2 {
    font: 18px/1 'Abel', sans-serif;
    font-weight: 200;
    color: #fff;
    margin-bottom: 0;
}


.footer-container p {
    font: 14.03px/1.5 'Abel', sans-serif;
    font-weight: 100;
    color: #ffffff6d;
    /* line-height: 1.5em; */
    margin: 0;

}

.footer-container a {
    font: 18.03px/1.2 'Abel', sans-serif;
    font-weight: 200;
    text-decoration: none;
    color: #ffffff6d;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social {
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b2c3d; /* สีไอคอน */
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-right: 10px;
}
/* cover-container */
.cover-container{
    position:relative;
    height:350px;
    font-family:'Abel',sans-serif;

    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
}

.cover-container::before{
    content:"";
    position:absolute;
    inset:0;

    background:linear-gradient(
        to top,
        rgba(0,0,0,0.65),
        rgba(0,0,0,0.15),
        transparent
    );
}

.cover-container .container{
    position:relative;
    z-index:2;
}

.cover-container h1{
    font:36px/1.2 'Abel', sans-serif;
    font-weight:200;
    color:#fff;
}

.cover-container h2 {
    font: 18px/1.2 'Abel', sans-serif;
    font-weight: 300;
    color: #4b504a;
    line-height: 1.5em;
}
@media (max-width: 768px) {
    .cover-container {
        position:relative;
        height:150px;
        font-family:'Abel',sans-serif;

        background-size:cover;
        background-position:center center;
        background-repeat:no-repeat;
    }
    .cover-container h1 {
    font: 28px/1.2 'Abel', sans-serif;
    font-weight: 200;
    color: #fff;
    }
}

/* NEWS Container */
.news-container {
    position: relative;
    background-size: cover;
    z-index: 2;
    font-family: 'Abel', sans-serif;
}

.news-container h1 {
    font: 36px/1.2 'Abel', sans-serif;
    font-weight: 200;
    color: #4177B9;
}

.news-container h2 {
    font: 18px/1.2 'Abel', sans-serif;
    font-weight: 300;
    color: #4b504a;
    line-height: 1.5em;
}

.news-container h3 {
    font: 14px/1 'Abel', sans-serif;
    font-weight: 200;
    color: #000;
    line-height: 1.5em;
}

.news-container h3 i {
    color: #ef4f14;
}

.news-container p {
    font: 15.03px/1.2 'Abel', sans-serif;
    font-weight: 300;
}

.news-container a {
    font: 13.89px/1 'Abel', sans-serif;
    font-weight: 400;
    text-decoration: none;
    color: #000;
}

/* ===== NEWS CARD ===== */
.news-card {
    display: block;
    height: 100%;
    background: #ffffff;
    /* border-radius: 16px; */
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0,0,0,0.12);
    transition: 0.35s ease;
}

.news-card-slide {
    display: block;
    height: 100%;
    background: #ffffff;
    /* border-radius: 16px; */
    overflow: hidden;
    box-shadow: 0 5px 5px rgba(0,0,0,0.12);
    transition: 0.35s ease;
}

/* ภาพข่าว */
.news-img-box {
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

/* content */
.news-content {
    padding: 18px 20px 22px;
    font-family: 'Abel', sans-serif;
}

/* title */
.news-title {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.4;
    color: #000;
    margin-bottom: 8px;
}

/* date */
.news-date {
    font-size: 13px;
    font-weight: 300;
    color: #666;
    margin-bottom: 10px;
}

.news-date i {
    color: #ef4f14;
    margin-right: 4px;
}

/* description */
.news-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 14px;
}

/* read more */
.news-readmore {
    font-size: 14px;
    font-weight: 400;
    color: #8AB365;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-readmore .arrow {
    transition: transform 0.3s ease;
}

/* ===== HOVER EFFECT ===== */
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 38px rgba(0,0,0,0.18);
}

.news-card-slide:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 10px rgba(0,0,0,0.18);
}

.news-card:hover .news-img-box {
    transform: scale(1.08);
}

.news-card-slide:hover .news-img-box {
    transform: scale(1.08);
}

.news-card:hover .news-readmore .arrow {
    transform: translateX(6px);
}
.news-card-slide:hover .news-readmore .arrow {
    transform: translateX(6px);
}
@media (max-width: 768px) {
    .news-title {
        font-size: 17px;
    }

    .news-desc {
        font-size: 14px;
    }
}



.news-item h2 {
    font: 24px/1 'Abel', sans-serif;
    font-weight: 300;
}

.news-item h3 {
    font: 18px/1 'Abel', sans-serif;
    font-weight: 300;
}

.news-item h4 {
    font: 15px/1 'Abel', sans-serif;
    font-weight: 300;
}

.news-item h5 {
    font: 12px/1 'Abel', sans-serif;
    font-weight: 300;
}

.all-link1 {
    font: 14px/1 'Abel', sans-serif;
    font-weight: 400;
    color: #000;
    text-decoration: none;
}

.all-link2 {
    font: 14px/1 'Abel', sans-serif;
    font-weight: 400;
    color: #e8645a;
    text-decoration: none;
}

.all-link1:hover,
.all-link2:hover {
    color: inherit;
}



/* Lang */
.dd {
    width: 130px !important;
    position: absolute !important;
    top: 5px !important;
    right: 0 !important;
}

.ddlabel {
    font: 20px/20px 'kittithada_roman_55regular';
}

/* Slide */


/* the slides */
.slick-slide {
    margin: 0 15px;
}

/* Flex */

.flex-direction-nav a {
    line-height: normal;
}

/* island cards */

.island-card{
display:block;
position:relative;
overflow:hidden;
border-radius:14px;
box-shadow:0 8px 25px rgba(0,0,0,.08);
transition:all .4s ease;
}
.news-img-box{
background-size:cover;
background-position:center;
transition:transform .6s ease;
}

.island-card:hover .news-img-box{
transform:scale(1.08);
}

/* overlay */

.island-overlay{
position:absolute;
bottom:0;
left:0;
right:0;
padding:25px;
color:#fff;
background:linear-gradient(to top, rgba(0,0,0,.65), transparent);
}

.island-overlay.small{
padding:15px;
}

.island-overlay h3{
font-family:'Playfair Display',serif;
font-size:28px;
margin:0;
letter-spacing:1px;
}

.island-overlay.small h3{
font-size:18px;
}

/* mobile */

@media(max-width:768px){

.island-overlay h3{
font-size:18px;
}

}
/* blog Container */
.blog-container {
    position: relative;
    background-size: cover;
    z-index: 2;
    font-family: 'Abel', sans-serif;
}

.blog-container h1 {
    font: 36px/1.2 'Abel', sans-serif;
    font-weight: 200;
    color: #4177B9;
}

.blog-container h2 {
    font: 24px/1.2 'Abel', sans-serif;
    font-weight: 300;
    color: #4b504a;
    line-height: 1.5em;
}

.blog-container h3 {
    font: 14px/1 'Abel', sans-serif;
    font-weight: 200;
    color: #000;
    line-height: 1.5em;
}

.blog-container h3 i {
    color: #ef4f14;
}

.blog-container p {
    font: 16px/1.5 'Abel', sans-serif;
    font-weight: 300;
}

.blog-container a {
    font: 16px/1.5 'Abel', sans-serif;
    font-weight: 400;
    text-decoration: none;
    color: #000;   
}
.blog-container hr{
    border:0;
    height:1px;
    background:linear-gradient(
    to right,
    transparent 0%,
    #666 15%,
    #666 85%,
    transparent 100%
    );
    margin:25px 0;
}

/* VDO Container */
.vdo-index {
    position: relative;
    background-size: cover;
    z-index: 2;
    font-family: 'Abel', sans-serif;
}
.vdo-index hr{
    border:0;
    height:1px;
    background:linear-gradient(
    to right,
    transparent 0%,
    #666 15%,
    #666 85%,
    transparent 100%
    );
    margin:25px 0;
}
.vdo-index h1 {
    font: 36px/1.2 'Abel', sans-serif;
    font-weight: 200;
    color: #4177B9;
}

.vdo-index h2 {
    font: 18px/1.2 'Abel', sans-serif;
    font-weight: 300;
    color: #4b504a;
    line-height: 1.5em;
}

.vdo-index h3 {
    font: 14px/1 'Abel', sans-serif;
    font-weight: 200;
    color: #000;
    line-height: 1.5em;
}

.vdo-index h3 i {
    color: #ef4f14;
}

.vdo-index p {
    font: 15.03px/1.2 'Abel', sans-serif;
    font-weight: 300;
}

.vdo-index a {
    font: 13.89px/1 'Abel', sans-serif;
    font-weight: 400;
    text-decoration: none;
    color: #000;
}

/* botton readmore */
.btn-seeall-glow {
  font-size: 12px;
  color: #000;
  background-color: transparent;
  border: 2px solid #FACF69;
  border-radius: 50px;
  padding: 6px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 0px #FACF69; /* เริ่มไม่มีแสง */
}

/* เมื่อเอาเม้าชี้ */
.btn-seeall-glow:hover {
  background-color: #FACF69;
  color: #000;
  transform: scale(1.05);
  box-shadow: 0 0 4px #FACF69, 0 0 8px #FACF69;
}

/* เมื่อกดค้าง */
.btn-seeall-glow:active {
  transform: scale(0.95);
  box-shadow: 0 0 5px #FACF69;
}


/* botton highlight */


.btn-seeall-highlight {
  font-size: 12px;
  color: #fff;
  background-color: transparent;
  border: 2px solid #FACC02;
  border-radius: 50px;
  padding: 6px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 0px #1B6739; /* เริ่มไม่มีแสง */
}

/* เมื่อเอาเม้าชี้ */
.btn-seeall-highlight:hover {
  background-color: #1B6739;
  color: #FACC02;
  transform: scale(1.05);
  box-shadow: 0 0 4px #1B6739, 0 0 8px #1B6739;
}

/* เมื่อกดค้าง */
.btn-seeall-highlight:active {
  transform: scale(0.95);
  box-shadow: 0 0 5px #1B6739;
}


/* position dots in carousel */
.flickity-page-dots {
    bottom: 10px !important;
}

/* white circles */
.flickity-page-dots .dot {
    width: 12px !important;
    height: 12px !important;
    opacity: 1 !important;
    background: transparent !important;
    border: 2px solid white !important;
}

/* fill-in selected dot */
.flickity-page-dots .dot.is-selected {
    background: white !important;
}

.header-style1 {
    position: relative;
    width: auto;
    height: auto;
}

.header-style1 h1 {
    font: 19px/1 'Abel', sans-serif;
    font-weight: 500;
    color: #66cccc;
    margin: 0;
}

.header-style1 h1 span {
    color: #eb2031;
}

.header-style2 {
    font: 23px/1 'Abel', sans-serif !important;
    font-weight: 500 !important;
    color: #3b1413 !important;
    text-align: center;
    position: relative;
}

.btn-viewmore {
    position: absolute;
    top: 7px;
    right: 67px;
    display: block;
    text-decoration: none;
    font: 12px/1 'Abel', sans-serif;
    font-weight: 300;
    color: #eb2031;
}

/* Content */
.page-topic {
    font: 24px/38px 'Kanit';
    color: #fff;
    padding: 0 60px;
    margin-bottom: 20px;
    display: inline-block;
    background: linear-gradient(to right, #eb2031 24px, #eb2031 24px, #000000 24px, #000 88%, #000 100%);
    /* W3C */
}
/* highligh */
.news-img {
	width: 100%;
	height: 400px;
}
@media (max-width: 768px) {
.news-img {
	width: 100%;
	height: 250px;
}

}

.slides li {
  position: relative;
  display: flex;
  justify-content: center;   /* กึ่งกลางแนวนอน */
  align-items: center;       /* กึ่งกลางแนวตั้ง */
  background-color: #0067392d;
  overflow: hidden;
  height: 650px;             /* กำหนดความสูงชัดเจน */
  padding: 0;
}

/* wrapper รอบรูป */
.slides li .img-wrapper {
  display: flex;
  justify-content: center;   /* กึ่งกลางแนวนอน */
  align-items: center;       /* กึ่งกลางแนวตั้ง */
  width: 100%;
  height: 100%;              /* ครอบเต็มความสูงของ li */
}

/* รูป */
.slides li .img-wrapper img {
  max-width: 100%;
  max-height: 100%;          /* สูงสุดเต็ม wrapper */
  width: auto;
  height: auto;
  object-fit: contain;       /* ไม่บิดรูป */
  display: block;
}

/* กล่องข้อความ highlight */
.highlight-detail {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #006739;
  font: 16px/1.5 'Abel', sans-serif;
  color: #fff;
  padding: 0.25rem 1rem;
  box-sizing: border-box;
}


/* 📱 ปรับสำหรับมือถือ */
@media (max-width: 768px) {
  .slides li {
    height: auto;                  /* ลบ min-height/height เดิม */
    aspect-ratio: 16 / 9;          /* กำหนดอัตราส่วน 16:9 ตามความกว้าง */
  }

  .slides li .img-wrapper img {
    max-height: 100%;              /* เต็มสูงของ slide ตาม aspect-ratio */
    width: 100%;                   /* เต็มความกว้าง container */
    height: 100%;
    object-fit: cover;             /* crop หรือเต็มพื้นที่ 16:9 */
  }
}

/* Youtube */
.video-box-img1 {
	height: 380px;
}

.video-box-img2 {
	height: 140px;
}

.list-box-new {
	font-size: 18px;
    font-family: 'Abel', sans-serif;
	line-height: 1.6;
	color: #000;
	border-bottom: 2px dotted #D2DDE5;
    text-decoration: none !important;

}


.green-addr {
    position: relative;
    background-color: #fff;
}

.green-addr h1 {
    font: 18.48px/1 'Abel', sans-serif;
    font-weight: 500;
    color: #624827;
}

.green-addr p {
    font: 14px/1.4 'Abel', sans-serif;
    font-weight: 300;
    color: #624827;
}

/* Article */
.page-title {}

.page-title h1 {
    font: 24px/1 'Abel', sans-serif !important;
    font-weight: 300 !important;
}

.article-contain {
    font-size: 14px;
    font-family: 'Abel', sans-serif;
    font-weight: 200;
    line-height: 2em;
}
 .article-contain ol {
	padding-left: 20px;
    font: 16px/1 'Abel', sans-serif;
    font-weight: 200;
  }
  .article-contain ul {
	list-style-type: disc;
	padding-left: 20px;
    font: 16px/1 'Abel', sans-serif;
    font-weight: 200;
  }
  
  .article-contain li {
    font: 16px 'Abel', sans-serif;
    color: #000;
    line-height: 1.5em;
    font-weight: 200;
    margin-bottom: 8px;
    margin-left: 20px;
  }
  .article-contain ul li::marker {
    font: 16px 'Abel', sans-serif;
	color:#0b7855; /* เปลี่ยนสีจุด */
	font-size: 1em; /* ขยายจุด */
  }

.article-contain hr {
    color: #0b785684 !important;
    border-top-width: 2px;
    opacity: 1;
}

.article-contain label {
    font-weight: 400;
}

.article-contain p {
    font: 16px 'Abel', sans-serif;
    color: #000;
    line-height: 1.5em;
    font-weight: 200;
    /* text-indent: 1em; */
}


.article-contain a {
    font: 14px 'Abel', sans-serif;
    font-weight: 200;
    text-decoration: none;
    color: #000;
}
.article-contain a :hover {
    font: 14px 'Abel', sans-serif;
    font-weight: 200;
    text-decoration: none;
    color: #070070;
}

.article-contain h1 {
    font: 22px 'Abel', sans-serif;
    color: #000;
    line-height: 2em;
    font-weight: 300;
    margin-bottom: 0;
}

.article-contain h2 {
    font: 22px 'Abel', sans-serif;
    color: #000;
    font-weight: 300;
}
.article-contain h3 {
    font: 16px 'Kanit', sans-serif;
    color: #000;
    font-weight: 200;
    margin-bottom: 0;
}
.article-contain a :hover { 
    font: 16px 'Kanit', sans-serif;
    color: #070070;
    font-weight: 200;
    text-decoration: none;

}
/* เปลี่ยนลูกศรปกติของ Bootstrap accordion เป็นสีขาว */
.accordion-button::after {
  filter: brightness(0) invert(1);
}

/* เพิ่มให้ลูกศรตอน collapse ก็ยังเป็นสีขาว */
.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.article-contain img {
    max-width: 100%;
    height: auto !important;
}

.list-box-2 a {
    font-family: 'Abel', sans-serif;
	color: #000;
	transition: all 0.5s;
	text-decoration: none !important;
}

.list-box-2 a {
	transition: all 0.5s;
}


.list-box-2 a:hover {
	color: #8AB365 !important;
}
/* Pager */
.paging {
	display: block;
	text-align: center;
    font-family: 'Abel', sans-serif;

}

.paging a {
    font-family: 'Abel', sans-serif;
	/* background-color: #ccc; */
	/* border: solid 1px #666; */
	color: #000;
	text-decoration: none;
	margin: 0 0.2em;
	-webkit-border-radius: 04px;
	-moz-border-radius: 04px;
	border-radius: 04px;
	padding: 0.2em 0.4em;
	min-width: 1.5em;
}

.paging span {
	margin: 0 0.2em;
	-webkit-border-radius: 04px;
	-moz-border-radius: 04px;
	border-radius: 04px;
	padding: 0.2em 0.4em;
	min-width: 1.5em;
}

.paging span.current {
	background-color: #8AB365;
	color: #fff;
}

.paging span.disabled {
	background-color: #fff;
	color: #ccc;
}

.p-contain {
    font-size: 16px;
    font-family: 'Abel', sans-serif;
    line-height: 1.4;
    /* background: #F3F3F3; */

}

.p-contain p {
    font-size: 14px;
    font-family: 'Abel', sans-serif;
    line-height: 1.4;
    /* background: #F3F3F3; */

}


.p-contain hr {
    background: #0071bd;
}

.p-contain h1 {
    font: 35px/1.4 'Abel', sans-serif;
    font-weight: 400;

}

.p-contain h2 {
    font-size: 14px;
    color: #73ae3f;
    line-height: 1 em;
}


.p-contain a {
    font-size: 14px;
}

/* Welcome */
.welcome-contain {
    background: #fff;
}



.material-container {
    /* position: relative; */
    z-index: 2;
    font-family: 'Abel', sans-serif;
    font: 16px/1.4 'Abel', sans-serif;
}

.material-container p {
    font: 13.89px/1 'Abel', sans-serif;
    font-weight: 200;
    color: #000;
    text-decoration: none;
}


.material-container h1 {
    font: 30px/1.4 'Abel', sans-serif;
    font-weight: 400;
    color: #000;
}

.material-container h2 {
    font: 16px/1.4 'Abel', sans-serif;
    font-weight: 400;
    color: #000;
}

.material-container a {
    font: 13.89px/1 'Abel', sans-serif;
    font-weight: 400;
    color: #000;
    text-decoration: none;
}




.imgtransparent {
    opacity: 0.5;
    /* ค่าความจาง */
    filter: alpha(opacity=100);
    /* สำหรับ IE8 ขึ้นไป */
}

.imgtransparent:hover {
    opacity: 1;

    /* ค่าความจาง */
    filter: alpha(opacity=40);
    /* สำหรับ IE8 ขึ้นไป */
}




.footer_container {
    /* position: relative; */
    z-index: 2;
    font-family: 'Kanit', sans-serif;
    color: #000;
    background-color: #fff;


}

.footer_container p {
    font: 14px 'Kanit', sans-serif !important;
    /* font-weight: 100 ; */
    color: #fff;

}

.footer_container h1 {
    font: 18px 'Kanit', sans-serif !important;
    font-weight: 200 !important;
    color: #fff;

}

.footer_container h2 {
    font: 36px 'Kanit', sans-serif !important;
    font-weight: 100 !important;
    color: #fff;
}
.footer_container h3 {
    font: 14px 'Kanit', sans-serif !important;
    font-weight: 100 !important;
    color: #fff;
}

.footer_container a {
    font: 14px 'Kanit', sans-serif !important;
    font-weight: 100 ;
    color: #fff;

}



.footer_box {
    position: relative;
    background-color: #001c37;

    /* padding-right: 5px; */

}

.footer_box h3 {
    font: 13px/1 'Kanit', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer_box img.hr1 {
    margin: 4px 0;
    display: block;
}

.footer_container .box1 p {
    margin-bottom: 0;
}

.footer_container .box2 {}

.footer_container .box3 {}

.footer_container .box4 {}

.footer_container .box5 {}

.footer_container ul {
    list-style: none;
    text-align: left;
    padding-left: 0;
}

.footer_container ul li {
    display: block;
}

.footer_container ul li a {
    font: 15px/1 'Kanit', sans-serif;
    font-weight: 400;
    text-decoration: none;
    color: #000;
}

.footer {
    position: relative;
}

.footer p {
    font: 13.79px/1 'Kanit', sans-serif;
    font-weight: 200;
}

/* Websetting */
.bg-blue-1 {
    background-color: #0071bd;
}

.bg-blue-2 {
    background-color: #0071bd;
}

.bg-soft-gray-1 {
    background-color: #f8f8f8;
}

.bg-soft-gray-2 {
    background-color: #ccc;
}

.font-color-orange {
    color: #ff9900;
}

.font-color-blue {
    color: #0071bd;
}

.font-color-gray-1 {
    color: #797979;
}

/* Simple Pager Nav */
ul.simplePagerNav {
    position: relative;
    z-index: 2;
    margin-top: 5px;
    text-align: center;
}

ul.simplePagerNav li {
    display: inline-block;
    padding: 3px;
    margin-bottom: 10px;
    font-family: georgia;
    width: 15px;
    text-align: center;
    border: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #e7e7e7;
    margin: 0 2px;
    box-sizing: content-box;
}

ul.simplePagerNav li a {
    color: #00c9e0;
    text-decoration: none;
}

ul.simplePagerNav li.currentPage {
    background: #00c9e0;
}

ul.simplePagerNav li.currentPage a {
    color: #fff;
}

#scrollUp{
/* display:block !important;
position:fixed !important; */
bottom:10px;
right:10px;
width:40px;
height:40px;
line-height:40px;
text-align:center;
background:#7DAB52;
color:#fff;
border-radius:50%;
/* z-index:999999; */
}

.modal-content {
    font-family: 'Kanit', sans-serif;
}

/* Clearfix */
.clearfix {
    clear: both;
}

.social-logo {
    width: 40px;
    height: auto;
    position: fixed;
    right: 0;
    top: 30%;
    z-index: 99;
}

.social-logo a img {
    transition: all 0.5s;
}

.social-logo a:hover img {
    transform: scale(1.2);
}

.bg-zoom-effect {
transition: transform 0.4s ease, box-shadow 0.3s ease;
will-change: transform;
cursor: pointer;
}
.bg-zoom-effect:hover,
.bg-zoom-effect:focus,
.bg-zoom-effect:active {
transform: scale(1.05);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}
.img-effect {
overflow: hidden;
border-radius: 0; /* หรือใช้ 1rem ถ้าอยากให้มีมุมโค้ง */
}
