/**
 * NNIACC-233: keep the header menus usable while the CookieYes consent notice is open.
 *
 * The centered CookieYes popup adds a full-page backdrop (.cky-overlay) that blocks
 * every click on the page, including the "Info For" dropdown. The popup itself is
 * unchanged: it still shows on first visit, and consent is still recorded only from
 * its buttons.
 */

/* Remove the click-blocking backdrop behind the popup. */
.cky-overlay {
  display: none !important;
}

/*
 * While the popup is open, lift the header above it (popup z-index 99999999) so an
 * open dropdown is not covered by the popup on shorter screens. CookieYes adds
 * .cky-hide to the container when the notice is dismissed.
 */
body:has(.cky-consent-container:not(.cky-hide)) #headerwrap {
  z-index: 100000000;
}
