:root {
  --wh1919-mobile-header-offset: 0px;
  --wh1919-mobile-admin-offset: 0px;
}

@media (max-width: 980px) {
  body.wh1919-mobile-sticky-ready #main-header,
  body.wh1919-mobile-sticky-ready .et-l--header {
    position: fixed !important;
    top: var(--wh1919-mobile-admin-offset) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 999999 !important;
    transform: none !important;
  }

  body.wh1919-mobile-sticky-ready #page-container {
    padding-top: var(--wh1919-mobile-header-offset) !important;
  }

  body.wh1919-mobile-sticky-ready .et-l--header .et_pb_section,
  body.wh1919-mobile-sticky-ready .et-l--header .et_pb_row {
    z-index: 999999 !important;
  }

  body.wh1919-mobile-sticky-ready .et_mobile_menu,
  body.wh1919-mobile-sticky-ready #mobile_menu,
  body.wh1919-mobile-sticky-ready #mobile_menu1,
  body.wh1919-mobile-sticky-ready .et_pb_menu__menu,
  body.wh1919-mobile-sticky-ready .et_pb_menu__wrap {
    z-index: 1000000 !important;
  }
}

@media (max-width: 782px) {
  body.admin-bar {
    --wh1919-mobile-admin-offset: 46px;
  }
}

@media (min-width: 783px) and (max-width: 980px) {
  body.admin-bar {
    --wh1919-mobile-admin-offset: 32px;
  }
}

@media (min-width: 981px) {
  body.wh1919-mobile-sticky-ready #page-container {
    padding-top: 0 !important;
  }
}
