@media (max-width:640px) {

  body:not(.home-page) .site-header {
    position:relative !important;
  }

  /* IMPORTANT: remove the row as the positioning reference */
  body:not(.home-page) .lux-header-row {
    position:static !important;
  }

  body:not(.home-page) .theme-toggle.mobile-menu-trigger {
    position:absolute !important;
    right:14px !important;
    left:auto !important;
    top:50% !important;
    transform:translateY(-50%) !important;

    width:44px !important;
    height:44px !important;
    min-width:44px !important;
    min-height:44px !important;
    max-width:44px !important;
    max-height:44px !important;

    margin:0 !important;
    padding:0 !important;
  }
}

@media (orientation: landscape) and (max-height:520px) and (max-width:950px) {

  body:not(.home-page) .site-header {
    position:relative !important;
  }

  body:not(.home-page) .theme-toggle.mobile-menu-trigger {
    position:absolute !important;
    right:22px !important;
    left:auto !important;
    top:50% !important;
    transform:translateY(-50%) !important;

    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    min-height:38px !important;
    max-width:38px !important;
    max-height:38px !important;

    margin:0 !important;
    padding:0 !important;
  }
}

@media (max-width:640px) and (orientation:portrait) {

  body:not(.home-page) .mobile-menu-panel {
    left:72px !important;
    right:15px !important;
    width:auto !important;
    max-width:none !important;
  }
}

.mobile-menu-panel[aria-hidden="true"] {
  display: none !important;
}

.property-mobile-menu[aria-hidden="true"] {
  display:none !important;
}
