@font-face {
    font-family: 'Kanit-Regular';
    src: url('fonts/Kanit-Regular.eot');
    src: url('fonts/Kanit-Regular.eot?#iefix') format('embedded-opentype'),
         url('fonts/Kanit-Regular.woff') format('woff'),
         url('fonts/Kanit-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Kanit-Bold';
    src: url('fonts/Kanit-Bold.eot');
    src: url('fonts/Kanit-Bold.eot?#iefix') format('embedded-opentype'),
         url('fonts/Kanit-Bold.woff') format('woff'),
         url('fonts/Kanit-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
body{
    font-family: 'Kanit-Regular';
	font-size:16px;
	cursor: default;
	position: relative;
	line-height:normal;
}

img{ border:0; margin:auto;}
a{ text-decoration:none;}
a:hover{ text-decoration: none;}
.h70{clear:both; width:100%; height:70px;}
.h30{clear:both; width:100%; height:30px;}
.h20{clear:both; width:100%; height:20px;}
.h10{clear:both; width:100%; height:10px;}

a{text-decoration:none;color:inherit;}
a:hover{color:inherit;}
.green{color:#00cb2b;}
.orange{color:#ff9933;}
.bold-text{font-family: 'Kanit-Bold';}
ul{
	padding-left: 0;
	margin-bottom: 0;
}
#back-to-top {
    width: 29px;
    height: 100px;
    position: fixed;
    z-index: 9999;
    bottom: 3.5rem;
    right: 0rem;
    text-align: center;
    display: none;
    background-color: #e4e4e4;
    filter: alpha(opacity=90);
    opacity: .8;
    padding-top: 0.4rem;
    border: 1px solid #C7C7C7;
}
#back-to-top:hover{
    opacity: 1;
}
#back-to-top a {
    color: #a0a0a0;
    width: 93px;
    left: -2.2rem;
    top: 2.3rem;
    font-size: 13px;
    position: absolute;
    text-transform: uppercase;
    transform: rotate(-90deg);
}
button:focus {
    outline: none;
}

/*-----Header-----//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
.contactbar-blue{
    padding: 10px;
    color: #FFF;
    font-size: 12px;
    opacity: 1;
    background: #013073;
    transition: all 0.8s;
}
.contactbar-blue .container{
    margin: 0;
}
.slim .contactbar-blue{
    display: none;
    opacity: 0;
}
.contactbar-blue img{
    margin: 0;
}
.headbar-top{
    width: 100%;
    transition: all 0.5s;
    background-color: #FFF;
    border-bottom: 1px solid #cccccc;
}
.headbar-top.fixed-top{
    position: sticky;
    top: 0;
}
.headbar-top .row{
    width: 100%;
    margin: auto;
    align-items: center;
}
.slim.headbar-top{
    background-color: #FFF;
    box-shadow: 0 3px 5px rgba(0,0,0,0.3);
}
.hamburgers-box{
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
}
.navbar-brand {
    width: 80%;
    padding: 10px;
    margin: 0 auto;
    text-align: center;
}
.navbar-brand img {
    width: 110px;
}
.navbar-collapse ul li {
	line-height:1;
	padding:20px 15px;
	-moz-transition: all 0.3s;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}
.navbar-collapse ul li a{
	color:#000;
    display: initial;
    padding: 0;
} 
.navbar-toggler:focus {
    outline:  none !important;
}
.navbar-nav{
	 text-transform: uppercase;
}
.navbar-collapse ul li:hover, .navbar-collapse ul li.active {
    background-color: transparent;
}
.navbar-collapse ul li.active a, .navbar-collapse ul li:hover a {
    color: #000;
    border-bottom: 5px solid #8fc445;
}
/**********************only-mobile*******************************/
.navbar-logo-mobile{
	text-align: center;
	padding: 10% 0;
	width: 100%;
	display: block;
	color:#000;
	font-size: 40px;
}
.social-mobile{
    text-align: center;
    width: 90%;
    margin: auto;
    margin-top: 10%;
}
.social-mobile img{
    padding: 4px;
}
#slide-zone .carousel-control-prev, #slide-zone .carousel-control-next{
    opacity: 1;
}
/*------slide---main-------
//////////////////////////////////////////////////////////////////////////////////////////*/
.text-blue-color{ color: #013073;}
.text-sky-color{ color: #00a1e9;}
/*------slide---main-------
//////////////////////////////////////////////////////////////////////////////////////////*/
.icontahline-box{
    background: #f2f2f2;
}
.icon-box-title{
    display: flex;
    margin: 5% auto;
    align-items: center;
    width: 100%;
    max-width: none;
}
.icon-box-title img{
    display: inline-block;
    margin: 0;
    margin-right: 10px;
    width: 4rem;
}
.icon-box-title span{
    display: inline-block;
}
.icon-box-title span h1{
    font-size: 20px;
    margin-bottom: 0;
    color: #343434;
}
.icon-box-title span p{
    margin-bottom: 0;
    color: #818181;
    font-size: 14px;
}
.about-box{
    padding: 10% 0;
    background-size: cover !important;
    background: url("../images/bg-1.png") top left no-repeat;
}
.img-about {
    width: 100%;
    margin: 10% auto;
    overflow: hidden;
    border-radius: 5px;
}
.img-about img{
    width: 100%;
}
.detail-about{
    margin-bottom: 10%;
}
.product-box{
    padding: 10% 0;
    background-size: cover !important;
    background: url("../images/bg-product.png") top right no-repeat;
}
.product-detail-box{
    width: 100%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #FFF;
    margin: 10% auto;
	font-size: 24px;
}
.product-detail-box p{
	padding: 10px 0px 0px 10px;
}
.product-detail-box img{
    width: 100%;
    transition: all 0.5s;
}
.product-detail-box .readmore-hover-product{
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    transition: all 0.5s;
    transform: rotateX(180deg);
    background: rgba(1, 48, 115, 0.7);
}
.product-detail-box:hover .readmore-hover-product{
    opacity: 1;
    transform: rotateX(0deg);
}
.box-name-pd{
	font-size: 24px;
}
.readmore-hover-product h1{
    top: 50%;
    left: 50%;
   font-size: 15px;
    width: 75%;
    position: absolute;
    margin-bottom: 0;
    padding: 15px 10px;
    background: #FFF;
    border-radius: 5px;
    transform: translate(-50%,-50%);
}
.readmore-hover-product img{
    width: 1.5rem;
    transition: all 0.5s;
}
.readmore-hover-product:hover img{
    margin-left: 10px;
}
.menu-product ul{
    list-style: none;
    width: 100%;
    margin: 10% auto;
}
.menu-product ul li{
    text-align: center;
    width: 33.33%;
    float: left;
}
.menu-product ul li a{
    color: #818181;
}
.service-box{
    padding: 10% 0;
    background: #FFF;
}
.detailtitle-portfolio{
    width: 100%;
    margin-bottom: 10%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}
.readmore-hover {
    width: 100%;
    height: 100%;
    z-index: 99;
    opacity: 0;
    position: absolute;
    text-align: center;
    transition: all 0.5s;
    background: rgba(1, 48, 115, 0.80);
    padding: 20% 0;
}
.readmore-hover h1 {
    padding: 5px;
    background: #FFF;
    border-radius: 5px;
    width: 70%;
    margin: auto;
    font-size: 16px;
    margin-bottom: 1rem;
}
.readmore-hover a{
    color: #FFF;
    transition: all 0.5s;
}
.readmore-hover a:hover img{
    margin-left: 10px;
}
.detailtitle-portfolio:hover .readmore-hover{
    opacity: 1;
}
.detailtitle-portfolio .readmore-hover img{
    width: 1rem;
}
.detailtitle-portfolio img{
    width: 100%;
}
.titlename-service{
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 88;
    right: 0;
    opacity: 1;
    padding: 10px;
    padding-left: 9rem;
    transition: all 0.5s;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(246,246,246,0.6) 30%, rgba(235,235,235,0.75) 39%, rgba(235,235,235,0.99) 73%, rgba(235,235,235,1) 74%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ebebeb', GradientType=0 );
}
.detailtitle-portfolio:hover .titlename-service{
    opacity:0;
}
.titlename-service h1{
    margin-bottom: 0;
    font-size: 24px;
}
.titlename-service p{
    margin-bottom: 0;
}
.portfolio-box{
    padding: 10% 0;
    background:#ebebeb;
}
.slide-portfolio .row{
    margin: 0 20px;
}
.slide-portfolio .carousel-control-prev, .slide-portfolio .carousel-control-next{
    width: auto;
}
.slide-portfolio .carousel-control-prev img{
    width: 2rem;
}
.slide-portfolio .carousel-control-next img{
    width: 2rem;
}
.img-port{
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
	padding-bottom: 30px;
}
.img-port img{
    width: 100%;
    transition: all 0.5s;
	min-height: 310px;
	padding-bottom: 10px;
}
.img-port:hover img{
    transform: scale(1.05);
}
.img-port p{
	font-size: 24px;
}

.readmore-btn{
    text-align: center;
    font-size: 16px;
    margin: 15px auto;
}
.readmore-btn img{    
    width: 1rem;
    transition: all 0.5s;
}
.readmore-btn:hover img{    
    margin-left: 10px;
}
.title-content-right {
    font-size: 18px;
    text-align: center;
    padding: 15px 10px;
    background-size: 25% !important;
    background: url(../images/border-right.png) right 4rem top no-repeat;
}
.title-content-left {
    font-size: 18px;
    text-align: center;
    padding: 15px 10px;
    background-size: 25% !important;
    background: url(../images/border-left.png) left 3rem top no-repeat;
}
/*------footer------
///////////////////////////////////////////////////////////////////////////////////////////////*/
.footer{
	background: #FFF;
	color: #000;
	padding: 2rem 0;
}
.footer a{
	color: #000;
}
.footer h1{
    margin-bottom: 1rem;;
    font-size: 24px;
    color: #014099;
    text-transform: uppercase;
}
.footer p{
    margin-bottom: 0;
}
.address-footer{
    width: 100%;
    margin: 15px 0;
}
.address-footer img{
    width: 15%;
    float: left;
    margin-right: 10px;
}
.address-footer span{
    width: 80%;
    float: left;
}
.address-footer ul{
    list-style: none;
    width: 80%;
    float: left;
}
.social-footer{
    text-align: center;
}
.bg-copyright{
    font-size: 16px;
    padding: 15px 0;
    color: #FFF;
    background: #013073;
}
.menu-footer{
    list-style: none;
}
.menu-footer ul{
    list-style: none;
}
.menu-footer ul li a:hover {
    color: #014099;
}
.menu-footer ul li a .fa-caret-right:hover{
    color: #014099;
}
/*///////////////////////////////////////////////////////////////////////////media///////////////////////////////////////////////////////////////////////////*/

/* Underline From Left */
.menu-product .hvr-underline-from-left {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  overflow: hidden;
}
.menu-product .hvr-underline-from-left:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 100%;
  bottom: 0;
  background: #8fc445;
  height: 4px;
  -webkit-transition-property: right;
  transition-property: right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.menu-product .hvr-underline-from-left:hover:before, .menu-product .hvr-underline-from-left:focus:before, .menu-product .hvr-underline-from-left.active:before {
  right: 0;
}

#nav-icon2{
  width: 40px;
  height: 45px;
  position: relative;
  margin:20px 0 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

#nav-icon2 span {
  display: block;
  position: absolute;
  height: 4px;
  width: 50%;
  background: #013073;
  opacity: 1;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon2 span:nth-child(even) {
  left: 50%;
  border-radius: 0 9px 9px 0;
}

#nav-icon2 span:nth-child(odd) {
  left:0px;
  border-radius: 9px 0 0 9px;
}

#nav-icon2 span:nth-child(1), #nav-icon2 span:nth-child(2) {
  top: 0px;
}

#nav-icon2 span:nth-child(3), #nav-icon2 span:nth-child(4) {
  top: 12px;
}

#nav-icon2 span:nth-child(5), #nav-icon2 span:nth-child(6) {
  top: 24px;
}

#nav-icon2.open span:nth-child(1),#nav-icon2.open span:nth-child(6) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon2.open span:nth-child(2),#nav-icon2.open span:nth-child(5) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon2.open span:nth-child(1) {
  left: 5px;
  top: 7px;
}

#nav-icon2.open span:nth-child(2) {
  left: calc(50% - 5px);
  top: 7px;
}

#nav-icon2.open span:nth-child(3) {
  left: -50%;
  opacity: 0;
}

#nav-icon2.open span:nth-child(4) {
  left: 100%;
  opacity: 0;
}

#nav-icon2.open span:nth-child(5) {
  left: 5px;
  top: 16px;
}

#nav-icon2.open span:nth-child(6) {
  left: calc(50% - 5px);
  top: 16px;
}

.btn { font-size:inherit; }
.right { float:right; }
.contact-list{
	list-style: none;
	float:left;
	text-align: left !important;
}
.contact-list a:hover i{
	color: #b00713;
}
.contact-list a h1 .svg-inline--fa:hover {
	padding:0 3px;
	border-radius:3px;
	transition: all 0.6s;
}
.contact-list a h1 .fa-youtube-square:hover {
	color:#FFF;
    background: #d72a26;
}
.contact-list a h1 .fa-pinterest-square:hover {
	color:#FFF;
    background: #e60023;
}

.contact-list a h1 .fa-facebook-square:hover{
	color:#FFF;
	background:#314987;
}
.contact-list a h1 .fa-instagram:hover{
	color:#FFF;
	background-image: linear-gradient(-135deg, #231557 0%, #44107A 29%, #FF1361 67%, #FFF800 100%);
}
.contact-list a h1 .fa-map:hover{
	color:#FFF;
	background:#ee7600;
}
.contact-list a h1 .fa-line:hover{
	color:#FFF;
	background:#00b900;
}
.btn-send{
	color: #f9f9f9;
	background: #464646;
	border:none;
	text-align:center;
	padding:0 10px;
	width:100%;
}
.btn-send:hover{
	transition: all 0.6s;
	color: #ffffff;
	background: #00a0e8;
}
.list-country{ font-size:0.8rem; font-weight: bold; }
.border-blue{
	border-right:1px solid #4682b4;
}
.verify-img img{
	width: 50%;
}
.main-cate {
	list-style:none ;
	text-align:center !important;
}
.main-cate li{
    display: inline-block;
    cursor: pointer;
    font-weight: 300;
	color:#464646;
    text-transform: uppercase;
	padding: 0px 15px;
    /*outline: 1px solid #464646;*/
    margin: 0 1%;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.main-cate li.active,
.main-cate li:hover{
    color: #FFF;
    background: #fe612e;
   /*outline: 1px solid #f5873b;*/
}


.box-main-cate{
	border-bottom: 1px solid #e5e5e5;
	margin-bottom:10px;
}
.box-main-cate-img{
	position: relative;
    overflow: hidden;
    padding-bottom: 75%;
}
.box-main-cate-img img{
	height: auto;
     height: 100%; 
    /*width: 100%;*/
     width: auto; 
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.box-sub{
	font-size:18px;
}
.right{
	/*text-align:right;    */
	float: right;
}
.box-sub2 {
    display: none;
}
.box-sub2.active {
	display:inline-block;
}
.box-sub-cate2 a.active,
.box-sub-cate a.active,
.box-main-cate a.active{
	color:#F60;
}
.detail-view{
	word-wrap: break-word;
}
.click-color { cursor:pointer; }
.red{ color:#FF0000;}
.bg-content{
	min-height:50vh;
}
.pagelist{
 float:right;
 padding:5px;
 border-radius:0px;
 margin:0 5px 20px 5px;
}
.pagelist li{
 display:inline-block;
 font-size:20px;
 cursor:pointer;
}
.pagelist li.disabled a,
.pagelist li.disabled a:hover{
	 color:#0e0e0e;
	 transition: all 0.4s;
}
.pagelist li.disabled a,
.pagelist li.disabled a:hover{
 color:#d4d4d4;
}
.pagelist li a{
	color:#777;
	display:block;
	padding:0px 12px;
	font-style:italic;
	font-weight:bold;
}
.pagelist li a i.fa{
 font-size:18px;
 vertical-align: middle;
}

.pagelist>li:first-child>a, .pagelist>li:first-child>span , .pagelist>li:last-child>a, .pagelist>li:last-child>span {
 border-radius:0px;
}

.pagelist li a:hover{
    color: #0c65a4;
	transition: all 0.4s;
    border-bottom: 1px solid #0c65a4;
}
.pagelist li.active a {
    color: #f5873b;
    border-bottom: 1px solid #ffffff;
}

.flat-table, th {
    background-color: #78aac3;
    color: #e8e9e9;
	text-align: center;
}
.flat-table, td {
    background-color: white;
    color: black;
}

/*-----dropdown-submenu-----//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
.navbar-nav li:hover > ul.dropdown-menu {
    display: block;
}
.dropdown-submenu {
    position:relative;
}
.dropdown-submenu>.dropdown-menu {
    top:0;
    left:100%;
    margin-top:-6px;
}

/* rotate caret on hover */
.dropdown-menu > li:hover > a:after {
    text-decoration: underline;
    transform: rotate(-90deg);
	
}
.dropdown-menu > li > a:after{
	float: right;
    margin-top: 10px;
}
.slim.navbar ul.dropdown-menu.show a ,
.navbar ul li.nav-item.active.dropdown.show ul.dropdown-menu.show a{
	padding:0 10px  !important;
	display: inline-block;
}
.navbar ul li.nav-item.active.dropdown.show ul.dropdown-menu.show li.dropdown-submenu a:hover{
	background: #4682b4;
    color: #FFF !important;
}
.navbar-nav .dropdown-menu{
	/*min-width: 25rem;*/
	/*width: 100%;*/
	margin-top: -1px;
}
.dropdown-menu{
	left: auto !important;
}
.dropdown-menu li,
.dropdown-menu a{
	text-transform: none;
	font-size: 24px !important;
	padding: 2px 0 !important;
	min-width: 15rem;
	line-height: 40px;
    border-bottom: 0px !important;
	width: 100%;
}

.dropdown-submenu li,
.dropdown-submenu a{
	text-transform: none;
	font-size: 24px !important;
	padding: 2px 0 !important;
	margin-left: 10px;
}

.dropdown >dropdown-menu>li.dropdown-submenu:focus a,
.dropdown>.dropdown-menu>li.dropdown-submenu:hover a{
	color:#FFF;
}
.dropdown>.dropdown-menu>li.dropdown-submenu>.dropdown-menu>li a.dropdown-item ,
.dropdown .dropdown-menu li.dropdown-submenu .dropdown-menu a,
.dropdown .dropdown-menu li.dropdown-submenu .dropdown-menu a{
	color:#4682b4;
}

.dropdown .dropdown-menu li.dropdown-submenu .dropdown-menu li:focus ,
.dropdown .dropdown-menu li.dropdown-submenu .dropdown-menu li:hover  ,
.dropdown .dropdown-menu li:focus,
.dropdown .dropdown-menu li:hover{
	background:#4682b4;
	/*color:#FFF;*/
	width: 100%;
	
}

.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #4682b4;
}
.dropdown-item:focus,
.dropdown-item:hover{
	color:#4682b4;
}
/*
.dropdown-submenu:hover a,
.dropdown-item.active, .dropdown-item:active {
	background:#4682b4 ;
	color:#FFF;
}
*/
.box-sub-cate:hover{
    transition: all 0.4s;
	color:#ff6a37;
}


/*-----dropdown-submenu-----//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/




@media (min-width: 992px) {
  .animate {
    animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
  }
}


@media (max-width: 767px ) {
	body{
		max-width: 100% !important;
	}
	.navbar-collapse{
		position: fixed;
		width: 250px;
		background: #FFF;
		height: 100% !important;
		max-height: none !important;
		top: 0;
		display: block;
		left: -250px;
		margin: 0 !important;
		z-index: 9999;
        overflow-y: scroll;
	}
	.navbar-collapse.in{
		left: 0 !important;
	}
	.navbar-collapse.show{
		display:block;
		left: 0 !important;
	}
	.all-container{
		width: 100%;
	}
	.all-container.-collapse{
		margin-left: 250px;
	}
	.headbar-top, .navbar-collapse, .navbar-collapse.collapsing, .all-container.all-container.all-container {
		transition: all 0.5s !important;
	}
	.headbar-top.-collapse {
		margin-left: 250px;
		width:100%;
	}
}
/*///////////////////////////////////////////////////////////////////////////media///////////////////////////////////////////////////////////////////////////*/




