/*
 * Jagdzeiten Hegering Neuhaus (Elbe)
 * Der Shortcode-Trigger hat einen transparenten Hintergrund und eine feste,
 * weisse Schriftfarbe (Anforderung: im Widget/Theme gut lesbar).
 * Das MODALFENSTER ist unabhaengig vom Theme mit eigenem, kontraststarkem
 * Farbschema gestaltet (helle Flaeche, dunkle Schrift), damit es unabhaengig
 * von der Theme-Farbgebung (z. B. weisse Schrift auf dunkelgruenem Hintergrund)
 * immer gut lesbar bleibt.
 */

.jhn-shortcode-wrap {
	display: inline-block;
	background: transparent !important;
}

.jhn-trigger-link {
	background: transparent !important;
	border: 1px solid #ffffff;
	color: #ffffff !important;
	font: inherit;
	cursor: pointer;
	padding: 0.4em 0.9em;
	border-radius: 4px;
	text-decoration: underline;
}

.jhn-trigger-link:hover,
.jhn-trigger-link:focus {
	background: transparent !important;
	color: #ffffff !important;
	opacity: 0.85;
}

/* Modal-Grundgeruest */
.jhn-modal[hidden] {
	display: none !important;
}

.jhn-modal {
	position: fixed !important;
	inset: 0 !important;
	z-index: 100000 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 1em !important;
}

.jhn-modal-overlay {
	position: absolute !important;
	inset: 0 !important;
	background: rgba(0, 0, 0, 0.6) !important;
}

.jhn-modal-content {
	position: relative !important;
	background-color: #ffffff !important;
	color: #1a1a1a !important;
	max-width: 680px !important;
	width: 92% !important;
	max-height: 85vh !important;
	overflow-y: auto !important;
	border-radius: 6px !important;
	padding: 1.75em !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
	line-height: 1.5 !important;
	text-align: left !important;
	text-shadow: none !important;
}

.jhn-modal-content * {
	color: inherit;
	background-color: transparent;
	text-shadow: none !important;
}

.jhn-modal-content h2,
.jhn-modal-content h3 {
	color: #12331f !important;
	margin-top: 0 !important;
}

.jhn-modal-content a {
	color: #0a5fb4 !important;
	text-decoration: underline !important;
}

.jhn-modal-content a:hover,
.jhn-modal-content a:focus {
	color: #08427d !important;
}

.jhn-modal-close {
	position: absolute !important;
	top: 0.4em !important;
	right: 0.6em !important;
	background: transparent !important;
	border: none !important;
	font-size: 1.7em !important;
	line-height: 1 !important;
	cursor: pointer !important;
	color: #1a1a1a !important;
}

.jhn-modal-body ul {
	list-style: disc !important;
	padding-left: 1.2em !important;
}

.jhn-modal-body table {
	width: 100% !important;
	border-collapse: collapse !important;
	margin-top: 0.8em !important;
	font-size: 0.9em !important;
	background-color: #ffffff !important;
}

.jhn-modal-body table th,
.jhn-modal-body table td {
	border: 1px solid #ccc !important;
	padding: 0.45em 0.65em !important;
	text-align: left !important;
	vertical-align: top !important;
	background-color: #ffffff !important;
	color: #1a1a1a !important;
}

.jhn-modal-body table th {
	background-color: #eef3ee !important;
}

.jhn-status-ok { color: #147a29 !important; font-weight: 600 !important; }
.jhn-status-error,
.jhn-status-unreachable { color: #b02a2a !important; font-weight: 600 !important; }

.jhn-ueberlagert {
	font-size: 0.85em !important;
	color: #555 !important;
	display: block !important;
	margin-top: 0.2em !important;
}

.jhn-warnhinweis {
	border-left: 4px solid #b02a2a !important;
	background-color: #fdf3f3 !important;
	padding: 0.7em 0.9em !important;
	margin: 0.7em 0 !important;
	border-radius: 4px !important;
}

.jhn-warnhinweis strong {
	color: #8a1f1f !important;
}

.jhn-schutzgebiet-block {
	border-left: 4px solid #147a29 !important;
	padding-left: 0.8em !important;
	margin: 0.8em 0 !important;
	background-color: #f5faf6 !important;
}

.jhn-rohtext {
	font-size: 0.85em !important;
	color: #333 !important;
	max-height: 8em !important;
	overflow-y: auto !important;
	background: #f7f7f7 !important;
	padding: 0.5em !important;
	border-radius: 4px !important;
}

.jhn-disclaimer {
	margin-top: 1em !important;
	font-size: 0.8em !important;
	color: #555 !important;
	border-top: 1px solid #eee !important;
	padding-top: 0.6em !important;
}

.jhn-loading-placeholder {
	color: #1a1a1a !important;
}
