/*
 * Hubzone Depot cookie consent: the states a component cannot express. The
 * look (sizes, colours, fonts) lives in the hzd-cc-* Elementor classes.
 */

/* Hidden until the script decides what to show. */
body .elementor .hzd-cc-banner:not(.hzd-cc-open),
body .elementor .hzd-cc-modal:not(.hzd-cc-open),
body .elementor .hzd-cc-overlay:not(.hzd-cc-open) {
	display: none !important;
}

html.hzd-cc-locked {
	overflow: hidden;
}

/* The longer introduction shows after "Show more". */
.elementor .hzd-cc-modal:not(.hzd-cc-more-open) .hzd-cc-more {
	display: none;
}

/* On/off switch (CookieYes colours). */
.elementor .hzd-cc-toggle {
	position: relative;
	flex: none;
	transition: background-color 0.2s;
}

.elementor .hzd-cc-toggle::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	transition: transform 0.2s;
}

.elementor .hzd-cc-toggle.is-on {
	background-color: #1863DC;
}

.elementor .hzd-cc-toggle.is-on::after {
	transform: translateX(20px);
}

.elementor .hzd-cc-toggle:focus-visible,
.elementor .hzd-cc-btn:focus-visible,
.elementor .hzd-cc-settings:focus-visible,
.elementor .hzd-cc-close:focus-visible {
	outline: 2px solid #1863DC;
	outline-offset: 2px;
}
