/* NS POS PRO v5.8.0.1: CLOUD MENU POSITION ONLY. CSS only; Cloud actions untouched.
   Intentionally loaded LAST: desktop.css and ns_windows_premium_v49.css also
   set top:24px/26px !important at desktop resolutions. */
body #cloudTopMenu,
body.ns-win-desktop #cloudTopMenu,
body.nsdesk-v49 #cloudTopMenu,
body.ns-win-desktop.nsdesk-v49 #cloudTopMenu {
  position:fixed !important;
  top:50vh !important;
  right:max(0px, env(safe-area-inset-right)) !important;
  left:auto !important;
  bottom:auto !important;
  transform:translateY(-50%) !important;
  z-index:9995 !important;
  margin:0 !important;
}
body #cloudTopMenu #cloudMenuToggle,
body.nsdesk-v49 #cloudTopMenu #cloudMenuToggle {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:42px !important;
  height:52px !important;
  min-height:52px !important;
  padding:8px 5px !important;
  border-radius:12px 0 0 12px !important;
  font-size:13px !important;
  line-height:1.3 !important;
  white-space:normal !important;
  box-shadow:0 5px 15px #0003 !important;
}
body #cloudTopMenu #cloudMenuItems,
body.nsdesk-v49 #cloudTopMenu #cloudMenuItems {
  position:absolute !important;
  top:50% !important;
  right:calc(100% + 7px) !important;
  left:auto !important;
  bottom:auto !important;
  transform:translateY(-50%) !important;
  width:max-content !important;
  max-width:calc(100vw - 62px) !important;
  max-height:min(78vh,460px) !important;
  overflow-y:auto !important;
  box-sizing:border-box !important;
}
/* The cash desk adds a seventh independent UI-only toolbar button. */
@media(min-width:1040px){
 body.nsdesk-v49 #invoice.ns-cashier-ready #nscTouch .nsc-toolstrip {
   grid-template-columns:repeat(7,minmax(0,1fr)) !important;
 }
}
@media(max-width:600px){
 body #cloudTopMenu, body.nsdesk-v49 #cloudTopMenu {top:53vh !important;}
 body #cloudTopMenu #cloudMenuToggle {width:36px !important;height:48px !important;min-height:48px !important;}
}
