.su-ad-slot {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	display: block;
	min-height: 1px;
	overflow: visible;
}

.su-ad-frame {
	width: 100%;
	max-width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	text-align: center;
}

.su-ad-slot--collapsed {
	height: 0 !important;
	min-height: 0 !important;
	max-height: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	overflow: hidden !important;
}

.su-ad-slot--empty-visible {
	overflow: hidden;
}

/*
 * Header UX skeleton.
 */
.su-ad-slot--prepared[data-su-placement="foxiz_header"] {
	position: relative;
	min-height: 100px;
	overflow: hidden;
	isolation: isolate;
}

.su-ad-slot--prepared[data-su-placement="foxiz_header"]::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: min(320px, 100%);
	height: 100px;
	transform: translateX(-50%);
	border-radius: 4px;
	background:
		linear-gradient(
			90deg,
			#f1f2f4 0%,
			#f1f2f4 34%,
			#fafafa 50%,
			#f1f2f4 66%,
			#f1f2f4 100%
		);
	background-size: 220% 100%;
	animation:
		su-ad-header-shimmer
		1.25s
		ease-in-out
		infinite;
	opacity: 1;
	pointer-events: none;
	z-index: 0;
}

.su-ad-slot--prepared[data-su-placement="foxiz_header"] > .su-ad-frame {
	position: relative;
	z-index: 1;
	min-height: 100px;
	align-items: center;
}

.su-ad-slot--filled[data-su-placement="foxiz_header"]::before,
.su-ad-slot--empty-visible[data-su-placement="foxiz_header"]::before,
.su-ad-slot--collapsed[data-su-placement="foxiz_header"]::before,
.su-ad-slot--prepared[data-su-placement="foxiz_header"][data-su-state="filled"]::before,
.su-ad-slot--prepared[data-su-placement="foxiz_header"][data-su-state="empty"]::before,
.su-ad-slot--prepared[data-su-placement="foxiz_header"][data-su-state="collapsed"]::before {
	opacity: 0;
	animation: none;
}

@keyframes su-ad-header-shimmer {
	0% {
		background-position: 100% 0;
	}

	100% {
		background-position: -100% 0;
	}
}

@media (min-width: 1024px) {
	.su-ad-slot--prepared[data-su-placement="foxiz_header"] {
		min-height: 250px;
	}

	.su-ad-slot--prepared[data-su-placement="foxiz_header"]::before {
		width: min(970px, 100%);
		height: 250px;
	}

	.su-ad-slot--prepared[data-su-placement="foxiz_header"] > .su-ad-frame {
		min-height: 250px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.su-ad-slot--prepared[data-su-placement="foxiz_header"]::before {
		animation: none;
	}
}

/*
 * Header same-slot floating - dev.6.
 *
 * Nao cria shell nem segundo slot.
 * O proprio .su-ad-frame ja renderizado muda
 * temporariamente para position:fixed.
 *
 * Foxiz sticky holder = z-index 998.
 * SU same-slot = z-index 997.
 */
@media (min-width: 1024px) {
	.su-ad-slot--same-slot-floating[data-su-placement="foxiz_header"] {
		overflow: visible !important;
		isolation: auto !important;
	}

	.su-ad-slot--same-slot-floating[data-su-placement="foxiz_header"] > .su-ad-frame--same-slot-floating {
		position: fixed !important;
		top: var(--su-same-slot-top, 60px);
		left: 50%;
		z-index: 997;
		width: min(
			var(--su-same-slot-width, 970px),
			calc(100vw - 32px)
		);
		max-width: calc(100vw - 32px);
		height: var(--su-same-slot-height, 90px);
		min-height: var(--su-same-slot-height, 90px) !important;
		max-height: var(--su-same-slot-height, 90px);
		margin: 0 !important;
		box-sizing: border-box;
		overflow: hidden;
		background: #fff;
		opacity: 1;
		visibility: visible;
		transform: translate3d(-50%, 0, 0);
		transition:
			transform 220ms ease,
			opacity 180ms ease;
		pointer-events: auto;
		will-change: transform, opacity;
	}

	.su-ad-slot--same-slot-floating[data-su-placement="foxiz_header"] > .su-ad-frame--same-slot-exiting {
		opacity: 0;
		transform: translate3d(-50%, -110%, 0);
		pointer-events: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.su-ad-slot--same-slot-floating[data-su-placement="foxiz_header"] > .su-ad-frame--same-slot-floating {
		transition: none;
	}
}
