.jvh_search {
	position: relative;
	z-index: 999;
	font-family: 'Lato', sans-serif;
}

.jvh_search_wrapper.open {
	display: block;
}

#jvh_search_trigger {
	cursor: pointer;
}

#jvh_search_field {
	border: none;
	padding: 12px 10px;
	border-radius: 5px;
	max-width: 100%;
	background-color: #9DB730;
	color: white;
	width: 553px;
	max-width: 100%;
	background-image: url(/modules/addons/ajax_search_frontend/assets/img/search.svg);
	background-repeat: no-repeat;
	background-position: 13px 16px;
	padding-left: 47px;
	letter-spacing: 0.3px;
	font-family: 'Open Sans';
	font-size: 15px;
	font-weight: 400;
}

#jvh_search_field::placeholder {
	color: white;
	letter-spacing: 0.3px;
	font-family: 'Open Sans';
	font-size: 15px;
	font-weight: 400;
}

.jvh_search_results {
	background: white;
	padding: 15px;
	height: calc(100vh - 69px);
	overflow: auto;
	box-shadow: 0 2px 10px 0 rgb(0 0 0 / 20%);
	display: none;
	position: fixed;
	right: 0;
	top: 0;
	top: 69px;
}

.jvh_search_results,
.close_button_wrapper {
	width: 636px;
	max-width: 100%;
}

.closed .jvh_search_results {
	display: none !important;
}

.closed .close_search {
	display: none;
}

.search_field_wrapper {
	position: relative;
}

.jvh_loader {
	width: 45px;
	height: 45px;
	background-image: url(/modules/addons/ajax_search_frontend/assets/img/loader.svg);
	background-size: cover;
	position: absolute;
	right: 0;
	top: 0;
	display: none;
}

.loading .jvh_loader {
	display: block;
}

.close_search {
	width: 20px;
	height: 20px;
	background-image: url(/modules/addons/ajax_search_frontend/assets/img/close.svg);
	position: absolute;
	right: 10px;
	top: 0;
	background-position: center;
	background-repeat: no-repeat;
	top: 50%;
	transform: translate(0, -50%);
	cursor: pointer;
}

.loading .close_search {
	display: none;
}

.section.result {
	display: none;
}

.jvh_search_results .section_title {
	color: #3C3C3B;
	font-size: 12px;
	line-height: 15px;
	font-weight: bold;
	text-transform: uppercase;
	border-bottom: 1px solid #DBDBDB;
	padding: 5px;
	margin-bottom: 15px;
	cursor: pointer;
	position: relative;
}

.jvh_search_results .section_title:after {
	content: '';
	background-image: url(/modules/addons/ajax_search_frontend/assets/img/chevron-down.svg);
	background-repeat: no-repeat;
	background-position: center;
	width: 13px;
	height: 14px;
	position: absolute;
	right: 10px;
	top: 1px;
}

.section.collapsed .result_items {
	display: none;
}

.section.collapsed .section_title:after {
	background-image: url(/modules/addons/ajax_search_frontend/assets/img/chevron-up.svg);
}

.jvh_search_results .result_title {
	font-size: 14px;
	line-height: 17px;
	color: #3C3C3B;
	font-weight: bold;
}

.jvh_search_results .result_subtitle {
	font-size: 12px;
	line-height: 15px;
	color: #336699;
}

.jvh_search_results ul.result_items {
	list-style: none;
	padding: 0;
}

.jvh_search_results .result.section {
	margin-bottom: 15px;
}

.jvh_search_results .result.section:last-child {
	margin-bottom: 0;
}

.jvh_search_results .result_items a {
	display: block;
	padding-right: 82px;
	padding-left: 45px;
	min-height: 23px;
	background-repeat: no-repeat;
	background-position: 8px 6px;
}

.jvh_search_results .result_items .no_status a {
	padding-right: 0;
}

.jvh_search_results .more_results {
	cursor: pointer;
	font-size: 12px;
	font-weight: bold;
	line-height: 15px;
	color: #AFCA0B;
}

.jvh_search_results .more_results ~ li {
	display: none;
}

.jvh_search_results .services li a {
	background-image: url(/modules/addons/ajax_search_frontend/assets/img/cloud.svg);
}

.jvh_search_results .domains li a {
	background-image: url(/modules/addons/ajax_search_frontend/assets/img/globe.svg);
	background-position: 8px 2px;
}

.jvh_search_results .invoices li a {
	background-image: url(/modules/addons/ajax_search_frontend/assets/img/receipt.svg);
	background-position: 8px 2px;
}

.jvh_search .knowledgebase li a {
	background-image: url(/modules/addons/ajax_search_frontend/assets/img/book.svg);
	background-position: 8px 2px;
}

.search_result_count {
	color: #6e6e6e;
	font-size: 12px;
	line-height: 15px;
	margin-bottom: 15px;
}

.jvh_search_results .contacts li a,
.jvh_search_results .users li a {
	background-image: url(/modules/addons/ajax_search_frontend/assets/img/user.svg);
}

.result_items li {
	position: relative;
	margin-bottom: 12px;
}

.result_items li:last-child {
	margin-bottom: 0;
}

.result_status {
	background: grey;
	color: white;
	font-size: 12px;
	line-height: 15px;
	text-align: center;
	display: inline-block;
	min-width: 70px;
	border-radius: 3px;
	position: absolute;
	right: 0;
	top: 3px;
	padding: 2px 5px;
}

.result_status:empty {
	display: none;
}

.sections_wrapper {
	padding-bottom: 65px;
}

.close_button_wrapper {
	text-align: center;
	position: fixed;
	bottom: 0;
	background: white;
	padding: 15px 0;
	right: 0;
}

#close_search_button {
	border-radius: 3px;
	background-color: #AAAAAA;
	box-shadow: 0 1px 2px 0 rgb(60 60 59 / 50%);
	border: none;
	color: #FFFFFF;
	font-size: 16px;
	line-height: 19px;
	font-weight: 500;
	padding: 10px 21px;
}

#close_search_button:active,
#close_search_button:focus,
#close_search_button:hover {
	border: none;
	outline: none;
}

@media (max-width: 1499px) {
	.lanaguage_text {
		display: none;
	}
}

@media (min-width: 844px) {
	.jvh_search {
		padding-top: 10px;
	}
}

@media (max-width: 843px) {
	#jvh_search_trigger {
		height: 100%;
		width: 40px;
		background-image: url(/modules/addons/ajax_search_frontend/assets/img/search.svg);
		background-repeat: no-repeat;
		background-position: center;
		cursor: pointer;
	}

	.jvh_search_wrapper {
		position: absolute;
		right: 0;
		top: 10px;
	}

	.jvh_search_wrapper {
		display: none;
	}

	.jvh_search_results,
	.close_button_wrapper {
		width: 100%;
	}

	#jvh_search_field {
		max-width: calc(100vw - 153px);
	}

	.jvh_search_wrapper {
		display: none;
	}
}

/* Status colors */
.result_status.actief,
.result_status.betaald {
	background: #5DB85B;
}

.result_status.verlopen,
.result_status.verhuisd,
.result_status.transferred.away {
	background: #ffaa00;
}

.result_status.gecrediteerd {
	background: #0B96CA;
}

.result_status.open,
.result_status.opgezegd,
.result_status.terminated,
.result_status.beëindigd,
.result_status.onbetaald {
	background: #d9534f;
}

