/* Mr Black event calendars: the embedded calendar frame and the full-screen
 * booking overlay its "Book Now" buttons open. Shared by the homepage, the
 * main floor page and the rooftop page. */

.bb-eventcal { width: 100%; max-width: 100%; }
.bb-eventcal iframe {
  display: block;
  width: 100%;
  border: 0;
  height: 650px;                   /* a carousel's usual height, until it reports its own */
}
.bb-eventcal.is-full iframe { height: 1200px; }

/* ------------------------------------------------------------ overlay */

.bb-eventcal-modal {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 10000;                  /* above the sticky header (998) */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
}
.bb-eventcal-modal[hidden] { display: none; }
.bb-eventcal-modal__box { position: relative; width: 100%; height: 90%; }
.bb-eventcal-modal__frame { display: block; width: 100%; height: 100%; border: 0; }
.bb-eventcal-modal__close {
  position: absolute;
  top: 20px;
  right: 44px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #4e4e4e;
  border-radius: 50%;
  background-color: #000;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.bb-eventcal-modal__close:hover { border-color: #fff; }
.bb-eventcal-modal__close:focus-visible { outline: 2px solid #f6d64a; outline-offset: 2px; }
@media (max-width: 767px) {
  .bb-eventcal-modal__box { height: 100%; }
  .bb-eventcal-modal__close { top: 12px; right: 12px; }
}
