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

.sokrutan {position: relative;}

#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;*/
	padding: 12px 60px;
    border: 0;
    background: var(--base-background3);
    width: 100%;
    font-size: 16px !important;
    font-weight: 400;
    -webkit-appearance: none;
    text-align: left;
    border-radius: 30px;
}


#suggest-area ul li{
	list-style: none;
	line-height: 30px;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}
#suggest-area ul li a{
	width: 100%;
	display: block;
}
#suggest-area ul li:not(.search-popular-li) a {font-weight: 600;}
#suggest-area ul li a span:before{
	font-family: "Font Awesome 5 Pro";
	content: "\f002"; 
	font-weight: 200;
	margin-right: 5px;
}
#suggest-area .categories-brands-wrapper ul li a span::before {
	display: none;
}
#suggest-area ul li a span.suggest-hl{
font-weight: 400;
}
#suggest-no-result{
	padding: 0 var(--gutter);
}
#suggest-init {padding: 10px 0;}

.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;
}
.search-history-li a:before{
	font-family: "Font Awesome 5 Pro";
	content: "\f017"; 
	font-weight: 200;
	margin-right: 5px;
}

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

.air-slider input[type=range] {
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 100%;
	margin: 0;
	padding: 0 2px;
	/* Add some L/R padding to ensure box shadow of handle is shown */
	overflow: hidden;
	border: 0;
	border-radius: 1px;
	outline: none;
	background: linear-gradient(grey, grey) no-repeat center;
	/* Use a linear gradient to generate only the 2px height background */
	background-size: 100% 2px;
	pointer-events: none;
	left:0;
  }
  .air-slider input[type=range]:active,
  .air-slider input[type=range]:focus {
	outline: none;
  }
  .air-slider input[type=range]::-webkit-slider-thumb {
	height: 20px;
	width: 20px;
	border-radius: 20px;
	background-color: #fff;
	position: relative;
	margin: 5px 0;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	pointer-events: all;
	box-shadow: 0 1px 4px 0.5px rgba(0, 0, 0, 0.25);
  }
  .air-slider input[type=range]::-moz-range-thumb {
	height: 15px;
	width: 15px;
	border-radius: 20px;
	background-color: #fff;
	position: relative;
	margin: 5px 0;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	pointer-events: all;
	box-shadow: 0 1px 4px 0.5px rgba(0, 0, 0, 0.25);
  }
  .air-slider {
	position: relative;
	height: 50px;
  }
  .air-slider input[type=range] {
	position: absolute;
  }
  .air-slider input[type=range]:nth-child(1)::-webkit-slider-thumb::before {
	background-color: red;
  }
  .air-slider input[type=range]:nth-child(2) {
	background: none;
	z-index: 1;
  }
  .air-slider input[type=range]:nth-child(2)::-webkit-slider-thumb::before {
	background-color: grey;
  }

  .loaderz {display: none !important;}

.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); */
		width: 150%;
		left: calc(-50% - 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;
		transform: translateY(10px);
	}
	#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;
	}*/
	.categories-brands-wrapper a.general-btn {
		position: absolute;
		bottom: 10px;
		width: calc(100% - 20px);
		left: 10px;
	}
}

@media screen and (max-width: 47.99em) {
	.elastic-search-result{
		padding-bottom: 60px;
	}
	.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);
	}
	#suggest-area {background: #fff; display: none; position: absolute; width: 100%; max-height: 70vh; overflow: auto; box-shadow: var(--main-box-shadow);}
	#search-wrapper input#search-input{border-radius: 0; padding: 16px 60px;}
}