html{font-size:16px;}
@font-face {
    font-family: 'Kanit-Medium';
    src: url('fonts/Kanit-Medium.eot');
    src: url('fonts/Kanit-Medium.eot?#iefix') format('embedded-opentype'),
         url('fonts/Kanit-Medium.woff') format('woff'),
		url('fonts/Kanit-Medium.woff2') format('woff2'),
         url('fonts/Kanit-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Kanit-ExtraLight';
    src: url('fonts/Kanit-ExtraLight.eot');
    src: url('fonts/Kanit-ExtraLight.eot?#iefix') format('embedded-opentype'),
         url('fonts/Kanit-ExtraLight.woff') format('woff'),
		url('fonts/Kanit-ExtraLight.woff2') format('woff2'),
         url('fonts/Kanit-ExtraLight.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.woff2') format('woff2'),
         url('fonts/Kanit-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@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.woff2') format('woff2'),
         url('fonts/Kanit-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
body{
    font-family: 'Kanit-Regular';
	cursor: default;
	position: relative;
	line-height:1.75;
	font-size: 1rem;
    color: #000;
}

img{ border:0; margin:auto;}
a{
    text-decoration:none;
    color:inherit;
}
a:hover{
    color:inherit; 
    text-decoration: none;
}
ul{	padding-left: 0;margin-bottom: 0;}
h1, h2, h3{line-height: normal;}

#back-to-top {
    width: 30px;
    height: 150px;
    position: fixed;
    z-index: 9999;
    bottom: 20%;
    right: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding:5px 0;
    background:#0b2d4c;
    font-size: .9rem;
    font-family: 'Kanit-ExtraLight';
    opacity: .5;
    border-radius: 5px 0 0 5px;
    transform: translate(0,-50%);
}
#back-to-top:hover{
    opacity: 1;
}
#back-to-top a {
    color: #FFF;
    position: absolute;
    width: 120px;
    transform: rotate(-90deg);
}
button:focus {
    outline: none;
}

#nav-icon3{
	z-index: 88;
	width: 35px;
	height: 30px;
	position: absolute;
    top: 25%;
    right: 5%;
	margin:0px 0;
	-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-icon3 span{
	display: block;
	position: absolute;
	height: 2px;
	width: 100%;
    background: #000;
    border-radius: 4px;
	opacity: 1;
	left: 0;
	-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-icon3 span:nth-child(1) {
	top: 0px;
}
#nav-icon3 span:nth-child(2),#nav-icon3 span:nth-child(3) {
	top: 10px;
    width: 50%;
}
#nav-icon3 span:nth-child(4) {
	top: 20px;
}
#nav-icon3.open span:nth-child(1) {
	top: 18px;
	width: 0%;
	left: 50%;
}
#nav-icon3.open span:nth-child(2) {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}
#nav-icon3.open span:nth-child(3) {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
#nav-icon3.open span:nth-child(4) {
	top: 18px;
	width: 0%;
	left: 50%;
}
#nav-icon3.open span:nth-child(2),#nav-icon3.open span:nth-child(3) {
    width: 100%;
}

/*head--//////////////////////////////////////////////////////////////////////////*/
.contact-header{display: none;}
.contact-mobile{
	padding: 15px;
	margin: 1rem auto;
	text-align: center;
}
.contact-mobile h1{
	margin-bottom: 0;
	font-size: 1.2rem;
    font-family: 'Kanit-Medium';
}
.contact-mobile p{margin-bottom: 0;}
.headbar-main{
    width: 100%;
    padding: .75rem 0;
    transition: all 0.5s;
	background: #FFF;
}
.slim.headbar-main{box-shadow: 0 0 8px rgba(0,0,0,0.5);}
.hamburgers-box{
    width: 100%;
    position: relative;
    transition: all 0.5s;
	overflow: hidden;
}
.navbar-brand {
    width:100%;
    padding: 0 0 0 15px;
    text-align: left;
    transition: all 0.5s;
    margin: 0;
}
.navbar-brand img{
	width: 180px;
}
.navbar-collapse ul li{
	padding: 0;
    transition: all 0.5s;
    text-align: left;
}
.navbar-collapse ul li a {
    width: 100%;
    margin: auto;
    padding:15px 15px ;
    position: relative;
    display: block;
    color: #000;
}
.navbar-collapse ul li.active a, .navbar-collapse ul li a:hover{color: #FFF;background: #0b2d4c;}

.social-header{
    text-align: center;
    margin: 0 auto;
}
.social-header img{
    width:50px;
    transition: all 0.5s;
    margin: 0 3px;
}
.social-header img:hover{transform: scale(.95);}
.social-header ul{list-style: none;margin-bottom: 1rem;}
.social-header ul li {padding: 0 15px;text-align: center;}
.social-header ul li a{display: inline;padding: 0}

/*slide-banner--//////////////////////////////////////////////////////////////////////////*/
#slide-zone{background: #4c4c4c;}
#slide-zone .banner-slide img{
	height: 100%;
	object-fit: cover;
}


.owl-carousel .owl-dots{
	display: block !important;
	position: absolute;
    bottom:1rem;
    right: 0;
    z-index: 555;
    width: 100%;
    text-align: center;
    padding-right: 1rem;
}
.owl-carousel button.owl-dot {
    width: 40px;
    height: 10px;
    margin: 0 3px;
    background-color:#585858;
}
.owl-carousel button.owl-dot.active{
    background-color: #0b2d4c;
}

/*content--//////////////////////////////////////////////////////////////////////////*/
.content-aboutus{
	padding: 10% 0;
    font-family: 'Kanit-ExtraLight';
	background: url("../images/bg-aboutus.png") top center no-repeat #FFF;
	background-size: cover !important;
}
.aboutus-box h1{
	font-size: 30px;
	margin-bottom: 5px;
    font-family: 'Kanit-Medium';	
}
.aboutus-box p{margin-bottom: 10px;}
.aboutus-box a{
	width: 180px;
	margin: 1rem 0;
	padding: 5px;
	text-align: center;
	color: #FFF;
	background: #b22222;
	display: block;
	transition: all 0.5s;
	border: 1px solid  #b22222;
}
.aboutus-box a:hover{
	color: #b22222;
	background: #FFF;
	transform: scale(.95);
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.content-whyus{
	padding: 10% 0;
	background: url("../images/bg-img.png") top center no-repeat;
	background-attachment: fixed !important;
	background-size: cover !important;
}
.title-box{
	text-align: center;
	color: #FFF;
    font-family: 'Kanit-Medium';
	font-size: 25px;
	padding: 10px 0;
	margin-bottom: 2rem;
	background: url("../images/bg-title.png")left -22rem center no-repeat;
	background-size: cover !important;
}
.title-box h1 {
    font-size: 1.2rem;
  
    margin: auto;
  
}
.b-home .title-box h1 {
    font-size: 1.4rem;
    margin: auto;
    padding-right: inherit;
    padding-left: inherit;
    text-align: inherit;
}
.title-box-content{
    margin: 20px auto;
}
.content-whyus .col-md-4{margin-bottom: 2rem;}
.icon-box{
	height: 100%;
	text-align: center;
	color: #FFF;
	padding: 1rem;
	background: rgb(165 30 34 / 60%);
	transition: all 0.5s;
}
.icon-box:hover{transform: scale(.95) !important;}
.icon-box p{
	margin: 10px 0;
}
.icon-box img{
	width: 80px;
	transition: all 0.5s;
}
.icon-box:hover img{transform: scale(.95);}

.content-ourproducts{
	padding: 10% 0;
	background: #FFF;
}
.product-box{
	text-align: center;
	margin-bottom: 20px;
}
.product-box h1{
	font-size: 1.2rem;
	margin:10px 0;
    font-family: 'Kanit-Medium';
	color: #0b2d4c;
    overflow: hidden;
    text-overflow: ellipsis;    
    white-space: nowrap;    
}
.img-box{
	width: 100%;
	overflow: hidden;
}
.img-box img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.5s;
}
.paral-Right .img-box{
    width: 295px; 
    height: 160px; 
    background: #103252;
    margin: 0 ;
    transform: skew(-25deg);
    -o-transform: skew(-25deg);
    -moz-transform: skew(-25deg) ;
    -webkit-transform: skew(-25deg) ;
}
.paral-Right .img-box img{
    transform: skew(25deg) scale(1.5); 
    -o-transform: skew(25deg) scale(1.5); 
    -moz-transform: skew(25deg) scale(1.5); 
    -webkit-transform: skew(25deg) scale(1.5);
}
.product-box.paral-Right:hover img{
    transform: skew(25deg) scale(1.6); 
    -o-transform: skew(25deg) scale(1.6); 
    -moz-transform: skew(25deg) scale(1.6); 
    -webkit-transform: skew(25deg) scale(1.6);
}
/*****************/
.cate-prod {
    background: none;
    border: none !important;
    border-bottom: solid 1px #c6bda2 !important;
}
.cate-prod:focus {
    background: none !important;
}
.product-category .form-control:focus {
    border-color: #D5D5D5;
    box-shadow: 0 0 0  0.01rem rgb(0 123 255 / 1%) !important;
}
.product-category .form-control {
    color: #7c7c7c;
}

.product-text{margin-bottom: 2rem;}
.product-text h1{
    font-size: 1.4rem;
    color: #ac171c;
    margin-bottom: 0;
}
.product-text p{
    margin-bottom: 0;
    color: #636363;
}
.product-text h2{
    font-size: 20px;
    color: #ff6600;
    margin-bottom: 0;
}
.product-text h2 span{
    font-size: 1.7rem;
    color: #F00;
    padding: 0 15px;
    text-shadow: rgb(255, 255, 255) 3px 0px 0px, rgb(255, 255, 255) 2.83487px 0.981584px 0px, rgb(255, 255, 255) 2.35766px 1.85511px 0px, rgb(255, 255, 255) 1.62091px 2.52441px 0px, rgb(255, 255, 255) 0.705713px 2.91581px 0px, rgb(255, 255, 255) -0.287171px 2.98622px 0px, rgb(255, 255, 255) -1.24844px 2.72789px 0px, rgb(255, 255, 255) -2.07227px 2.16926px 0px, rgb(255, 255, 255) -2.66798px 1.37182px 0px, rgb(255, 255, 255) -2.96998px 0.42336px 0px, rgb(255, 255, 255) -2.94502px -0.571704px 0px, rgb(255, 255, 255) -2.59586px -1.50383px 0px, rgb(255, 255, 255) -1.96093px -2.27041px 0px, rgb(255, 255, 255) -1.11013px -2.78704px 0px, rgb(255, 255, 255) -0.137119px -2.99686px 0px, rgb(255, 255, 255) 0.850987px -2.87677px 0px, rgb(255, 255, 255) 1.74541px -2.43999px 0px, rgb(255, 255, 255) 2.44769px -1.73459px 0px, rgb(255, 255, 255) 2.88051px -0.838247px 0px;
}

.product-text .img-box{margin-top: 1rem;}
.product-text .img-box img{
    width: auto;
    max-width: 100%;
}
.product-text:hover img{transform: scale(1.05);}
.product-text ul{list-style: none;margin: 1rem auto;}
.img-product{
    text-align: center;
    overflow: hidden;
    margin: 2rem auto;
}
.img-product img{
    max-width: 100%;
    transition: all 0.5s;
}
.text-download{
    font-size:1rem;
}
.text-download .small{
    font-size:0.8rem;
}
.bt-doc {
    display: inline-block;
    background: #f7f7f7;
    padding: 5px 20px;
    border: solid 1px #dfdfdf;
    /*border-radius: 10px;*/
    transition-duration: 1s;
    font-size:1rem;
    margin: 15px ;
}
.bt-doc:hover {
    background: #696969;
    border: solid 1px #494343;
    color: #fff;
}
.detail-text {
   margin-top: 20px;
}

.detail-text ul {
   margin-left: 20px;
}

.detail-text table {
    max-width: 100%;
    width: inherit;
}
.detail-text table tr td {
    max-width: 100%;
    width: inherit;
}
.detail-text table tr td  img{
    max-width: 100%;
    width: auto !important;
    height:auto !important;
}
.detail-text table, .detail-text table::before,table::after { 
    text-indent: 20px;
}
/***************************/
.news-box{margin-top: 2rem;}
.news-box .img-box{
    position: relative;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}
.news-box .img-box p{
    position: absolute;
    width: 100%;
    padding: 5px 10px;
    color: #FFF;
    left: 0;
    bottom: -4rem;
    z-index: 1;
    margin-bottom: 0;
    background: rgb(110 105 100 / 58%);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    height: calc(1rem * 1.3 * 2.5);
    transition: all 0.5s;
}
.news-box:hover  .img-box p{bottom: 0;}
.news-box:hover img{transform: scale(1.05);}
.detail-box{
    color: #636363;
    margin-top: 1rem;
}
.detail-box h1{
    font-size: 1rem;
    margin-bottom: 0;
    color: #000;
}
.detail-box p{
    margin-bottom: 2;
}

.news-box .detail-box h1{
    font-size: 1rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
    height: calc(1rem * 1.2 * 2);
}
.detail-box p{
    margin-bottom: 2;
}
.news-box .detail-box p{
    font-size: 0.9rem;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
    height: calc(0.9rem * 1.2 * 3);
}
/***************/
.img-news{width: 100%;margin-bottom: 1rem; overflow: hidden;}
.img-news img{width: 100%;}
.newspage .img-news img{max-width: 100%; width: auto;}
.sub-title {margin-bottom: 2rem;}
.sub-title h1{
    font-size: 1.5rem;
    margin-bottom: 0;
}
.sub-title p{
    margin-bottom: 0;
    color: #636363;
}
.detail-news{margin: 1rem auto;}
.detail-news h1{
    font-size: 1rem;
    margin-bottom: 0;
}
.detail-news ul {
    margin-left: 30px;
}
/***********/
.mapbox iframe{
    width: 100%;
    height: 100%;
}
.mapbox{
    width: 100%;
    height: 280px;
    margin-bottom: 2rem;
}
.message-contact{margin-top: 2rem;}
.message-contact h1{
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: center;
}
.detail-form{
    margin-bottom: 1rem;
}
.detail-form .fa-redo-alt{
    cursor: pointer;
    color: #13673d;
}
.detail-form span{color: #ec1f27;}
.detail-form p{margin-bottom: 0;}
.form-text{
    padding: 8px 15px;
    background: #FFF;
    border: 1px solid #ced4da;
    width: 100%;
    border-radius: 5px;
    color: #010000;
}
.form-text::placeholder{color: #010000;}
.sendus-btn{
    width: 100%;
    padding: 8px;
    display: block;
    box-shadow: none;
    border: 1px solid #a6abb2;
    color: #FFF;
    background: #a61d21;
    margin: auto;
    cursor: pointer;
    transition: all 0.5s;
    border-radius: 0;
}
.sendus-btn:hover{
    transform: scale(.95);
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    background: #745a5b;
    border-color: #7e6f70;
}

.address-box h1, .contact-box h1, .social-box h1{
    font-size: 24px;
    margin-bottom: .5rem;   
}
.contact-box {margin: 1rem auto;}
.contact-box ul{list-style: none;margin-left: auto!important;}
.contact-box ul li a:hover{color: #13673d;}
.social-box{text-align: center;}
.social-box img{transition: all 0.5s;}
.social-box img:hover{transform: scale(.93);}
/********************/
.aboutbox p{
    margin-bottom: 0;    
    font-family: 'Prompt-Medium';
}
.aboutbox{
    padding-left: 1rem;
    border-left: 3px solid #a61d21;
}
.img-about{
    text-align: center;
    overflow: hidden;
    margin: 2rem auto;
}
.img-about img{
    max-width: 100%;
    transition: all 0.5s;
}

.boximg-about{
  overflow: hidden; 
  height: 300px; 
  cursor: pointer;
}
.boximg-about img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}
/*////////////// //////////////////////////////pagelist//////// /////////////////////////////////////////////////*/
.text-notfound{
    margin:30px auto;
    font-size: 1.4rem;
    text-align: center;
}
.pagelist{
 text-align: center;
 padding:5px;
 border-radius:0px;
/* margin:0 5px 20px 5px;*/
 margin: 20px auto;
}
.pagelist li{
    display:inline-block;
    font-size:18px;
    cursor:pointer;
    padding: 0.1rem 0rem;
    margin: 0.2rem;
    border:1px solid #ffffff;
    border-radius: 5px;
}
.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: #155570;
    display:block;
    padding:0px 12px;
    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.active{
    
    transition: all 0.4s;
}
.pagelist li a:hover{
    color: #777 ;
    transition: all 0.4s;
}
.pagelist li.active a {
    color: #777;
}
/********************/
 
.box-loading #overlay{
  position:fixed;
  z-index:99999;
  top:0;
  left:0;
  bottom:0;
  right:0;
  background:rgba(0,0,0,0.9);
  transition: 1s 0.4s;
}
.box-loading #progress{
/*  height:1px;
  background:#fff;
  position:absolute;
  width:0;
  top:50%;*/
}
.box-loading #progstat{
  font-size:0.7em;
  letter-spacing: 3px;
  position:absolute;
  top:50%;
  margin-top:-40px;
  width:100%;
  text-align:center;
  color:#fff;
}


.content-video{
	width: 100%;
	overflow: hidden;
	aspect-ratio: 3/1 ;
}
.content-video video,
.content-video source{
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 3/1 ;
}
/******************************/
/*footer--//////////////////////////////////////////////////////////////////////////*/

.footer {
    color: #000;
    padding:10% 0;
    position: relative;
	background: -webkit-linear-gradient(rgba(255,255,255,1) 0%, rgba(255,255,255,1) 34%, rgba(208,210,211,1) 34%, rgba(208,210,211,1) 100%);
	background: -o-linear-gradient(rgba(255,255,255,1) 0%, rgba(255,255,255,1) 34%, rgba(208,210,211,1) 34%, rgba(208,210,211,1) 100%);
	background: linear-gradient(rgba(255,255,255,1) 0%, rgba(255,255,255,1) 34%, rgba(208,210,211,1) 34%, rgba(208,210,211,1) 100%);
}
.footer .ic-size{font-size: 30px;vertical-align: middle;}
.footer ul{list-style: none;}
.footer p{margin-bottom: 0;}
.footer ul li{padding-bottom: 5px;}
.footer table{width: 100%;}
.footer table td{padding: 5px 5px;vertical-align: top;}
.footer table td img{margin: 0;}
.footer h1{
    font-size: 22px;
    margin-bottom: 5px;
    line-height: normal;
    font-family: 'Kanit-Medium';
}
.footer a:hover{text-decoration: underline;color: #b22222;}
.contact-footer{margin: 15px 0;}
.copyright-box{
    padding: 15px 20px;
    color: #FFF;
    background: #0b2d4c;
    text-align: center;
}
.copyright-box a{display: inline;}
.copyright-box a:hover{text-decoration: underline;}
.social-footer{
    text-align: left;
	margin: 20px auto;
}
.social-footer img{ transition: all 0.5s;}
.social-footer img:hover{transform: scale(.9);}

.logo-footer {margin-bottom: 1rem;}
.logo-footer img{
	max-width: 100%;
}
/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 568px) {
    
    
}




