#chapter-page-popup-wrapper chapter-page-popup {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
#chapter-page-popup-wrapper chapter-page-popup popup-container {
  height: 100%;
  overflow-y: auto;
  overflow-x: auto;
  flex-grow: 1;
}
#chapter-page-popup-wrapper chapter-page-popup popup-container #popup-image {
  max-width: 95vw;
  margin-top: 20px;
  margin-bottom: 100px;
}
#chapter-page-popup-wrapper img.arrow {
  width: 100px;
  height: 100px;
  cursor: pointer;
}
#chapter-page-popup-wrapper #navigation-tooltip {
  position: fixed;
  width: 150px;
  height: 100px;
  bottom: 0;
  left: 0;
  z-index: 3000;
}
#chapter-page-popup-wrapper #close-handle {
  position: fixed;
  width: 20px;
  height: 20px;
  top: 0;
  right: 0;
  padding-bottom: 25px;
  padding-left: 22px;
  padding-top: 25px;
  padding-right: 22px;
  z-index: 3000;
  cursor: pointer;
}
#chapter-page-popup-wrapper #popup-left-arrow {
  position: fixed;
  left: 0;
  top: 50vh;
  margin-top: -50px;
  width: 50px;
  height: 50px;
  padding-left: 5px;
  padding-top: 25px;
  padding-right: 25px;
  padding-bottom: 25px;
  z-index: 3000;
}
#chapter-page-popup-wrapper #popup-right-arrow {
  position: fixed;
  right: 0;
  top: 50vh;
  margin-top: -50px;
  width: 50px;
  height: 50px;
  padding-right: 5px;
  padding-top: 25px;
  padding-left: 25px;
  padding-bottom: 25px;
  z-index: 3000;
}
.mobile #chapter-page-popup-wrapper #navigation-tooltip {
  visibility: collapse;
}
