/* Targets both the earlier MAW ID and the live id-sgstage_makeawish ID.
   No other gallery selectors are changed in this compatibility module. */
:is(#id-sgstage_maw, #id-sgstage_makeawish) .slidernav-left,
:is(#id-sgstage_maw, #id-sgstage_makeawish) .slidernav-right {
  display: block !important;
  opacity: 1 !important;
  z-index: 1001 !important;
}

/* The project's whole-slide link is z-index: 101 in ePix's CSS.
   Keep actual navigation above that overlay. */
:is(#id-sgstage_maw, #id-sgstage_makeawish) .slidernav-left .slidernav,
:is(#id-sgstage_maw, #id-sgstage_makeawish) .slidernav-right .slidernav,
:is(#id-sgstage_maw, #id-sgstage_makeawish) .control-wrap {
  z-index: 1002 !important;
}

:is(#id-sgstage_maw, #id-sgstage_makeawish) .slidernav a {
  cursor: pointer;
}

/* Dots are generated by the original gallery script. This styles them
   only when the original markup exists; it cannot create missing dots. */
:is(#id-sgstage_maw, #id-sgstage_makeawish) .control-wrap,
:is(#id-sgstage_maw, #id-sgstage_makeawish) .control-panel ul.nav {
  visibility: visible !important;
  opacity: 1 !important;
}
