.et-sticky-active.et-sticky-active {
  position: fixed;
  width: 100%;
  z-index: $zindex-fixed;
  transform: translate3d(0,0,0); // try to enable hardware acceleration
  &.et-sticky-affix {
    z-index: 2; // affixes only matter within their own block and usually do not float above anything anyway, so they don't need a high zindex
  }
  &.et-sticky-affix-at-limit {
    position: absolute;
    z-index: initial;
  }
  .dropdown-menu {
    z-index: $zindex-fixed + 1;
  }
}

.et-sticky-active-last {
  &.bg-fullsize,
  &.bg-boxed > .container {
    border-bottom: 1px solid $colorPrimary1;
  }
}