/***************************************
Huiyab Stylesheet by CMNice Solutions. *
***************************************/

/*** Reset Documents ***/
@import url('reset.css');

/******** Fonts ********/
@import url('fonts.css');

/* WIDTH SETTING */
.container{
	width:100%;
	height:auto;
	max-width:1180px;
	display:block;
	margin:0 auto;
}
/* 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;
    max-height: 100%;
    z-index: 10;
}
/* 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: 28px;
	position: relative;
    margin-bottom: 0;
}
.nav-list li {
	display:inline-block;
	height: 100%;
    padding-left: 20px;
    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-size:18px;
	font-family:'bai_jamjureeregular';
	line-height:1;
	color:#fff;
    text-decoration: none;
}

.nav-menu {
	display:none;
}

/* Sub nav */
.nav-list > li > ul {
	width: 160%;
	min-width:180px;
	display: none;
	position: absolute;
	top: 100%;
	left:0;
	z-index:99;
    padding-top: 5px;
}
.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: center;
    background: rgba(255,255,255,1);
    border-bottom: 1px solid #e6e1e0;
    padding: 5px;
}
.nav-list > li > ul > li:hover {
	background: #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:16px;
	font-family:'bai_jamjureeregular';
	line-height:1;
	color:#000
}

.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:'bai_jamjureeregular';
	line-height:1;
	color:#000;
}
/* Left menu  */
.left-nav-list li a.list-box-1{
	font-size:16px;
	font-family:'bai_jamjureeregular';
	line-height:1.6;
	color:#000;
	background-color:#CCCCCC;
}
.left-nav-list li a i{
	font-size:16px;
	vertical-align:middle;
	line-height:1.4em;
}
/* Slider */
.slider-container {
    width: 100%;
    height: auto;
    position: relative;
}
.rslides{
	box-sizing: border-box;
	padding:0px !important;
	background-color:#fff;
}
/* Header */
.header{
	width:100%;
	height:auto;
	position: relative;
	top:0;
	z-index:11;
	background-image: linear-gradient(to bottom, #571a57, #602460, #692e6a, #733773, #7c417d);
	border-top:3px solid #d6a23c;
}
.header-contact-address{
	font-size:16px;
	font-family:'bai_jamjureeregular';
	line-height:1;
	color:#fff;
}
.header-contact-address a,
.header-contact-address a:hover{
	color:#fff;
	vertical-align:middle;
}
.lang{
	width:30px;
	height:auto;
}
/* Hr line */
.hr-1{
	display:block;
	margin:1em auto;
	border-top:1px solid #5b225e !important;
	border-bottom:0 !important;
}
/* Marquee */
.marquee-contain{
	background-color:#f0f0f0;
}
.marquee-contain marquee{
	vertical-align:middle;
	font-size:16px;
	font-family:'bai_jamjureeregular';
	line-height:1;
	color:#000;
}
/* Nav icon */
.nav-icon-contain{
	font-size:16px;
	font-family:'bai_jamjureeregular';
	line-height:1;
	color:#000;
}
.nav-icon-contain p{
	font-size:16px;
	font-family:'bai_jamjureeregular';
	line-height:1;
	color:#000;
}
.nav-icon-contain-2{
	background-color:#f6f6f6;
}
/* announce */
.announce-contain{
	background-color:#f0f0f0;
}
.announce-contain img{
	max-width:100% !important;
	width:auto;
	height:auto !important;
}
.announce-contain iframe{
	height:500px;
}
.announce-contain table{
	width:100%;
	display:table;
	
}
.announce-contain table td{
	padding:0.5em;
	border:1px solid #ccc;
	font-size:14px;
	font-family:'bai_jamjureeregular';
	line-height:1.4;
}
.announce-topic{
	border-bottom:1px solid #5b225e;
}
.announce-contain h2{
	font-size:22px;
	font-family:'bai_jamjureebold';
	line-height:1;
	color:#5b215d;
}
.announce-contain h3{
	font-size:20px;
	font-family:'bai_jamjureebold';
	line-height:1.6;
	color:#000;
}
.announce-topic h3{
	font-size:20px;
	font-family:'bai_jamjureebold';
	line-height:1.6;
	color:#5b215d;
}
.topic-arr a{
	display:inline-block;
	width:20px;
	height:20px;
	border:1px solid #66addf;
	background-color:#aad3f0;
	text-align:center;
	margin:0;
	vertical-align:middle;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}
.topic-arr a i{
	vertical-align:top;
}
.announce-preview h2{
	font-size:54px;
	font-family:'bai_jamjureebold';
	line-height:0.5;
	color:#5b225e;
}
.announce-preview h3{
	font-size:18px;
	font-family:'bai_jamjureebold';
	line-height:1;
	color:#5b225e;
}
.announce-preview h3 span{
	display:block;
	font-size:54px;
	font-family:'bai_jamjureeregular';
	line-height:0.5;
	color:#5b225e;
	margin-bottom:0.2em;
 }
.announce-preview-date{
	border-right:2px solid #5b225e
}
.announce-preview p{
	font-size:16px;
	font-family:'bai_jamjureeregular';
	line-height:1;
	color:#000;
}
.announce-preview .img{
	width:100%;
	height:334px;
}
/* article  */
.news-detail-contain{
	background-color:#f8f8f8;
}
.news-img{
	width:100%;
	height:488px;
}
.article-detail-contain h3,
.news-detail-contain h3{
	font-size:20px;
	font-family:'bai_jamjureebold';
	line-height:1;
	color:#753a76;
}
.article-detail-contain p,
.news-detail-contain p{
	font-size:16px;
	font-family:'bai_jamjureeregular';
	line-height:1;
	color:#2e303c;
}
/* president */
.president{
	font-size:16px;
	font-family:'bai_jamjureeregular';
	line-height:1;
	color:#5b225e;
	font-weight:bold;
}
.president h3{
	font-size:22px;
	font-family:'bai_jamjureebold';
	line-height:1;
	color:#5b225e;
	font-weight:bold;
}
/* highlight */
.highlight-contain{
	background-color:#f0f0f0;
}
.highlight-contain h2{
	font-size:24px;
	font-family:'bai_jamjureebold';
	line-height:1;
	color:#5b225e;
	font-weight:bold;
}
.highlight-contain p{
	font-size:16px;
	font-family:'bai_jamjureeregular';
	line-height:1;
	color:#000;
}
.highlight-contain .nav-tabs{
	border-bottom:0 !important;
}
.highlight-contain .nav-tabs .nav-item{
	background-color:#fbfbfb;
	border:0;
	font-size:15px;
	font-family:'bai_jamjureeregular';
	line-height:1;
	color:#000;
}
.highlight-contain .nav-tabs .nav-link{
	border:0;
}
.highlight-contain .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
	background-color:#5b225e !important;
	color:#fff !important;
	border:0;
}
.highlight-contain .nav-tabs .active a{
	background-color: #5b225e !important;
    color: #fff !important;
    border: 0;
}
.highlight-contain button{
	background-color:#5b225e;
	font-size:16px;
	font-family:'bai_jamjureeregular';
	line-height:1;
	color:#fff;
}
.highlight-contain a,
.highlight-contain a:hover{
	color:#5b225e;
}
/* Link */
.link-contain{
	background-color:#f6f6f6;
}
.link-contain h2{
	font-size:24px;
	font-family:'bai_jamjureebold';
	line-height:1;
	color:#5b225e;
	font-weight:bold;
}
.link-contain h3{
	font-size:18px;
	font-family:'bai_jamjureebold';
	line-height:1;
	color:#000;
	font-weight:bold;
}
.link-contain p{
	font-size:16px;
	font-family:'bai_jamjureeregular';
	line-height:1.2;
	color:#000;
}
/* Board */
.board-contain{
	background-color:#f0f0f0;
}
.board-contain h2{
	font-size:24px;
	font-family:'bai_jamjureebold';
	line-height:1;
	color:#5b225e;
	font-weight:bold;
}
.board-contain p{
	font-size:16px;
	font-family:'bai_jamjureeregular';
	line-height:1;
	color:#000;
}
/* List */
.list-box-1{
	background-color:#f8f8f8;
	font-size:16px;
	font-family:'bai_jamjureeregular';
	line-height:1.8;
	color:#000;
}
.list-box-2{
	font-size:16px;
	font-family:'bai_jamjureeregular';
	line-height:1.6;
	color:#000;
	border-bottom:1px dotted #ccc;
}
.list-box-1 a,
.list-box-2 a{
	color:#000;
}
.list-box-1 a i{
	font-size:8px !important;
	line-height:3.3em !important;
	vertical-align:top !important;
}
.list-topic{
	font-size:18px;
	font-family:'bai_jamjureeregular';
	line-height:1;
	background-color:#49194e;
	color:#fff;
}
.list-box-2 ol{
	list-style: disc;
	list-style-position:inside;
}
.angle-arrow-1{
	font-size:11px;
}
.btn-download{
	font-size:18px;
	font-family:'bai_jamjureeregular';
	line-height:1;
}
/* RSS Feed */
.rss-feed h3{
	font-size:15px;
	font-family:'bai_jamjureebold';
	line-height:1.3;
}
.rss-feed p{
	font-size:14px;
	font-family:'bai_jamjureeregular';
	line-height:1.3;
}
/* Footer */
.footer-content {
    width: 100%;
    height: auto;
    position: relative;
    background-color:#663366;
	background-size:cover;
}
.footer-content h2 {
	font-size:22px;
	font-family:'bai_jamjureebold';
	line-height:1;
	color:#fff;
    margin-bottom: 0;
}
.footer-content h3 {
    font-size:22px;
	font-family:'bai_jamjureebold';
	line-height:1;
	color:#fff;
    margin-bottom: 0;
}
.footer-content p {
    font-size:12px;
	font-family:'bai_jamjureeregular';
	line-height:1.6;
	color:#fff;
    margin-bottom: 0;
}

.social h3{
	font-size:20px;
	font-family:'bai_jamjureebold';
	line-height:1;
	color:#fff;
	text-transform:uppercase;
}
.social p{
	font-size:18px;
	font-family:'bai_jamjureeregular';
	line-height:1;
	color:#fff;
}
.social a{
	font-size:22px;
	font-family:'bai_jamjureeregular';
	line-height:1;
	color:#fff;
}
.btn-download{
	background-color:#339900;
	font: 16px/1 Tahoma;
    color: #fff;
	cursor:pointer;
}

.footer {
    width: 100%;
    height: auto;
    background: #d6a23c;
    position: relative;
}
.footer p {
	font-size:14px;
	font-family:'bai_jamjureeregular';
	line-height:1;
	color:#fff;
    text-align: center;
    margin-bottom: 0;
	vertical-align:middle;
}
.footer p a {
    color: #000;
    text-decoration: none;
}
.footer img {
    display: block;
}

.flex-direction-nav a{
	line-height:normal;
}
.btn-search{
	margin-left:-5px;
	margin-top:-5px;
	line-height:1.65;
}
/* Sticky Nav */
/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky {
	/*
	height:36px;
	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;
	border: 1px solid #66addf;
	background-color: #aad3f0;
	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;
}
/* User setting */
.theme-font{
	font-family:'bai_jamjureeregular';
}
.theme-font button{
	cursor:pointer;
}
.theme-font-s{
	font-size:10px !important;
}
.theme-font-m{
	font-size:16px !important;
}
.theme-font-l{
	font-size:20px !important;
}
/* Pager */
.paginate-pagination{
	list-style:none;
	display:block;
	margin:0 auto;
	clear:both;
	text-align:center;
	font-family:'bai_jamjureeregular';
}
.paginate-pagination ul{
	display:inline-block;
}
.paginate-pagination ul li a.active{
	opacity: 1 !important;
	background-color:#663366 !important;
	color:#fff !important;
} 
				
.clearfix {
    clear: both;
}