/*------------------------
	SEARCH
------------------------*/

#search-wrapper input#search-input{
	width: 100%;
	height: 45px;
	background: #f1f1f1;
	border:0px;
	text-align: center;
	position: relative;
	z-index: 5;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

#suggest-result li{
	list-style: none;
}
#suggest-area li{
	padding-right: var(--gutter);
	padding-left: var(--gutter);
}
#suggest-area li a
{
	padding-top: calc(var(--gutter) / 2);
	padding-bottom: calc(var(--gutter) / 2);
}
#suggest-area ul li a{
	width: 100%;
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex;
	font-weight: bold;
}
#suggest-area ul li:not(.product_card_img) a,
#suggest-area ul li.product_card_img a span.term
{
	white-space: break-spaces;
}
#suggest-area ul li a span.suggest-hl{
	font-weight: normal;
}
#suggest-result ul li:not(.product_card_img) a:before{
	font-family: "Font Awesome 5 Pro";
	content: "\f002"; 
	font-weight: 200;
	margin-right: 5px;
	margin-top: 3px;

}
#suggest-no-result{
	padding: 0 var(--gutter);
}
#suggest-result ul li.product_card_img{
	line-height: normal;
}
#suggest-result ul li.product_card_img a{
	height: 100%;
}
#suggest-result ul li.product_card_img a div{
	align-self: center;
}
.elastic--title,
.search-history-header{
	font-weight: 600;
	margin-bottom: calc(var(--gutter ) / 2);
	padding-left: var(--gutter);
	padding-right: var(--gutter);
	border-bottom: 1px solid #ddd;
	line-height: 30px;
	display: block;
	width: 100%;
	margin-top: var(--gutter);
}
.elastic--btn a {
	font-weight: 600;
	-ms-flex-align: center;
	-webkit-box-align: center;
	align-items: center;
	-ms-flex-pack: center;
	-webkit-box-pack: center;
	justify-content: center;
	text-align: center;
	background: #3cd28e;
	color:#fff;
	height: 45px;
	margin-top: var(--gutter);
}
.search-history-header{
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex;
}
#search-history-clear{
	font-weight: normal;
	color: var(--danger-color);
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex;
	font-size: 12px;

}
#search-history-clear:before{
	content: "-";
	margin: 0 calc(var(--gutter)/2);
	color: var(--base-color1);
}
#search-history-clear:after{
	font-family: "Font Awesome 5 Pro";
	content: "\f00d";
	font-weight: 200;
	color: var(--danger-color);
	margin-left: 5px;
	font-size: 8px;
	height: 12px;
	border: 1px solid var(--danger-color);
	border-radius: 20px;
	line-height: 11px;
	width: 12px;
	text-align: center;
	margin-top: 9px;
} 
.search-popular-li a:before{
	font-family: "Font Awesome 5 Pro";
	content: "\f005"; 
	font-weight: 200;
	margin-right: 5px;
	margin-top: 3px;
}
.search-history-li a:before{
	font-family: "Font Awesome 5 Pro";
	content: "\f017"; 
	font-weight: 200;
	margin-right: 5px;
	margin-top: 3px;
}

.LSS_Input:after{
	z-index: 5;
}

.matched-group-wrapper{
	-ms-flex-align: center;
	-webkit-box-align: center;
	align-items: center;
	-ms-flex-pack: center;
	-webkit-box-pack: center;
	justify-content: center;
	text-align: center;
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex;
	flex-wrap: wrap;
}
.matched-group-wrapper{
	margin-bottom: calc(var(--gutter) * 2);
}
ul.matched-group-wrapper,
ul.matched-group-wrapper li{
	list-style: none;
}
.matched-group-title{
	-ms-flex-align: center;
	-webkit-box-align: center;
	align-items: center;
	-ms-flex-pack: center;
	-webkit-box-pack: center;
	justify-content: center;
	text-align: center;
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex;
	border: 1px solid #999;
	cursor: pointer;
	margin: calc(var(--gutter)/2);
	height: 45px;
	padding:  0 calc(var(--gutter) * 2);
	color: #555;
	order: 1;
}
.matched-group-title * {
	cursor: pointer;
}
.matched-group-title label{

}
.matched-group-title.active label{
font-weight: bold;
}
.matched-group-title span{
	font-size: 12px;
	margin-left: 3px;
}
.matched-group-title.active {
	border: 1px solid #000;
	color: #000;
}
.matched-group-title.active  label{

}
.matched-group-item-wrapper, 
.matched-group-item-wrap.active{
	-ms-flex-align: flex-start;
	-webkit-box-align: flex-start;
	align-items: flex-start;
	-ms-flex-pack: center;
	-webkit-box-pack: center;
	justify-content: center;
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex;
	width: 100%;
	flex-flow: wrap;
}
.matched-group-item-wrap.active{
	margin-top: calc(var(--gutter) * 2);
}
.matched-group-item-wrap {
	display: none;
	order: 2;
}

.matched-group-item {
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex;
	margin: calc(var(--gutter) / 2);
}


/* DESKTOP*/
@media screen and (min-width: 48em) {
	#suggest-area{
		display: none;
		background: #ffffff;
		position:absolute;
		width: calc(100% - var(--gutter) * 2);
		left:var(--gutter);
		box-shadow: 0 0px 15px -5px rgba(0,0,0,0.57);
		-webkit-box-shadow: 0 0px 15px -5px rgba(0,0,0,0.57);
		-moz-box-shadow: 0 0px 15px -5px rgba(0,0,0,0.57);
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0;
		max-height: 80vh;
		overflow-y: scroll;
		overflow-x: hidden;

	}
	#search-wrapper input#search-input:hover,
	#search-wrapper input#search-input:focus{
		background: #f7f7f7;
	}
	.matched-group-item a:hover{
		background: #f1f1f1;
	}

	#suggest-area ul li:hover{
		background: #f1f1f1;
	}
	#suggest-area ul li:hover a{
		color: #444;
	}
}

@media screen and (max-width: 47.99em) {
	.elastic-search-result{
		padding-bottom: 30px;
	}
	.matched-group-item-wrapper, .matched-group-item-wrap.active{
		justify-content: start;
	}
	.elastic--btn{
		position: fixed;
		bottom: 0;
		width: 100%;
	}
	.matched-group-title{
		height: 30px;
		padding: 0 calc(var(--gutter) / 2);
	}
	.matched-group-item-wrap.active {
		margin-top: calc(var(--gutter));
	}
	#search-wrapper input#search-input{
		font-size: 16px;
	}
	.matched-group-title{
		margin: calc(var(--gutter)/4);
	}
}