/* Align map controls to shared centre lines. */
@media (max-width:768px), ((max-height:520px) and (pointer:coarse)) {
  html body #navis-mobile-map-dock {
    left:50%!important;
    right:auto!important;
    width:calc(100% - 24px)!important;
    max-width:640px!important;
    box-sizing:border-box!important;
    transform:translateX(-50%)!important;
  }
  html body .cesium-viewer-toolbar {
    top:62px!important;
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    width:calc(100% - 24px)!important;
    max-width:430px!important;
    height:38px!important;
    box-sizing:border-box!important;
  }
  html body .cesium-viewer-geocoderContainer {
    flex:1 1 0!important;
    min-width:0!important;
    margin:0!important;
  }
  html body .cesium-viewer-geocoderContainer .cesium-geocoder-input {
    width:100%!important;
    box-sizing:border-box!important;
    height:38px!important;
  }
  html body .cesium-viewer-toolbar > .cesium-button {
    flex:0 0 38px!important;
    width:38px!important;
    height:38px!important;
    margin:0!important;
  }
  html body #navis-top-view {top:12px!important;right:62px!important;}
  html body #navis-map-settings-button {top:12px!important;right:12px!important;}
}
@media (max-width:768px), ((max-height:520px) and (pointer:coarse)) {
  html body #rfi-panel #side-stack {
    left:50%!important;
    right:auto!important;
    width:calc(100% - 24px)!important;
    max-width:640px!important;
    transform:translateX(-50%)!important;
    box-sizing:border-box!important;
  }
  html body #rfi-panel #side-stack > #panel.ops-console-active {
    position:relative!important;
    left:0!important;
    right:auto!important;
    width:100%!important;
    max-width:none!important;
    transform:none!important;
    margin:0!important;
  }
  html body .cesium-viewer-toolbar > .cesium-viewer-geocoderContainer {
    position:relative!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    transform:none!important;
    width:auto!important;
    max-width:none!important;
  }
  html body .navis-map-settings {
    position:fixed!important;
    top:12px!important;
    right:12px!important;
  }
}
