/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

.button {
  font-size: 15px;
}
.is-large {
  font-size: 18px;
}
.is-larger {
  font-size: 22px;
}
.is-xlarge {
  font-size: 26px;
}
.is-xxlarge {
  font-size: 32px;
}
.is-xxsmall {
  font-size: 10px;
}
.is-xsmall {
  font-size: 11px;
}
.is-smaller {
  font-size: 12px;
}
.is-small, .is-small.button {
  font-size: 13px;
}

body {
 /* line-height: 1.4;
   font-family: 'Manrope', 'Noto Sans Thai',sans-serif !important;*/
}
h1, h2, h3, h4, h5, h6, .heading-font, .off-canvas-center .nav-sidebar.nav-vertical > li > a {
 /* font-family: 'Manrope', 'Noto Sans Thai',sans-serif !important;*/
}
blockquote, dl, figure, form, ol, p, pre, ul {
  margin-bottom: 14px;
}
strong{
	font-weight: 500 !important;
}
b{
	font-weight: 400 !important;
}

.semi-bold{
	font-weight:500; 
}
.button.is-outline {
  line-height: 2.4;
}
.button.is-outline, input[type="button"].is-outline, input[type="reset"].is-outline, input[type="submit"].is-outline {
  border-width: 1px;
}

.button, button, input[type="button"], input[type="reset"], input[type="submit"] {
	font-weight: 300;
}
.button span {
  vertical-align: baseline;
}
.header-wrapper {

}
.header-language-dropdown .image-icon {
  display: none;
}
.container,
.row.row-main {
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}
.container-left{
	padding-left: 15px;
	
}
.container-right{
	padding-right: 15px;
	
}
.container .section, .row .section {
  padding-left: 0;
  padding-right: 0;
}
.row{
	margin-left:5px;
	margin-right:5px;
	width: auto;
} 
.row.row-full-width {
  width: calc(100% - 10px);
  margin-left: auto;
  margin-right: auto;
}
.row.row-collapse.row-full-width {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.row.row-small.row-full-width {
  width: calc(100% - 20px);
  margin-left: auto;
  margin-right: auto;
}
.row.row-large.row-full-width {
  width: calc(100% + 30px);
  margin-left: auto;
  margin-right: auto;
}
.row.row-collapse{
	margin-left: 15px;
	margin-right: 15px;
}
.row.row-small{
	 margin-left: 10px;
	margin-right: 10px;
}	
.row.row-large{
	 margin-left: 0;
	margin-right: 0;
}
.row .col-inner .row.row-collapse{
	margin-left: auto;
	margin-right: auto;
	
}
.row .col-inner .row.row-small{
	margin-left: -5px;
	margin-right: -5px;
	
}
.row .col-inner .row{
	margin-left: -10px;
	margin-right: -10px;
}
.row .col-inner .row.row-large{
	margin-left: -15px;
	margin-right: -15px;
}
.row .col-inner .row.row-full-width {
  margin-left: auto;
  margin-right: auto;
}
.row-small > .col, .row-small > .flickity-viewport > .flickity-slider > .col {
  margin-bottom: 0;
  padding: 5px;
}
.row-large > .col, .row-large > .flickity-viewport > .flickity-slider > .col {
margin-bottom: 0;
padding: 15px;
}
.col, .columns, .gallery-item {
  padding: 10px;
}
.box-image {
  display: inline-block;
  vertical-align: top;
  width: 100%;
}
.pad-bot-0 {
  padding-bottom: 0 !important;
}
.shop-container .box-image {
  border: 1px solid #ddd;
}
.product-title.product_title.entry-title {
  letter-spacing: .5px;
}
.widget > ul > li li > a, ul.menu > li li > a {
  font-size: 1em;
}
.product-title {
  font-weight: 400;
}
.product-gallery .product-thumbnails {
  max-width: 420px !important;
  margin-left: -5px;
  
}
.product-thumbnails .col {
  padding: 0 5px !important;
}
.sidebar-menu .nav > li > a {
  font-size: 1rem;
}
.entry-title {
  font-weight: 600;
}
.flickity-page-dots .dot {
  background: #fff;
}

.img-bor .box-image{
	border:1px solid #ddd;
}
.absolute-footer.dark {
  color: hsla(0,0%,100%,.95);
}
.banner-layers.container
{
	max-width: 100%;
  width: 100%;
}
.wp-video
{
  position: absolute;
  top: 0;
}
.banner h3 {
  font-size: 1.2em;
}
.banner h2 {
  font-size: 1.6em;
}
.h1, h1,
.banner h1 {
  font-size: 2em;
}
.box-vertical .box-image,
.box-vertical .box-text {
  direction: ltr;
  display: table-cell;
  vertical-align: middle;
}
.box-vertical.box-text-top .box-image,
.box-vertical.box-text-top .box-text {
  vertical-align: top;
}
.box-vertical.box-text-top .box-image {
  padding-top: 4px;
}
.ver-30.box-vertical .box-image {
  max-width: 30%;
}
 .big-txt,
  .big-txt2{
	font-size:.9em;
  }
.margin-0{
	margin:0 !important;
}
  .text span {
  display: inline-block;
}
.img-box-shade .box-image::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  bottom: 0;
  background: linear-gradient(180deg,rgba(0,0,0,0) 40%,rgba(0,0,0,0.9));
  z-index: 999;
}
.wpcf7-form-control.wpcf7-submit {
  margin: 15px auto;
  display: block;
  background: #d51218 !important;
  min-width: 180px;
  border-radius: 12px;
  width: 100%;
  padding: 5px 15px;
}
.wpcf7-form input, .wpcf7-form textarea {
  box-shadow: none;
  border-radius: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
  height: auto;
  background: #eee;
  margin-top: 5px;
}
.con-form {
  list-style: none;
}
.con-form li {
  margin: 0 0 10px !important;
}
.wpcf7 label {
  font-weight: 400;
}

.social-icons .button.icon .fa-line {
  display: inline-block;
  vertical-align: -2px;
}
.button.line:hover, .button.line:not(.is-outline) {
  color: #2cbf13 !important;
}
.ux-menu.small-line a {
  min-height: 30px;
  padding:0;
}
.woocommerce-tabs.wc-tabs-wrapper.container.tabbed-content {
  margin: 0;
}
.woocommerce-tabs table td {
  text-align: center;
}
.banner h5, .banner h6, .banner p {
	margin-top:0;

}
.widget .current-cat > a {
  color: #9f161d;
 }
 .button.white.is-outline {
  border-color: #fff;
  color: #fff !important;
}
.button.white.is-outline:hover {
  color: #d51218 !important;
}
.line-but span::before {
background: url(images/line.png);
content:'';
  vertical-align: middle;
  line-height: 1;
  height: 36px;
  width:36px;
  display: inline-block;
  background-size: 72%;
  background-repeat: no-repeat;
  background-position: center;
}
.button.mess-but span::before {
	content:'';
background: url(images/mes.png);
  vertical-align: middle;
  line-height: 1;
  height: 36px;
  width:36px;
  display: inline-block;
  background-size: 72%;
  background-repeat: no-repeat;
  background-position: center;
}
.button.mess-but:hover,
.button.mess-but{

border-radius: 12px;
min-width: 40px;
  padding: 0;
  text-align: center;
background:#316ff6 !important;
color:#fff;
box-shadow:none;
	
}
.button.line-but:hover,
.button.line-but{
	background:#06C755  !important;
	color:#fff;
	padding: 4px 15px 4px 15px;
	box-shadow:none;
	min-width: 40px;
  padding: 0;
  text-align: center;
} 
.mfp-gallery  .mfp-arrow-left, 
.mfp-gallery .mfp-arrow-right {
  transform: translateY(-50%);
}
.mfp-gallery .mfp-img {
  padding-bottom: 0;
}
.mfp-gallery  .mfp-bottom-bar {
  margin: 5px 0;
}
.slider-nav-outside .flickity-page-dots
{
  bottom: -35px;
}
.slider-nav-outside
{
  margin-bottom: 35px;
}
.flickity-page-dots .dot:hover,
.flickity-page-dots .dot.is-selected
{
  background-color: #d51218;
 }

.flickity-page-dots .dot{
	border:none;
	background:#D8D8D8;
}
.slider-nav-light .flickity-page-dots .dot:hover,
.slider-nav-light .flickity-page-dots .dot.is-selected{
	background:#d51218;
}
 .slider-nav-light .flickity-prev-next-button svg
{
  fill: #d51218;
}
.slider-nav-light .flickity-page-dots .dot.is-selected::after
{
	border-color:#d51218;
}
.slider .flickity-page-dots .dot
{
  position: relative;
  margin: 0 5px;
}

.box-overlay.dark .box-text
{
  text-shadow: none;
}
#logo {
  max-width: 60%;
}
.row-slider .flickity-button.flickity-prev-next-button
{
  margin-top: 0;
  transform: translateX(-50%);
}
.flickity-slider .col
{
  padding-bottom: 0 !important;
}
/*--*/
.nav-dropdown-has-border .nav-dropdown {
  border: none;
  box-shadow: none;
  padding: 0 5px;
  min-width: 200px;
  width: 100%;
}
.nav-dropdown-has-arrow li.has-dropdown::before {
  display: none;
}
.pad-0
{
  padding: 0;
}
.row .page-title-inner.container
{
  max-width: 100%;
  width: 100%;
  padding:  0 !important;
}
.breadcrumbs
{
  font-weight: 400;
  font-size: .9rem;
}
.title-breadcrumbs
{
  padding-top: 20px;
  padding-bottom: 20px;
}
ul span {
  vertical-align: top;
}
.absolute-footer {
  padding: 15px 0 15px;
}
.container {
  margin: auto !important;
}
.header-bottom .nav-top-link {
  padding: 8px 0.5vw !important;
}
/****/
.h-100 img,
.h-100 {
	height:100%;
	object-fit: cover;
}	
.row.pad-right-15 {
  padding-right: 15px !important;
}
.row-slider {
  margin-left: auto !important;
  margin-right: auto !important;
}
.col-middle > .col-inner {
  display: flex;
}
/***************/

.header.has-sticky .nav > li > a {
  padding: 5px 0;
}

.bg-img::before {
  content: '';
  display: inline-block;
  width: 25vw;
  height: 25vw;
  position: absolute;
  top: -15px;
  border-radius:50%;
  background:#f2f5fb;
  z-index: -1;
  left: 0;
  transform: translateX(-4vw) translateY(-3.5vw);
}
.icon-box > .col-inner {
  overflow:hidden;
}
.button.secondary{
  color: #253573;
} 
.button.secondary.sp-but {
  color: #253573;
  display: flex;
  justify-content: space-between;
  padding:5px 15px !important;
  align-items: center;
}
.button.secondary.sp-but span {
  width: 95%;
}
.button.sp-but > i::before {
  content: '\f061';
  font-family: fontawesome;
  width: 26px;
  height: 26px;
  background:#253573;
  color: #fff;
  border-radius:50%;
  display: inline-block;
  line-height: 26px;
  font-size: 1rem;
}
.button.sp-but.is-large > i::before {
	width: 32px;
  height: 32px;
  line-height: 32px;
}	
.before-line::before {
  content: '';
  display: inline-block;
  width: 30px;
  border-bottom:2px solid #fdda28;
  position: absolute;
  left: 0;
  top: 9px;
}
.before-line {
  position: relative;
  padding-left: 40px;
}
.before-line::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius:50%;
  background:#fdda28;
  position: absolute;
  left: 0;
  top: 6px;
}
.check-list li::before {
  content: '\f00c';
  font-family: fontawesome;
  background:#fdda28;
  color: #fff;
  border-radius:50%;
  font-size: 1.4rem;
  width: 32px;
  height: 32px;
  line-height: 32px;
  display: inline-block;
  text-align: center;
  position: absolute;
  left: 0;
  top: 4px;
}
.check-list li {
  list-style:none;
  padding-left: 45px;
  margin-left: 0 !important;
  position: relative;
}
.check-list li h4 {
  margin:0;
}
.absolute-footer .container {
  border-top:1px solid #fff;
  border-bottom:1px solid #fff;
  padding:15px 0;
}
.footer-secondary.pull-right {
  padding:0;
}
.dot-line{
	position:relative;
}
.dot-line:before {
  display: inline-block;
  width: 20px;
  height: 20px;
  background:#fff;
  border:1px solid #fdda28;
  border-radius:50%;
  content:'';
}
.dot-line:after {
	content:'';
  display: inline-block;
  width: 100%;
  border-top:1px solid #fdda28;
  position: absolute;
  left: 0;
  top: 10px;
  z-index: -1;
}

.tb th {
  background:#253573;
  color: #fff;
  text-align: center;
  font-weight: 500;
}
.tb {
  border:1px solid #999;
}
.tb td {
  border-top:1px solid #999;
  padding:15px 10%;
  color: #253573;
}
.tb td {
  border-top:1px solid #999;
  padding:15px 10%;
  color: #253573;
}
.tb td:nth-child(2n){
	background:#fdda28;
}
.blu-bor.row-solid .col::after,
.blu-bor.row-solid .col::before {
  border-color:#253573;
}
.blu-bor.row-solid .col::before {
  border-width:3px;
  left: -3px;
}
.blu-bor.row-solid .col::after{
	bottom:-3px;
	border-width:3px;
}
.img-but {
  background:#fff;
  border-radius:20px;
  overflow:hidden;
  padding:4px 10px;
}
@keyframes left-move {
0% {
    width: 0;
}
100% {
    width: 100%;
}
}
@keyframes right-move {
0% {
    width: 0;
}
100% {
    width: 100%;
}
}
@keyframes top-move {
0% {
    height: 0;
}
100% {
    height: 100%;
}
}
@keyframes bottom-move {
0% {
    height: 0;
}
100% {
    height: 100%;
}
}
@media (min-width: 550px){
.medium-1 .res-text, .medium-2 .res-text, .medium-3 .res-text, .medium-4 .res-text, .medium-5 .res-text, .medium-6 .res-text, .medium-7 .res-text {
  font-size: 1em;
}
.container,
.row.row-main {
  padding-left: 30px;
  padding-right: 30px;
}
.container-left{
	padding-left: 30px;
}
.container-right{
	padding-right: 30px;
}
.min-txt-h .box-text {
  min-height: 81px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.align-equal .img-inner, .align-equal .img, .align-equal .col-inner {
  height: 100%;
}
#logo img {
  max-height: 90px !important;
}
#logo {
  max-width: 40%;
}
.header-main {
  max-height: 90px;
}
.or-1{
	order:1;
}
.tabbed-content.h-tab {
  flex-flow: row;
  gap: 15px;
}
.flex-box .col-inner {
  grid-template-columns: auto auto auto;
}
.button.tab-but {
  margin: 0 2px 0px 0;
  border-radius: 8px 8px 0 0;
  border: none;
  font-size: 1.1rem;
  line-height: 2.8;
  padding: 4px 15px!important;
}
.button.secondary.sp-but {
  display: table;
}
.button.secondary.sp-but span {
  width: calc(100% - 37px);
    vertical-align: middle;
	display: table-cell;
}
.button.secondary.sp-but i {
  display: table-cell;
  padding-left: 10px;
  width: 36px;
}
.bg-img::before {
  width: 10vw;
  height: 10vw;
  transform: translateX(-2.2vw) translateY(-2vw);
}
}
@media (min-width: 768px){
.container {
  padding-left: 60px !important;
  padding-right: 60px !important;
  max-width:100%;
}
.container-left{
	padding-left: 60px !important ;
}
.container-right{
	padding-right: 60px !important ;
}
.row.row-main {
  padding-left: 60px;
  padding-right: 60px;
  max-width:100%;
}
.row-large > .col, .row-large > .flickity-viewport > .flickity-slider > .col {
padding: 30px;
}
.row .col-inner .row.row-large {
  margin-left: -30px;
  margin-right: -30px;
}
.row.row-large.row-full-width {
  width: calc(100% - 60px);
  margin-left: auto;
  margin-right: auto;
}
.row{
	margin-left:50px;
	margin-right:50px;
	width: auto;
	max-width: 100%;
} 
.row.row-collapse{
	margin-left: 60px;
	margin-right: 60px;
	max-width: 100%;
}
.row.row-small{
	 margin-left: 55px;
	margin-right: 55px;
	max-width: 100%;
}	
.row.row-large{
	 margin-left: 30px;
	margin-right: 30px;
	max-width: 100%;
}
.flex-box .col-inner {
  grid-template-columns: auto auto auto auto;
}

}
@media (min-width: 850px){
.align-center .col:first-child .col-inner {
    margin-left: auto;
    margin-right: auto;
 }
.header-nav {
  justify-content: center;
}
 .large-6 .res-text {
  font-size: 16px;
}
.max-20-pc{
	max-width:20%;
}
.header-main {
  max-height: 100px;
}
#logo img {
  max-height: 90px !important;
}
#logo {
  max-width: 16%;
}
 .big-txt,
  .big-txt2{
	font-size:1em;
  }
.box-text {
  font-size: 1em;
 } 
.align-equal .banner {
  height: 100%;
}
.txt-hover:hover .box-text{
	background:#243a76 !important;
	
}
.h-box-txt h1 {
  font-size: 6vw;
}
.med-max-20 {
  max-width: 20%;
}
.header-nav .sub-menu.nav-dropdown {
  background: none;
}
.stuck .header-nav .sub-menu.nav-dropdown {
	margin-top: -2px;
	padding: 2px 0 0;
}
.h-tab1 ul.nav {
  position: absolute;
  left: -100%;
  bottom: 10%;
  margin-left: 60px ;
  border-left: 2px solid #888;
  font-size: 2rem;
}
.nav.header-nav.header-bottom-nav{
  flex-flow: row;
}
.header-bottom-nav .nav-top-link {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.dot-line.dot-line-left::after {
  width: 50%;
  right: 0;
  left: auto;
}
.dot-line.dot-line-right::after {
  width: 50%;
}	
.bg-img::before {
  width: 8vw;
  height: 8vw;
  transform: translateX(-1.5vw) translateY(-1.5vw);
}

}
@media (min-width: 992px){
#logo {
  max-width: 20%;
}
.h-tab.tabbed-content .nav-vertical a {
  font-size: 1.2rem;
}  
.flex-box .col-inner {
  grid-template-columns: auto auto auto auto auto auto ;
}
.nav.header-nav.header-bottom-nav{
  display: table;
}
.nav.header-nav.header-bottom-nav li {
  display: table-cell;
}
.header-bottom-nav .nav-top-link {
  display: flex;
  flex-flow: row;
  text-align: left;
}
.nav.header-nav.header-bottom-nav .ux-menu-icon {
  max-width: 30px;
}


}
@media (min-width: 1150px){
.header-main {
  max-height: unset;
}
#logo img {
  max-height: 130px !important;
}
.header-main .header-nav > li {
  margin: 0 12px;
}
.header-main .header-nav > li.menu-item {
  font-size: 1.2em;
}
 .big-txt2{
	font-size:1.2em !important;
 }
 .page-title-cat {
  font-size: 1.2em;
}
.header-main .header-nav .sub-menu li.menu-item{
	font-size: 1rem;
}	
.con-list li {
  width: 50%;
  float: left;
  padding: 0 10px;
}
.con-list li.wide {
  width: 100%;
}
.h-tab.tabbed-content .nav-vertical a {
  font-size: 1.4rem;
}  
.nav.header-nav.header-bottom-nav .ux-menu-icon {
  max-width: 32px;
}

  
}
@media (min-width: 1280px){
.header-main .header-nav > li.menu-item {
font-size: 1.4em;
    margin:0 1.8vw;
}
 .big-txt{
	font-size:1.2em !important;
 }
  .big-txt2{
	font-size:1.4em !important;
 }
.page-title-cat {
  font-size: 1.4em;
}
.pc-max-50 {
  max-width: 50%;
}  
.h-tab.tabbed-content .nav-vertical {
  width: 32%;
}
.h-tab.tabbed-content .nav-vertical {
  padding-right: 5%;
}
.h-tab.tabbed-content .nav-vertical a {
  font-size: 1.6rem;
} 
.flex-box .col-inner {
  grid-template-columns: auto auto auto auto auto auto auto auto;
}
.title-wrapper.is-large .entry-title {
  font-size: 3em;
}
 
}
@media (min-width: 1600px){
.row.row-collapse{
	max-width:calc(100% - 200px);
	
}
.row.row-small{
	max-width:calc(100% - 190px);
}
.row{
  max-width:calc(100% - 180px);
  padding-left:0;
  padding-right:0;
  margin-left: auto !important;
    margin-right: auto !important;
width:100%;
}
.container {
  padding-left:20px !important;
  padding-right:20px !important;
width:100%;
}
.row.container{
	padding-left:calc(50vw - 740px) !important;
	padding-right:calc(50vw - 740px) !important;
}
.container-left{
	padding-left: calc(50vw - 740px) !important ;
}
.container-right{
	padding-right: calc(50vw - 740px) !important ;
}
.row .row{
	max-width:100% !important;
	width:100%;
}
 .big-txt{
	font-size:1.3em !important;
 }
  .big-txt2{
	font-size:1.6em !important;
 }
 .header-main .header-nav > li.menu-item {
  font-size: 1.6em;
    margin:0 2.2vw;
}
.bg-img::before {
    transform: translateX(-25px) translateY(-25px);
    width: 125px;
    height: 125px;
  }


}