form.searchform.loading:after {
	content: '';
	display: block;
	width: 25px;
	height: 25px;
	background-image: url(/wp-content/themes/designspiegels/asset/img/spinner.svg);
	position: absolute;
	background-size: 125% 125%;
	background-position: center;
	top: 10px;
	right: 41px;
}

.searchform button {
	cursor: pointer;
	position: absolute;
	right: 21px;
	top: 50%;
	transform: translateY(-50%);
}

.search_result_container {
	position: absolute;
	top: 100%;
	left: 0px;
	width: 100%;
	background: #f7f7f7;
	max-height: calc(100vh - 240px);
	overflow: auto;
	box-sizing: border-box;
}

.search_result a {
	display: block;
	overflow: hidden;
}

.search_result.product .search_thumb {
	width: 80px;
	float: left;
}

.search_result.product .search_item_text {
	float: right;
	width: calc(100% - 100px);
	text-align: left;
}

.search_item_text {
	font-size: 13px;
	line-height: 1.4;
}

.search_item_title {
	font-weight: 600;
	color: #383838;
}

.category .search_item_title {
	font-size: 12px;
}

.search_item_price {
	margin-top: 10px;
}

.search_item_price del {
	margin-right: 8px;
}

.search_item_price .product_card_price_sale {
	font-size: 13px;
	display: inline-block;
	margin-right: 8px;
}

li.search_result.product:hover .product_card_price_sale {
	color: white;
}

li.search_result.product:hover .product_card_price_regular_wrapper {
	color: white;
}

.search_item_price .product_card_price_regular_wrapper {
	display: inline-block;
}

.search_item_price .regular_price_prefix {
	display: none;
}

.search_result_container {
	background-color: #ffffff;
}

.search_result_container ul li {
	border: none;
	margin-bottom: 0;
	display: block;
	padding: 0;
	margin-left: 0px;
	flex-wrap: wrap;
}

.search_result_container ul a {
	padding: 11px 15px;
}

.highlight {
	font-weight: 800;
	color: black;
}

.search_results {
	display: none;
}

.searchform.active .search_results {
	display: block;
}

.close_results {
	display: none;
	position: absolute;
	width: 16px;
	height: 16px;
	right: 30px;
	top: 15px;
	cursor: pointer;
	background-image: url(/wp-content/themes/designspiegels/asset/img/close-white.svg);
	background-size: 14px;
	background-position: center;
	background-color: #3cafcb;
	border-radius: 50%;
}

.searchform.has_input .close_results {
	display: block;
}

.search_results.loader_active {
	text-align: center;
}

.searchform button {
	right: 10px;
}

.no_search_results {
	padding: 15px 0;
	font-size: 12px;
	font-weight: 500;
	display: none;
}

.searchform.active.no_results .no_search_results {
	display: block;
}

.no_search_results > p {
	margin-bottom: 10px;
	padding: 0 15px;
}

.no_search_results .result_section {
	margin-bottom: 25px;
}

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

.no_search_results > p > a {
	border: 1px solid #B9B9B9;
	border-radius: 5px;
	display: block;
	padding: 12px;
	text-align: center;
	line-height: 15px;
}

.no_search_results > p > a:active,
.no_search_results > p > a:focus,
.no_search_results > p > a:hover {
	background-color: #3cafcb;
	color: white;
	border-color: #3cafcb;
}

.result_section.categories {
	border-bottom: 1px solid #cccccc;
}

ul.result_section.categories:before {
	content: 'Categorieën';
}

ul.result_section:before {
	text-align: right;
	display: block;
	font-size: 10px;
	padding-top: 3px;
	padding-right: 15px;
}
}

ul.result_section.categories:before {
	content: 'Categorieën';
}

ul.result_section.products:before {
	content: 'Populaire producten';
}

.no_search_results ul.result_section.products:before {
	content: 'Bestsellers';
}

ul.result_section:empty {
	display: none;
}

.searchform.focus .focus_overlay {
	content: '';
	display: block;
	background: rgb(77 137 151 / 30%);
	position: fixed;
	width: 100vw;
	height: 100vh;
	left: 0;
	top: 0;
}

.searchform input {
	background-color: white;
	position: relative;
	border: 1px solid #B9B9B9;
	border-radius: 5px;
}

.searchform {
	overflow: visible;
	box-sizing: border-box;
	overflow: visible;
	position: relative;
	z-index: 10;
}

.search_result_container ul li:hover {
	background-color: #3cafcb;
}

.search_result_container ul li:hover a,
.search_result_container ul li:hover .search_item_title,
.search_result_container ul li:hover .highlight {
	color: white;
}

.more_search_results {
	font-size: 12px;
	font-weight: 500;
	text-align: center;
	padding: 10px 15px 10px;
}

.more_results_button {
	cursor: pointer;
	width: 100% !important;
	font-weight: 500;
	padding: 12px !important;
}

.more_results_button:active,
.more_results_button:focus,
.more_results_button:hover {
	background-color: #3cafcb;
	color: white;
	border-color: #3cafcb;
}

.more_search_results {
	display: none;
}

.searchform.focus.more_results .more_search_results {
	display: block;
}

.mobile_close_focus {
	display: none;
}

li.search_result.product:hover .product_card_price_regular:after {
	background-color: white;
}

@media (max-width: 1030px) {
	.search_focus .searchmobile {
		position: fixed;
		top: 0;
		z-index: 99;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: white;
		overflow-y: auto;
		box-sizing: border-box;
	}

	.search_result_container {
		max-height: none;
	}

	.focus_overlay {
		display: none !important;
	}

	body.search_focus {
		height: 100vh;
		overflow-y: hidden;
		box-sizing: border-box;
	}

	.search_result_container ul a {
		padding-left: 10px;
		padding-right: 10px;
	}

	.search_result.product .search_thumb {
		width: 70px;
	}

	.search_result.product .search_item_text {
		width: calc(100% - 90px);
	}

	.search_focus .searchform {
		width: 100%;
		padding-left: 10px;
		padding-right: 10px;
	}

	.close_results {
		right: 40px;
	}

	.searchform button {
		right: 18px;
	}

	.search_focus .close_results {
		right: 110px;
	}

	.search_focus .searchform button {
		right: 88px;
	}

	.searchform input {
		padding-left: 13px;
	}

	.search_focus .searchform input {
		width: calc(100% - 70px);
	}

	.search_focus .mobile_close_focus {
		display: block;
		position: absolute;
		right: 20px;
		color: #3cafcb;
		font-size: 13px;
		top: 50%;
		transform: translate(0, -50%);
		font-weight: 500;
	}
}
