[data-omcookie-panel-show] {
	cursor: pointer;
}

.om-cookie-panel {
	--flexce-bg: color-mix(in srgb, #eff4cc 100%, transparent);
	--flexce-text: #000000;
	--flexce-accent: #b1c800;
	--flexce-accent-text: #ffffff;
	--flexce-headline: #003064;
	--flexce-eyebrow: ;
	--flexce-hover-bg: #003064;
	--flexce-hover-text: #ffffff;
	--flexce-bg-image: none;

	--om-cookie-panel-active-color: var(--flexce-accent);
	--om-cookie-panel-active-emphasis: var(--flexce-accent-text);
	--om-cookie-panel-inactive-color: var(--flexce-headline);
	--om-cookie-panel-inactive-emphasis: var(--flexce-hover-text);
	--om-cookie-panel-background: #ffffff;
	--om-cookie-panel-border-color: rgb(0 48 100 / 18%);
	--om-cookie-panel-border-radius: 8px;

	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 10001;

	width: min(880px, calc(100% - 32px));
	max-height: calc(100vh - 32px);
	padding: clamp(24px, 4vw, 44px);
	overflow-x: hidden;
	overflow-y: auto;

	color: var(--flexce-text);
	background-color: var(--om-cookie-panel-background);
	background-image: var(--flexce-bg-image);
	border: 0;
	border-top: 6px solid var(--flexce-accent);
	border-radius: 16px;
	box-shadow: 0 24px 70px rgb(0 48 100 / 22%);

	box-sizing: border-box;
	text-align: left;

	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, calc(-50% + 30px)) scale(0.98);

	transition:
		opacity 300ms ease,
		visibility 300ms ease,
		transform 400ms ease;
}

.om-cookie-panel.active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, -50%) scale(1);
}

.tx-om-cookie-overlay {
	position: fixed;
	inset: 0;
	z-index: 10000;

	background-color: rgb(0 48 100 / 58%);
	backdrop-filter: blur(3px);

	opacity: 0;
	visibility: hidden;
	pointer-events: none;

	transition:
		opacity 300ms ease,
		visibility 300ms ease;
}

.tx-om-cookie-overlay.active,
body:has(.om-cookie-panel.active) .tx-om-cookie-overlay {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.om-cookie-panel *,
.om-cookie-panel *::before,
.om-cookie-panel *::after {
	box-sizing: border-box;
}

.om-cookie-panel .cookie-panel__header {
	margin: 0 0 18px;
}

.om-cookie-panel .cookie-panel__title {
	margin: 0;
	padding: 0;
	color: var(--flexce-headline);
	font-size: clamp(1.7rem, 4vw, 2.35rem);
	font-weight: 700;
	line-height: 1.15;
	text-align: left;
}

.om-cookie-panel .cookie-panel__description {
	max-width: 760px;
	margin: 0 0 26px;
	color: var(--flexce-text);
	font-size: 1rem;
	line-height: 1.65;
	text-align: left;
}

.om-cookie-panel .cookie-panel__description > *:first-child {
	margin-top: 0;
	padding-top: 0;
}

.om-cookie-panel .cookie-panel__description > *:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
}

.om-cookie-panel .cookie-panel__selection {
	margin: 0 0 26px;
	padding: 18px;
	background: var(--flexce-bg);
	border: 0;
	border-radius: 12px;
}

.om-cookie-panel .cookie-panel__selection form {
	margin: 0;
}

.om-cookie-panel .cookie-panel__fieldset {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;

	min-width: 0;
	margin: 0;
	padding: 0;

	border: 0;
}

.om-cookie-panel .cookie-panel__checkbox-wrap {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;

	min-height: 48px;
	margin: 0;
	padding: 10px 14px;

	background: #ffffff;
	border: 1px solid rgb(0 48 100 / 20%);
	border-radius: 8px;

	transition:
		border-color 160ms ease,
		box-shadow 160ms ease;
}

.om-cookie-panel .cookie-panel__checkbox-wrap:hover {
	border-color: var(--flexce-accent);
}

.om-cookie-panel .cookie-panel__checkbox {
	position: static;
	flex: 0 0 auto;

	width: 20px;
	height: 20px;
	margin: 0;

	opacity: 1;
	accent-color: var(--flexce-accent);
	cursor: pointer;
}

.om-cookie-panel .cookie-panel__checkbox-label,
.om-cookie-panel .cookie-panel__checkbox + label {
	display: block;
	margin: 0;
	padding: 0;

	color: var(--flexce-headline);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.3;

	cursor: pointer;
}

.om-cookie-panel .cookie-panel__checkbox + label::before,
.om-cookie-panel .cookie-panel__checkbox + label::after {
	display: none;
	content: none;
}

.om-cookie-panel
	.cookie-panel__checkbox.cookie-panel__checkbox--state-inactiv {
	position: absolute !important;

	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;

	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;

	border: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.om-cookie-panel
	.cookie-panel__checkbox--state-inactiv
	+ .cookie-panel__checkbox-label,
.om-cookie-panel
	.cookie-panel__checkbox--state-inactiv
	+ label {
	margin: 0 !important;
	padding: 0 !important;
	cursor: default;
}

.om-cookie-panel
	.cookie-panel__checkbox--state-inactiv
	+ .cookie-panel__checkbox-label::before,
.om-cookie-panel
	.cookie-panel__checkbox--state-inactiv
	+ .cookie-panel__checkbox-label::after,
.om-cookie-panel
	.cookie-panel__checkbox--state-inactiv
	+ label::before,
.om-cookie-panel
	.cookie-panel__checkbox--state-inactiv
	+ label::after {
	display: none !important;
	content: none !important;
}

.om-cookie-panel .cookie-panel__checkbox:focus-visible {
	outline: 3px solid rgb(177 200 0 / 45%);
	outline-offset: 3px;
}

.om-cookie-panel .cookie-panel__control {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;

	min-width: 100%;
	margin: 0;
	padding: 0;
}

.om-cookie-panel .cookie-panel__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 12px 18px;

	color: var(--flexce-headline);
	background: #ffffff;
	border: 2px solid var(--flexce-headline);
	border-radius: 8px;

	font: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	text-transform: uppercase;

	cursor: pointer;

	transition:
		color 160ms ease,
		background-color 160ms ease,
		border-color 160ms ease,
		transform 160ms ease;
}

.om-cookie-panel .cookie-panel__button + .cookie-panel__button {
	margin-top: 0;
}

.om-cookie-panel .cookie-panel__button:hover {
	color: var(--flexce-hover-text);
	background: var(--flexce-hover-bg);
	border-color: var(--flexce-hover-bg);
	transform: translateY(-1px);
}

.om-cookie-panel
	.cookie-panel__button.cookie-panel__button--primary,
.om-cookie-panel
	.cookie-panel__button.cookie-panel__button--color--green {
	color: var(--flexce-headline);
	background: var(--flexce-accent);
	border-color: var(--flexce-accent);
}

.om-cookie-panel
	.cookie-panel__button.cookie-panel__button--primary:hover,
.om-cookie-panel
	.cookie-panel__button.cookie-panel__button--color--green:hover {
	color: var(--flexce-hover-text);
	background: var(--flexce-hover-bg);
	border-color: var(--flexce-hover-bg);
}

.om-cookie-panel .cookie-panel__button:focus-visible {
	outline: 3px solid rgb(177 200 0 / 45%);
	outline-offset: 3px;
}

.om-cookie-panel .cookie-panel__footer {
	margin-top: 24px;
	padding-top: 18px;
	border-top: 1px solid rgb(0 48 100 / 16%);
}

.om-cookie-panel .cookie-panel__link,
.om-cookie-panel .openCloseDetails {
	text-align: center;
}

.om-cookie-panel .openCloseDetails {
	margin-top: 10px;
}

.om-cookie-panel .cookie-panel__link a,
.om-cookie-panel .openCloseDetails a {
	color: var(--flexce-headline);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--flexce-accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.om-cookie-panel .cookie-panel__link a:hover,
.om-cookie-panel .openCloseDetails a:hover {
	color: var(--flexce-hover-bg);
}

.om-cookie-panel .cookie-panel__link a:focus-visible,
.om-cookie-panel .openCloseDetails a:focus-visible {
	outline: 3px solid rgb(177 200 0 / 45%);
	outline-offset: 3px;
}

.om-cookie-panel .cookieDescriptions {
	margin-top: 20px;
	text-align: left;
}

.om-cookie-panel .cookieGroup {
	margin-top: 16px;
	overflow: hidden;

	background: #ffffff;
	border: 1px solid rgb(0 48 100 / 18%);
	border-radius: 10px;
}

.om-cookie-panel .cookieGroup_headline {
	margin: 0;
	padding: 13px 16px;

	color: var(--flexce-hover-text);
	background: var(--flexce-headline);

	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
}

.om-cookie-panel .cookieEntry {
	padding: 18px;
	border-bottom: 1px solid rgb(0 48 100 / 14%);
}

.om-cookie-panel .cookieEntry:last-child {
	border-bottom: 0;
}

.om-cookie-panel .cookieName {
	margin: 0 0 14px;
	padding: 0;

	color: var(--flexce-headline);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
}

.om-cookie-panel .cookieMeta {
	margin: 0;
}

.om-cookie-panel .cookieMeta__row {
	display: grid;
	grid-template-columns: minmax(130px, 28%) 1fr;
	gap: 16px;
	padding: 8px 0;
}

.om-cookie-panel .cookieMeta__row dt {
	margin: 0;
	color: var(--flexce-headline);
	font-weight: 700;
}

.om-cookie-panel .cookieMeta__row dd {
	min-width: 0;
	margin: 0;

	color: var(--flexce-text);
	overflow-wrap: anywhere;
}

.om-cookie-panel .cookieMeta__row dd > *:first-child {
	margin-top: 0;
	padding-top: 0;
}

.om-cookie-panel .cookieMeta__row dd > *:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
}

.om-cookie-panel .sr-only {
	position: absolute !important;

	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;

	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;

	border: 0;
}

@media (max-width: 720px) {
	.om-cookie-panel {
		top: auto;
		right: 0;
		bottom: 0;
		left: 0;

		width: 100%;
		max-height: 92vh;
		padding: 24px 18px;

		border-radius: 16px 16px 0 0;

		transform: translateY(100%);
	}

	.om-cookie-panel.active {
		transform: translateY(0);
	}

	.om-cookie-panel .cookie-panel__fieldset {
		display: grid;
		grid-template-columns: 1fr;
	}

	.om-cookie-panel .cookie-panel__control {
		grid-template-columns: 1fr;
	}

	.om-cookie-panel .cookieMeta__row {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.om-cookie-panel,
	.tx-om-cookie-overlay,
	.om-cookie-panel .cookie-panel__button,
	.om-cookie-panel .cookie-panel__checkbox-wrap {
		transition: none;
	}
}