/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Apr 19 2026 | 14:32:57 */
/* Map UI shell: wraps #kaart + floating controls + overlay */
.dw-map-ui-shell {
	position: relative;
	width: 100%;
}

/* Top-left floating bar (Filters + search) — inset past Leaflet zoom (~10px margin + ~34px control) */
.dw-map-floating-bar {
	position: absolute;
	z-index: 1100;
	top: 1rem;
	left: 3.75rem;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	align-content: flex-start;
	max-width: calc(100% - 3.75rem - 1rem);
	pointer-events: none;
}

.dw-map-floating-bar > * {
	pointer-events: auto;
}

.dw-map-floating-bar-inner {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	min-width: min(18rem, calc(100vw - 8rem));
}

/* Input and Filters share one row so their vertical centers line up */
.dw-map-floating-bar__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
}

.dw-map-floating-bar__row .dw-map-search-field {
	flex: 1 1 12rem;
	min-width: 0;
}

.dw-map-search-label {
	font-size: 0.75rem;
	font-weight: 600;
	color: #1a365d;
	margin: 0;
	line-height: 1.2;
}

.dw-map-search-input {
	width: 100%;
	box-sizing: border-box;
	padding: 0.55rem 0.75rem;
	border: 1px solid #e2e8f0;
	border-radius: 9999px;
	background: #fff;
	font-size: 0.9375rem;
	line-height: 1.3;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.dw-map-search-input:focus {
	outline: 2px solid #3182ce;
	outline-offset: 1px;
	border-color: #90cdf4;
}

.dw-map-filter-open {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	gap: 0.4rem;
	padding: 0.55rem 1rem;
	border: 1px solid transparent;
	box-sizing: border-box;
	border-radius: 9999px;
	background: #2b6cb0;
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.dw-map-filter-open:hover {
	background: #2c5282;
}

.dw-map-filter-open:focus {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.dw-map-filter-open__icon {
	display: inline-block;
	width: 1.1rem;
	height: 1.1rem;
	background: no-repeat center / contain
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23fff'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4'/%3E%3C/svg%3E");
}

/* Full-area hit target for close-on-backdrop; no dimmer (map stays visible) */
.dw-map-filter-overlay {
	position: absolute;
	inset: 0;
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	box-sizing: border-box;
	background: transparent;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.dw-map-filter-overlay.dw-map-filter-overlay--open {
	opacity: 1;
	visibility: visible;
}

.dw-map-filter-overlay__panel {
	position: relative;
	width: min(80%, 52rem);
	height: auto;
	max-width: 100%;
	max-height: min(85vh, calc(100% - 2rem));
	box-sizing: border-box;
	padding: 1.1rem 1.35rem 1.15rem;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.65);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
	overflow: auto;
}

.dw-map-filter-overlay__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	width: 2.25rem;
	height: 2.25rem;
	border: none;
	border-radius: 8px;
	background: transparent;
	color: #64748b;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dw-map-filter-overlay__close:hover {
	background: rgba(0, 0, 0, 0.06);
	color: #0f172a;
}

.dw-map-filter-overlay__close:focus {
	outline: 2px solid #3182ce;
	outline-offset: 2px;
}

.dw-map-filter-overlay__title {
	margin: 0 2rem 0.65rem 0;
	font-size: 1.125rem;
	font-weight: 700;
	color: #1e293b;
}

.dw-map-filter-overlay__body {
	color: #475569;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.dw-map-filter-overlay__footer {
	margin-top: 0.85rem;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(148, 163, 184, 0.4);
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.dw-map-filter-clear {
	padding: 0.45rem 0.9rem;
	border: 1px solid #94a3b8;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.5);
	color: #334155;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

/* Reassert colors on :focus so theme `button:focus` rules cannot turn the background red */
.dw-map-filter-clear:focus {
	background: rgba(255, 255, 255, 0.5);
	border-color: #94a3b8;
	color: #334155;
	outline: none;
}

.dw-map-filter-clear:hover,
.dw-map-filter-clear:focus:hover {
	background: #2b6cb0;
	border-color: #2b6cb0;
	color: #fff;
}

.dw-map-filter-clear:focus-visible {
	outline: 2px solid #3182ce;
	outline-offset: 2px;
}

.dw-map-filter-clear:active,
.dw-map-filter-clear:focus:active {
	background: #2c5282;
	border-color: #2c5282;
	color: #fff;
}

/* Filter popup: Eeuw column + Domein in two columns */
.dw-map-filter-grid {
	display: grid;
	grid-template-columns: minmax(9rem, 0.9fr) 1fr 1fr;
	gap: 0.75rem 1.25rem;
	align-items: start;
}

.dw-map-filter-col--eeuw,
.dw-map-filter-col--domein {
	margin: 0;
	padding: 0;
	border: none;
	min-width: 0;
}

.dw-map-filter-col--eeuw {
	grid-column: 1;
}

.dw-map-filter-col--domein {
	grid-column: 2 / span 2;
}

.dw-map-filter-group-title {
	padding: 0;
	margin: 0 0 0.5rem;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #334155;
}

.dw-map-filter-domein-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.35rem 1.25rem;
}

.dw-map-filter__row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0.18rem 0;
	line-height: 1.3;
}

.dw-map-filter__input {
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
	margin: 0;
	accent-color: #2b6cb0;
	cursor: pointer;
}

.dw-map-filter__label {
	flex: 1;
	min-width: 0;
	cursor: pointer;
	font-size: 0.875rem;
	line-height: 1.3;
	color: #334155;
}

@media (max-width: 52rem) {
	.dw-map-filter-grid {
		grid-template-columns: 1fr;
	}

	.dw-map-filter-col--domein {
		grid-column: 1;
	}

	.dw-map-filter-domein-cols {
		grid-template-columns: 1fr;
	}
}
