.aop-cookie-banner,
.aop-cookie-dialog-layer,
.aop-cookie-dialog,
.aop-cookie-preferences-button,
.aop-cookie-footer-preferences,
.aop-cookie-noscript {
	box-sizing: border-box;
	font-family: "Open Sans", Arial, sans-serif;
}

.aop-cookie-banner[hidden],
.aop-cookie-dialog-layer[hidden],
.aop-cookie-preferences-button[hidden],
.aop-cookie-footer-preferences[hidden] {
	display: none !important;
}

.aop-cookie-banner {
	background: #243632;
	bottom: 0;
	box-shadow: 0 -4px 20px rgba( 0, 0, 0, 0.24 );
	color: #fff;
	left: 0;
	padding: 14px max(18px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
	position: fixed;
	right: 0;
	z-index: 100000;
}

.aop-cookie-banner__content {
	align-items: center;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1180px;
}

.aop-cookie-banner__copy {
	max-width: 720px;
}

.aop-cookie-banner h2,
.aop-cookie-dialog h2 {
	color: inherit;
	font-family: inherit;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 4px;
}

.aop-cookie-banner p,
.aop-cookie-dialog p,
.aop-cookie-noscript p {
	font-size: 15px;
	line-height: 1.55;
	margin: 0;
}

.aop-cookie-banner a,
.aop-cookie-noscript a {
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.aop-cookie-banner__actions,
.aop-cookie-dialog__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.aop-cookie-banner__actions {
	flex: 0 0 auto;
	justify-content: flex-end;
}

.aop-cookie-button,
.aop-cookie-preferences-button,
.aop-cookie-footer-preferences,
.aop-cookie-dialog__close {
	appearance: none;
	border: 2px solid transparent;
	border-radius: 4px;
	cursor: pointer;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	min-height: 44px;
	padding: 9px 14px;
}

.aop-cookie-footer-preferences {
	background: transparent;
	border: 0;
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	min-height: 0;
	padding: 0;
	text-decoration: none;
}

.aop-cookie-footer-preferences:hover {
	color: #111;
	text-decoration: underline;
}

.aop-cookie-button--primary {
	background: #00736b;
	border-color: #00736b;
	color: #fff;
}

.aop-cookie-button--secondary {
	background: #fff;
	border-color: #52635f;
	color: #243632;
}

.aop-cookie-button--link {
	background: transparent;
	border-color: currentColor;
	color: inherit;
}

.aop-cookie-button:hover,
.aop-cookie-preferences-button:hover {
	filter: brightness(0.92);
}

.aop-cookie-button:focus-visible,
.aop-cookie-preferences-button:focus-visible,
.aop-cookie-footer-preferences:focus-visible,
.aop-cookie-dialog__close:focus-visible,
.aop-cookie-category input:focus-visible,
.aop-cookie-dialog a:focus-visible,
.aop-cookie-banner a:focus-visible {
	outline: 3px solid #f6c85f;
	outline-offset: 3px;
}

.aop-cookie-preferences-button {
	background: #243632;
	border-color: #fff;
	bottom: max(12px, env(safe-area-inset-bottom));
	box-shadow: 0 2px 12px rgba( 0, 0, 0, 0.24 );
	color: #fff;
	left: max(12px, env(safe-area-inset-left));
	position: fixed;
	z-index: 99990;
}

.aop-cookie-dialog-layer {
	inset: 0;
	position: fixed;
	z-index: 100010;
}

.aop-cookie-dialog-layer__backdrop {
	background: rgba( 16, 27, 25, 0.72 );
	inset: 0;
	position: absolute;
}

.aop-cookie-dialog {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 12px 50px rgba( 0, 0, 0, 0.34 );
	color: #243632;
	left: 50%;
	max-height: calc(100vh - 40px);
	max-width: 500px;
	overflow: auto;
	padding: 22px;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 40px);
}

.aop-cookie-dialog__close {
	background: transparent;
	color: #243632;
	font-size: 30px;
	line-height: 1;
	min-height: 44px;
	min-width: 44px;
	padding: 4px;
	position: absolute;
	right: 12px;
	top: 10px;
}

.aop-cookie-dialog > p {
	margin-bottom: 10px;
	padding-right: 28px;
}

.aop-cookie-category {
	border: 0;
	border-top: 1px solid #ccd6d3;
	margin: 0;
	padding: 13px 0;
}

.aop-cookie-category legend {
	display: block;
	font-size: 17px;
	font-weight: 700;
	padding: 0;
	width: 100%;
}

.aop-cookie-category legend label,
.aop-cookie-category legend {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.aop-cookie-category legend label {
	width: 100%;
}

.aop-cookie-category input {
	accent-color: #00736b;
	height: 24px;
	margin: 0;
	width: 24px;
}

.aop-cookie-category p {
	color: #435a55;
	margin-top: 4px;
}

.aop-cookie-dialog__actions {
	margin-top: 12px;
}

.aop-cookie-dialog__policy {
	margin-top: 10px !important;
}

.aop-cookie-dialog a {
	color: #006b63;
	font-weight: 700;
}

.aop-cookie-text-action {
	appearance: none;
	background: transparent;
	border: 0;
	color: #006b63;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	padding: 7px 2px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.aop-cookie-text-action:focus-visible {
	outline: 3px solid #f6c85f;
	outline-offset: 2px;
}

.aop-cookie-status {
	margin-top: 10px !important;
	min-height: 1.55em;
}

.aop-cookie-noscript {
	background: #243632;
	bottom: 0;
	color: #fff;
	left: 0;
	padding: 16px 20px;
	position: fixed;
	right: 0;
	z-index: 100020;
}

body.aop-cookie-dialog-open {
	overflow: hidden;
}

body.aop-cookie-dialog-open .aop-cookie-banner {
	visibility: hidden;
}

@media (max-width: 760px) {
	.aop-cookie-banner {
		padding-top: 15px;
	}

	.aop-cookie-banner__content {
		align-items: stretch;
		flex-direction: column;
		gap: 14px;
	}

	.aop-cookie-banner__actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.aop-cookie-banner__actions .aop-cookie-button--link {
		grid-column: 1 / -1;
	}

	.aop-cookie-button {
		width: 100%;
	}

	.aop-cookie-dialog {
		max-height: calc(100vh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
		padding: 24px 18px;
		width: calc(100% - 24px);
	}

	.aop-cookie-dialog__actions {
		display: grid;
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aop-cookie-banner,
	.aop-cookie-dialog {
		scroll-behavior: auto;
	}
}
