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

/*************** ADD CUSTOM CSS HERE.   ***************/

/* Contact Form 7 - แถวละ 2 ช่อง (ชื่อ+นามสกุล, อีเมล+เบอร์โทร) */
.contact-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.contact-form-row .contact-form-col {
  flex: 1 1 calc(50% - 0.5rem);
  min-width: 0;
}
.contact-form-row .form-group {
  margin-bottom: 0;
}
@media only screen and (max-width: 549px) {

	
body.post-type-archive-product .category-page-row{
	margin-top: -15px;;
}
.medium-flex-wrap .flex-col{
	padding: 0px;
}

	.category-filter-row{
		padding: 0px;;
	}
	.client-gallery{
	margin-left: -5px !important;
    margin-right: -5px !important;
	}
	.client-gallery .gallery-col {
    padding: 0 5px 15px;
	}
	#logo img {
    padding: 10px 0 !important;
		
	}
	.banner h1{
		font-size: 2.8em;
	}
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

  /* ฟอร์มติดต่อ: มือถือให้แต่ละช่องเต็มความกว้าง (เรียงแนวตั้ง) */
  .contact-form-row .contact-form-col {
    flex: 1 1 100%;
  }

}



/*#text-3 img{
	    width: 170px !important;
	    padding-top: 15px;
}*/

/*.testimonial-name {
	font-family: 'Prompt', sans-serif !important;
	font-weight: normal !important;

}
h1,h2,h3,h4,h5,h6,p,span,a,li{
	font-family: 'Prompt', sans-serif !important;
	    font-weight: normal !important;

}*/
/*.col-TESTIMONIALS .img-inner img{
	width: 100px !important;
	height: 100px !important;
	border-radius: 50%;
}
.col-TESTIMONIALS p,.col-TESTIMONIALS h2{
	color:#fff !important;
}
.col-TESTIMONIALS .testimonial-name{
	color:#fff !important;
}
*/
/*
.footer-1 p{
color:#fff !important;	
    line-height: 22px;
    font-size: 14px;
}
.footer-1{

	    text-align: center;
}
#footer img{
    width: 265px;
    padding-bottom: 15px;
}

.copyright-footer{
	color: #fff !important;
}

.btn-ping i{
	font-size: 12px !important;
}

.btn-ping{
	color: #fff !important;
	border-radius: 15px;
    padding-left: 15px !important;
    padding-right: 15px !important;
    background-color: #ff0000;
}

.banner h2, .banner h3, .banner h1{

    line-height: 1.2;
}


h5.post-title{
	font-size: 1.5em;
}

.is-divider{
	background-color: #ff0000  !important;
}

.menu-item a:hover  , .header-nav-main .current_page_item a
{
color: #ff0000 !important;	
}


.button , .wpcf7-submit{
	border-radius: 15px !important;
}
.divSocial li{
	margin-bottom: 0px !important; 
}
.divSocial {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 50px;
         
    z-index: 99;
}


.about-hack-left > div.text-center{
margin-left: auto !important; 
}

.about-hack-left-100 > div{
margin-left: auto !important; 
max-width:none !important;
}


.recent-blog-posts-li .flex-col a{
	color:#555 !important;
	margin-top: 5px;
}


.absolute-footer{
	border-color: #f44336!important;
    border-bottom: 5px solid;
}

#menu-secondary-1 a{
	color :#ffffff;
}*/


.col-12, .col-md-5, .col-md-7 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}
.col-12 {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}
@media (min-width: 768px){
	.col-md-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-md-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
}

.nav > li > a, .mobile-sidebar-levels-2 .nav > li > ul > li > a{ font-weight: 500 !important; }
.nav-column>li>a, .nav-dropdown>li>a, .nav-vertical-fly-out>li>a, .nav>li>a{ color: #000; }
.nav-column li.active>a, .nav-column li>a:hover, .nav-dropdown li.active>a, .nav-dropdown>li>a:hover, .nav-vertical-fly-out>li>a:hover, .nav>li.active>a, .nav>li.current>a, .nav>li>a.active, .nav>li>a.current, .nav>li>a:hover{ color: #f58829; }
.nav-spacing-xlarge>li{ margin: 0 20px; }

.absolute-footer{ padding: 10px 0; }
.absolute-footer.dark{ color: #fff; }



h2, h3, h4{ font-weight: 500; }

h2{ font-size: 35px; line-height: 1.3; margin-bottom: 20px; }
h3{ font-size: 30px; line-height: 1.3; margin-bottom: 20px; }
h4{ font-size: 24px; line-height: 1.3; margin-bottom: 20px; }
p{  line-height: 1.5; margin-bottom: 30px; }


.ppk-title h2, .ppk-title p,
.ppk-section-right h2:first-of-type,
.ppk-section-about-owner-right h2,
.ppk-section-about-company h2{ font-size: 50px; line-height: 1; font-weight: 500; margin-bottom: 40px; }
.ppk-title h4,
.ppk-section-right h4{ font-size: 22px; line-height: 1; font-weight: 500; margin-bottom: 10px; }

@media (max-width: 1920px){

  /* .ppk-title h2,
	.ppk-section-right h2:first-of-type,
	.ppk-section-about-owner-right h2,
	.ppk-section-about-company h2{ font-size: 60px; } */

}
@media (max-width: 1600px){

  h2{ font-size: 30px; }
  h3{ font-size: 25px; }
  h4{ font-size: 20px; }
  /* .ppk-title h2,
	.ppk-section-right h2:first-of-type,
	.ppk-section-about-owner-right h2,
	.ppk-section-about-company h2{ font-size: 50px; } */

}
@media (max-width: 1199px){

  .ppk-title h2,.ppk-title p,
	.ppk-section-right h2:first-of-type,
	.ppk-section-about-owner-right h2,
	.ppk-section-about-company h2{ font-size: 40px; }

}
@media (max-width: 991px){

  h2{ font-size: 26px; }
  h3{ font-size: 22px; }
  .ppk-title h2,.ppk-title p,
	.ppk-section-right h2:first-of-type,
	.ppk-section-about-owner-right h2,
	.ppk-section-about-company h2{ font-size: 34px; margin-bottom: 25px; }
  .ppk-title h4,
	.ppk-section-right h4{ font-size: 17px; }

}
@media (max-width: 576px){

  h2{ font-size: 24px; }
  p{ font-size: 16px; }
  li{ font-size: 16px; }
  .ppk-title h2,.ppk-title p,
	.ppk-section-right h2:first-of-type,
	.ppk-section-about-owner-right h2,
	.ppk-section-about-company h2{ font-size: 32px; }

}

body.blog .blog-archive{ padding: 70px 0; }


.ppk-banner-text h1{ font-size: 85px; line-height: 1.3; color: var(--white); margin-bottom: 30px; }
.ppk-banner-text p{ font-size: 26px; color: var(--white); font-weight: 400; margin-bottom: 30px; }


@media (max-width: 1440px){

  .ppk-banner-text h1{ font-size: 80px; }
  .ppk-banner-text p{ font-size: 22px; }

}
@media (max-width: 1199px){

  .ppk-banner-text h1{ font-size: 60px; margin-bottom: 20px; }
  .ppk-banner-text p{ font-size: 20px; margin-bottom: 20px; }

}
@media (max-width: 991px){

	body.blog .blog-archive{ padding: 50px 0; }

  .ppk-banner-text h1{ font-size: 50px;  line-height: 60px;}
  .ppk-banner-text p{ font-size: 18px; }

}
@media (max-width: 576px){

  .ppk-banner-text h1{ font-size: 35px; margin-bottom: 10px; line-height: 48px;}
  .ppk-banner-text p{ font-size: 14px; }

}


.ppk-btn{ padding: 10px 40px; font-size: 20px; text-align: center; }

.ppk-about-1-left h2{ font-size: 56px; margin-bottom: 0; }
.ppk-about-1-left h3{ font-size: 35px; }


@media (max-width: 1400px){

  .ppk-about-1-left h2{ font-size: 50px }

}
@media (max-width: 1199px){

  .ppk-about-1-left h2{ font-size: 40px }
	.ppk-about-1-left h3{ font-size: 30px; }

}
@media (max-width: 991px){

	.ppk-btn{ font-size: 18px; }
  .ppk-about-1-left h2{ font-size: 30px }

}
@media (max-width: 576px){

	.ppk-btn{ font-size: 16px; padding: 5px 20px; }

}


.is-divider{ background-color: unset; }
body.single-post .entry-header-text .entry-divider{ display: none; }
.single-post .entry-category{ display: none; }
body.blog .blog-archive .post-sidebar .is-divider{ margin: 0; }


/* @media (max-width: 991px) {

	.banner.ppk-banner{ padding-top: 500px !important; }

}
@media (max-width: 576px) {

	.banner.ppk-banner{ padding-top: 450px !important; }

} */


/* .section.ppk-section-news p{ font-size: 16px; } */
.section.ppk-section-news button.button.primary{ display: none; }

.ppk-section-project .section-content > div > div.col {
padding-bottom: 0px;
}


.ppk-map p{ margin-bottom: 0; line-height: 0; }
.section.ppk-section-contact-us .col-inner.text-left{ padding: 0 10% !important; }
@media (max-width: 576px){

	.section.ppk-section-contact-us .col-inner.text-left{ padding: 10% !important; }

}
.mobiile-catgory p{
	font-size : 22px;
	    line-height: 22px;
		
}


.divAbout-profile--detail li{ font-size: 24px; line-height: 1.3; font-weight: 300; margin-bottom: 30px; text-align: left; }
.divAbout-profile--detail li > div:first-of-type{ font-weight: 500; text-align: right; }

.section.pkk-section-about-motto blockquote{ margin: 0; }
.section.pkk-section-about-motto blockquote p{ font-size: 24px; font-weight: bold; margin-bottom: 0; }


@media (max-width: 1600px){

  .divAbout-profile--detail li{ font-size: 20px; }

}
@media (max-width: 1199px){

	.section.pkk-section-about-motto blockquote p{ font-size: 20px; }

}
@media (max-width: 991px){

	/* .box-text-products .woocommerce-loop-product__title{
		font-size: 22px !important;
	} */
	
  .divAbout-profile--detail li{  margin-bottom: 20px; }

}
@media (max-width: 767px){
	body.single-product .product-title{
		font-size: 30px;
	}
  .divAbout-profile--detail li{ font-size: 18px; }
  .divAbout-profile--detail li > div:first-of-type{ text-align: left; }

	.section.pkk-section-about-motto blockquote p{ font-size: 18px; }

}
@media (max-width: 576px){

  .box-text-products .box-excerpt{
		font-size: 16px !important;
	}

}


body.blog .box-text-inner.blog-post-inner h5{ font-size: 20px; }
body.blog .box-text-inner.blog-post-inner p{ font-size: 16px; }
body.blog .box-blog-post .is-divider{ margin: 0; }

body.woocommerce-shop .woocommerce-breadcrumb {
display: none !important;
}

.box-text-products .woocommerce-loop-product__title{
	font-size:18px;
	 
}
.box-text-products .woocommerce-loop-product__title a{
	   font-weight: 600 !important;
}
.box-text-products .box-excerpt{
	font-size: 18px;
	    overflow: hidden;
	    height: 82px;
}


body.single-product .product-tabs{
	display: none!important;
}

body.single-product .product-title{
	font-size: 36px;
}


.entry-meta {
    display: none;
}



/********************************************/
/*************** update 10.06 ***************/
/********************************************/
.button, button, input[type=button], input[type=reset], input[type=submit]{ padding: 10px 40px; }
.ppk-section-subscription form{ margin-bottom: 0; }
.ppk-section-subscription .col{ padding-bottom: 0 !important; }

.wpcf7-spinner, 
.wpcf7 .wpcf7-not-valid-tip{ display: none; }
.wpcf7 form .wpcf7-response-output{ margin: 0; }


.ppk-section-client .gallery{ justify-content: center; }
.ppk-section-client .gallery-columns-8 .gallery-item{
	flex-basis: 49.5%;
	max-width: 49.5%;
}
@media only screen and (min-width: 577px){
	.ppk-section-client .gallery{ justify-content: center; }
	.ppk-section-client .gallery-columns-8 .gallery-item{
		flex-basis: 32.5%;
		max-width: 32.5%;
	}
}
@media only screen and (min-width: 768px){
	.ppk-section-client .gallery-columns-8 .gallery-item{
		flex-basis: 19.5%;
		max-width: 19.5%;
	}
}
@media only screen and (min-width: 850px){
	.ppk-section-client .gallery-columns-8 .gallery-item{
		flex-basis: 12.5%;
		max-width: 12.5%;
	}
}


.entry-author.author-box{ background-color: #f5f5f5; padding: 2em; }
.entry-author.author-box h5.author-name{ font-size: 22px; color: #00bf62; }
.entry-author.author-box p.author-desc{ font-size: 16px; margin-bottom: 0; }

@media only screen and (max-width: 576px){
	.entry-author.author-box{ padding: 1.5em; }
	.entry-author.author-box .flex-row{ flex-direction: column; }
	.entry-author.author-box .flex-row > .flex-col{ margin: 0 auto; }
}


.product-images.woocommerce-product-gallery .image-tools{ display: none; }



.ppk-section-news .post-item .button {
	display: none;
}


body.single-post h2{
	font-size: 24px;
}


h2.portfolio-box-title{
	font-size: 20px;
}


.single-featured_item .portfolio-bottom > .row{
	 display: none; 
}

footer .menu-item a{
	color: #fff !important;
}

footer li.menu-item-type-post_type a {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* หากต้องการเอาออกทุกเมนูเพื่อความสะอาดตา */
footer li.menu-item a {
    text-decoration: none !important;
    border-bottom: none !important;
}

footer ul.menu>li+li {

    border-top: 0px;

}

/* Footer menu แสดง 2 คอลัมน์ (Width 50%) */
footer .menu-2023-main-menu-container .menu,
footer ul.menu {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}
footer .menu-2023-main-menu-container .menu > li,
footer ul.menu > li {
	flex: 0 0 50%;
	width: 50%;
	box-sizing: border-box;
}

body.blog .post-title {
font-size: 22px;
padding-top: 20px;
padding-bottom: 5px;
}



.product-small .box-image img,  .single-product .wp-post-image{
	border: 1px solid #e5e5e5;
}

.products .col  .product-title ,.related-products-wrapper .col  .product-title{
font-size: 18px;
}


.products .box-text ,.related-products-wrapper .box-text{
    padding-left: .7em;
	    padding-right: .7em;
}
.box-text-products span.amount{
	
	font-size: 20px;
}
span.amount{
	color: #f0782a;
	
}

.mobiile-catgory .col:nth-last-of-type(-n+2){
	padding-bottom: 0px !important;
} 

.p-0 p:last-of-type{
margin-bottom: 0px !important;

}
.div-0 .col {
padding-bottom: 0px !important;
}


.service-div .box-text-inner p{
	font-size: 22px;
	font-weight: bold;
}

.portfolio-element-wrapper .portfolio-box-title,.post-item .post-title{
	font-size: 20px;
	letter-spacing: 0px;
}

.single-product .related-products-wrapper{
    padding-top: 30px;
    padding-bottom: 30px;
}


body.woocommerce-page header li.product-menu a , 
body.single-product header li.product-menu a , 
body.single-featured_item header li.port-menu a,
body.single-post header li.port-menu a,
body.page-child header li.service-menu a{
	color:#f5862a;
}

body.single-featured_item h1,.related-products-wrapper .product-section-title{
	letter-spacing: 0px;
}

.box-text-products .woocommerce-loop-product__title a{
line-height: 1;
}

.product .price-wrapper{
padding-top: 3px;;
}


a.btn-orange{
border-color: #666;
}
a:hover{
		box-shadow:none !important;
}

a.btn-banner:hover{
	border-color: #f5862a !important;
    color: #f5862a  !important;


	    background-color: #fff !important;
}

a.btn-orange:hover{
	border-color: #f5862a !important;
    color: #fff  !important;


	    background-color: #f5862a !important;
}
a.btn-orange{
	 color: #000  !important;
	 background-color: #fafafa !important;
}

.flickity-page-dots .is-selected {
  background: #141847 !important;

}

.service-slide .box-text {
padding-bottom :0px !important;
}


.mobile-sidebar .sidebar-menu .nav>li>a{
	font-size: 18px;
}

/* .single-product .top-divider{
border-top : 0px !important;
} */
.single-product .product-title{
	    margin-bottom: 0;
}

.client-gallery .image-lightbox.lightbox-gallery,
.row.client-gallery a.image-lightbox.lightbox-gallery {
  pointer-events: none;
  cursor: default;
}

.sidebar-inner form.searchform button{
padding: 9px 19px;
}

.sidebar-inner input.search-field{
height: 61px;
}

body.home .ppk-blog-grid .box-text ,body.home .ppk-blog-grid .post-item{
    padding-bottom: 0px !important;
}


.mobile-nav .header-search a{
color: #000!important;
}

.header-main .nav > li > a{
	    letter-spacing: 0px;
}


.woocommerce-product-details__short-description{
	margin-bottom:10px;
	margin-top: -5px;
}
.woocommerce-product-details__short-description p{
	font-size : 14px;
	line-height: 20px;
	
	color :#666
}


.home-category a:hover{
	color: #f5862a !important;

}


#search-lightbox input#woocommerce-product-search-field-0{     background-color: #fff !important;
    color: #000 !important; }

#search-lightbox input#woocommerce-product-search-field-0::placeholder{ color:#000; }

#search-lightbox .searchform .button.icon i{ color: #000; }



a.dpdpa--popup-button, a.dpdpa--popup-button, a.dpdpa--popup-button:visited{
	background-color: #f5862a !important;
}