/*
 * Tideframe example base CSS.
 *
 * 1. Token contract (child themes override these in :root)
 * 2. Accessibility: focus, skip link, screen-reader text
 * 3. Concept bar, footer line, demo notice, demo result, credits
 * 4. Sticky header
 * 5. Utilities
 * 6. Reveal states (JS adds .tf-js; hidden only when motion is allowed)
 * 7. Marquee
 * 8. Scroll-linked effects (animation-timeline) and View Transitions
 * 9. Reduced motion
 */

/* 1. Token contract ------------------------------------------------------ */
:root {
	/* Colours. Child themes must keep text pairs at WCAG AA. */
	--tf-color-bg: #ffffff;
	--tf-color-surface: #f4f4f2;
	--tf-color-text: #1a1a1a;
	--tf-color-muted: #555555;
	--tf-color-primary: #1a1a1a;
	--tf-color-on-primary: #ffffff;
	--tf-color-accent: #c8381f;
	--tf-color-border: #d9d9d4;
	--tf-color-focus: #0b57d0;
	--tf-color-bar-bg: #1a1a1a;
	--tf-color-bar-text: #ffffff;

	/* Fonts: families only. Child themes load their own woff2 files. */
	--tf-font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--tf-font-display: var(--tf-font-body);
	--tf-font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;

	/* Type scale (fluid). */
	--tf-text-sm: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
	--tf-text-base: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
	--tf-text-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
	--tf-text-xl: clamp(1.375rem, 1.2rem + 0.9vw, 1.875rem);
	--tf-text-2xl: clamp(1.75rem, 1.4rem + 1.8vw, 2.75rem);
	--tf-text-3xl: clamp(2.25rem, 1.6rem + 3.2vw, 4rem);

	/* Radii. */
	--tf-radius-s: 4px;
	--tf-radius-m: 8px;
	--tf-radius-l: 16px;
	--tf-radius-pill: 999px;

	/* Spacing and layout. */
	--tf-space-2xs: 0.25rem;
	--tf-space-xs: 0.5rem;
	--tf-space-s: 0.75rem;
	--tf-space-m: 1rem;
	--tf-space-l: 1.5rem;
	--tf-space-xl: 2.5rem;
	--tf-space-2xl: clamp(3rem, 2rem + 4vw, 5rem);
	--tf-space-3xl: clamp(4rem, 3rem + 6vw, 8rem);
	--tf-gutter: clamp(1rem, 0.5rem + 2vw, 2rem);
	--tf-container: 72rem;
	--tf-bar-height: 2rem;
	--tf-header-height: 4.5rem;

	/* Elevation. */
	--tf-shadow-s: 0 1px 2px rgb(0 0 0 / 0.12);
	--tf-shadow-m: 0 8px 24px rgb(0 0 0 / 0.14);

	/* Focus. */
	--tf-focus-width: 3px;
	--tf-focus-offset: 3px;

	/* Motion. */
	--tf-dur-fast: 150ms;
	--tf-dur-base: 300ms;
	--tf-dur-slow: 700ms;
	--tf-ease: cubic-bezier(0.4, 0, 0.2, 1);
	--tf-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--tf-reveal-distance: 1.5rem;
	--tf-stagger: 80ms;
	--tf-marquee-duration: 40s;
}

/* 2. Accessibility ------------------------------------------------------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: var(--tf-focus-width) solid var(--tf-color-focus);
	outline-offset: var(--tf-focus-offset);
}

html {
	scroll-padding-top: calc(var(--tf-header-height) + var(--tf-space-m));
}

/* GeneratePress prints its skip link as a.screen-reader-text.skip-link. */
.skip-link.screen-reader-text:focus,
.skip-link:focus {
	position: fixed;
	top: var(--tf-space-xs);
	left: var(--tf-space-xs);
	z-index: 100000;
	width: auto;
	height: auto;
	clip: auto;
	clip-path: none;
	padding: var(--tf-space-s) var(--tf-space-m);
	border-radius: var(--tf-radius-s);
	background: var(--tf-color-primary);
	color: var(--tf-color-on-primary);
	font: 600 var(--tf-text-sm) / 1.2 var(--tf-font-body);
	text-decoration: none;
	box-shadow: var(--tf-shadow-m);
}

.tf-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* 3. Concept bar, footer line, demo pieces ------------------------------- */
.tf-concept-bar {
	min-height: var(--tf-bar-height);
	background: var(--tf-color-bar-bg);
	color: var(--tf-color-bar-text);
	font: 500 var(--tf-text-sm) / 1.3 var(--tf-font-body);
}

.tf-concept-bar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0 var(--tf-space-m);
	min-height: inherit;
	padding: var(--tf-space-2xs) var(--tf-gutter);
}

.tf-concept-bar__text {
	margin: 0;
}

.tf-concept-bar__link,
.tf-concept-footer a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.2em;
	font-weight: 600;
}

.tf-concept-bar__studio {
	color: inherit;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	padding: 0.15em 0.7em;
	border: 1px solid currentColor;
	border-radius: 999px;
	transition: background-color 0.2s, color 0.2s;
}

.tf-concept-bar__studio:hover,
.tf-concept-bar__studio:focus-visible {
	background: var(--tf-color-bar-text);
	color: var(--tf-color-bar-bg);
}

.tf-studio-card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--tf-space-xs) var(--tf-space-m);
	margin: 0 0 var(--tf-space-s);
	padding: var(--tf-space-s) var(--tf-space-m);
	border: 1px solid currentColor;
	border-radius: var(--tf-radius-m, 12px);
	text-align: start;
}

.tf-studio-card__pitch {
	margin: 0;
	font: 600 var(--tf-text-lg, 1.25rem) / 1.25 var(--tf-font-display);
}

.tf-studio-card__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--tf-space-xs) var(--tf-space-m);
	margin: 0;
}

.tf-studio-card__cta {
	display: inline-block;
	padding: 0.65em 1.3em;
	border: 2px solid currentColor;
	border-radius: 999px;
	color: inherit !important;
	font-weight: 700;
	text-decoration: none !important;
	transition: transform 0.2s;
}

.tf-studio-card__cta:hover,
.tf-studio-card__cta:focus-visible {
	transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
	.tf-studio-card__cta:hover,
	.tf-studio-card__cta:focus-visible {
		transform: none;
	}
}

.tf-studio-card__more {
	color: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.tf-concept-footer {
	margin: 0 0 var(--tf-space-xs);
	font-size: var(--tf-text-sm);
}

.tf-demo-notice {
	display: flex;
	align-items: flex-start;
	gap: var(--tf-space-xs);
	margin: var(--tf-space-s) 0;
	padding: var(--tf-space-xs) var(--tf-space-s);
	border: 1px solid var(--tf-color-border);
	border-left-width: 4px;
	border-radius: var(--tf-radius-s);
	background: var(--tf-color-surface);
	color: var(--tf-color-text);
	font: 500 var(--tf-text-sm) / 1.45 var(--tf-font-body);
}

.tf-demo-notice__icon {
	flex: none;
	display: inline-grid;
	place-items: center;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 50%;
	background: var(--tf-color-primary);
	color: var(--tf-color-on-primary);
	font: italic 700 0.8rem / 1 var(--tf-font-display);
}

.tf-demo-notice--banner {
	margin: 0;
	padding: var(--tf-space-s) var(--tf-gutter);
	border-radius: 0;
	background: var(--tf-color-bar-bg);
	color: var(--tf-color-bar-text);
	font-size: var(--tf-text-base);
}

.tf-demo-notice--banner .tf-demo-notice__icon {
	background: var(--tf-color-bar-text);
	color: var(--tf-color-bar-bg);
}

.tf-demo-result {
	padding: var(--tf-space-l);
	border: 2px solid var(--tf-color-primary);
	border-radius: var(--tf-radius-m);
	background: var(--tf-color-surface);
}

.tf-demo-result:focus {
	outline: var(--tf-focus-width) solid var(--tf-color-focus);
	outline-offset: var(--tf-focus-offset);
}

.tf-demo-result p {
	margin: 0 0 var(--tf-space-m);
	font-weight: 600;
}

.tf-credits-wrap {
	overflow-x: auto;
}

.tf-credits {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--tf-text-sm);
}

.tf-credits th,
.tf-credits td {
	padding: var(--tf-space-xs) var(--tf-space-s);
	border-bottom: 1px solid var(--tf-color-border);
	text-align: left;
	vertical-align: middle;
}

.tf-credits__thumb {
	display: block;
	width: 4rem;
	height: 4rem;
	object-fit: cover;
	border-radius: var(--tf-radius-s);
}

/* 4. Sticky header (GeneratePress free has no sticky navigation) --------- */
.tf-sticky-header .site-header {
	position: sticky;
	top: 0;
	z-index: 50;
}

.admin-bar.tf-sticky-header .site-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

/* 5. Utilities ----------------------------------------------------------- */
.tf-container {
	width: min(100% - 2 * var(--tf-gutter), var(--tf-container));
	margin-inline: auto;
}

.tf-section {
	padding-block: var(--tf-space-2xl);
}

.tf-stack > * + * {
	margin-block-start: var(--tf-stack-gap, var(--tf-space-m));
}

.tf-cluster {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--tf-cluster-gap, var(--tf-space-s));
}

.tf-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--tf-grid-min, 16rem)), 1fr));
	gap: var(--tf-grid-gap, var(--tf-space-l));
}

.tf-eyebrow {
	font: 600 var(--tf-text-sm) / 1.2 var(--tf-font-body);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tf-balance {
	text-wrap: balance;
}

.tf-chip {
	display: inline-block;
	padding: var(--tf-space-2xs) var(--tf-space-s);
	border: 1px solid currentcolor;
	border-radius: var(--tf-radius-pill);
	font: 600 var(--tf-text-sm) / 1.2 var(--tf-font-body);
}

.tf-surface {
	background: var(--tf-color-surface);
	border-radius: var(--tf-radius-m);
}

/* 6. Reveal states ------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
	.tf-js [data-reveal] {
		transition:
			opacity var(--tf-dur-slow) var(--tf-ease-out) var(--tf-delay, 0ms),
			transform var(--tf-dur-slow) var(--tf-ease-out) var(--tf-delay, 0ms),
			clip-path var(--tf-dur-slow) var(--tf-ease-out) var(--tf-delay, 0ms);
	}

	.tf-js [data-reveal="fade"]:not(.is-in),
	.tf-js [data-reveal="fade-up"]:not(.is-in),
	.tf-js [data-reveal="scale"]:not(.is-in),
	.tf-js [data-reveal="clip"]:not(.is-in) {
		opacity: 0;
	}

	.tf-js [data-reveal="fade-up"]:not(.is-in) {
		transform: translateY(var(--tf-reveal-distance));
	}

	.tf-js [data-reveal="scale"]:not(.is-in) {
		transform: scale(0.94);
	}

	/* Leave 1px unclipped: Chromium's IntersectionObserver never reports an
	   element fully hidden by its own clip-path. Opacity keeps it invisible. */
	.tf-js [data-reveal="clip"]:not(.is-in) {
		clip-path: inset(0 0 calc(100% - 1px) 0);
	}

	/* Parent is the trigger; children animate with an index-based delay. */
	.tf-js [data-reveal="stagger"] {
		transition: none;
	}

	.tf-js [data-reveal="stagger"] > * {
		transition:
			opacity var(--tf-dur-slow) var(--tf-ease-out) calc(var(--tf-i, 0) * var(--tf-stagger)),
			transform var(--tf-dur-slow) var(--tf-ease-out) calc(var(--tf-i, 0) * var(--tf-stagger));
	}

	.tf-js [data-reveal="stagger"]:not(.is-in) > * {
		opacity: 0;
		transform: translateY(var(--tf-reveal-distance));
	}
}

/* 7. Marquee ------------------------------------------------------------- */
/* Without JS, or with reduced motion, the track is a static wrapping list. */
.tf-marquee {
	position: relative;
	overflow: hidden;
}

.tf-marquee__inner {
	display: flex;
	width: max-content;
	max-width: 100%;
}

.tf-marquee__track {
	display: flex;
	flex-wrap: wrap;
	flex: none;
	gap: var(--tf-marquee-gap, var(--tf-space-l));
	margin: 0;
	padding: 0 var(--tf-marquee-gap, var(--tf-space-l)) 0 0;
	list-style: none;
}

.tf-marquee__toggle {
	position: absolute;
	right: var(--tf-space-xs);
	bottom: var(--tf-space-xs);
	padding: var(--tf-space-2xs) var(--tf-space-s);
	border: 1px solid currentcolor;
	border-radius: var(--tf-radius-pill);
	background: var(--tf-color-bg);
	color: var(--tf-color-text);
	font: 600 var(--tf-text-sm) / 1.2 var(--tf-font-body);
	cursor: pointer;
}

.tf-marquee__toggle[aria-pressed="true"] {
	background: var(--tf-color-primary);
	color: var(--tf-color-on-primary);
}

@media (prefers-reduced-motion: no-preference) {
	.tf-marquee.is-ready .tf-marquee__inner {
		max-width: none;
		animation: tf-marquee var(--tf-marquee-duration) linear infinite;
	}

	.tf-marquee.is-ready .tf-marquee__track {
		flex-wrap: nowrap;
	}

	.tf-marquee[data-marquee="reverse"].is-ready .tf-marquee__inner {
		animation-direction: reverse;
	}

	.tf-marquee.is-ready:hover .tf-marquee__inner,
	.tf-marquee.is-ready:focus-within .tf-marquee__inner,
	.tf-marquee.is-paused .tf-marquee__inner {
		animation-play-state: paused;
	}

	@keyframes tf-marquee {
		to {
			transform: translateX(-50%);
		}
	}
}

/* 8. Scroll-linked effects and View Transitions -------------------------- */
.tf-progress {
	display: none;
}

@supports (animation-timeline: scroll()) {
	@media (prefers-reduced-motion: no-preference) {
		.tf-progress {
			display: block;
			position: fixed;
			inset: 0 0 auto 0;
			z-index: 100001;
			height: 3px;
			background: var(--tf-color-accent);
			transform: scaleX(0);
			transform-origin: 0 50%;
			animation: tf-progress linear both;
			animation-timeline: scroll(root block);
		}

		/* data-scroll="rise" and "parallax" are pure CSS; static where unsupported. */
		[data-scroll="rise"] {
			animation: tf-rise linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 60%;
		}

		[data-scroll="parallax"] {
			animation: tf-parallax linear both;
			animation-timeline: view();
			animation-range: cover;
		}

		@keyframes tf-progress {
			to {
				transform: scaleX(1);
			}
		}

		@keyframes tf-rise {
			from {
				opacity: 0;
				transform: translateY(var(--tf-reveal-distance));
			}
		}

		@keyframes tf-parallax {
			from {
				transform: translateY(-6%);
			}

			to {
				transform: translateY(6%);
			}
		}
	}
}

/* Opt-in cross-document transitions are enabled from PHP (view_transitions). */
@media (prefers-reduced-motion: no-preference) {
	::view-transition-old(root),
	::view-transition-new(root) {
		animation-duration: var(--tf-dur-base);
		animation-timing-function: var(--tf-ease);
	}
}

/* 9. Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto !important;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		animation-delay: 0s !important;
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
		scroll-behavior: auto !important;
	}

	[data-reveal],
	[data-reveal] > *,
	[data-scroll] {
		opacity: 1 !important;
		transform: none !important;
		clip-path: none !important;
	}

	.tf-marquee__inner {
		width: auto;
		flex-wrap: wrap;
	}

	.tf-marquee [data-marquee-copy],
	.tf-marquee__toggle,
	.tf-progress {
		display: none !important;
	}
}

/* GeneratePress (a classic theme) wraps group blocks in __inner-container and gives
   it its own padding and max width. Concept sites lay out groups with their own
   classes, so the wrapper must not add a box: its children join the group's layout. */
.entry-content .wp-block-group > .wp-block-group__inner-container {
	display: contents;
}

/* Image blocks used as framed media fill their container. */
.entry-content .wp-block-image.ff-frame,
.entry-content .wp-block-image[class*="-frame"],
.entry-content .wp-block-image[class*="tf-fill"] {
	display: block;
	width: 100%;
	margin: 0;
}
.entry-content .wp-block-image[class*="-frame"] img,
.entry-content .wp-block-image[class*="tf-fill"] img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* GeneratePress lets long words break anywhere. Display headings should wrap
   between words; only on narrow screens may a single long word still break. */
@media (min-width: 600px) {
	h1, h2, h3, .entry-title {
		overflow-wrap: normal;
		word-break: normal;
		hyphens: manual;
	}
}

/* Archive and custom templates sit outside .entry-content; let them run full width
   too. Header and footer keep their own inner containers. */
.site.grid-container {
	max-width: none;
}

/* 10. Dropdowns, menus and disclosures ----------------------------------- */
/* Child themes restyle these through tokens. A data URI cannot read var(), so a
   child sets its own --tf-select-arrow with the colour written in. */
:root {
	--tf-select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231a1a1a' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6'/%3E%3C/svg%3E");
	--tf-select-arrow-size: 1rem;
	--tf-select-arrow-inset: 0.875rem;
	/* Black chevron for masks, so markers can be painted in currentcolor. */
	--tf-chevron-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6'/%3E%3C/svg%3E");
	--tf-control-height: 2.75rem;
}

/* Box defaults carry no specificity, so each child's field rules win. */
:where(.tf-site) :where(select:not([multiple], [size])) {
	min-height: var(--tf-control-height);
	padding: 0.5rem 0.875rem;
	border: 1px solid var(--tf-color-muted);
	border-radius: var(--tf-radius-s);
	background-color: var(--tf-color-surface);
	color: var(--tf-color-text);
	font: inherit;
}

/* The chevron itself. This rule outranks the child field rules on purpose: their
   background and padding shorthands would otherwise wipe the arrow. */
.tf-site select:not([multiple]):not([size]) {
	-webkit-appearance: none;
	appearance: none;
	background-image: var(--tf-select-arrow);
	background-repeat: no-repeat;
	background-position: right var(--tf-select-arrow-inset) center;
	background-size: var(--tf-select-arrow-size) auto;
	padding-inline-end: calc(var(--tf-select-arrow-inset) * 2 + var(--tf-select-arrow-size));
	text-overflow: ellipsis;
	cursor: pointer;
}

/* A required select still on its empty "Choose one" option reads as a placeholder. */
.tf-site select:required:invalid {
	color: var(--tf-color-muted);
}

.tf-site select option {
	color: var(--tf-color-text);
	background-color: var(--tf-color-surface);
}

.tf-site select:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

/* Windows high contrast drops background images: hand the arrow back to the system. */
@media (forced-colors: active) {
	.tf-site select:not([multiple]):not([size]) {
		-webkit-appearance: menulist;
		appearance: auto;
		background-image: none;
	}
}

/* Disclosures: every summary reads as clickable. Markers stay with each child. */
:where(.tf-site) summary {
	cursor: pointer;
}

/* GeneratePress paints nav hover, focus and open dropdown parents with its own
   --accent (a default blue). Point it at the site's hover colour instead. */
.main-navigation {
	--accent: var(--tf-nav-hover-color, var(--tf-color-text));
}

/* Desktop sub-menus: a floating panel. Children keep their own border, shadow and
   background because they use the same selector and load later. */
@media (min-width: 769px) {
	.main-navigation .main-nav ul ul {
		width: max-content;
		min-width: 14rem;
		max-width: 22rem;
		padding: var(--tf-space-xs);
		background-color: var(--tf-color-bg);
		border: 1px solid var(--tf-color-border);
		border-radius: var(--tf-radius-m);
		box-shadow: var(--tf-shadow-m);
	}

	.main-navigation .main-nav ul ul li a {
		padding: 0.625rem 0.875rem;
		border-radius: var(--tf-radius-s);
		line-height: 1.35;
		white-space: normal;
	}

	.main-navigation .main-nav ul ul li:not([class*="current-menu-"]):hover > a,
	.main-navigation .main-nav ul ul li:not([class*="current-menu-"]):focus-within > a,
	.main-navigation .main-nav ul ul li.sfHover:not([class*="current-menu-"]) > a {
		background-color: var(--tf-nav-sub-hover-bg, var(--tf-color-surface));
		color: var(--tf-nav-sub-hover-color, var(--tf-color-text));
	}

	.main-navigation .dropdown-menu-toggle .gp-icon svg {
		transition: transform var(--tf-dur-fast) var(--tf-ease);
	}

	.main-navigation:not(.toggled) .main-nav ul li:hover > a .dropdown-menu-toggle .gp-icon svg,
	.main-navigation:not(.toggled) .main-nav ul li.sfHover > a .dropdown-menu-toggle .gp-icon svg {
		transform: rotate(180deg);
	}
}

@media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
	.main-navigation:not(.toggled) .main-nav ul ul {
		transform: translateY(0.375rem);
		transition: opacity var(--tf-dur-fast) linear, transform var(--tf-dur-base) var(--tf-ease-out);
	}

	.main-navigation:not(.toggled) ul li:hover > ul,
	.main-navigation:not(.toggled) ul li.sfHover > ul {
		transform: none;
	}
}

/* Mobile: sub-menus open inline as an indented list, not a floating box. */
@media (max-width: 768px) {
	.main-navigation.toggled .main-nav ul ul {
		margin: 0 0 var(--tf-space-xs);
		padding: 0 0 0 var(--tf-space-m);
		border: 0;
		border-inline-start: 2px solid var(--tf-color-border);
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	.main-navigation.toggled .dropdown-menu-toggle {
		min-width: 44px;
		text-align: center;
	}

	/* GeneratePress prints a second toggle in .mobile-menu-control-wrapper. Both
	   navs are flex items with z-index 100, so the later primary nav (and any
	   fixed menu panel inside it) painted over the open menu's close button. */
	.site-header .mobile-menu-control-wrapper {
		position: relative;
		z-index: 101;
	}
}
