/*
 * Cookiebanner Bureau Europa.
 *
 * CookieYes levert de markup en de werking, dit bestand de vormgeving.
 * Zelfde taal als de site: zwart op wit, Roboto Light, rechte hoeken, haarlijnen zoals
 * in het menu en knoppen zoals "Tickets". Het raster volgt de pagina: titel in de
 * logokolom, tekst vanaf de eerste menukolom, knoppen boven de derde kaartkolom.
 *
 * CookieYes zet zijn eigen CSS met JavaScript achteraan in de head, vandaar de
 * "html body"-prefix. Kleuren staan inline (instelling in CookieYes), dus !important
 * alleen waar een hover of focus daaroverheen moet.
 */

html body .cky-consent-container,
html body .cky-modal {
	--be-ink: #000;
	--be-paper: #fff;
	--be-grey: #f0f0f0;
	--be-marker: #ffcf00;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	color: var(--be-ink);
}

/* Basis voor alle knoppen: gelijk aan .cta a uit de header. */
html body .cky-consent-container .cky-btn,
html body .cky-modal .cky-btn {
	display: block;
	width: 100%;
	min-width: 0;
	min-height: 28px;
	margin: 0;
	padding: 3px 5px;
	border: 0;
	border-radius: 0;
	font: 300 17px/1.3 'Roboto', sans-serif;
	letter-spacing: 0;
	text-align: center;
	opacity: 1;
	cursor: pointer;
	transition: background-color .12s ease-out, color .12s ease-out;
}

html body .cky-consent-container .cky-btn-accept:hover,
html body .cky-consent-container .cky-btn-reject:hover,
html body .cky-modal .cky-btn:hover {
	background-color: var(--be-marker) !important;
	color: var(--be-ink) !important;
	opacity: 1;
}

/* De site zet overal outline:none; toetsenbordgebruikers moeten hier wel zien waar ze zijn. */
html body .cky-consent-container a:focus-visible,
html body .cky-consent-container button:focus-visible,
html body .cky-modal a:focus-visible,
html body .cky-modal button:focus-visible,
html body .cky-modal input:focus-visible {
	outline: 2px solid var(--be-ink);
	outline-offset: 2px;
}

html body .cky-consent-container a,
html body .cky-modal a {
	color: var(--be-ink) !important;
	text-decoration: underline;
}

/* ---------- Balk ---------- */

html body .cky-consent-container.cky-banner-bottom {
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	padding: 0;
	animation: be-cky-in .32s cubic-bezier(.25, 1, .5, 1) both;
}

@keyframes be-cky-in {
	from { transform: translateY(100%); }
	to { transform: none; }
}

html body .cky-consent-container .cky-consent-bar {
	padding: 20px 0;
	border: 0;
	border-top: 1px solid var(--be-ink);
	border-radius: 0;
	box-shadow: none;
}

html body .cky-consent-container .cky-notice {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr) calc((100% - 80px) / 3);
	column-gap: 30px;
	align-items: start;
	width: 1140px;
	max-width: calc(100% - 30px);
	margin: 0 auto;
}

html body .cky-consent-container .cky-notice-group {
	display: contents;
}

html body .cky-consent-container .cky-title {
	grid-column: 1;
	margin: 0;
	padding: 0;
	font: 500 24px/1.1 'Roboto', sans-serif;
	letter-spacing: 0;
}

html body .cky-consent-container .cky-notice-des {
	grid-column: 2;
	margin: 0;
	padding: 0;
	max-height: none;
	overflow: visible;
	font: 300 17px/1.3 'Roboto', sans-serif;
}

html body .cky-consent-container .cky-notice-des p {
	margin: 0;
	font: inherit;
}

html body .cky-consent-container .cky-notice-des a {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	white-space: normal;
}

html body .cky-consent-container .cky-notice-btn-wrapper {
	grid-column: 3;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5px 10px;
	margin: 0;
	padding: 0;
	flex-wrap: nowrap;
}

html body .cky-consent-container .cky-notice-btn-wrapper .cky-btn {
	order: 0;
	margin: 0;
	max-width: none;
}

/* Instellingen is een menuregel met haarlijn, net als NL / EN boven de Tickets-knop. */
html body .cky-consent-container .cky-btn-customize {
	grid-column: 1 / -1;
	padding: 3px 0 5px;
	border-bottom: 1px solid var(--be-ink) !important;
	background: transparent;
	text-align: left;
}

html body .cky-consent-container .cky-btn-customize:hover {
	font-weight: 500;
	opacity: 1;
}

/* ---------- Instellingen ---------- */

html body .cky-overlay {
	background: rgba(0, 0, 0, .5);
	opacity: 1;
}

html body .cky-modal {
	width: 680px;
	max-width: calc(100% - 30px);
	border-radius: 0;
	box-shadow: none;
	transition: none;
}

html body .cky-modal.cky-modal-open {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	height: fit-content;
	margin: auto;
	transform: none;
	transition: none;
}

html body .cky-modal .cky-preference-center {
	width: 100%;
	max-height: min(84vh, 760px);
	border: 1px solid var(--be-ink);
	border-radius: 0;
	box-shadow: none;
	overflow: hidden;
}

html body .cky-modal .cky-preference-header {
	align-items: center;
	padding: 20px 25px 15px;
	border-bottom: 1px solid var(--be-ink);
}

html body .cky-modal .cky-preference-title {
	font: 500 24px/1.1 'Roboto', sans-serif;
	letter-spacing: 0;
}

html body .cky-modal .cky-btn-close {
	width: 28px;
	height: 28px;
	padding: 6px;
	background: transparent;
	border: 0;
	cursor: pointer;
}

html body .cky-modal .cky-btn-close img {
	display: block;
	width: 100%;
	height: 100%;
	filter: brightness(0);
}

html body .cky-modal .cky-preference-body-wrapper {
	padding: 15px 25px 0;
	font: 300 17px/1.3 'Roboto', sans-serif;
}

html body .cky-modal .cky-preference-content-wrapper {
	margin: 0;
	padding: 0 0 15px;
	border: 0;
	font: inherit;
}

html body .cky-modal .cky-preference-content-wrapper p {
	margin: 0;
	font: inherit;
}

html body .cky-modal .cky-accordion-wrapper {
	margin: 0;
}

html body .cky-modal .cky-accordion {
	margin: 0;
	border: 0;
	border-top: 1px solid var(--be-ink);
	border-radius: 0;
	background: transparent;
}

html body .cky-modal .cky-accordion-item {
	padding: 12px 0;
	align-items: flex-start;
}

html body .cky-modal .cky-accordion-header-wrapper {
	width: 100%;
}

html body .cky-modal .cky-accordion-header {
	align-items: center;
}

html body .cky-modal .cky-accordion-btn {
	padding: 0;
	font: 500 17px/1.3 'Roboto', sans-serif;
	background: transparent;
	border: 0;
	cursor: pointer;
}

html body .cky-modal .cky-always-active {
	font: 300 15px/1.3 'Roboto', sans-serif;
	white-space: nowrap;
}

html body .cky-modal .cky-accordion-header-des,
html body .cky-modal .cky-accordion-header-des p {
	margin: 4px 0 0;
	font: 300 15px/1.4 'Roboto', sans-serif;
}

html body .cky-modal .cky-accordion-chevron {
	margin-right: 20px;
}

html body .cky-modal .cky-chevron-right::before {
	border-color: var(--be-ink);
}

/* Schakelaar: rechthoek met vierkant blokje, zwart is aan. */
html body .cky-modal .cky-switch {
	flex: none;
	margin-left: 15px;
}

html body .cky-modal .cky-switch input[type="checkbox"] {
	width: 40px;
	height: 20px;
	margin: 0;
	border: 1px solid var(--be-ink);
	border-radius: 0;
	cursor: pointer;
	transition: background-color .12s ease-out;
}

html body .cky-modal .cky-switch input[type="checkbox"]::before {
	top: 2px;
	left: 2px;
	width: 14px;
	height: 14px;
	border-radius: 0;
	background-color: var(--be-ink);
	transition: transform .16s cubic-bezier(.25, 1, .5, 1), background-color .12s ease-out;
}

html body .cky-modal .cky-switch input[type="checkbox"]:checked::before {
	left: 2px;
	transform: translateX(20px);
	background-color: var(--be-paper);
}

html body .cky-modal .cky-accordion-body {
	margin: 0;
}

html body .cky-modal .cky-audit-table {
	margin: 0 0 12px;
	padding: 10px 12px;
	border: 0;
	border-radius: 0;
	font: 300 14px/1.4 'Roboto', sans-serif;
}

html body .cky-modal .cky-audit-table .cky-cookie-des-table {
	margin: 0 0 10px;
	padding: 0;
	border: 0;
	font: inherit;
}

html body .cky-modal .cky-audit-table .cky-cookie-des-table:last-child {
	margin-bottom: 0;
}

html body .cky-modal .cky-audit-table .cky-cookie-des-table li {
	margin: 0;
	padding: 1px 0;
	border: 0;
}

html body .cky-modal .cky-audit-table .cky-cookie-des-table li > div:first-child {
	flex: 0 0 110px;
	width: 110px;
	font-weight: 500;
}

html body .cky-modal .cky-footer-wrapper {
	padding: 15px 25px 20px;
	border-top: 1px solid var(--be-ink);
	background: var(--be-paper);
}

html body .cky-modal .cky-footer-shadow,
html body .cky-modal [data-cky-tag="detail-powered-by"] {
	display: none;
}

html body .cky-modal .cky-prefrence-btn-wrapper {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	border: 0;
}

html body .cky-modal .cky-prefrence-btn-wrapper .cky-btn {
	order: 0;
	min-height: 34px;
	margin: 0;
	max-width: none;
}

/* ---------- Plek van ingesloten inhoud zolang er geen toestemming is ---------- */

.be-embed {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	padding: 20px;
	background: #f0f0f0;
}

.be-embed-links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
}

.be-embed a {
	color: #000;
	text-decoration: underline;
}

.be-embed a:focus-visible {
	outline: 2px solid #000;
	outline-offset: 2px;
}

/* Kaart in .aspectratio: het blok vult dezelfde ruimte als de iframe. */
.aspectratio .be-embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* ---------- Kleiner dan het 3-koloms raster ---------- */

@media (max-width: 1024px) {
	html body .cky-consent-container .cky-notice {
		grid-template-columns: minmax(0, 1fr) 300px;
		grid-template-rows: auto 1fr;
		column-gap: 30px;
		row-gap: 6px;
	}

	html body .cky-consent-container .cky-title {
		grid-column: 1;
		grid-row: 1;
	}

	html body .cky-consent-container .cky-notice-des {
		grid-column: 1;
		grid-row: 2;
	}

	html body .cky-consent-container .cky-notice-btn-wrapper {
		grid-column: 2;
		grid-row: 1 / span 2;
	}
}

/* ---------- Telefoon: knoppen onderaan, binnen bereik van de duim ---------- */

@media (max-width: 767px) {
	html body .cky-consent-container .cky-consent-bar {
		padding: 15px 0 calc(15px + env(safe-area-inset-bottom));
	}

	html body .cky-consent-container .cky-notice {
		display: block;
	}

	html body .cky-consent-container .cky-title {
		margin-bottom: 6px;
		font-size: 20px;
	}

	html body .cky-consent-container .cky-notice-des {
		margin-bottom: 8px;
		font-size: 15px;
		line-height: 1.4;
	}

	html body .cky-consent-container .cky-btn {
		min-height: 44px;
		padding: 10px 5px;
		font-size: 15px;
	}

	html body .cky-consent-container .cky-btn-customize {
		padding: 10px 0;
	}

	html body .cky-modal {
		max-width: calc(100% - 20px);
	}

	html body .cky-modal .cky-preference-center {
		max-height: 88vh;
	}

	html body .cky-modal .cky-preference-header {
		padding: 15px;
	}

	html body .cky-modal .cky-preference-body-wrapper {
		padding: 12px 15px 0;
		font-size: 15px;
	}

	html body .cky-modal .cky-footer-wrapper {
		padding: 12px 15px 15px;
	}

	html body .cky-modal .cky-prefrence-btn-wrapper {
		grid-template-columns: 1fr 1fr;
		gap: 6px;
	}

	html body .cky-modal .cky-prefrence-btn-wrapper .cky-btn-preferences {
		grid-column: 1 / -1;
		order: -1;
	}

	html body .cky-modal .cky-prefrence-btn-wrapper .cky-btn {
		min-height: 44px;
		font-size: 15px;
	}

}

@media (prefers-reduced-motion: reduce) {
	html body .cky-consent-container.cky-banner-bottom {
		animation: none;
	}

	html body .cky-consent-container .cky-btn,
	html body .cky-modal .cky-btn,
	html body .cky-modal .cky-switch input[type="checkbox"],
	html body .cky-modal .cky-switch input[type="checkbox"]::before {
		transition: none;
	}
}
