/* Estilo base para ítem del menú */
.hfe-sub-menu-item {
    display: flex;
    align-items: center; 
    color: inherit;
    transition: color 0.3s ease;
		justify-content: flex-start !important;
}

/* Estilo del ícono SVG */
.my-menu-icon {
    margin-right: 8px; 
    fill: currentColor;
}

/* Cambiar color al hacer hover */
.hfe-sub-menu-item:hover {
    color: #007AFF;
}
#menu-1-ff5d8a3 .menu-item-has-children .sub-menu {
    left: -2.5rem;
}

.hfe-menu-toggle.sub-arrow.hfe-menu-child-0 {
    display: none;
}
#menu-1-ff5d8a3 .my-menu-icon svg {
    width: 40px;
    height: 40px;
}
#menu-1-30f2e66 .my-menu-icon svg {
    width: 15px;
    height: auto;
}
#menu-1-e08af22 .my-menu-icon svg {
  width: 15px;
  height: auto;
}
#menu-1-b4fdf6b .my-menu-icon svg {
    width: 40px;
    height: 40px;
}
#menu-1-b4fdf6b .hfe-menu-item {
    flex-direction: column;
}
.elementor-845 .elementor-element.elementor-element-30f2e66 ul.sub-menu {
    min-width: 140px !important;
}
.hfe-search-form__container {
    align-items: center;
}
.hfe-search-form__input {
    height: 80px;
		padding-left: 30px !important;
}
.hfe-search-form__container .hfe-search-submit {
		position: absolute;
    right: 0;
    height: 60px;
    margin-right: 10px;
    border-radius: 50px !important;
}
.page-header-no-bg {
    z-index: 1;
}
#menu-1-e4e27f6 .menu-item.parent {
  border-top: solid 1px #E8E8E8;
}
#menu-1-e4e27f6 .my-menu-icon svg {
  width: 40px;
  height: 40px;
}
#menu-1-2ba253a .hfe-menu-item {
  flex-direction: column;
}
#menu-1-2ba253a .my-menu-icon svg {
  width: 40px;
  height: 40px;
}
.vc_row.top-level > .span_12 {
  padding-top: 0 !important;
}
#menu-item-960 .hfe-menu-item {
  font-weight: bold;
}
#menu-item-964 .hfe-menu-item {
  font-weight: bold;
}
#menu-item-966 .hfe-menu-item {
  font-weight: bold;
}
#menu-item-970 .hfe-menu-item {
  font-weight: bold;
}
#menu-item-976 .hfe-menu-item {
  font-weight: bold;
}
.style-button {
  background: #F3F5F9 !important;
  color: #007AFF !important;
  font-weight: 600 !important;
  padding: 16px !important;
  border-radius: 60px !important;
}
.container {
  padding-top: 0 !important;
}
.row.page-header-no-bg.blog-archive-header.color-bg {
  padding: 0 !important;
}
.container-wrap, .project-title {
  padding-top: 0 !important;
}
a.nectar-post-grid-link {
  background-color: #0000004f;
}

/*ESTILOS MENU MOVIL*/
/* Fondo oscuro general */
#menu-popup {
  display: none; /* Por defecto, está oculto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); /* Fondo semi-transparente */
  z-index: 9999;
  justify-content: flex-start; /* Alineación del menú a la izquierda */
  align-items: flex-start;
  overflow: hidden;
}

/* Mostrar el fondo oscuro cuando está activo */
#menu-popup.active {
  display: flex; /* Cambiar el display para que sea visible */
}

/* Contenido del popup (menú lateral) */
.menu-popup-content {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}

/* Cuando el popup está activo */
#menu-popup.active .menu-popup-content {
  transform: translateX(0);
}

/* Botón de cierre "X" */
.menu-popup-close {
  cursor: pointer;
  z-index: 10000; /* Asegura que esté por encima del contenido */
}

/* Ajustes del iframe (opcional) */
#menu-popup iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/*MENU MOVIL DESLIZANTE*/
/* Contenedor principal: scroll horizontal */
#menu-1-2ba253a {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  margin: 0; 
  padding: 0;
}

/* Ítems del menú: no se encogen y se alinean horizontalmente */
#menu-1-2ba253a > li {
  flex: 0 0 auto; 
  display: inline-block;
  list-style: none;
}
@media (max-width: 1024px) {
  .elementor-element-e1a0799 .hfe-search-form__input {
    height: 60px;
  }
  .elementor-element-e1a0799 .hfe-search-form__container .hfe-search-submit {
      height: 50px;
  }
  .elementor-845 .elementor-element.elementor-element-bccfc02 .hfe-search-form__container {
    min-height: 60px;
  }
  .elementor-845 .elementor-element.elementor-element-bccfc02 .hfe-search-submit {
    min-width: 60px;
  }  
}