/***************************************
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:1000px !important;
	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: relative;
	background-color:#ccffcc;
}
.nav-bar p {
	font-size:14px;
	font-family:'kanitregular';
	line-height:1;
    color: #000;
    margin-bottom: 0;
	vertical-align:middle;
}
.nav-bar p svg {
	font-size: smaller;
}
.nav-bar p img {
	vertical-align: middle;
    margin: 0 5px;
}
.nav-bar .fa-stack{
	font-size:0.7em;
}
.nav-bar a{
	color:#fff;
}
.nav-bar a i{
	top:0.1em;
	position:relative;
}

/* Main Menu */
.nav-list {
	width: 100%;
    height: 28px;
	position: relative;
    margin-bottom: 0;
}
.nav-list li {
	display:inline-block;
	height: 100%;
    padding-left: 15px;
    box-sizing: border-box;
    position: relative;
	text-align:center;
}
.nav-list li::after {
	font: 15px/1 kanitregular;
	color: #000;
    position: absolute;
    top: 7px;
    right: -12px;
    content: "/";
}
.nav-list li:last-child::after {
	display: none;
}
.nav-list li a {
	font-size:13px;
	font-family:'kanitregular';
	line-height:1;
	color:#000;
    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(0,0,0,1);
    border-bottom: 1px solid #e6e1e0;
    padding: 5px;
}
.nav-list > li > ul > li:hover {
	background: #f7b717;
}
.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:'kanitregular';
	line-height:1;
	color:#fff
}

.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:'kanitregular';
	line-height:1;
	color:#000;
}
/* Left menu  */
.left-nav-list li a.list-box-1{
	font-size:16px;
	font-family:'kanitregular';
	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;
}

/* Header */
.header{
	width:100%;
	height:auto;
	position: relative;
	background:url(../images/bg-1.jpg) center no-repeat;
	background-size: cover;
	z-index:11;
}
.header-contact-address{
	font-size:16px;
	font-family:'kanitregular';
	line-height:1;
}
.header-contact-address p{
	font-size:16px;
	font-family:'kanitregular';
	line-height:1;
}
.header-contact-address a,
.header-contact-address a:hover{
	color:#fff;
	vertical-align:middle;
}
.header-contact-address p svg {
	font-size: smaller;
}
.header-contact-address img{
	width:20%;
}
.header-contact-address p img {
	width:35%;
	height:auto;
	vertical-align: middle;
    margin: 0 5px;
}
.header-contact-address .fa-stack{
	font-size:0.7em;
}
.header-contact-address a{
	color:#fff;
}
.header-contact-address a i{
	top:0.1em;
	position:relative;
}
.lang{
	width:30px;
	height:auto;
}
/* Heading */
.heading-contain{
	font-family:'kanitbold';
	font-size:36px;
}
.heading-contain button{
	vertical-align:middle;
	font-size:14px;
	font-family:'kanitregular';
}
/* About */
.about-contain{
	background:url(../images/bg-2.jpg) center no-repeat;
	background-size:cover;
}
.about-wrap{
	font-family:'kanitregular';
}
.about-wrap-topic h1{
	font-family:'kanitbold';
	font-size:33px;
	line-height:1;
}
.about-wrap-topic h2{
	font-family:'kanitregular';
	font-size:33px;
	line-height:1;
}
.about-wrap-detail{
	font-family:'kanitregular';
}
.about-wrap-detail h3{
	font-size:20px;
	font-family:'kanitregular';
}
.about-wrap-detail p{
	font-size:16px;
	font-family:'kanitregular';
}
.about-block-img-1{
	width:100%;
	height:300px;
	position:relative;
	overflow:hidden;
}

/* Service */
.service-contain{
	background: linear-gradient(0deg, #fff 90%, #d2f5ff 100%, #d2f5ff 100%);
}
.service-wrap-topic h1{
	font-family:'kanitbold';
	font-size:36px;
	line-height:1;
}
.service-wrap-topic h3{
	font-family:'kanitbold';
	font-size:18px;
	line-height:1;
}
.service-block-img-1{
	width:100%;
	height:300px;
	position:relative;
	overflow:hidden;
}
.service-block-detail{
	font-family:'kanitregular';
}
/* portfolio */
.portfolio-contain{
	background:url(../images/bg-1.jpg) center no-repeat;
	background-size:cover;
}
.portfolio-contain h2{
	font-family:'kanitbold';
	font-size:22px;
	line-height:1;
	position:relative;
}
.portfolio-contain h2::before{
	content:"";
	position:absolute;
	display:block;
	bottom:-50%;
	left:45%;
	width:10%;
	height:2px;
	background-color:#6dcff6;
}
.portfolio-block .img{
	width:100%;
	height:306px;
}
.portfolio-block .img-2{
	width:100%;
	height:220px;
}
.portfolio-block a{
	font-size:14px;
	font-family:'kanitregular';
}
/* Partner */
.swiper-slide{
	font-size:14px;
	font-family:'kanitregular';
}
/* Location */
.location-detail{
	font-size:14px;
	font-family:'kanitregular';
	line-height:1.4;
	background: linear-gradient(180deg, #fff 60%, #d2f5ff 100%, #d2f5ff 100%);
}
.location-detail h1{
	font-size:30px;
	font-family:'kanitbold';
	line-height:1;
}
.location-detail p{
	margin-bottom:0;
}
/* Footer */
.footer-content {
    width: 100%;
    height: auto;
    position: relative;
    background:#fff;
}
.footer-content p {
    font-size:14px;
	font-family:'kanitregular';
	line-height:1.4;
    margin-bottom: 0;
}

.social h3{
	font-size:20px;
	font-family:'kanitbold';
	line-height:1;
	text-transform:uppercase;
}
.social p{
	font-size:18px;
	font-family:'kanitregular';
	line-height:1;
	color:#fff;
}
.social a{
	font-size:22px;
	font-family:'kanitregular';
	line-height:1;
	color:#fff;
}
.social span{
	cursor:pointer;
}
/* Footer bar */
.footer {
    width: 100%;
    height: auto;
    background: #ccffcc;
    position: relative;
}
.footer p {
	font-size:14px;
	font-family:'kanitregular';
	line-height:1;
	color:#fff;
    text-align: center;
    margin-bottom: 0;
	vertical-align:middle;
}
.footer p a {
    color: #000;
    text-decoration: none;
}
/* Item Slide */
.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-color{
	color:#6dcff6;
}
.theme-bg-color{
	background-color:#6dcff6;
}
.theme-font{
	font-family:'kanitregular';
}
.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:'kanitregular';
}
.paginate-pagination ul{
	display:inline-block;
}
.paginate-pagination ul li a.active{
	opacity: 1 !important;
	background-color:#663366 !important;
	color:#fff !important;
} 
.social-logo{
	width:40px;
	height:auto;
	position:fixed;
	right:0;
	top:30%;
	z-index:99;
}
button{
	cursor:pointer;
}
.clearfix {
    clear: both;
}