.imap-wrapper {
  margin: 1rem 0;
}
.imap-stage {
  position: relative;
  display: inline-block;
  max-width: 100%;
}
.imap-image {
  display: block;
  max-width: 100%;
  height: auto;
}
.imap-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  opacity: 0;
  transition: opacity .15s ease-in-out, background-color .15s ease-in-out, outline-color .15s ease-in-out;
}
.imap-hotspot:hover,
.imap-hotspot:focus,
.imap-hotspot:focus-visible {
  opacity: 1;
  background: rgba(0, 90, 156, .2);
  outline: .18rem solid rgba(0, 90, 156, .9);
  outline-offset: 0;
}
.imap-hotspot-marker {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 1.25rem;
  min-height: 1.25rem;
  border: .16rem solid rgba(255,255,255,.95);
  box-shadow: 0 0 0 .12rem rgba(0,0,0,.55), 0 .2rem .6rem rgba(0,0,0,.35);
  background: rgba(0, 90, 156, .25);
  box-sizing: border-box;
}
.imap-overlay[hidden] {
  display: none;
}
.imap-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
}
.imap-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}
.imap-dialog {
  position: relative;
  width: min(900px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  margin: 1rem auto;
  padding: 1rem;
  background: #fff;
  border-radius: .4rem;
  overflow: auto;
  box-shadow: 0 .5rem 2rem rgba(0,0,0,.4);
}
.imap-close {
  float: right;
  border: 0;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
}
.imap-page-content {
  clear: both;
  margin-top: .75rem;
}
.imap-page-content img,
.imap-page-content video {
  max-width: 100%;
  height: auto;
}
.imap-alert,
.imap-empty {
  padding: .75rem 1rem;
  border: 1px solid #ddd;
  background: #f8f8f8;
}
