/**
 * @file
 * The area core (biopama_libraries/area): the rules Bootstrap has no utility
 * for.
 */

/* The pointer over an administrative unit while a level is active
   (js/area/areaAdmin.js sets the class on the map container). */
.biopama-area-hover .mapboxgl-canvas {
  cursor: pointer;
}

/* The results tray (js/tray.js) is confined to the map column (a child of
   the position-relative column in the shared tool page, whatever the skin),
   so the sidebar and its docks stay reachable while results are shown.
   Bootstrap's .offcanvas is position: fixed at specificity 0,1,0; this rule
   (0,2,0) outranks it. */
[data-biopama-map-column] > .offcanvas-bottom {
  position: absolute;
  --bs-offcanvas-height: 45%;
}
