/* 
Theme Name: Fenixbyte

Description: Fenixbyte es una agencia especializada en diseño y desarrollo web a medida, con enfoque en conversión, UX/UI y posicionamiento SEO.
Author: Fenixbyte
Author URI: https://fenixbyte.com/
Template: hello-elementor
Version: 1.0.0
Tags: diseño-personalizado, diseño-adaptable, optimizado-seo, compatible-editor-bloques, compatible-elementor, accesibilidad, código-limpio, enfocado-ux-ui, carga-rápida
*/

.elementor-text-editor p:last-child, .textwidget p:last-child, .elementor-widget-container p:last-child, .elementor-widget-text-editor p:last-child{ 
	margin-bottom:0px;
}

p:last-child{ 
	margin-bottom:0px;
}

*::selection {
  background: var(--e-global-color-primary) !important;
  color: #ffffff !important;
}
*::-moz-selection {
  background: var(--e-global-color-primary) !important;
  color: #ffffff !important;
}


/* Scroll Smooth */
/*
html {
  scroll-behavior: auto !important;
}
html.lenis {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}*/


.img-backcover-effect {
    flex: 1;
	position: relative;
   	display: flex;
   	align-items: stretch;
	& img {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
    		object-fit: cover;
	}
}


/* Add your custom styles here */
body:not(.elementor-editor-active) .split-text {
    opacity: 0;
    visibility: hidden;
}

/* Evitar efecto parpadeo titulares con efecto aparicion */
.elementor-sticky.elementor-sticky__spacer .split-text{
	opacity: 0!important;
}

/* Forzar fondo de proyectos centrado para efecto de agrandar */
.caja-proyecto {
  background-position: center;
  background-repeat: no-repeat;
}

body:not(.elementor-editor-active) .caja-proyecto {
  background-size: 100%!important;
}

body:not(.elementor-editor-active) .caja-proyecto.vertical {
  background-size: auto 100%!important;
}

/* Bucle Equipo - fotos pisadas */
.bucle-equipo .elementor-loop-container.elementor-grid {
  display: flex;
  justify-content: end;
  flex-wrap: wrap; 
  gap: 0;
}

.bucle-equipo .elementor-loop-container .equipo {
  margin-right: -30px; 
  z-index: 1;
  position: relative;
}

.bucle-equipo .elementor-loop-container .equipo:last-of-type {
  	margin-left: 0 !important;
	padding-left: 0 !important;
}


@media only screen and (max-width: 1024px) {
  .bucle-equipo .elementor-loop-container.elementor-grid {
	  justify-content: center;
	  margin-left: -30px;
	}
}

.racesWrapper {
  transition: none !important;
  animation: none !important;
}

.races .e-con-inner {
	width:fit-content;
	display:flex;
	flex-wrap:nowrap;
}

.races .e-con-inner .panel{
	flex-shrink:0;	
	margin:0;	
}

@media only screen and (max-width: 1024px) {
	.formulario-hero .elementor-field-label{
		display:none;
	}
}

/* Botones formularios */
.elementor-field-group .elementor-button {
	background-image: linear-gradient(90deg, var(--e-global-color-secondary) 0%, var(--e-global-color-accent) 100%);
}
