/**
 * Dalto zoeken met suggesties.
 */

.dalto-zoeken {
	position: relative;
}

.dalto-zoeken__formulier {
	position: relative;
	display: flex;
	align-items: stretch;
}

.dalto-zoeken__veld {
	width: 100%;
	padding: 10px 44px 10px 14px;
	border: 1px solid #d5d5d5;
	border-radius: 6px;
	background-color: #fff;
	font: inherit;
}

.dalto-zoeken__veld::-webkit-search-cancel-button {
	cursor: pointer;
}

/*
 * Ook hier wint de globale knopstijl van Elementor zonder tegendruk, waardoor
 * het vergrootglas een gele bal werd. Op de originele site is dat een kaal
 * icoontje in het veld.
 */
.dalto-zoeken .dalto-zoeken__knop,
.dalto-zoeken .dalto-zoeken__knop:hover,
.dalto-zoeken .dalto-zoeken__knop:focus {
	border-radius: 0;
	background-color: transparent;
	background-image: none;
	box-shadow: none;
}

.dalto-zoeken__knop {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 42px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.dalto-zoeken__knop svg {
	width: 18px;
	height: 18px;
	fill: #555;
}

.dalto-zoeken__lijst {
	position: absolute;
	top: calc(100% + 4px);
	right: 0;
	left: 0;
	z-index: 20;
	max-height: 340px;
	overflow-y: auto;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	background-color: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.dalto-zoeken__lijst[hidden],
.dalto-zoeken__groep[hidden] {
	display: none;
}

.dalto-zoeken__kop {
	display: block;
	padding: 8px 14px 4px;
	color: #8a8a8a;
	font-size: 0.78em;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.dalto-zoeken__item {
	display: block;
	padding: 9px 14px;
	color: #222;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.dalto-zoeken__item:hover,
.dalto-zoeken__item.is-gemarkeerd {
	background-color: #f2f2f2;
}

.dalto-zoeken__melding {
	padding: 10px 14px;
	color: #6b6b6b;
}
