@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("assets/fonts/lato-300.ttf") format("truetype");
}

@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/lato-400.ttf") format("truetype");
}

@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/lato-700.ttf") format("truetype");
}

@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url("assets/fonts/lato-900.ttf") format("truetype");
}

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("assets/fonts/montserrat-300.ttf") format("truetype");
}

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/montserrat-400.ttf") format("truetype");
}

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("assets/fonts/montserrat-500.ttf") format("truetype");
}

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/montserrat-700.ttf") format("truetype");
}

.ddi-consent-banner,
.ddi-consent-modal {
	font-family: Lato, sans-serif;
}

.ddi-consent-banner {
	position: fixed;
	right: 20px;
	bottom: 20px;
	left: 20px;
	z-index: 99998;
	display: block;
	max-width: 1120px;
	margin: 0 auto;
	padding: 18px;
	color: #1f2933;
	background: #fff;
	border: 1px solid #d9e2ec;
	box-shadow: 0 18px 46px rgba(15, 23, 42, .18);
}

.ddi-consent-banner[hidden],
.ddi-consent-modal[hidden] {
	display: none;
}

.ddi-consent-banner h2,
.ddi-consent-modal h2 {
	margin: 0 0 8px;
	font-family: Montserrat, sans-serif;
	font-size: 20px;
	line-height: 1.25;
}

.ddi-consent-banner p,
.ddi-consent-modal p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
}

.ddi-consent-banner__actions,
.ddi-consent-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.ddi-consent-banner__actions {
	justify-content: center;
	margin-top: 16px;
}

.ddi-consent-button,
.ddi-consent-close,
.ddi-consent-map-placeholder button,
.ddi-consent-form-gate .ddi-consent-button {
	min-height: 42px;
	padding: 10px 16px;
	color: #1f2933;
	background: #fff;
	border: 1px solid #9fb3c8;
	border-radius: 4px;
	font-weight: 700;
	line-height: 1.2;
}

.ddi-consent-button--primary,
.ddi-consent-map-placeholder button,
.ddi-consent-form-gate .ddi-consent-button--primary {
	color: #fff;
	background: #8a0000;
	border-color: #8a0000;
}

.ddi-consent-button:focus,
.ddi-consent-close:focus,
.ddi-consent-map-placeholder button:focus,
.ddi-consent-form-gate .ddi-consent-button:focus {
	outline: 3px solid #f7c948;
	outline-offset: 2px;
}

.ddi-consent-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(15, 23, 42, .58);
}

.ddi-consent-modal__panel {
	width: min(680px, 100%);
	max-height: min(760px, 90vh);
	overflow: auto;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
}

.ddi-consent-modal__header,
.ddi-consent-modal__content,
.ddi-consent-modal__actions {
	padding: 18px;
}

.ddi-consent-modal__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	border-bottom: 1px solid #d9e2ec;
}

.ddi-consent-close {
	min-width: 42px;
	padding: 8px 12px;
	font-size: 18px;
}

.ddi-consent-toggle {
	position: relative;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 0;
	border-bottom: 1px solid #edf2f7;
	cursor: pointer;
}

.ddi-consent-toggle input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.ddi-consent-toggle__box {
	position: relative;
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	background: #fff;
	border: 2px solid #7b8794;
	border-radius: 4px;
	box-shadow: inset 0 0 0 2px #fff;
}

.ddi-consent-toggle__box::after {
	position: absolute;
	top: 2px;
	left: 6px;
	width: 7px;
	height: 12px;
	content: "";
	border: solid #fff;
	border-width: 0 3px 3px 0;
	opacity: 0;
	transform: rotate(45deg);
}

.ddi-consent-toggle input:checked + .ddi-consent-toggle__box {
	background: #8a0000;
	border-color: #8a0000;
}

.ddi-consent-toggle input:checked + .ddi-consent-toggle__box::after {
	opacity: 1;
}

.ddi-consent-toggle input:focus + .ddi-consent-toggle__box {
	outline: 3px solid #f7c948;
	outline-offset: 2px;
}

.ddi-consent-toggle strong {
	display: block;
	margin-bottom: 4px;
	font-family: Montserrat, sans-serif;
}

.ddi-consent-toggle--disabled {
	color: #52606d;
	cursor: default;
}

.ddi-consent-toggle--disabled .ddi-consent-toggle__box {
	background: #d9e2ec;
	border-color: #9fb3c8;
}

.ddi-consent-modal__actions {
	border-top: 1px solid #d9e2ec;
}

.ddi-consent-footer-link {
	display: inline-block;
	margin-left: 14px;
	padding: 0;
	color: inherit;
	background: transparent;
	border: 0;
	text-decoration: underline;
}

.ddi-consent-map-placeholder {
	display: flex;
	min-height: 1024px;
	align-items: center;
	justify-content: center;
	padding: 24px;
	color: #1f2933;
	background: #eef2f6;
}

.ddi-consent-map-placeholder__content {
	max-width: 420px;
	text-align: center;
}

.ddi-consent-map-placeholder__content span {
	display: block;
	margin-bottom: 8px;
	font-family: Montserrat, sans-serif;
	font-size: 22px;
	font-weight: 700;
}

.ddi-consent-map-placeholder__content p {
	margin-bottom: 16px;
}

.ddi-consent-map-active {
	min-height: 1024px;
}

.ddi-consent-form-gate {
	margin: 0 0 18px;
	padding: 16px;
	color: #1f2933;
	background: #fff8e6;
	border: 1px solid #f0c36d;
	border-radius: 4px;
}

.ddi-consent-form-gate[hidden] {
	display: none;
}

.ddi-consent-form-gate__message {
	margin: 0 0 12px;
	font-size: 15px;
	line-height: 1.45;
}

.ddi-consent-form-gate__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: flex-start;
}

form[data-ddi_consent_recaptcha_state="blocked"],
form[data-ddi_consent_recaptcha_state="loading"],
form[data-ddi_consent_recaptcha_state="error"] {
	opacity: .72;
}

@media (max-width: 767px) {
	.ddi-consent-banner {
		display: block;
		right: 12px;
		bottom: 12px;
		left: 12px;
	}

	.ddi-consent-banner__actions {
		justify-content: center;
		margin-top: 14px;
	}

	.ddi-consent-button {
		flex: 1 1 130px;
	}

	.ddi-consent-map-placeholder,
	.ddi-consent-map-active {
		min-height: 500px;
	}

	.ddi-consent-form-gate__actions .ddi-consent-button {
		flex: 1 1 170px;
	}
}
