/* needed for interactive map in listplace.xsl */
div#map {
  height: 50vh;
}

/** Match bootstrap navlink focus outline color. */
:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Table of Contents with leaders */
ul.leaders {
  max-width: 40em;
  padding: 0;
  overflow-x: hidden;
  list-style: none;
  margin-bottom: 0;
}

ul.leaders li {
  margin: 0.5em 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
}

ul.leaders li > span:first-child {
  flex: 1;
  position: relative;
  overflow: hidden;
  padding-left: 0.5rem;
}

ul.leaders li > span.leader-dots::after {
  content: "";
  position: absolute;
  bottom: 0.3em;
  margin-left: 0.5em;
  width: 100%;
  border-bottom: 1px dotted;
}

ul.leaders li > span:last-child {
  flex-shrink: 0;
}

/* Cover / endpaper marker, shown in place of the page number */
.cover-icon {
  width: 0.85em;
  height: 0.85em;
  vertical-align: -0.05em;
}

.cover-icon-back {
  transform: scaleX(-1);
}

/* Register rows: a fixed-width column holds the page number, or the cover /
   endpaper marker that stands in for it, so titles always start at the same x
   and wrapped lines line up under the first one. Width has to fit the widest
   page number; it is the only value to tune. */
.register-row {
  line-height: 1.2;
  padding-left: 3.5rem;
  text-indent: -3.5rem;
}

.register-pageno {
  display: inline-block;
  width: 3.5rem;
  /* Gap to the title. Inside the width, since Bootstrap sets border-box. */
  padding-right: 0.5rem;
  text-align: right;
  /* The inline-block is its own block container and would otherwise inherit
     the negative text-indent from .register-row. */
  text-indent: 0;
}

.sticky-top {
  top: 6em;
}

nav {
  z-index: 9999;
}

.viewer {
  top: 4em !important;
}

/*# sourceMappingURL=style.css.map */
