/* [hiveline] embed. Kiosk mode (?kiosk=true on the page) lifts the
 * display out of the page to fill the whole window. */
.hiveline-embed iframe { width: 100%; border: 0; display: block; }

html.hiveline-kiosk-on,
html.hiveline-kiosk-on body { overflow: hidden !important; }

.hiveline-embed.is-kiosk {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  /* Themes cap and centre content (block themes with !important); the
     kiosk box has to escape that to cover the window. */
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 2147483647; /* above the theme and the admin bar */
  background: #000;
  cursor: none;
}
/* The display needs no clicks. Keeping focus out of the iframe means Esc
 * reaches this page instead of the (cross-origin) display. */
.hiveline-embed.is-kiosk iframe { height: 100% !important; pointer-events: none; }
