/*
 * IC Tema: secciones fijas (sticky), superposición y cambio de estilos al bajar.
 * Clases: the7-e-sticky-row-yes / -overlap-yes / -effect-yes (de los controles),
 * the7-e-sticky / -active / -effects / -spacer (las pone sticky.js).
 */

.the7-e-sticky-effect-yes > .elementor-container,
.the7-e-sticky-effect-yes.e-con,
.the7-e-sticky-effect-yes .elementor-widget-image img,
.the7-e-sticky-effect-yes .elementor-widget-image svg,
.the7-e-sticky-effect-yes .dt-nav-menu-horizontal {
	transition: min-height .3s, height .3s, width .3s, max-width .3s, opacity .3s;
}

.the7-e-sticky-effect-yes,
.the7-e-sticky-scrollup-yes {
	transition: background .3s, border .3s, border-radius .3s, box-shadow .3s, opacity .3s, transform .3s !important;
}

.the7-e-sticky-effect-yes.e-con {
	transition: min-height .3s, height .3s, width .3s, max-width .3s, opacity .3s, background .3s, border .3s, border-radius .3s, box-shadow .3s, transform .3s !important;
}

.the7-e-sticky-effect-yes.e-con.the7-e-sticky {
	transition: min-height .3s, height .3s, opacity .3s, background .3s, border .3s, border-radius .3s, box-shadow .3s, transform .3s !important;
}

/* "Mostrar al subir": se esconde al bajar y vuelve al subir. */
.the7-e-sticky-scrollup-yes:not(.the7-e-sticky-spacer) {
	--the7-sticky-scroll-up-translate: 0;
	transform: translateY(0);
}

.the7-e-sticky-scrollup-yes:not(.the7-e-sticky-spacer).the7-e-scroll-down {
	transform: translateY(calc(0px - var(--the7-sticky-scroll-up-translate)));
}

/* Superposición: la fila no ocupa lugar y queda arriba del contenido que sigue. */
.the7-e-sticky-overlap-yes,
.the7-e-sticky-overlap-yes.the7-e-sticky-spacer {
	position: absolute;
	top: initial;
	width: 100%;
}

.the7-e-sticky-active,
.the7-e-sticky-overlap-yes {
	z-index: 99;
}

/* Elementos que se esconden o aparecen cuando la fila está fija. */
.the7-e-sticky-effect-yes .the7-e-on-sticky-effect-visibility {
	transition: all .3s ease-in-out !important;
}

.the7-e-sticky-effect-yes.the7-e-sticky-effects:not(.the7-e-sticky-spacer) .the7-e-on-sticky-effect-visibility-hide,
.the7-e-sticky-effect-yes:not(.the7-e-sticky-effects):not(.the7-e-sticky-spacer) .the7-e-on-sticky-effect-visibility-show {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	height: 0 !important;
	opacity: 0;
	overflow: hidden;
}

.notransition-all:not(.fix),
.notransition-all.e-con.the7-e-sticky:not(.fix),
.notransition-all:not(.fix) * {
	transition: none !important;
}
