/* Scoped additions only. The three FlipPDF stylesheets remain unchanged. */
.sm-catalog-switcher {
  position: absolute;
  inset: 0;
  /* A sibling of bookContainer, above page turns (2) and shortcuts (10),
     but below the original toolbars (99) and dialogs (100+). */
  z-index: 20;
  pointer-events: none;
  direction: ltr;
}
.sm-catalog-switcher .sm-catalog-cover {
  position: absolute;
  top: calc(50% - 4px);
  width: 9.54%;
  max-width: 230px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  display: block;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  transform: translate(-50%, -50%);
  text-decoration: none;
  line-height: 0;
  -webkit-tap-highlight-color: transparent;
}
.sm-catalog-switcher .sm-catalog-cover--left { left: 10.85%; }
.sm-catalog-switcher .sm-catalog-cover--right { left: 89.15%; }
.sm-catalog-switcher .sm-catalog-cover > img,
.sm-catalog-switcher .sm-catalog-cover > svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
.sm-catalog-switcher .sm-catalog-cover:hover {
  outline: 1px solid rgba(255,255,255,.65);
  outline-offset: 4px;
}
.sm-catalog-switcher .sm-catalog-cover:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 5px;
}
/* Small screens retain both side covers, clear of the central page arrows. */
@media (max-width: 700px) {
  .sm-catalog-switcher .sm-catalog-cover {
    width: clamp(40px, 11.5%, 80px);
    top: 28%;
  }
  .sm-catalog-switcher .sm-catalog-cover--left { left: 8.85%; }
  .sm-catalog-switcher .sm-catalog-cover--right { left: 91.15%; }
}
@media print {
  .sm-catalog-switcher { display: none !important; }
}
