/* Kartencontainer */

.ns-karte-container {
	position: relative;
	width: 100%;
/*	overflow: hidden; */
}

.ns-karte-placeholder {
	position: absolute;
	inset: 0;

	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;

	z-index: 1;
}

/* DSGVO Overlay */

.ns-dsgvo-overlay {
	position: absolute;
	inset: 0;
	z-index: 10;

	display: flex;
	align-items: center;
	justify-content: center;

	padding: 20px;
	box-sizing: border-box;

	background: rgba(255, 255, 255, 0.45);

	text-align: center;
}


.ns-dsgvo-box {
	max-width: 520px;
	padding: 22px 24px;

	background: rgba(255, 255, 255, 0.90);
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;

	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);

	box-sizing: border-box;
}


.ns-dsgvo-text {
	margin-bottom: 16px;
	line-height: 1.55;
}


.ns-dsgvo-text a {
	text-decoration: underline;
}


.ns-dsgvo-button {
	display: inline-block;

	padding: 10px 20px;

	border: 0;
	border-radius: 4px;

	background: var(--accent, #E55304);
	color: #fff;

	font: inherit;
	font-weight: 600;

	cursor: pointer;
}


.ns-dsgvo-button:hover {
	background: var(--accent-hover, #893202);
}


/* Leaflet Popup */

.ns-karte-popup .leaflet-popup-content-wrapper {
	padding: 0;
	border-radius: 8px;
	overflow: hidden;
}


.ns-karte-popup .leaflet-popup-content {
	margin: 0;
	width: auto !important;
}


.ns-karte-popup-content {
	position: relative;

	display: inline-block;

	width: max-content;
	max-width: calc(100vw - 40px);

	padding: 18px;
	box-sizing: border-box;

	color: inherit;
	line-height: 1.45;
	font-size: 14px !important;
}

.ns-karte-popup-main {
	display: block;
}

.ns-karte-popup-title {
	font-weight: 700;
	font-size: 1.05em;
}


.ns-karte-popup-subtitle {
	font-weight: 700;
	margin-top: 2px;
	font-size: 0.95em;
}


.ns-karte-popup-address {
	margin-top: 8px;
	line-height: 1.4;
}


.ns-karte-route-button {
	display: block;

	width: 100%;

	margin-top: 14px;
	padding: 9px 12px;

	box-sizing: border-box;

	border-radius: 4px;

	background: var(--accent, #E55304);
	color: #fff !important;

	text-align: center;
	text-decoration: none !important;

	font-weight: 600;

	white-space: nowrap;
}


.ns-karte-route-button:hover {
	background: var(--accent-hover, #893202);
	color: #fff !important;
}


.ns-karte-popup-close {
	position: absolute;

	top: 6px;
	right: 7px;

	width: 20px;
	height: 20px;

	margin: 0;
	padding: 0;

	border: 0;
	background: transparent;

	color: inherit;

	font-size: 20px;
	line-height: 22px;

	cursor: pointer;

	opacity: 0.65;
}


.ns-karte-popup-close:hover {
	opacity: 1;
}


/* Leaflet Attribution */

.ns-karte-container .leaflet-control-attribution {
	font-size: 10px;
}


/* Mobile */

@media (max-width: 767px) {

	.ns-karte-popup-content {
		max-width: calc(100vw - 30px);
	}

	.ns-dsgvo-box {
		max-width: 100%;
		padding: 18px;
	}

}
