/* Fix submenu toggle button */ .fusion-mobile-nav-holder .fusion-open-submenu { z-index: 9999; position: relative; display: inline-block; } /* Ensure submenu dropdowns are visible */ .fusion-mobile-nav-holder .sub-menu { display: none; position: relative; } .fusion-mobile-nav-holder .fusion-open-submenu.active + .sub-menu { display: block; }

/* Make sure the global header and sticky version stay high */
.fusion-header {
    z-index: 9999 !important;
    position: relative;
}

/* Boost the mobile menu overlay higher than all containers */
.fusion-mobile-nav-holder,
.fusion-mobile-menu-icons {
    z-index: 100000 !important;
    position: relative;
}

/* In case header wrapper is creating stacking issues */
.fusion-header-wrapper {
    z-index: 100000 !important;
    position: relative;
}

.fusion-header {
    z-index: 9999 !important;
    position: relative;
    isolation: isolate;
}

/* Hard force the entire global header stacking */
#fusion-header {
  z-index: 999999 !important;
  position: relative !important;
  isolation: isolate !important;
}

/* Boost mobile menu elements to absolute top */
.fusion-mobile-nav-holder,
.fusion-mobile-menu-icons,
.fusion-header-wrapper {
  z-index: 999999 !important;
  position: relative !important;
}

@media only screen and (max-width: 768px) {
  /* Zero out margin and padding for the menu and header wrappers */
  .fusion-header, 
  .fusion-header-wrapper, 
  .fusion-mobile-menu-wrapper, 
  #header {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Remove top space from first builder container */
  .fusion-builder-row:first-of-type,
  .fusion-builder-row:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* Collapse space possibly created by Avada sticky header offset */
  body.fusion-header-sticky .fusion-header {
    margin-bottom: 0 !important;
  }

  /* Collapse possible spacing caused by transparent header offset */
  .fusion-main-wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
}