/* Cookiebot: hide branding + Cookie Declaration modal (Bootstrap 3) */

/* Branding on the banner */
a#CybotCookiebotDialogPoweredbyCybot,
div#CybotCookiebotDialogPoweredByText {
	display: none;
}

/* Branding on the Privacy trigger (floating widget) */
#CookiebotWidget .CookiebotWidget-body .CookiebotWidget-main-logo {
	display: none !important;
}

/* Map placeholder shown until Marketing cookies are accepted */
.cookieconsent-optout-marketing {
	padding: 20px;
	margin-bottom: 15px;
	background: #f4f8fd;
	border: 1px solid #e5edf5;
	color: #333;
}
.cookieconsent-optout-marketing a { color: #1565b4; text-decoration: underline; }

/* Cookie Declaration modal: sit above other fixed, high z-index widgets */
#cookieDeclarationModal { z-index: 2147483647; }
/* Only raise the backdrop while the cookie modal is open, so other modals stay above theirs */
body:has(#cookieDeclarationModal.in) .modal-backdrop { z-index: 2147483646; }
#cookieDeclarationModal .modal-dialog { max-width: 760px; }
#cookieDeclarationModal .modal-body {
	max-height: 70vh;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 25px 30px;
	font-size: 14px;
	line-height: 1.6;
}
#cookieDeclarationModal .modal-title { color: #222; }
#CookieDeclarationContainer { max-width: 100%; word-wrap: break-word; overflow-wrap: break-word; }
#CookieDeclarationContainer .cookie-declaration-loading { margin: 0; color: #595959; }
#CookieDeclarationContainer h2,
#CookieDeclarationContainer h3 { font-size: 17px; margin: 20px 0 8px; color: #222; }
#CookieDeclarationContainer h2:first-child,
#CookieDeclarationContainer h3:first-child { margin-top: 0; }
#CookieDeclarationContainer p { font-size: 14px; margin-bottom: 10px; }
#CookieDeclarationContainer a { color: #1565b4; word-break: break-word; }
#CookieDeclarationContainer table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-collapse: collapse;
	margin: 10px 0 20px;
	font-size: 13px;
}
#CookieDeclarationContainer table thead,
#CookieDeclarationContainer table tbody,
#CookieDeclarationContainer table tr { display: table; width: 100%; table-layout: fixed; }
#CookieDeclarationContainer table th,
#CookieDeclarationContainer table td {
	padding: 8px 10px;
	border: 1px solid #e5edf5;
	text-align: left;
	vertical-align: top;
	word-break: break-word;
}
#CookieDeclarationContainer table th { background: #f4f8fd; }

/* Footer link: match the existing copyright links, plus a visible keyboard focus ring */
.copyright a.link-cookie-declaration:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}
