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

#search-wrapper input#search-input{
	width: 100%;
	height: 45px;
	background: #fff;
	border:0px;
	text-align: center;
	position: relative;
	z-index: 5;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}
.search-result-wrapper .search-head-text,
.search-result-wrapper .result-suggestions.matched-group-title,
.matched-group-wrapper .matched-categories {
	padding: 0 6px !important;
}
.search-result-wrapper .tabs li {
	height: auto;
	border: none;
}

.elastic-search-container {
    display: flex;
	justify-content: space-between;
}
.elastic-search-result-container {
    margin: 0.5rem;
}
.elastic-search-result-container > li{
	margin-top: calc(1em + 0.5rem);
	margin-bottom: calc(1em + 0.5rem);
}
.elastic-search-result-container {
	width: 25%;
	flex-basis: 25%;
}
.elastic-search-result-container.container__suggestions {
	width: 90%;
	flex-basis: 90%;
	margin: auto;
}
.elastic-search-result-container .LSS_Suggestions {
	flex-wrap: wrap;
}
.elastic-search-result-container .LSS_Suggestions li {
	margin-right: 1rem;
}
.elastic-search-result-container.container__products {
	width: 50%;
	flex-basis: 50%;
}
#suggest-result:not(:empty) {
    padding: 2rem;
}
#suggest-result li{
	list-style: none;
}
#suggest-area {
	height: 100vh;
}
#suggest-area li{
	padding-right: var(--gutter);
	padding-left: var(--gutter);
}
#suggest-area .elastic-search-result li:not(.product_card_img){
	border-bottom: 1px dashed #ddd;
}
#suggest-area .LSS_Varumarken li a {
    border-bottom: none;
}

#suggest-area .close {
	top: 15px;
}
#suggest-area .close:after {
    content: "X";
}
#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;
	align-items: baseline;
}
#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{
	content: ""; 
	/* font-family: "Font Awesome 5 Pro";
	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;
	margin: 1rem 0;
}
#suggest-result ul li.product_card_img a{
	height: 100%;
	display: block;
    text-align: center;
}
#suggest-result ul li.product_card_img a div{
	align-self: center;
}
#suggest-result ul li.product_card_img img{
	max-width: 120px;
}

.elastic--title,
.search-history-header{
	font-weight: 600;
	margin-bottom: calc(var(--gutter ) / 2);
	padding-left: var(--gutter);
	padding-right: var(--gutter);
	line-height: 30px;
	display: block;
	width: 100%;
	margin-top: var(--gutter);
	margin-bottom: 0.5rem;
	text-align: center;
	font-size: 18px;
	border: none;
	font-family: 'HelveticaNeue-Bd', sans-serif;
}
.elastic--title:after,
.search-history-header .search-history-title:after {
    display: block;
    content: '';
    background: #e30613;
    height: 1px;
    width: 100px;
    margin: 10px auto;
}
.elastic--btn {
	margin-top: 1rem;
}
.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: #333333;
	color:#fff;
	height: 45px;
	margin-top: var(--gutter);
	padding: 10px;
	border-radius: 5px;
}
#suggest-init {
	padding: 1rem;
}
.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);
	margin-inline: 5px;
}
#search-history-clear:after{
	content: "";
}
#search-history:empty {
	display: none;
}
#search-history {
	padding: 1rem;
	width: 50%;
}
#search-history .search-history-li {
	list-style-type: none;	
}
#search-history .search-history-li a:before {
	content: "";
}
#search-popular,
#search-trending {
	padding: 1rem;
	width: 50%;
}
#search-popular .search-popular-li,
#search-trending .search-trending-li {
	list-style-type: none;
}
#search-popular .search-popular-li a:before,
#search-trending .search-trending-li a:before {
	content: "";
}

.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);
}
.matched-group-wrapper .container__suggestion {
    display: flex;
    order: -1;
    width: 100%;
    border: none;
    padding: 0;
}
.matched-group-wrapper .container__suggestion .matched-group-title{
    width: auto;
    height: auto;
    border: none;
}
.matched-group-wrapper .matched-group-item {
    order: 2;
    font-family: 'HelveticaNeue-Bd', sans-serif;
	margin-right: 0.25em;
}
ul.matched-group-wrapper,
ul.matched-group-wrapper li{
	list-style: none;
}
.search-result-wrapper .matched-group-title{
	-ms-flex-align: center;
	-webkit-box-align: center;
	align-items: center;
	-ms-flex-pack: start;
	-webkit-box-pack: start;
	justify-content: start;
	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;
	width: 100%;
}
.container__categories .elastic-search-result {
    display: flex;
    flex-direction: column;
}
.elastic-search-result li {    
    margin: 0.5rem 0;
}
.matched-group-title * {
	cursor: pointer;
}
.matched-categories {
    display: flex;
    flex-direction: column;
    font-size: 18px;
    justify-content: start;
    margin-top: 0.5rem;
}
.matched-categories span,
.matched-categories a,
.matched-categories b{
    width: 100%;
    text-align: left;
	font-size: 14px;
}
.matched-categories span{
    margin: 0;
    margin-top: 1rem;
}
.matched-group-title.active label{
	font-weight: bold;
}
.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);
}
.container__filter .select-wrapper:after {
    content:"";
}
.container__filter .filter {
	flex-wrap: nowrap;
}
.container__filter .container__selectbox > div{
	display: flex;
	justify-content: end;
}
.container__filter .filter-div {
	margin-bottom: 0;
}
.container__filter .select-ul-li {
	padding: 6px !important;
	text-align: left;
}
.elastic-search-product-results {
	width: 100%;
}
.elastic-search-product-results .PT_Knappar {
	border: 0;
    border-bottom: 3px solid #b1050f;
    background-color: #e30613;
    height: 60px;
    line-height: 60px;
}
.elastic-search-product-results .PT_Knappar a,
.elastic-search-product-results .PT_Knappar span {
    color: #fff;
    font-size: 21px;   
}
.elastic-search-product-results .info-link {
	display: none;
}
.elastic-search-product-results .PT_Bildruta {
	display: contents;
}

.elastic-search-product-results .PT_Bildruta img{
	padding: 1rem;
	max-width: 200px;
}

.elastic-search-product-results .PT_Faktaruta {
	text-align: left;
}

.elastic-search-product-results .PT_Beskr {
	font-size: 18px;
	font-weight: bold;
	height: 50px;
}
.elastic-search-product-results .Artgrp_VisaFler {
	display: block;
	margin-top: 1rem;
	font-size: 18px;
	text-align: center;
	float: left;
    width: 100%;
}
.elastic-search-product-results .Artgrp_VisaFler a:last-child{
	margin-left: 0.25em;
}
/* DESKTOP*/
@media screen and (min-width: 48em) {
	#suggest-area{
		display: none;
		background: #ffffff;
		position: absolute;
		right: 0;
		max-width: 1200px;
		width: 100vw;
		border-radius: 0;
		max-height: 90vh;
		overflow-y: scroll;
		overflow-x: hidden;
		z-index: 101;
		box-shadow: 0 0 6px 0 rgb(200 200 200 / 80%);
		-moz-box-shadow: 0 0 6px 0 rgba(200, 200, 200, 0.8);
		-webkit-box-shadow: 0 0 6px 0 rgb(200 200 200 / 80%);
	}
	#search-wrapper input#search-input:hover,
	#search-wrapper input#search-input:focus{
		background: #f7f7f7;
	}
	#suggest-area ul li:hover a{
		color: #444;
	}
	.elastic-search-result {
		display: flex;
		flex-wrap: wrap;
	}
	.product_card_img {
		width: 50%;
	}
	.product_card_img .Beskr:hover {
		color: black;
		font-weight: 600;
	}
}

@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 {
		background-color: #fff;
		overflow: auto;
	}
	#search-wrapper input#search-input{
		font-size: 16px;
	}
	#suggest-area .close {
		display: none;
	}
	.elastic-search-container {
		flex-direction: column;
	}
	.elastic-search-result-container {
		width: 100%;
		flex-basis: 100%;
	}
	.elastic-search-result-container:first-child {
		width: 100%;
		flex-basis: 100%;
	}
	.matched-group-title{
		margin: calc(var(--gutter)/4);
	}
}