/* Add your custom css styles */

/* main-color => #044618 */
/* main-color => #04560C */

@font-face {
	font-family: 'Apple';
	src: url('../font/Apple_Chancery.ttf');
	font-weight: normal;  
	font-style: normal;  
}
@font-face {
	font-family: 'olivier';
	src: url('../font/olivier_demo.ttf');
	font-weight: normal;  
	font-style: normal;  
}
@font-face {
	font-family: 'PSL';
	src: url('../font/PSL-Kanda-Modern-Extra.ttf');
	font-weight: normal;  
	font-style: normal;  
}
@font-face {
	font-family: 'sarabun';
	src: url('../font/THSarabun.ttf');
	font-weight: normal;  
	font-style: normal;  
}
body{
	font-family: 'sarabun';
}
h1{
	font-family: 'PSL';
	font-size: 40px;
}
p{
	font-family: 'sarabun';
	font-weight: 600;   
	font-size: 30px;
	line-height: normal;
	color: #505050;
}
a:hover{
	color: #04560C !important;
	cursor: pointer;
}
.btn{
	background-color: #04590c;
	color: #fff !important;
	font-size: 28px;
	padding: 5px 40px;
	border-radius: 50px;
	transition: all .2s ease-in-out;
}
.btn:hover{
	transform: scale(1.1);
}
.gototop-button {
	background-color: #044618 !important;
	border-radius: 50%;
	right: 20px;
}
.white{
	color: #f9f9f9 !important;
}

#header.header-sticky:not(.header-static) #mainMenu > ul > li > a{ line-height:60px; }
#top-header {
	position: absolute;
	top: 0;
	left: 0;
	background: transparent;
	z-index: 50000;
	padding-top: 20px;
	padding-bottom: 20px;
}

#top-header ul {
	list-style: none;
	margin-bottom: 0px;
}

#top-header ul li {
	display: inline;
	float: left;
}

#top-header ul li a {
	display: block;
}

#top-header ul li a img {
	width: 50px;
	padding: 15px 10px;
}

#footer p {
	color: #111;
}

#footer .social-icons {
	display: block;
	float: left;
	width: 100%;
	text-align: center;
}

#footer .social-icons i {
	padding: 10px;
}

#footer .copyright-content {
	min-height: 0px;
	padding: 10px 0px;
}
.history {
	font-family:'sarabun';
	font-size:700%;
	font-weight: 600;
	color:#044618;
	/* padding-bottom:80px; */
}
.history-small{    
	font-size: 30px;
	font-weight: 600;
}
h1{
	/*style=" text-align:left;margin-left:50px;color:#044618;"*/
	font-family: 'sarabun';
	font-size: 50px;
	font-style: italic;
	font-weight: 800;
	color: #044618;
	margin-bottom: 10px !important; 
}
nav .main-menu .dropdown-menu {
	border-color: #044618 !important;
}
#system-page-popup .system-page-popup-social{
	margin-top: -20px;
	/*padding-bottom: 10px;*/
	padding-left: 35%;
	float: none;

}

@media(max-width:991px) {

	#top-header {
		padding: 0 !important;
	}

	section#section-about h1 {
		margin-left: 0px !important;
		text-align: center;
	}

	section#section-about h3 {
		font-size: 60px !important;
		padding-bottom: 10px !important;
	}

	section#section-about h3 img {
		display: none;
	}

	section#section-about img {
		width: 100%;
		height: auto !important;
	}

	section#section-about p {
		text-align: center;
	}

	section#behind-header {
		height: 42px;
	}

	#footer .copyright-text {
		padding: 0px;
	}

	#footer .copyright-content {
		border-top: none;
	}

	#mainMenu ul.main-menu li a {
		font-size: 25px !important;
	}

	section#behind-header {
		height: 60px;
	}
	.history {
		font-size:400%;
		padding-bottom:0px;
	}
	.history img{
		display: none;
	}
	.history-desp h1{
		font-size: 40px;
	}
	.history-desp p{
		font-size: 30px;
		font-weight: 400;
		color: #000;
	}
	.history-desp img{
		width: 100%;
		padding: 10px 0;
	}
	nav ul.main-menu li a i.fa-angle-down {
		left: 80px;
	}
	section{
		padding-top: 10px;
	}
	.sys-contacts .contact-form .form-group label[for=captcha] {
		padding-left: 0px !important;
	}
	#top-header ul li a span{display: none;}
}

@media(max-width:767px) {
	.pic-decor{
		display: none;	
	}
	p,h1,h4{
		/*text-align: center !important;*/
	}
	.btn{
		float: none !important;
	}
	#behind-header{
		padding: 30px 0 !important;
		height: 20px !important;
	}
	.hr-title abbr {
		padding: 0;
		text-align: center;
		margin-left: -70px;
	}
	.history-desp p{
		text-align: center !important;
	}
	
	
}
.i4ewOd-pzNkMb-tJHJj{
	background-color: #044618 !important;
}

.system-page-content-item {
	min-height: 340px;
}
.main-menu .nav .nav-pills li{
	min-width: 200px;
}

.footer-content{
	background: url('../_images/footer-bg-750.jpg') !important;
	padding-top: 80px;
}
.footer-content .widget-title{
	font-weight: 600;
	font-size: 30px;
}

#top-header ul li a span{
	text-transform: uppercase;
	font-size: 18px;
	font-weight: 600;
	color: #fff;
	position: absolute;
	bottom: 12px;
	margin-left: -33px;
}
.text-bold{
	font-weight: 600 !important;
	color: #04560c;
	font-style: italic;
}

p{
	color: #000000;
	font-weight: 400;
}

.branch-contact-wrap{
	max-width: 1170px;
	margin: 0 auto;
	float: none;
}
.branch-contact-wrap .li-branch h4,
.branch-contact-wrap .li-branch a{
	color: #fff;
}
.ul-branch{
	display: table;
	width: 100%;
}
.li-branch{
	display: inline-table;
	min-width: 25%;
	margin-bottom: 40px;
}
.map-icon,
.phone-icon{
	filter: brightness(0) invert(1);
}
.branch-contact-wrap .li-branch h4{ font-size: 30px; font-weight: normal;}
.map-icon{
	height: 34px;
	top: -7px;
	position: relative;
	margin-right: 4px;
}
.li-branch p{ margin-bottom:10px; }
.li-branch p a{
	display: inline-block;
	border: 1px solid rgba(255, 255, 255, 0.25);
	padding: 0 20px 0 8px;
	line-height: 40px;
	border-radius: 50px;
	transition: all .2s ease-in-out;
}
.phone-icon{
	height: 23px;
	position: relative;
	top: -4px;
	margin-right: 2px;
	opacity: .8;
}
.li-branch p a:hover{
	background-color: #fff;
	color: #333;
	transform: scale(1.02);
}
.li-branch p a:hover .phone-icon{ filter:none; }

.page-contact{ margin-top:40px; }
.page-contact .branch-contact-wrap .li-branch h4{ color:#04560c }
.page-contact .branch-contact-wrap .li-branch a{ color: #333; border-color: rgba(4, 85, 12, 0.21);}
.page-contact .branch-contact-wrap .li-branch a:hover{ 
	background: rgba(20, 159, 33, 0.3);
	color: rgba(4, 85, 12, 1) !important;
}
.page-contact .map-icon,
.page-contact .phone-icon{
	filter: none;
}
.page-contact .map-icon{ height:22px; top:-5px; }
.page-contact .phone-icon{}
.sys-contacts > .body > .detail > .title{
	text-align: center;
	border-bottom: 0;
	padding-top: 20px;
}
.sys-contacts .body .title{ border:none; }
.sys-contacts > .body > .detail > .title h3,
.sys-contacts h3{
	text-align: center;
	margin: 0;
	font-size: 2.5em;
	color: #04560c;
}