/*
 Theme Name:   Pocket Modify Theme
 Theme URI:    http://www.plus.in.th/
 Description:  Pocket Modify Theme
 Author:       Pocket
 Author URI:   http://www.plus.in.th
 Template:     hello-elementor
 Version:      1.0.0
 Tags:         theme
 Text Domain:  template
*/

/* =Theme customization starts here
.ahover
.imghover
.width100
.hoverunder
.hoveryellow
.pkt-left
.pkt-link
.pkthover
.no-underline
.link-inline
.a-width
.imgblock

-------------------------------------------------------------- */

::-moz-selection {
	color: #FFF !important;
	background: #0165FF !important;
}

::selection {
	color: #FFF !important;
	background: #0165FF !important;
}

@media print {
	@page {
    	margin: 1.0cm;
	    size: A4;
	}
	
	html body.single-data .type-data section,
	.elementor-location-footer,
	.elementor-17 {
		visibility: hidden;
		display: none;
	}
	
	html body.single-data .type-data .printok{
		visibility: visible !important;
		display: inherit;
	}
	
	html body.single-data .type-data .printok .noprint{
		visibility: hidden !important;
		display: none !important;
	}
	
	a[href]:after{
		display: none;
	}
}

/* Link Styling */
a, a:active, a:visited {
	color: #2b77ea;
}

.elementor .elementor-container .elementor-text-editor a,
.elementor .elementor-tab-content a{
	text-decoration: none;
}

.elementor .elementor-container .elementor-text-editor a:hover,
.elementor .elementor-tab-content a:hover {
	color: #0000FF !important;
	text-decoration: underline !important;
}

.elementor .elementor-container{
	line-height: 1.65em;
}

.elementor .elementor-container .elementor-text-editor ol li,
.elementor .elementor-container .elementor-text-editor ul li{
	margin-bottom: 2px;
}

.elementor-widget-container .swiper-pagination{
	z-index: 1;
}

/* Heading H1-H6 Styling */
h1, h2, h3, h4, h5, h6 {
	font-family: Georgia, serif;
	color: #3a3a3a;
	line-height: 35px;
	font-weight:500;
	letter-spacing: 1px;
}

h1 {
	font-size: 30px;
	line-height: 1.2;
}

h2 {
	font-size: 28px;
	line-height: 1.3;
}

h3 {
	font-size: 26px;
	line-height: 1.4;
}

h4 {
	font-size: 24px;
	line-height: 1.5;
}

h5 {
	font-size: 22px;
	line-height: 1.6;
}

h6 {
	font-size: 20px;
	line-height: 1.2;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin-bottom: 20px;
}

.elementor-inner p:last-child{
	margin-bottom: 0;
}

@media (min-width: 0px) {
	.elementor-nav-menu--dropdown a.elementor-sub-item{
		padding-right: 20px !important;
		padding-left: 30px !important;
		font-weight: normal !important;
	}
}

@media (min-width: 768px){
	.pktislide .elementor-main-swiper{
		border-radius: 3px;
	}
}

@media (min-width: 970px){
	.elementor-nav-menu--dropdown a.elementor-sub-item{
		padding-right: 20px !important;
		padding-left: 9px !important;
	}
}

a.ahover:hover,
.ahover a:hover{
	text-decoration: underline !important;
}

.imghover img{
	transition-duration: 0.2s;
}

.imghover img:hover{
	opacity: 0.9 !important;
	transition-duration: 0.2s;
}

.width100{
	width: 100% !important;
}

.hoverunder a:hover span,
.hoverunder a:hover h2,
.hoverunder a:hover h3,
.hoverunder span a:hover,
.hoverunder h2 a:hover,
.hoverunder h3 a:hover{
	text-decoration: underline !important;
}

.hoverunder a:hover i,
.hoverunder a:hover .elementor-icon-list-icon{
	text-decoration: none !important;
}

.hoveryellow a:hover,
.hoveryellow h2 a:hover,
.hoveryellow:hover{
	color: #FAEE02;
}

.elementor-widget-theme-post-content h2{
	font-family: var( --e-global-typography-primary-font-family ), Tahoma;
    font-weight: var( --e-global-typography-primary-font-weight );
	color: #FFFFFF;
    font-size: 22px;
    letter-spacing: 0px;
    margin: 20px 0 6px 0;
    line-height: 1.5em;
}

.elementor-widget-theme-post-content h3{
	color: #333333;
    font-size: 20px;
    letter-spacing: 0px;
    font-weight: bold;
    margin: 20px 0 6px 0;
    line-height: 1.5em;
}

.elementor-widget-theme-post-content h4{
	color: #444444;
    font-size: 18px;
    letter-spacing: 0px;
    font-weight: bold;
    margin: 15px 0 4px 0;
    line-height: 1.5em;
}

.iconleft .elementor-icon-box-wrapper {
	display: flex;
}

.pkt-left{
	text-align: left;
}

.pkt-link a:hover{
	text-decoration: underline !important;
	color: #2b77ea;
}

.product_brand{
	width: 50px;
}

.pkthover:hover{
	box-shadow: 0 1px 20px 0 rgba(0,0,0,.05);
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
    z-index: 1;
}

.pktibrand a{
	display: block !important;
}

figcaption.wp-caption-text {
    font-size: 14px;
    color: #999;
    line-height: 1.4;
    font-style: normal;
    font-weight: 400;
    text-align: center;
    margin-top: 3px;
}

.mbeheader .menu-item .menu-item.menu-item-has-children .sub-menu.elementor-nav-menu--dropdown li a{
	font-size: 16px !important;
}

.dskheader .menu-item .menu-item.menu-item-has-children .sub-menu.elementor-nav-menu--dropdown li a{
	padding-left: 5px !important;
}

/* SUBS */

@media (min-width: 0px) {
	.psubs-box-name{
		font-size: 12px;
		padding: 3px 2px 3px 2px;
	}
	
	.psubs-box-unit{
		margin: -23px 0 0 0;
		width: 56px;
	    padding: 2px 0;
	    font-size: 12px;
	    line-height: 1.5em;
	}
	
	.psubs-box-price{
	    font-size: 12px;
	    padding: 3px 4px 2px 0;
	}
}

@media (min-width: 768px){
	.psubs-box-name{
		font-size: 16px;
		padding: 3px 3px 3px 3px;
	}
	
	.psubs-box-unit{
    	margin: -28px 0 0 0;
		width: 70px;
	    padding: 3px 0;
	    font-size: 14px;
	    line-height: 1.5em;
	}
	
	.psubs-box-price{
	    font-size: 14px;
	    padding: 4px 5px 3px 0;
	}
}

.psubs{
	margin-bottom: 35px;
}

.psubs-box{
	border: 1px solid #ddd;
	background: #EEE;
}

.psubs h2{
	font-size: 18px;
	font-family: var( --e-global-typography-primary-font-family ), Tahoma;
    font-weight: var( --e-global-typography-primary-font-weight );
	letter-spacing: 0;
    font-size: 22px;
    margin-bottom: 8px;
}

.psubs-box-img img{
	width: 100%;
}

.psubs-box-info{
	border-top: 1px solid #DDD;
}

.psubs-box-unit{
    background: rgb(255 255 255 / 85%);
    position: relative;
    float: right;
    border-radius: 6px 0 0 0;
    font-weight: bold;
    border-top: 1px solid #DDD;
    border-left: 1px solid #DDD;
	border-bottom: 1px solid #EEE;
    line-height: 1.5em;
}

.psubs-box-unit:after,
.psubs-box-spec:after{
	clear: both;
	display: block;
	content: " ";
}

.psubs-box-name{
    line-height: 1.5em;
    background: #DDD;
    color: #222;
	overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.psubs-box-price{
	text-align: right;
    color: #ee4d2d;
    line-height: 1.5em;
}

.psubs-box-price span.psubs-box-price-num{
	letter-spacing: 0.5px;
	font-weight: bold;
}

.psubs-box-price span.psubs-box-price-b{
	font-family: Arial;
	font-size: 11px;
	margin-right: 2px;
}

.psubs-box-spec{
	font-size: 12px;
    font-weight: bold;
    float: left;
    width: auto;
    display: inline;
    background: #f5f5f5;
    border: 1px solid #CCC;
    border-radius: 15px;
    line-height: 1em;
    padding: 5px 15px;
    margin: 8px 0 -32px 10px;
    position: relative;
}

/* LOOP V.1 */

@media (min-width: 0px) {
	.pkl-meta{
		margin: -24px 8px 6px 8px;
		font-size: 12px;
	}
	
	.pktloop h2,
	.pktloop h3{
	    padding: 10px 10px 10px 0px;
	    height: 110px;
	    font-size: 16px;
	    margin-top: 5px;
	    font-weight: bold;
	}
	
	.pkl-meta2{
		padding: 10px 10px 15px 0px;
	}
	
	.pkl-model{
	    padding: 2px 5px 2px 5px;
	}
}

@media (min-width: 768px){
	.pkl-meta{
		margin: -27px 8px -10px 8px;
		font-size: 14px;
	}
	
	.pktloop h2,
	.pktloop h3{
	    padding: 10px 14px 10px 14px;
	    height: 88px;
	    font-size: 16px;
	    margin-top: 0;
	    font-weight: normal;
	}
	
	.pkl-meta2{
		padding: 0 14px 15px 14px;
	}
	
	.pkl-model{
	    padding: 3px 5px 3px 5px;
	}
}

.pktloopv1{
	box-shadow: 0 1px 2px 0 rgba(0,0,0,.1);
    border-radius: 3px;
}

.pktloopv1:hover{
	box-shadow: 0 1px 20px 0 rgba(0,0,0,.05);
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
    z-index: 1;
}

.pktloopv2:hover{
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
    z-index: 1;
}

.pktloop{
	background: #FFF;
	display: block;
	color: #333 !important;
	border-radius: 3px;
}

.pktloop:hover{
	color: #333 !important;
}

.pkl-brand{
    margin: 6px 0 -46px 7px;
    z-index: 1;
    position: relative;
    opacity: 0.80;
}

.pkl-brand img{
	width: 40px;
	border-radius: 2px;
}

.pkl-image img{
	width: 100%;
	border-radius: 3px 3px 0 0 !important;
}

.pkl-meta{
    line-height: 1em;
}

.pkl-model{
	text-align: center;
	background: rgb(221 221 221 / 74%);
    border-radius: 11px;
    border: 1px solid #CCC;
    color: #777;
	text-overflow: ellipsis;
  	overflow: hidden; 
  	white-space: nowrap;
}

.pkl-no-model{
	height: 22px;
}

.pktloop h2,
.pktloop h3{
    letter-spacing: 0;
    line-height: 1.4em;
    color: #222;
    margin-bottom: 0;
}

.pkl-price span{
	font-size: 15px;
	margin-right: 2px;
}

.pkl-price{
	color: #fb5631;
	font-size: 20px;
	font-weight: bold;
}

.pkl-anouce{
	background: #EEE;
	font-weight: bold;
	color: #FFF;
	font-size: 14px;
	text-align: center;
	border-radius: 3px;
	line-height: 1.4em;
	padding: 3px 8px;
	display: inline;
    letter-spacing: 0.5px;
	font-family: var( --e-global-typography-primary-font-family ), Tahoma;
}

.pkl-anouce{
	background: #00BFA5;
}

.pkl-outofstock{
	background: #AAAAAA;
	font-weight: normal;
}

.pkl-wholesale{
	background: #AF621D;
}

.pkl-shipping{
	background: #41C106;
	font-style: italic;
}

/* LOOP S V.1 */

@media (min-width: 0px) {
	.pks-image{
		margin-top: -130px;
	}
}

@media (min-width: 768px){
	.pks-image{
		margin-top: -130px;
	}
}

@media (min-width: 970px){
	.pks-image{
		margin-top: -130px;
	}
}

.pkssoop{
	display: block;
    border: 1px solid #fbb929;
    box-shadow: 0px 0px 3px #fcc738 !important;
    border-radius: 6px;
    margin-bottom: 15px;
    background: #fbb929;
}

.pkssoop:hover{
	box-shadow: 0px 0px 5px #fbb929 !important;
    -moz-box-shadow:  0px 0px 5px #fcc738 !important;
}

.pks-brand{
	width: 55px;
    margin: 6px 0 0 7px;
    position: relative;
    z-index: 1;
}

.pks-brand img{
	border-radius: 3px !important;
}

.pks-badge{
	text-align: right;
	position: relative;
    z-index: 1;
}

.pks-badge img{
	width: 90px;
    margin: -20px -10px 0px 0;
}

.pks-image{
	border-bottom: 1px solid #fbb929;
}

.pks-image img{
	width: 100%; 
	border-radius: 5px 5px 0 0 !important;
}

.pkssoop h2,
.pkssoop h3{
	letter-spacing: 0px;
	font-size: 18px;
    line-height: 1.4em;
    font-family: "Prompt", Tahoma;
    font-weight: 600;
	margin: -5px 0 6px 0;
    color: #000;
    padding: 0 15px;
    height: 76px;
}

.pks-price{
	background: #FFF;
    border-radius: 7px;
    width: 100px;
    color: #fb5631;
    font-size: 20px;
    font-weight: bold;
    padding: 2px 0;
    margin: -9px auto 9px auto !important;
}

.pks-price span {
    font-size: 15px;
    margin-right: 2px;
}

@media (min-width: 0px) {
	.table-container-fade {
	    position: absolute;
	    right: 0;
	    width: 18px;
	    height: 100%;
	    background-image: -webkit-linear-gradient(90deg, rgba(255, 255, 255, 0.4), #FFF);
	    background-image: -moz-linear-gradient(90deg, rgba(255, 255, 255, 0.4), #FFF);
	    background-image: -ms-linear-gradient(90deg, rgba(255, 255, 255, 0.4), #FFF);
	    background-image: -o-linear-gradient(90deg, rgba(255, 255, 255, 0.4), #FFF);
	    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.4), #FFF);
	}
	
	.psubs-table{
		margin-right: -15px;
		padding-right: 15px;
	}
}

@media (min-width: 768px){
	.table-container-fade{
		display: none;
	}
	
	.psubs-table{
		margin-right: 0;
		padding-right: 0;
	}
}

.psubs-table{
	-webkit-overflow-scrolling: touch;
}

.psubs-table-header{
	text-align: center;
	margin-top: 15px;
}

.psubs-table-header img{
	width: 150px;
	border-radius: 6px !important;
    border: 1px solid #DDD !important;
}

.psubs-table-header h3{
	font-size: 14px;
    letter-spacing: 0;
    font-weight: bold;
    margin: 3px 0 16px 0;
    color: #555;
}

.psubs-table table thead{
	background: #eeeeee;
}

.psubs-table table thead th{
	color: #111;
	font-weight: bold;
}

.psubs-table table th, 
.psubs-table table tr, 
.psubs-table table td{
	border: 1px solid #DDD !important;
	font-size: 14px;
}

.psubs-table table td{
	background: #FFF !important;
	font-family: Tahoma, Geneva, sans-serif;
}

.psubs-table-hprice{
	background: #65B6D1;
	color: #FFF !important;
}

.psubs-table table td.psubs-table-price{
	background: #eff8fa !important;
	color: #0a914d;
    font-weight: bold;
    letter-spacing: 0.4px;
}

.psubs-table-remark{
	font-size: 12px;
    color: #999;
    text-align: right;
    margin-top: -18px;
    letter-spacing: 0.2px;
}

.psubs-table::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
}

.psubs-table::-webkit-scrollbar-thumb {
    border-radius: 5px;
    border: 3px solid #fff;
    background-color: rgba(0, 0, 0, .3);
}

.category-footer{
	margin-top: 40px;
    font-size: 14px;
    line-height: 1.6em;
}

.category-footer p{
	margin: 10px 0;
}

.category-footer h2{
	letter-spacing: 0;
    font-size: 20px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: -6px;
}

.category-footer h3{
	letter-spacing: 0;
    font-size: 18px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: -6px;
}

.category-footer h4{
	letter-spacing: 0;
    font-size: 16px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: -6px; 
}

.elementor-pagination .page-numbers{
	margin: 0 0 5px 0 !important;
	text-decoration: none;
}

.elementor-pagination .page-numbers.current{
	background: #8636AA;
    color: #FBEE02;
    display: inline-block;
    width: 40px;
    height: 38px;
    line-height: 40px;
    cursor: default;
    border-radius: 4px;
}

.elementor-pagination a.page-numbers{
	background: #FFF;
    padding: 0;
    border-radius: 4px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    color: #555;
    border: 1px solid #EFEFEF;
}

.elementor-pagination a.page-numbers:hover{
	border: 1px solid #8636AA;
	color: #8636AA;
	text-decoration: none;
}

.elementor-pagination a.page-numbers.next,
.elementor-pagination a.page-numbers.prev{
	width: auto;
	padding: 0 10px;
}

.elementor-pagination span.page-numbers.next,
.elementor-pagination span.page-numbers.prev{
	width: auto;
	padding: 0 10px;
	cursor: pointer;
}

.pkt-faqs h2{
	line-height: 20px !important;
	letter-spacing: 0;
}

.pkt-faqs .elementor-accordion-icon{
	font-size: 30px !important;
}

.pktcnt .elementor-icon-list-icon .elementor-avatar{
	border: 1px solid #DDD;
	padding: 3px;
}

.pkl-metaarticle .pkl-brand img{
	background: #ddf9fd;
    border-radius: 3px;
    padding: 5px;
}

.pkl-metaarticle .pkl-brand{
	opacity: 0.95;
}

.pkl-metaarticle .pkl-model{
    background: #666;
    border-radius: 4px;
    border: 1px solid #FFF;
    color: #FFF;
    width: 75px;
}

.pkl-metaarticle .pkl-ameta{
	color: #AAA;
	font-size: 14px;
	padding-top: 2px;
}

.pkl-metaarticle h2,
.pkl-metaarticle h3,
.pkl-metaarticle .pkl-meta2{
	background: #ddf9fd;
}

.pkl-metaarticle .pkl-meta2{
	border-radius: 3px;
}

.link-inline a{
	display: block;
}

.no-underline a{
	text-decoration: none !important;
}

.no-underline a:hover{
	text-decoration: underline !important;
}

.ecs-yoru .ecs-posts .elementor-button-wrapper {
    margin-top: 0;
} 

.yrstd{
	text-decoration: none;
	color: #b000ff;
}

.yrstd2{
	color: #b000ff;
	font-size: 16px;
}

.yrwait{
    font-size: 12px;
    margin-left: 3px;
    color: #F4A90E;
}

.yrwait2{
	color: #FF0000;
	font-size: 16px;
}

.yrwait2 i{
	color: #888;
}

@media (min-width: 0px) {
	.elementor-widget-image-box.elementor-vertical-align-middle.mspecic .elementor-image-box-img{
		margin-left: auto !important;
		margin-right: auto !important;
	}
	
	.elementor-widget-image-box.mspecic .elementor-image-box-description {
	    margin: 0 auto;
	}
	
	.dateprice{
		font-size: 11px;
		color: #999;
		text-align: right;
		margin: -22px 10px 5px !important;
	}
}

@media (min-width: 768px){
	.elementor-widget-image-box.elementor-position-left.mspecic .elementor-image-box-wrapper, 
	.elementor-widget-image-box.elementor-position-right.mspecic .elementor-image-box-wrapper {
	    display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
	}

	.mspecic.elementor-widget-image-box .elementor-image-box-content {
	    width: 100%;
	}

	.elementor-widget-image-box.elementor-vertical-align-middle.mspecic .elementor-image-box-wrapper {
		-webkit-box-align: center;
	    -ms-flex-align: center;
	    align-items: center;
	}

	.elementor-widget-image-box.mspecic .elementor-image-box-description {
	    margin: 0;
	}
	
	.elementor-widget-image-box.elementor-vertical-align-middle.mspecic .elementor-image-box-img{
		margin-left: auto !important;
		margin-right: 11px !important;
	}
	
	.keep-icon-box-left2.elementor-widget-icon-box .elementor-icon-box-wrapper {
		display: flex;
		flex-direction: row;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
	}
	
	.keep-icon-box-left2.elementor-widget-icon-box .elementor-icon-box-icon {
		flex: 0 0 auto;
		display: flex;
		margin-left: 0px !important;
		margin-right: 10px !important;
	}
	
	.dateprice{
		font-size: 11px;
		margin: -22px 15px 0px !important;
	}
}

@media (min-width: 970px){
	.dateprice{
		font-size: 11px;
		margin: -22px 0 -10px 0 !important;
	}
}

.keep-icon-box-left.elementor-widget-icon-box .elementor-icon-box-wrapper {
	display: flex;
	flex-direction: row;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.keep-icon-box-left.elementor-widget-icon-box .elementor-icon-box-icon {
	flex: 0 0 auto;
	display: flex;
	margin-left: 0px !important;
	margin-right: 10px !important;
}

.a-width a{
	width: 100%
}

.sfooterd p{
	margin-bottom: 10px;
	color: #444 !important;
}

.sfooterd p:last-child{
	margin-bottom: 0;
}

.sfooterd h2{
	font-size: 16px !important;
	font-weight: bold;
	color: #000 !important;
	margin: 0 0 4px 0;
}

.sfooterd h3{
	font-size: 15px !important;
	font-weight: bold;
	color: #333 !important;
	margin: 0 0 6px 0;
	letter-spacing: 0.6px;
}

.sfooterd h4{
	font-size: 14px !important;
	font-weight: bold;
	color: #444 !important;
	margin: 0 0 3px 0;
	letter-spacing: 0.5px;
}

.sfooterd ol, .sfooterd ul{
	margin-bottom: 10px;
}

.table-process{
	padding: 13px 0;
	letter-spacing: 0.7px;
	font-size: 16px;
}

.yramin{
	color: #AAA;
}

.spectable tbody td{
	background-color: #FAFAFA !important;
}

@media (min-width: 768px){
	.spectable tbody td:first-child{
		width: 320px;
	}
}

.spectable tbody td:first-child{
	text-align: right;
	font-weight: bold;
	vertical-align: middle;
}

.spectable tbody td:last-child{
	text-align: left;
	width: auto;
	font-weight: normal;
	vertical-align: middle;
}

.checkpricelink a{
	text-decoration: none !important;
}

.checkpricelink a:hover{
	text-decoration: underline !important;
}

.dataarlink a,
.dataarlink a span{
	color: #333333 !important;
}

.datasheet-table .tablepress thead th{
	text-align: left;
	font-weight: bold;
	background: #F6F6F6;
	color: #000;
	font-size: 16px;
	border-bottom: 1px solid hsla(0,0%,50.2%,.5019607843137255);
}

.datasheet-table .tablepress thead{
	display: none;
}

.datasheet-table table tbody>tr:nth-child(odd)>td{
	background: none;
}

.datasheet-table .tablepress tbody td{
	font-size: 15px;
	border: none;
	color: #CCC;
	padding: 0;
	line-height: 1.5em;
	margin-bottom: 3px;
}

.datasheet-table .tablepress tbody td a{
	color: #333;
	text-decoration: none;
}

.datasheet-table .tablepress tbody td a:hover{
	text-decoration: underline;
	color: #000;
}

.datasheet-table .tablepress tbody td i{
	margin-right: 5px;
	font-size: 13px;
}

.datasheet-table .tablepress tbody tr{
	border: none;
}

.datasheet-table .tablepress .row-hover tr:hover td {
    background: none;
}

.datasheet-table .dataTables_wrapper{
	margin-bottom: 0;
}

.datasheet-table .dataTables_filter label{
	font-size: 12px;
	color: #CCC;
}

.datasheet-table .dataTables_filter{
	margin-bottom: 10px;
}

.datasheet-table .dataTables_filter input{
	font-size: 12px;
	padding: 3px 10px;
	border: 1px solid #CCC;
	margin: 0;
	width: 200px;
	color: #333;
}

.datasheet-table .dataTables_info{
	font-size: 12px;
    font-style: italic;
    color: #BBB;
}

.datasheet-table .tablepress .dataTables_empty{
	color: #ff6e6e;
}

.datasheet-table .dataTables_filter input::-webkit-input-placeholder{
	color: #CCC;
}
.datasheet-table .dataTables_filter input:-ms-input-placeholder{
	color: #CCC;
}
.datasheet-table .dataTables_filter input::placeholder {
	color: #CCC;
}

.fbside{
	text-align: center;
}

.imgblock img{
	display: block;
}

a.datasheetpdf{
	text-decoration: none !important;
}

a.datasheetpdf:hover{
	text-decoration: underline !important;
} 

@media (min-width: 0px) {
	.databox .dataTables_filter{
		margin: 35px 0 6px 0;
	}
}

@media (min-width: 768px){
	.databox .dataTables_filter{
		margin: 0 0 10px 0;
	}
}

.yoru-spectb .yrwait{
	display: none;
}

div.elementor-tab-title > a{
	text-decoration: none;
}

.yr-article ol,
.yr-article ul{
	margin-bottom: 16px;
}

.yr-article ol li,
.yr-article ul li{
	margin-bottom: 5px;
}

@media (min-width: 0px) {
    .use-list li {
        float: none;
        width: 100%;
        margin-right: 0;
        font-size: 14px;
    }
	
	.loopuse h2{
		height: 59px;
		overflow: hidden;
	}
}

@media (min-width: 768px) {
    .use-list li {
        float: left;
        width: 48%;
        margin-right: 2%;
        font-size: 16px;
    }
	
	.loopuse h2{
		height: 45px;
	}
}

@media (min-width: 970px) {
    .use-list li {
        float: left;
        width: 48%;
        margin-right: 2%;
        font-size: 16px;
    }
	
	.loopuse h2{
		height: 45px;
	}
}

.use-list ul:after {
    clear: both;
    display: block;
    content: " ";
}

.use-list li {
    margin-bottom: 5px;
}

.yr-main-menu ul.elementor-nav-menu--dropdown{
	border: 1px solid rgb(174, 120, 198) !important;
}

.yr-main-menu ul.elementor-nav-menu--dropdown ul.elementor-nav-menu--dropdown{
	border-radius: 0 4px 4px 0 !important;
}

#word-archive {
    display: flex;
    flex-direction: row;
    gap: 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    background-color: #f9f9f9;
	margin-bottom: 15px;
}

#word-tabs {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-right: 1px solid #ddd;
    margin-bottom: -1px;
}

.word-tab {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    text-align: center;
    width: 40px;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

.word-tab:hover {
    background-color: #FBF002;
}

.word-tab.active {
    background-color: #8636aa; /* สีเดียวกับ word-contents */
    font-weight: bold;
    border-right: none;
    color: #FFF;
}

#word-contents {
    flex-grow: 1;
	padding: 20px 25px;
    background-color: #FFFFFF; /* พื้นหลังด้านขวา */
}

/* Default: Desktop - X คอลัมน์ */
.word-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 8px 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.word-list li {
	padding: 14px 13px 10px 13px;
    line-height: 1em;
    background: #f7f7f7;
    border-radius: 4px;
    border: 1px solid #EEE;
}

.word-list .translation {
    font-size: 14px;
    color: #888;
}

.word-list li a:hover {
    text-decoration: underline;
}

/* Tablet: X คอลัมน์ */
@media (max-width: 1023px) {
    .word-list {
        grid-template-columns: repeat(1, 1fr);
    }
	
	#word-contents {
		padding: 15px 15px;
	}
}

/* Mobile: 1 คอลัมน์ */
@media (max-width: 767px) {
    #word-archive {
        flex-direction: column;
    }

    #word-tabs {
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

    .word-tab {
        flex: 1 0 auto;
        border-right: 1px solid #ddd;
    }

    .word-tab:last-child {
        border-right: none;
    }

    .word-list {
        grid-template-columns: 1fr;
    }
	
	.word-tab.active {
		border-bottom: 1px solid #8636aa;
	}
	
	.word-list .translation {
		display: block;
		margin-bottom: 3px;
	}
}

.word-cable p{
	margin-bottom: 10px;
}

.word-cable p:last-child{
	margin-bottom: 0;
}

.ellipsis-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
    box-sizing: border-box;
}

.ellipsis-text a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
    box-sizing: border-box;
}

.word-name{
	font-family: 'Lexend', sans-serif;
    font-weight: bold;
    margin-bottom: 3px;
    display: inline-block;
    text-decoration: none;
	margin-right: 1px;
	font-size: 18px;
	color: #000;
}

.word-meaning{
	font-size: 15px;
    line-height: 1.4em;
}

.word-pron{
    font-size: 12px;
    color: #b378cd;
	margin-bottom: 3px;
}
















