/*
Theme Name: SNCH
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: A lightweight and minimalist WordPress theme for Elementor page builder.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 2.8.1.1690369020
Updated: 2023-07-26 10:57:00
*/
@keyframes blink {
	0% {
		background-color: #3ed305;
	}
	50% {
		background-color: #fe0201;
	}
	100% {
		background-color: #3ed305;
	}
}
.elementor-nav-menu .menu-item-883{
	animation: blink 2s infinite !important; /* 2s คือความเร็วในการกระพริบและ infinite คือการทำซ้ำไปเรื่อยๆ */
}
.home-video .elementor-wrapper.elementor-open-inline {
	position: relative;
	width: 100%;
	overflow: hidden;
	margin-bottom: -66px;
}
.home-video .elementor-wrapper.elementor-open-inline video {
	height: auto !important;
	position: absolute;
}
#products-tab .elementor-tabs-wrapper .elementor-tab-title {
	text-align: center;
}
#products-tab .elementor-tabs-wrapper .elementor-tab-title.elementor-active {
	background-color: #626f57;
}
#products-tab .elementor-tabs-wrapper {
	border-bottom: 2px solid #626f57;
}
.elementor-element-b93615f:before {
	content: '';
	width: 87px;
	height: 91px;
	background-color: #626f57;
	display: block;
	position: absolute;
	top: -15px;
	right: -42px;
	z-index: 1;
}
.elementor-element-b93615f:after {
	content: '';
	width: 161px;
	height: 255px;
	background-image: url('/wp-content/uploads/2023/08/bg-dot.png');
	display: block;
	position: absolute;
	top: calc(50% - 120px);
	left: 0;
	z-index: 1;
}
.product-desc {
	display: -webkit-box;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}
#single-product-tab .elementor-tabs-wrapper .elementor-tab-title {
	text-align: center;
}
#single-product-tab .elementor-tabs-wrapper .elementor-tab-title.elementor-active {
	background-color: #626f57;
}
#single-product-tab .elementor-tabs-wrapper {
	border-bottom: 2px solid #626f57;
}
#readmore-text-1 .elementor-icon-box-content:after,
#readmore-text-2 .elementor-icon-box-content:after {
	content: 'อ่านเพิ่มเติม';
	position: absolute;
	right: 25px;
	bottom: 25px;
	font-size: var(--myVar);
	text-decoration: underline;
	cursor: pointer;
	color: #8C8C8C;
}
#readmore-text-1 p {
	text-overflow: ellipsis;
	box-sizing: border-box;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 7;
	cursor: pointer;
}
#readmore-text-2 p {
	text-overflow: ellipsis;
	box-sizing: border-box;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
	cursor: pointer;
}
#readmore-text-1 .p-open,
#readmore-text-2 .p-open {
	-webkit-line-clamp: unset;
}
@media (max-width: 767px) {
	.home-video .elementor-wrapper.elementor-open-inline {
		margin-bottom: 0;
	}
	#icon-box-3ce0619 .elementor-icon-box-wrapper .elementor-icon-box-icon {
		margin-top: 15px;
	}
	#products-tab .elementor-tabs-content-wrapper {
		border: 1px solid #626f57;
	}
	#products-tab .elementor-tabs-content-wrapper .elementor-tab-mobile-title.elementor-active {
		background-color: #626f57;
	}
	#products-tab div.elementor-tab-mobile-title:nth-child(2n+1) {
		border-top: 1px solid #626f57;
	}
	#products-tab div.elementor-tab-mobile-title:nth-child(1) {
		border-top: 0 !important;
	}
	.elementor-element-b93615f:before {
		content: '';
		width: 47px;
		height: 51px;
		background-color: #626f57;
		display: block;
		position: absolute;
		top: -7px;
		right: -7px;
		z-index: 1;
	}
	.elementor-element-b93615f:after {
		content: '';
		width: 81px;
		height: 175px;
		background-image: url('/wp-content/uploads/2023/08/bg-dot.png');
		display: block;
		position: absolute;
		top: calc(50% - 80px);
		left: 0;
		z-index: 1;
	}
	#single-product-tab .elementor-tabs-content-wrapper {
		border: 1px solid #626f57;
	}
	#single-product-tab .elementor-tabs-content-wrapper .elementor-tab-mobile-title.elementor-active {
		background-color: #626f57;
	}
	#single-product-tab div.elementor-tab-mobile-title:nth-child(1) {
		border-top: 0 !important;
	}
	#single-product-tab div.elementor-tab-mobile-title:nth-child(2n+1) {
		border-top: 1px solid #626f57;
	}
	#single-product-tab div.elementor-tab-mobile-title:nth-child(1) {
		border-top: 0 !important;
	}
	#readmore-text-1 .elementor-icon-box-content:after,
	#readmore-text-2 .elementor-icon-box-content:after {
		font-size: 0px;
	}
	#readmore-text-1 p,
	#readmore-text-2 p {
		-webkit-line-clamp: unset;
	}
}
@media (min-width: 768px) and (max-width: 1024px) {
	.home-video .elementor-wrapper.elementor-open-inline {
		margin-bottom: -45px;
	}
	.elementor-widget-tabs .elementor-tab-desktop-title {
		padding: 20px 15px !important;
	}
	.elementor-element-b93615f:before {
		content: '';
		width: 57px;
		height: 61px;
		background-color: #626f57;
		display: block;
		position: absolute;
		top: 125px;
		right: -7px;
		z-index: 1;
	}
	.elementor-element-b93615f:after {
		content: '';
		width: 101px;
		height: 195px;
		background-image: url('/wp-content/uploads/2023/08/bg-dot.png');
		display: block;
		position: absolute;
		top: calc(50% - 150px);
		left: 5px;
		z-index: 1;
	}
	#readmore-text-1 .elementor-icon-box-content:after,
	#readmore-text-2 .elementor-icon-box-content:after {
		right: 17px;
		bottom: 15px;
		font-size: var(--myVar);
	}
	#readmore-text-1 p {
		-webkit-line-clamp: 10;
	}
	#readmore-text-2 p {
		-webkit-line-clamp: 6;
	}
}