/*
Theme Name: Generatepress Child
Theme URI: www.montte.com
Version: 0.01
Description: Tema hijo de Generatepress
Author: PKF-Attest
Author URI: www.pkf-attest.com
Template: generatepress
*/
 

/*----------------- Cambios a partir de aquí -------------------------------*/

.copyright-bar {
	display: none;
}

/** Elementos ***/

p {
  margin-bottom: 0 !important;
}
a:hover, a:focus, a:active {
    color: var(--secondary);
	/*text-decoration: underline;*/
}

.elementor-button-wrapper .elementor-button:hover, .elementor-button-wrapper .elementor-button:focus {
			text-decoration: none !important;	
}

/** Btn con icon **/

.elementor-button-content-wrapper {
    align-items: center;
}
.elementor-button-wrapper #email {
       /* width: 200px !important;
    height: 64px !important; */
    padding: 24px 72px 24px 52px !important
}
.elementor-button-wrapper #phone {
       /* width: 200px !important;
    height: 64px !important;*/
    padding: 18px 80px 18px 60px !important;
}
/*iconos de los botones de contacto*/
#email .elementor-button-text:after {
    width: 29px; /* Specify the width */
    height: 17px; /* Specify the height */
  content: url('/wp-content/uploads/2024/09/ico-email-contacto.svg');
	display: inline-block;
    padding-left: 20px;
}
#email .elementor-button-text:hover:after {
    width: 29px; /* Specify the width */
    height: 17px; /* Specify the height */
  content: url('/wp-content/uploads/2024/09/ico-email-contacto-hover.svg');
	display: inline-block;
    padding-left: 20px;
}
#email .elementor-button-text {
    display: flex;
    align-items: center;
    flex-direction: row;
}

#phone .elementor-button-text:after {
    width: 24px; /* Specify the width */
    height: 29px; /* Specify the height */
  content: url('/wp-content/uploads/2024/09/ico-phone-contacto.svg');
	display: inline-block;
    padding-left: 20px;
}
#phone .elementor-button-text:hover:after {
    width: 24px; /* Specify the width */
    height: 29px; /* Specify the height */
  content: url('/wp-content/uploads/2024/09/ico-phone-contacto-hover.svg');
	display: inline-block;
    padding-left: 20px;
}
#phone .elementor-button-text {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.elementor-button-wrapper .btn-filtro{
	width: 100%;
}

.btn-filtros .elementor-button {
	width: 100%!important;
}

/*** Header ***/
/*fixed*/
.ehf-header #masthead {
    z-index: 99;
    position: fixed;
    max-width: 100%;
    width: 100%;
    background: #fff;
}

header .e-con-inner {
	border-bottom: 1px solid #e8e8e8;
}
/** Hamburguesa **/
.hfe-flyout-close, .hfe-flyout-close svg {
	margin: 8px !important;
}
/** content **/
.one-container .site-content {
padding-top: 120px;
}
/*** WMPL ***/

.wpml-ls-legacy-dropdown {
    width: auto !important;
    max-width: 100%;
}

/*** carousel bdt-prime-slider-tango ***/
.bdt-prime-slider-tango .bdt-item {
    clip-path: none !important;
}
.bdt-prime-slider-tango .bdt-content-wrap {
   /* top: 35% !important;*/
	top: auto !important;
	bottom: 40% !important;
}
.bdt-prime-slider-tango .bdt-title {
    margin-top: 24px !important;
}
.bdt-prime-slider-tango .bdt-title a {
    border: 1px solid #fff !important;
    padding: 16px 24px 16px 24px !important;
}
.bdt-prime-slider-tango .bdt-title a:hover {
background-color: var(--e-global-color-secondary) !important;
	border: 1px solid var(--e-global-color-secondary) !important;
}
.bdt-prime-slider-tango .bdt-subtitle {
	margin-bottom: 35px !important
}
/** dots **/
/*.elementor-34 .elementor-element.elementor-element-2e7ea72 .wpr-slider-dots {
top: 110%;
}*/
.clientes-slider .wpr-slider-dots {
top: 110%!important;
}
.wpr-slider-dots .wpr-slider-dot {
    width: clamp(1.875rem, 4vw, 3.125rem) !important;
    height: 1px !important;
    border-radius: 0 !important;
    background: rgba(0,0,0,0.1);
    outline: none;
    opacity: 1;
    margin: 0;
    transition: .3s ease
}
.slick-dots {
    width: auto !important;
}
/*felcha de los sliders, cambiar el z-index, porque sino salen por encima del menú*/
.wpr-slider-arrow {
	    z-index: 0 !important;
}

/** Footer **/
.footer_titulo {
	margin-bottom: 1.5rem !important;
}

.footer_titulo .elementor-widget-container {
	border-bottom: 1px solid var(--text);
    padding-bottom: 0.5rem;
}
.footer_titulo h3 {
	padding-left: 0.5rem;
	font-size: 19px !important;
    font-weight: 700 !important;
}
.footer_subtitulo {
	margin-bottom: 1.5rem !important;
	margin-top: 1.5rem;
}
.footer_subtitulo.margin-0 {
	margin-bottom: 1.5rem !important;
	margin-top: 0 !important;
}
.footer_subtitulo h4 {
    font-size: 16px !important;
    font-weight: 700 !important;
}

.footer_lista ul {
	padding: 0;
    margin: 0;
}
.footer_lista.margin-b ul {
	margin-bottom: 1.5rem !important;
}
.footer_lista li {
  list-style-type: '-';
  font-size: 1rem;

}

.footer_lista ul li {
   padding-left: 0.2rem;
}
.footer_lista .line-height {
    line-height: 1.2rem;
}
/*.footer_lista ul li::marker{
  content: url(/wp-content/uploads/2024/09/Line-lista.svg);
}*/
.footer-logos {
	font-size: 19px;
}

/** dots del carrusel de imágenes que está en proyectos **/
.swiper-pagination-bullet {
	width: 100px !important;
    height: 4px !important;
    border-radius: 0 !important;
	background: rgba(0,0,0,0.1);
	opacity: 1;
}
.swiper-pagination-bullet-active {
		background: #495157;
}
.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
	margin: 0 !important;
}

/*** MENÚ DE NAVEGACIÓN CUANDO ESTÁ ACTIVO ***/
/*.sub-menu-active, .sub-menu-open li {
	background: #D9D9D9 !important;
}*/

/*** PÁGINA POST DE LOS PORDUCTOS ***/
.single-post .page-header-image-single, .single-post .entry-meta, .single-post .comments-area  {
    display: none;
}

/*** PAGINA PRODUCTOS ***/
.title-hover:hover {
    color: #3B3B3B; /*el hover del título*/
}

/* Hover effect para tarjetas: íconos y texto en blanco */
.e-con-full.sector-line.e-flex:hover .elementor-widget-image img {
    filter: invert(1); /* Convierte la imagen a blanco */
    transition: filter 0.3s ease; /* Transición suave */
}

.e-con-full.sector-line.e-flex:hover .elementor-widget-text-editor p {
    color: white; /* Texto en blanco */
    transition: color 0.3s ease; /* Transición suave */
}



/* Línea fucsia solo para el contenedor 4a2d9922 TARJETA INICIO ESPACIOS*/
.elementor-element-4a2d9922 .e-grid.e-con-full .elementor-widget-text-editor:last-child .elementor-widget-container {
    position: relative;
    padding-bottom: 10px;
}

.elementor-element-4a2d9922 .e-grid.e-con-full .elementor-widget-text-editor:last-child .elementor-widget-container::after {
    content: "";
    display: block;
    width: 35px;
    height: 3px;
    background-color: #ed008c;
    margin-top: 20px;
    margin-bottom: 0px;
    border-radius: 999px;
}

/* Reducir la altura de las imágenes en el grid de proyectos */
.wpr-grid-image-wrap img {
    max-height: 250px; /* Ajusta este valor para hacerlas menos largas (prueba con 150px o 180px) */
    width: 100%;
    object-fit: cover; /* Mantiene la proporción y recorta si es necesario */
}

/* Línea fucsia debajo del excerpt en el grid de ESPACIOS */
.wpr-grid-item-excerpt .inner-block {
    position: relative;
    padding-bottom: 10px; /* Espacio mínimo para la línea */
}

.wpr-grid-item-excerpt .inner-block::after {
    content: "";
    display: block;
    width: 35px;
    height: 3px;
    background-color: #ed008c; /* Color fucsia */
    margin-top: 20px;
    margin-bottom: 42px;
    border-radius: 999px; /* Bordes redondeados */
}

/* Línea fucsia debajo del tag en el grid de proyectos específico tarjetas principal espacios */
.elementor-element-299d04df .wpr-grid-item-post_tag .inner-block {
    position: relative;
    padding-bottom: 10px;
}

.elementor-element-299d04df .wpr-grid-item-post_tag .inner-block::after {
    content: "";
    display: block;
    width: 35px;
    height: 3px;
    background-color: #ed008c;
    margin-top: 17px;
    margin-bottom: 20px;
    border-radius: 999px;
}

/* Iconos fucsias en el contenedor de servicios 2e344a25 */
.elementor-element-2e344a25 .elementor-widget-image img {
    filter: invert(37%) sepia(93%) saturate(4823%) hue-rotate(338deg) brightness(102%) contrast(97%);
}

/* Botones de filtro responsivos */
.elementor-element-17c8b897 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0px;
    width: 100%;
}

/* Estilo para el botón activo (seleccionado por defecto) */
.elementor-element-17c8b897 .elementor-button.active {
    background-color: #3B3B3BF0 !important; /* Color de fondo cuando está activo */
    color: #ffffff !important; /* Texto blanco cuando está activo */
    border-color: #3B3B3BF0 !important; /* Borde del mismo color */
}

.elementor-element-17c8b897 .elementor-button {
    width: 100%;
    min-height: 35px;
    padding: 9px 13px;
    text-align: center;
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1.3;
}

@media (max-width: 1024px) {
    .elementor-element-17c8b897 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .elementor-element-dc332c3 {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .elementor-element-17c8b897 {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .elementor-element-17c8b897 .elementor-button {
        font-size: 14px;
        padding: 8px 12px;
        min-height: 40px;
    }
}

@media (max-width: 480px) {
    .elementor-element-17c8b897 {
        grid-template-columns: 1fr;
    }
}

.elementor-element-dc332c3 .elementor-button {
    cursor: pointer !important;
    transition: all 0.3s ease;
}

/* Agrega cursor pointer a los botones en estado normal y hover para mejor UX */
.elementor-button-wrapper .elementor-button {
    cursor: pointer; /* Cursor pointer por defecto en todos los botones */
}

.elementor-button-wrapper .elementor-button:hover,
.elementor-button-wrapper .elementor-button:focus {
    cursor: pointer; /* Mantiene el cursor pointer en hover/focus para consistencia */
    text-decoration: none !important; /* Mantén tu estilo existente */
}

/* Estilo adicional para botones activos (agregado por tu JavaScript) */
.elementor-button-wrapper .elementor-button.active {
    cursor: pointer; /* Asegura que el cursor pointer se mantenga en el botón activo */
}

/* Opcional: Mejora para botones específicos como los de filtro */
.btn-filtros .elementor-button {
    cursor: pointer; /* Agrega si usas esta clase en otros lugares */
}

.btn-filtros .elementor-button:hover,
.btn-filtros .elementor-button:focus {
    cursor: pointer; /* Consistencia en hover para estos botones */
}

/* Línea fucsia debajo del segundo texto en tarjetas del contenedor 1d66dc98 */
.elementor-element-1d66dc98 .e-grid.e-con-full .elementor-widget-text-editor:last-child .elementor-widget-container {
    position: relative;
    padding-bottom: 10px;
}

.elementor-element-1d66dc98 .e-grid.e-con-full .elementor-widget-text-editor:last-child .elementor-widget-container::after {
    content: "";
    display: block;
    width: 35px;
    height: 3px;
    background-color: #ed008c;
    margin-top: 17px;
    margin-bottom: 35px;
    border-radius: 999px;
}

/* Cuadros fucsias arriba de cada texto en el contenedor f28b4fa */
.elementor-element-f28b4fa .elementor-widget-text-editor .elementor-widget-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.elementor-element-f28b4fa .elementor-widget-text-editor .elementor-widget-container::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    margin-bottom: 35px;
    border: 1px solid #ed008c;
}

/* Primer cuadro: 25% fucsia (un cuarto) */
.elementor-element-f28b4fa .elementor-element-4ffb696 .elementor-widget-container::before {
    background: linear-gradient(to right, #ed008c 40%, #ffffff 25%);
}

/* Segundo cuadro: 75% fucsia (tres cuartos) */
.elementor-element-f28b4fa .elementor-element-c7ab339 .elementor-widget-container::before {
    background: linear-gradient(to right, #ed008c 70%, #ffffff 70%);
}

/* Tercer cuadro: 100% fucsia (completo) */
.elementor-element-f28b4fa .elementor-element-646d118 .elementor-widget-container::before {
    background-color: #ed008c;
}

/* Línea horizontal debajo de cada elemento en el contenedor fb2e715 */
.elementor-element-fb2e715 .elementor-widget-text-editor .elementor-widget-container {
    position: relative;
    padding-bottom: 20px;
}

.elementor-element-fb2e715 .elementor-widget-text-editor .elementor-widget-container::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #e8e8e8;
    margin-top: 20px;
}

/* Centrar contenido en resoluciones menores a 780px */
@media (max-width: 780px) {
    .elementor-element-fb2e715 .elementor-widget-text-editor .elementor-widget-container h3,
    .elementor-element-fb2e715 .elementor-widget-text-editor .elementor-widget-container p {
        text-align: center !important;
    }
}