@charset "utf-8";
/* CSS Document */

.Kanit{
	font-family: 'Kanit', sans-serif !important;
}
.Sriracha{
    font-family: 'Sriracha', cursive !important;
}
.Super{
    font-family: 'supermarketregular' !important;
}
.Font12{
	font-size:12px !important;
}
.Font13{
	font-size:13px !important;
}
.Font14{
	font-size:14px !important;
}
.Font15{
	font-size:15px !important;
}
.Font16{
	font-size:16px !important;
}
.Font18{
	font-size:18px !important;
}
.Font24{
	font-size:24px !important;
}
.Font36{
	font-size:36px !important;
}
.Font48{
	font-size:48px !important;
}
.NoMargin{
	margin:0px !important;
}
.NoPadding{
	padding:0px !important;
}
.BgThems{
	background:#21504c !important;
}
.ButtonThems{
	background:#204dca !important;
	color:#fff !important;
}
.CThems{
	color:#204dca !important;
}
.CPink{
	color:#204dca !important;
}
/*--------------- Menu ---------------*/
.Logo{
	float:left;
	max-width:140px;
	line-height:50px;
	text-align:center;
}
.Logo img{
	max-height:50px;
	width:auto;
	display:inline-block;
}
.HeadMobile{
	float:right;
	padding:10px 0 0 0;
}
.MenuMobile{
	-webkit-box-shadow: 0px 0px 4px 0px rgba(204,204,204,1);
	-moz-box-shadow: 0px 0px 4px 0px rgba(204,204,204,1);
	box-shadow: 0px 0px 4px 0px rgba(204,204,204,1);
	background:#fff;
	padding-top:5px;
	padding-bottom:5px;
	position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}
.MenuMobile i{
	line-height:50px;
	cursor:pointer;
}


/*--------------- Slide Bar ---------------*/
.SlideLeft,
.SlideRight{
	background:#333;
	padding:0 1px;
}
.SlideLeft ul{
	padding:0px;
	margin:0px;
}
.SlideLeft ul li{
	background:url(../images-custom/bg-bars02.png) bottom repeat-x;
	line-height:48px;
	padding:0 0 2px 0;
	margin:0px;
	list-style:none;
}
.SlideLeft ul li a{
	background:url(../images-custom/bg-bars01.png) left repeat-y;
	display:block;
	padding:0 0 0 20px;
	font-family: 'Kanit', sans-serif !important;
	font-size:16px;
	color:#fff;
}
.SlideLeft ul li a:hover{
	background:url(../images-custom/bg-bars01.png) left repeat-y rgba(255, 255, 255, 0.3);
	text-decoration:none;
}
.SlideRight ul{
	padding:0px;
	margin:0px;
}
.SlideRight ul li{
	background:url(../images-custom/bg-bars02.png) bottom repeat-x;
	line-height:48px;
	padding:0 0 2px 0;
	margin:0px;
	text-align:right;
	list-style:none;
}
.SlideRight ul li a{
	background:url(../images-custom/bg-bars01.png) right repeat-y;
	display:block;
	padding:0 20px 0 0;
	font-family: 'Kanit', sans-serif !important;
	font-size:16px;
	color:#fff;
}
.SlideRight ul li a:hover{
	background:url(../images-custom/bg-bars01.png) right repeat-y rgba(255, 255, 255, 0.3);
	text-decoration:none;
}
.IconSearch {
    font-size: 18px;
    position: absolute;
    right: 2px;
    top: 8px;
	color:#000;
}
.navbar-form {
	background:url(../images-custom/bg-bars02.png) bottom repeat-x;
	padding-top:20px;
	padding-bottom:20px;
	margin:0px;
}
.navbar-form .form-group {
	width:100%;
	position:relative;
}
.navbar-form .form-control {
    width:100%;
}
.CopyLeft{
	background:url(../images-custom/bg-bars02.png) top repeat-x;
	padding:20px 0 0 20px;
	margin:0px;
	display:block;
	width:100%;
}
.CopyRight{
	text-align:right;
	padding:20px 20px 0 0;
	margin:0px;
	display:block;
	width:100%;
}
.TH-EN{
	text-align:right;
	padding:10px 15px 10px 0;
}
.TH-EN img{
	max-height:40px;
}


@media (max-width: 479px) {
	.HeadMobile{
		display:none;
	}
	.single-header-info {
		float: left;
		padding-left: 5px;
	}
	
	.single-header-info .icon-box,
	.single-header-info .content {
		display: table-cell;
		vertical-align: middle;
	}
	
	.single-header-info .icon-box .inner-box {
		width: 30px;
		height: 30px;
		border: 1px solid #E1E1E1;
		border-radius: 50%;
		text-align: center;
		line-height: 30px;
		margin-right: 5px;
	}
	
	.single-header-info .icon-box .inner-box i{
		line-height:30px !important;
	}
	
	.single-header-info .icon-box .inner-box i:before {
		font-size: 14px;
		color: #fbca00;
	}
	
	.single-header-info .content h3 {
		font-size: 12px;
		text-transform: uppercase;
		color: #2B2B2B;
		font-family: 'Raleway', sans-serif;
		font-weight: 800;
		margin: 0;
		margin-bottom: 5px;
	}
	
	.single-header-info .content p {
		font-size: 10px;
		margin: 0;
		color: #B6B6B6;
	}
	
	.single-header-info .content p b {
		font-size: 10px;
		color: #000000;
		font-weight: 500;
	}
	
	.single-header-info .thm-btn {
		margin: 7px 0;
	}
}
@media (min-width: 480px) and (max-width: 767px) {
	.PRnone{
		padding-right:0px;
	}
	.PLnone{
		padding-left:0px;
	}
	.single-header-info {
		float: left;
		padding-left: 6px;
	}
	
	.single-header-info .icon-box,
	.single-header-info .content {
		display: table-cell;
		vertical-align: middle;
	}
	
	.single-header-info .icon-box .inner-box {
		width: 30px;
		height: 30px;
		border: 1px solid #E1E1E1;
		border-radius: 50%;
		text-align: center;
		line-height: 30px;
		margin-right: 6px;
	}
	
	.single-header-info .icon-box .inner-box i{
		line-height:28px !important;
		vertical-align:top;
	}
	
	.single-header-info .icon-box .inner-box i:before {
		font-size: 14px;
		color: #fbca00;
	}
	
	.single-header-info .content h3 {
		font-size: 12px;
		text-transform: uppercase;
		color: #2B2B2B;
		font-family: 'Raleway', sans-serif;
		font-weight: 800;
		margin: 0;
		line-height:normal;
	}
	
	.single-header-info .content p {
		font-size: 10px;
		margin: 0;
		color: #B6B6B6;
		line-height:normal;
	}
	
	.single-header-info .content p b {
		font-size: 10px;
		color: #000000;
		font-weight: 500;
	}
	
	.single-header-info .thm-btn {
		margin: 7px 0;
	}
}


/*---------- Chat-Window ----------*/
.chat-window .col-md-2, .chat-window .col-md-10{
    padding:0;
}
.panel{
    margin-bottom: 0px;
}
.chat-window{
    bottom:0;
	right:0;
    position:fixed;
    float:right;
    margin-right:20px;
	z-index:99999;
}
.chat-window > div > .panel{
    border-radius: 5px 5px 0 0;
}
.icon_minim{
    padding:2px 10px;
}
.msg_container_base{
  background: #e5e5e5;
  margin: 0;
  padding: 0 10px 10px;
  max-height:300px;
  overflow-x:hidden;
}
.top-bar {
  background: #666;
  color: white;
  padding: 10px;
  position: relative;
  overflow: hidden;
}
.msg_receive{
    padding-left:0;
    margin-left:0;
}
.msg_sent{
    padding-bottom:20px !important;
    margin-right:0;
}
.messages {
  background: white;
  padding: 10px;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  max-width:100%;
}
.messages > p {
    font-size: 13px;
    margin: 0 0 0.2rem 0;
  }
.messages > time {
    font-size: 11px;
    color: #ccc;
}
.msg_container {
    padding: 10px;
    overflow: hidden;
    display: flex;
}
.avatar {
    position: relative;
}
.base_receive > .avatar:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border: 5px solid #FFF;
    border-left-color: rgba(0, 0, 0, 0);
    border-bottom-color: rgba(0, 0, 0, 0);
}

.base_sent {
  justify-content: flex-end;
  align-items: flex-end;
}
.base_sent > .avatar:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border: 5px solid white;
    border-right-color: transparent;
    border-top-color: transparent;
    box-shadow: 1px 1px 2px rgba(black, 0.2); // not quite perfect but close
}

.msg_sent > time{
    float: right;
}

.msg_container_base::-webkit-scrollbar-track{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

.msg_container_base::-webkit-scrollbar{
    width: 12px;
    background-color: #F5F5F5;
}

.msg_container_base::-webkit-scrollbar-thumb{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
}

.btn-group.dropup{
    position:fixed;
    right:0px;
    bottom:0;
}

/* ------- Newsletter ------- */

#newslater-popup {
    max-width: 930px;
    margin: 0 auto;
    position: relative;
}

.nl-popup-main {
    display: block;
    background: url(../images-custom/popup.png) no-repeat center;
    overflow: hidden;
    border-radius: 0px;
    padding: 25px;
    height: 497px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    -o-border-radius: 0px;
}

.nl-popup-inner {
    /* border: 2px solid #fff; */
    padding: 8px 20px;
    margin: 20px auto 0 60px;
    display: block;
    overflow: hidden;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    -o-border-radius: 0px;
}

#newslater-popup .newsletter-inner {
	background: transparent;
	padding: 0px;
}
#newslater-popup .newsletter-inner span {
	margin-bottom: 0px;
}
#newslater-popup .newsletter-inner input {
	width: 300px;
	border-radius: 0;
}
#newslater-popup button.mfp-close {
  color: hsl(0, 0%, 0%);
  opacity: 1;
  right: 125px;
  top: 5px;
}
#newslater-popup button.mfp-close:hover, #newslater-popup button.mfp-close:focus {
	color: hsl(0, 0%, 35%);
}
#newslater-popup .newsletter-inner h2.main_title::before {
  background: hsla(0, 0%, 0%, 0) none repeat scroll 0 0;
}
#newslater-popup .newsletter-inner .main_title {
	background: none;
	color: hsl(0, 0%, 0%);
	font-family: "Montserrat",sans-serif;
	font-size: 80px;
	font-weight: 700;
	line-height: 60px;
	padding:0 0 0 20px;
	margin:20px 0 0 0;
	text-transform: capitalize;
}
#newslater-popup .newsletter-inner .main_title span {
	font-size: 24px;
	margin-left: -20px;
}
#newslater-popup .popup-desc {
  border-bottom: 1px solid hsl(0, 0%, 81%);
  border-top: 1px solid hsl(0, 0%, 81%);
  color: hsl(0, 0%, 0%);
  font-size: 14px;
  font-weight: normal;
  line-height: 17px;
  margin: 0 0 30px;
  padding: 20px;
  text-align: left;
  text-transform: uppercase;
}
#newslater-popup .popup-desc span {
	margin-bottom: 0;
	display: block;
}
#newslater-popup .newsletter-inner input {
	margin-bottom: 22px;
	border: 1px solid #fff;
	padding:0 20px;
	line-height:48px;
}
#newslater-popup .newsletter-inner input:focus {
	border-color: hsl(0, 0%, 87%);
}
#newslater-popup .newsletter-inner form button {
	position: relative;
	color: #fff;
	background: hsl(0, 0%, 0%);
	border: none;
	border-radius: 25px;
	font-size: 14px;
	height: auto;
	width: auto;
	right: auto;
	top: auto;
	left: 0;
	display: block;
	padding:10px 20px;
}
#newslater-popup .newsletter-inner form button:hover {
	background: hsl(0, 0%, 50%);
}
@media (max-width: 479px) {
	.hg-newsletter-1{
		width:50%;
	}
}
@media (min-width: 480px) and (max-width: 767px) {
	.hg-newsletter-1{
		width:50%;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	.hg-newsletter-1{
		width:60%;
	}
}


/* ------- Custom ------- */



.Header-7.topbar-transparent.bborder{
	border-top: 10px solid rgba(140, 24, 36, 1);
	border-bottom: 1px solid rgba(140, 24, 36, 1);
}
.Header-7 .header-section ul li a{
	color:#333;
}
.Header-7 .header-section.pin-style.pin ul li a{
	color:#fff;
}
.About-1 .DataDetail{
	text-align:center;
}
.About-1 .DataDetail h5{
	line-height:normal;
	margin-top:0px;
	margin-bottom:30px;
}
.Portfolio-4 .BgPort{
	background-color: transparent;
	background-image:url(../images-custom/21.png);
	background-position:right bottom;
}
.Portfolio-3 .Light1{
	background:#ededed;
}
.Portfolio-3 .Light2{
	background:#fafafa;
}
.Portfolio-3 .Light1,
.Portfolio-3 .Light2{
	padding:50px 0;
	text-align:center;
	width:20%;
	float:left;
}
.Portfolio-3 .Light1 a,
.Portfolio-3 .Light2 a{
	display:block;
}
.Portfolio-3 .Light1 h5,
.Portfolio-3 .Light2 h5{
	font-size:16px;
}
.Portfolio-3 .Light1 a:hover h5,
.Portfolio-3 .Light2 a:hover h5{
	color:#204dca;
}
.Portfolio-9 .ce4-feature-box-30:hover .inner-box .title a{
	color:#204dca;
}
.Footer-1{
	background-image:url(../images-custom/21.png);
	background-position:center;
	background-repeat:no-repeat;
	background-size:cover;
}
.Service-6 {
	text-align:center;
}
.Service-6 .by2-feature-box-2{
	padding: 0px 20px 10px;
}
.Service-6 .by2-feature-box-2 h4{
	font-size:18px;
	height:50px;
	overflow:hidden;
}
.Service-6 .by2-feature-box-2 .img-circle{
	position: inherit;
	width: auto;
	height: auto;
	left: 0px;
	top: 0px;
}
.Service-6 .by2-feature-box-2 .img{
	position: relative;
	top: -50px;
}
.Service-6 .ServiceBox{
	width:16%;
	margin:0 15px;
	display: inline-block;
}
.section-side-image.About-5 .text-inner-2{
	padding:40px;
}
.About-5 .ce3-feature-box-7{
	background:#fff;
	border:1px solid #ccc;
	padding:40px;
}
.About-5 .background-imgholder{
	background-position: 100% 50% !important;
}
.Gallery-8{
	background:url(../images-custom/17.png) top no-repeat;
}
.Blog-4{
	background:url(../images-custom/24.png) top no-repeat;
}
.Blog-7{
	background:#dbf4f9;
	padding:50px 0 20px;
}
.smartforms-modal-body {
    overflow: hidden;
    border: 1px solid #f6f6f6;
    box-shadow: 0 0 25px #ebebeb;
    background: #fff;
    padding: 40px;
}
.ProductH{
	margin-left:-5px;
	margin-right:-5px;
}
.ProductH .Pad-5{
	padding-left:5px;
	padding-right:5px;
}
.ProductH h3{
	background:#f7b71f;
	color:#fff;
	display:inline-block;
	padding:15px;
	margin:0px;
}
.ProductH .ce4-feature-box-39{
	margin-bottom:10px;
}
.ce4-feature-box-39 .img-box .text-box a{
	color:#fff;
	display:block;
	text-align:right;
}
.ce4-feature-box-39 .img-box .text-box h5{
	margin:0 0 5px 0;
}
.ProductR .ce4-feature-box-39 .img-box .text-box{
	padding:10px;
}
.Footer-4{
	padding:30px 0;
}
.Footer-4 .footer-quick-links-2 li a{
	color:#333;
}
.Footer-4 .footer-quick-links-2 li a:hover{
	color:#f7b71f;
}
.Footer-4 .footer-social-icons{
	margin:0 0 20px 0;
}





@media (max-width: 479px) {
	.Portfolio-3 .Light1,
	.Portfolio-3 .Light2{
		width:100%;
	}
	.Service-6 .ServiceBox{
		width:50%;
		margin:0px;
		padding:0 15px;
		display: block;
		float:left;
	}
	.Service-6 .by2-feature-box-2 h4{
		font-size:14px;
	}
	.section-side-image.About-5 .text-inner-2{
		padding:15px;
	}
	.About-5 .ce3-feature-box-7{
		padding:15px;
	}
}
@media (min-width: 480px) and (max-width: 767px) {
	.Portfolio-3 .Light1,
	.Portfolio-3 .Light2{
		width:50%;
	}
	.Service-6 .ServiceBox{
		width:50%;
		margin:0px;
		padding:0 15px;
		display: block;
		float:left;
	}
	.Service-6 .by2-feature-box-2 h4{
		font-size:14px;
	}
	.section-side-image.About-5 .text-inner-2{
		padding:15px;
	}
	.About-5 .ce3-feature-box-7{
		padding:15px;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	.Portfolio-3 .Light1,
	.Portfolio-3 .Light2{
		width:33.333333%;
	}
	.Service-6 .ServiceBox{
		width:33.333333%;
		margin:0px;
		padding:0 15px;
		display: block;
		float:left;
	}
	.Service-6 .by2-feature-box-2 h4{
		font-size:16px;
	}
	.section-side-image.About-5 .text-inner-2{
		padding:30px;
	}
	.About-5 .ce3-feature-box-7{
		padding:30px;
	}
	.GalleryR{
		padding:112px 0 0 0;
	}
}
@media (min-width: 992px) and (max-width: 1199px) {
	.Service-6 .by2-feature-box-2 {
		padding: 0px 15px 10px;
	}
	.Service-6 .by2-feature-box-2 h4{
		font-size:14px;
		height:48px;
		overflow:hidden;
	}
	.GalleryR{
		padding:92px 0 0 0;
	}
	table.qlabs_grid_container tbody tr.subheader_row td.subheader_cell,
	table.qlabs_grid_container tbody.data_container tr.data_odd td.data_cell{
		text-align:center;
	}
	.header-section.style2 ul li.search-parent{
		float:right;
	}
	.header-section.style2 ul li.search-parent a{
		padding: 20px 15px;
	}
}
@media (min-width: 1200px) {
	.GalleryR{
		padding:68px 0 0 0;
	}
	table.qlabs_grid_container tbody tr.subheader_row td.subheader_cell,
	table.qlabs_grid_container tbody.data_container tr.data_odd td.data_cell{
		text-align:center;
	}
	.header-section.style2 ul li.search-parent{
		float:right;
	}
	.header-section.style2 ul li.search-parent a{
		padding: 20px 15px;
	}
}
