/************************************************
Vattana Chainat Stylesheet by CMNice Solutions. *
************************************************/

/******** Fonts ********/
@import url('fonts.css?v=20230202-1253');

.container {
	max-width: 1140px;
	font-weight: 200;
}

.slogan-text {
	font: 36px/1 '2005_iannnnnGMO';
}

/* LOGO */
.logo-active {
	display: inline-block;
	width: 157px;
	height: 146px;
	position: relative;
	background: #866d2d;
	vertical-align: top;
}

.logo-active::after {
	position: absolute;
	left: 0;
	top: 100%;
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 55px 78.5px 0 78.5px;
	border-color: #866d2d transparent transparent transparent;
}

.logo-active img,
.logo-inactive img {
	display: block;
	margin: 15px auto;
}

.logo-inactive {
	display: inline-block;
	width: 157px;
	height: 146px;
	position: relative;
	vertical-align: top;
}

.nav-logo {
	display: block;
	position: relative;
	z-index: 99;
	width: auto;
	height: auto;
	padding: 5px;
	box-sizing: border-box;
}

.position-logo {
	position: absolute;
}

/* NAVIGATION */
.nav-bar {
	width: 100%;
	height: auto;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 5;
	text-align: right;
}

.nav-bar p {
	font-size: 18px;
	font-family: 'psl-thaicommonbold';
	line-height: 1;
	color: #6a590a;
	margin-bottom: 0;
}

.nav-bar p svg {
	font-size: smaller;
}

.nav-bar p img {
	vertical-align: middle;
	margin: 0 5px;
}

/* Main Menu */
.nav-list {
	width: 100%;
	height: auto;
	position: relative;
	margin-bottom: 0;
}

.nav-list li {
	display: inline-block;
	height: 100%;
	padding: 0 10px;
	box-sizing: border-box;
	position: relative;
	text-align: center;
	vertical-align: top;
}

.nav-list li::after {
	font: 15px/1 Tahoma;
	color: #fff;
	position: absolute;
	top: 6px;
	right: -15px;
	content: "";
}

.nav-list li:last-child::after {
	display: none;
}

.nav-list li a {
	font: 16px/1 'Kanit', sans-serif;
	font-weight: 300;
	color: #000;
	text-decoration: none;
}

.nav-menu {
	display: none;
}

/* Sub nav */
.nav-list>li>ul {
	width: 180%;
	min-width: 180px;
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 99;
	padding-top: 0;
}

.nav-list>li>ul::before {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 8px 8px 8px;
	border-color: transparent transparent #f4cb14 transparent;
	position: absolute;
	top: -3px;
	left: 10%;
	content: "";
}

.nav-list>li:hover>ul {
	display: block;
}

.nav-list>li>ul::before {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 8px 8px 8px;
	border-color: transparent transparent #fff transparent;
	position: absolute;
	top: -3px;
	left: 0;
	content: "";
	display: none;
}

.nav-list>li>ul>li {
	min-height: 25px;
	width: 100%;
	margin: 0;
	text-align: left;
	background: #fff;
	border-bottom: 1px solid #e6e1e0;
	transition: all 0.5s;
	padding: 0;
}

.nav-list>li>ul>li:hover {
	background: #caae87;
}

.nav-list>li>ul>li:hover a {
	color: #fff;
}

.nav-list>li>ul>li::after {
	display: none;
}

.nav-list>li>ul>li:last-child>a {
	border: 0;
}

.nav-list>li>ul>li>a {
	font-size: 14px;
	font-family: 'Kanit', sans-serif;
	line-height: 1;
	color: #000;
	display: block;
	padding: 10px 15px;
}

/**/
.nav-list>li>ul>li>ul {
	width: 230px;
	display: none;
	position: absolute;
	top: 0;
	left: 230px;
	z-index: 99;
	padding-top: 0;
}

.nav-list>li>ul>li>ul::before {
	display: none;
}

.nav-list>li>ul>li:hover>ul {
	display: block;
}

.nav-list>li>ul>li>ul>li {
	min-height: 25px;
	width: 100%;
	margin: 0;
	text-align: left;
	background: rgba(255, 255, 255, .9);
	border-bottom: 2px dotted #005E20;
	padding: 5px;
}

.nav-list>li>ul>li>ul>li:hover {
	background: #f4cb14;
}

.nav-list>li>ul>li>ul>li::after {
	display: none;
}

.nav-list>li>ul>li>ul>li:last-child>a {
	border: 0;
}

.nav-list>li>ul>li>ul>li>a {
	font-size: 18px;
	font-family: 'Kanit', sans-serif;
	line-height: 1;
	color: #000;
}

/* hassub */
.hassub,
.hassub ul {
	transition: all 0.1s;
}

/* Header */
.header {
	width: 100%;
	height: auto;
	position: relative;
	top: 0;
	z-index: 11;
}

.header-contact {
	font-size: 14px;
	font-family: 'Kanit', sans-serif;
	line-height: 1;
	text-transform: uppercase;
}

.header-contact img {
	width: 30px;
}

/* Slider */
.slider-container {
	width: 100%;
	height: auto;
	position: relative;
}

.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;
}

/* Topic */
.topic_contain {
	font: 30px/1.4 'Kanit', sans-serif;
	font-weight: 500;
}

.topic_hr {
	width: 4em;
	display: block;
	margin: 0 auto;
	border-top: 2px solid #fff !important;
	border-bottom: 0 !important;
}

/* About */
.about-content-textbox {
	color: #333;
	font-family: 'Kanit', sans-serif;
	line-height: 1.4;
	margin-top: -7rem;
}

/* article */
.article-contain {
	font-size: 16px;
	font-family: 'Kanit', sans-serif;
	line-height: 1.4;
}

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

.article-contain h1 {
	font-size: 34px;
}

.article-contain h2 {
	font-size: 28px;
}

.article-contain h3 {
	font-size: 18px;
	font-weight: 500;
}

.article-contain h4 {
	font-size: 18px;
}

.article-contain h5 {
	font-size: 16px;
}

.article-contain h6 {
	font: 35px/1 '2005_iannnnnGMO';
}

.article-contain p,
.article-contain li {
	font: 18px/1.6 'Kanit', sans-serif;
	font-weight: 300;
	color: #000;
}

.event-detail h4 {
	font: 17.42px/1 'Kanit', sans-serif !important;
	font-weight: 400 !important;
	color: #000;
}

.event-detail p {
	font: 14.52px/1.3 'Kanit', sans-serif !important;
	font-weight: 300 !important;
	color: #000;
}

/*.article-contain select,
.article-contain select.select2{
	font-family:'Kanit', sans-serif !important;
	font-size:16px;
	line-height:1.4;
}*/

.article-block-img-1 {
	width: 100%;
	height: 240px;
}

/* Level */
.level-block h4 {
	font: 20.49px/1 'Kanit', sans-serif;
	font-weight: 500;
	color: #000;
	position: relative;
}

.level-block h4::after {
	width: 84px;
	height: 4px;
	background-color: #b39e92;
	position: absolute;
	bottom: -15px;
	left: 0;
	right: 0;
	margin: 0 auto;
	content: "";
}

.topic_h2 {
	font: 22px/1.5 'Kanit', sans-serif !important;
	font-weight: 600 !important;
}

.level-block p {
	font: 14.64px/1.5 'Kanit', sans-serif;
	font-weight: 300;
	color: #000;
}

.level-block-img {
	width: 204px;
	height: 204px;
	border-radius: 50%;
	margin-top: -8rem;
}

.bg-level-block-1 {
	background-color: #fcdfcd;
}

.bg-level-block-2 {
	background-color: #fcc7c0;
}

.bg-level-block-3 {
	background-color: #bcc9e3;
}

.bg-level-block-4 {
	background-color: #c3e0e1;
}

/* Event */
.event-img {
	width: 100%;
	height: 279px;
}

/* Content list */
.content-list span.span-1 {
	color: #44b2d3;
	font-weight: bold;
}

.content-list span.span-2 {
	color: #e31b23;
	font-weight: bold;
	font-style: italic;
}

/* Gallery list */
.gallery-list-img {
	width: 100%;
	height: 220px;
}

/* Location */
.location-contain {
	background:
		url('../new-images/bg-location.jpg') top center no-repeat;
	background-size: cover;
	font-size: 16px;
	font-family: 'Kanit', sans-serif;
	line-height: 1.4;
}

.location-button img {
	width: 180px;
}

.icon-tab .active {
	position: relative;
}

.icon-tab .active::after {
	position: absolute;
	right: -5px;
	top: 0;
	bottom: 0;
	margin: auto 0;
	width: 10px;
	height: 80%;
	background-color: #FE245E;
	content: "";
}

.icon-tab .active p {
	color: #FE245E;
}

.icon-tab .media {
	cursor: pointer;
}

/* Footer */
.footer-content p {
	font-family: 'Kanit', sans-serif;
	font-size: 13px;
	line-height: 1.4;
}

/* Web setting */
.bg-soft-gray-0 {
	background-color: #f8f8f8 !important;
}

.bg-soft-gray-1 {
	background-color: #f0f0f0 !important;
}

.bg-soft-gray-2 {
	background-color: #f3f4f8 !important;
}

.bg-yellow-cream {
	background-color: #caae87 !important;
}

.bg-yellow {
	background-color: #e7ac32 !important;
}

.bg-purple {
	background-color: #9140a5 !important;
}

.border-dash-1 {
	width: 100%;
	height: 2px;
	background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23333' stroke-width='3' stroke-dasharray='2%2c15' stroke-dashoffset='0' stroke-linecap='butt'/%3e%3c/svg%3e");
}

/* User setting */
.theme-font {
	font-family: 'Kanit', sans-serif;
}

.theme-font button {
	cursor: pointer;
}

.theme-font-s {
	font-size: 10px !important;
}

.theme-font-m {
	font-size: 12px !important;
}

.theme-font-l {
	font-size: 14px !important;
}

.theme-font-color-purple {
	color: #9140a5 !important;
}

.theme-font-color-blue {
	color: #44b2d3 !important;
}

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

.btn-search {
	margin-left: -5px;
	margin-top: -5px;
	line-height: 1.65;
}

/* Owl */
.owl-carousel .owl-nav button span {
	padding: 0.2em 1em !important;
}

/* Popup */
.popup-contain {
	font-family: 'Kanit', sans-serif;
}

/* Sticky Nav */
/* The sticky class is added to the navbar with JS when it reaches its scroll position */
#nav-bar {
	transition: all 0.5s ease;
}

.sticky {
	position: fixed;
	top: 0;
	width: 100%;
}

/* 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;
	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;
}

/* Pager */
.paginate-pagination {
	list-style: none;
	display: block;
	margin: 0 auto;
	clear: both;
	text-align: center;
	font-family: 'Kanit', sans-serif;
}

.paginate-pagination ul {
	display: inline-block;
}

.paginate-pagination ul li a.active {
	opacity: 1 !important;
	background-color: #663366 !important;
	color: #fff !important;
}

/* Quick pager */
ul.simplePagerNav {
	width: 100%;
	display: block;
	text-align: center;
	margin-top: 0.8em;
}

ul.simplePagerNav li {
	min-width: 1.5em;
	display: inline-block;
	margin: 0.2em 0.2em;
	background-color: #fff;
	-webkit-border-radius: 04px;
	-moz-border-radius: 04px;
	border-radius: 04px;
	transition: all 0.5s;
}

ul.simplePagerNav li a {
	padding: 0 0.5em;
	color: #666;
}

ul.simplePagerNav li.currentPage {
	background-color: #c03a88;
}

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

/* Pager */
.paging {
	display: block;
	text-align: center;
}

.paging a {
	font-family: 'Kanit', sans-serif;
	background-color: #fff;
	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: #2927b9;
	color: #fff;
}

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

/**/
#scrollUp {
	bottom: 20px;
	right: 20px;
	padding: 10px 20px;
	background: #555;
	color: #fff;
}

/**/
.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);
}

button {
	cursor: pointer;
}

.clearfix {
	clear: both;
}