/* Winkelkaart: paginabrede kaart met een zoekpaneel linksboven, zoals op de oude site (WP Store Locator). */
.eh-winkelkaart {
	position: relative;
	height: 640px;
	margin-top: 0;
}

.eh-winkelkaart__kaart {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: #e5f3f1;
}

.eh-winkelkaart__paneel {
	position: absolute;
	z-index: 2;
	top: 30px;
	bottom: 30px;
	left: max(20px, calc((100% - 1200px) / 2));
	width: 360px;
	display: flex;
	flex-direction: column;
	background: #fff;
	box-shadow: 0 6px 24px rgba(0, 56, 67, .18);
	pointer-events: auto;
}

.eh-winkelkaart__titel {
	margin: 0;
	padding: 15px 20px;
	background: #003843;
	color: #fff;
	font-size: 28px;
}

.eh-winkelkaart__zoek {
	padding: 20px 20px 10px;
	border-bottom: 1px solid #819da2;
}

.eh-winkelkaart__zoek input {
	width: 100%;
	border: 1px solid #8b9ba1;
	border-radius: 0;
	padding: 9px 12px;
	font: inherit;
	color: #003843;
}

.eh-winkelkaart__locatie {
	display: block;
	background: none;
	border: 0;
	padding: 0;
	margin: 12px 0 6px;
	color: #b3ba00;
	cursor: pointer;
	font: inherit;
}

.eh-winkelkaart__locatie::before {
	content: "\27A4";
	margin-right: 6px;
}

.eh-winkelkaart__locatie:hover {
	text-decoration: underline;
}

.eh-winkelkaart__lijst {
	list-style: none;
	margin: 0;
	padding: 0;
	overflow-y: auto;
	flex: 1;
}

.eh-winkelkaart__lijst li {
	border-bottom: 1px solid #e2e2e2;
}

.eh-winkelkaart__winkel {
	display: block;
	width: 100%;
	text-align: left;
	background: none;
	border: 0;
	padding: 10px 20px;
	font: inherit;
	line-height: 1.5;
	color: #003843;
	cursor: pointer;
}

.eh-winkelkaart__winkel:hover {
	background: #f3f3f2;
}

.eh-winkelkaart__winkel strong {
	font-size: 16px;
}

.eh-winkelkaart__afstand {
	float: right;
	color: #008874;
	font-size: 13px;
}

.eh-winkelkaart__aantal {
	margin: 0;
	padding: 8px 20px;
	font-size: 13px;
	color: #7d8b8e;
	border-top: 1px solid #e2e2e2;
}

.eh-pin {
	background: none;
	border: 0;
}

.leaflet-popup-content-wrapper {
	border-radius: 0;
	color: #003843;
}

.leaflet-popup-content {
	line-height: 1.6;
	margin: 12px 16px;
}

.leaflet-popup-content .eh-route {
	color: #008874;
	font-weight: 600;
}

@media (max-width: 781px) {
	.eh-winkelkaart {
		height: auto;
	}

	.eh-winkelkaart__kaart {
		position: relative;
		height: 380px;
	}

	.eh-winkelkaart__paneel {
		position: relative;
		top: auto;
		bottom: auto;
		left: auto;
		width: auto;
		max-height: 420px;
		box-shadow: none;
	}
}
