@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  height: 100%;
  width: 100%;
}

body {
  background: #444;
  color: #fff;
  height: 100%;
  width: 100%;
  font-family: "Open Sans", sans-serif;
  user-select: none;
  overflow: hidden;
}

.booklet {
  margin: 0 auto;
}

.Overlay {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #013243;
  transform: translateZ(4px);
}

.Overlay-icon {
  position: relative;
  width: 120px;
  height: 120px;
}
.Overlay-iconElement {
  fill: #fff;
  stroke: #fff;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.Overlay-iconElement--loading {
  animation: loaderAnimation 3s linear infinite;
}

.Overlay-iconElement--error {
  display: none;
}

@keyframes loaderAnimation {
  0% {
    transform: translate(-50%, -50%) rotate(0);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.Viewer {
  height: 100%;
  width: 100%;
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.Viewer-panel {
  display: flex;
  padding: 8px 0;
  width: 100%;
  background: rgba(128, 128, 128, 0.5);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  flex-grow: 1;
  z-index: 1;
  position: relative;
  z-index: 80;
  height: 44px;
  justify-content: space-between;
  transform: scale
}

.Viewer-panelLeft {
  padding-left: 20px;
  width: 230px;
}

.Viewer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  width: 194px;
  opacity: 0.8;
  transition: all 0.3s;
}

.Viewer-logo:hover {
  opacity: 1;
}

.Viewer-logo img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.Viewer-panelCenter {
  display: flex;
  align-items: center;
  justify-content: center;
}

.Viewer-currentPageNumber {
  width: 50px;
  text-align: center;
  height: 28px;
  border-radius: 4px;
  margin-right: 4px;
  background: #555;
  transition: all 0.3s;
  color: #fff;
}

.Viewer-currentPageNumber:hover {
  background: #666;
}

.Viewer-currentPageNumber:focus {
  background: #aaa;
  outline: none;
}

.Viewer-currentPageNumber::-webkit-outer-spin-button,
.Viewer-currentPageNumber::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.Viewer-currentPageNumber {
  -moz-appearance: textfield;
}

.Viewer-panelRight {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 20px;
  width: 230px;
}

.Viewer-panelArrowsWrap {
  margin: 0 10px;
  display: flex;
}

.Viewer-panelArrow {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  margin: 0 5px;
  outline: none !important;
}

.Viewer-download,
.Viewer-panelArrow {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  transition: all 0.3s;
}

.Viewer-panelArrow svg,
.Viewer-download svg {
  display: block;
  fill: #fff;
  width: 24px;
  height: 24px;
}

.Viewer-panelArrow:hover,
.Viewer-download:hover {
  background: #999;
  box-shadow: #999 0 0 0 5px;
}

.Viewer-arrow:active,
.Viewer-panelArrow:active,
.Viewer-download:active {
  transform: scale(0.9);
}

.Viewer-container {
  display: flex;
  flex-grow: 1;
  z-index: 0;
  width: 100%;
  height: 100%;
  align-items: center;
}

.Viewer-imageContainer {
  position: relative;
  display: block;
}

.Viewer-imageContainer:before,
.Viewer-imageContainer:after {
  content: "";
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  position: absolute;
  z-index: 2;
  cursor: zoom-in;
  transition: all 0.3s;
}

.Viewer-imageContainer:after {
  cursor: pointer;
  z-index: 1;
}

.Viewer-imageContainer--left:before {
  left: 70px;
  background: linear-gradient(
    90deg,
    transparent 0,
    rgba(255, 255, 255, 0.3) 78%,
    rgba(255, 255, 255, 0.05) 85%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.Viewer-imageContainer--right:before {
  right: 70px;
  background: linear-gradient(
    270deg,
    transparent 0,
    rgba(255, 255, 255, 0.3) 78%,
    rgba(255, 255, 255, 0.05) 85%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.Viewer-image {
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  object-fit: contain;
  width: 100%;
  height: 100%;
  user-select: none;
  display: none;
}

.b-page {
  transform: translate(0, 0, 0);
}

.b-pN .Viewer-image,
.b-p0 .Viewer-image,
.b-p1 .Viewer-image,
.b-p2 .Viewer-image,
.b-p3 .Viewer-image,
.b-p4 .Viewer-image {
  display: block;
}

.Viewer-arrow {
  position: absolute;
  border-radius: 100%;
  overflow: hidden;
  transition: all 0.3s;
  z-index: 80;
  width: 48px;
  height: 48px;
  cursor: pointer;
  transform: translateZ(2px);
}

.zoomed .Viewer-imageContainer:before {
  background: transparent !important;
  cursor: zoom-out;
}

.zoomed .Viewer-arrow,
.zoomed .Viewer-panelArrowsWrap {
  display: none;
}

.Viewer-arrow:hover {
  background: #fff;
}

.Viewer-arrow svg {
  fill: #fff;
  position: relative;
  transition: all 0.3s;
  filter: drop-shadow(rgba(0, 0, 0, 0.2) 1px 1px 5px);
}

.Viewer-arrow:hover svg {
  fill: #013243;
}

.Viewer-arrow--left {
  left: 20px;
}

.Viewer-arrow--left svg {
  left: 0;
}

.Viewer-arrow--left:hover svg {
  left: -3px;
}

.Viewer-arrow--right {
  right: 20px;
}

.Viewer-arrow--right svg {
  right: 0;
}

.Viewer-arrow--right:hover svg {
  right: -3px;
}

.FloatingAccessButton {
  transform: scale(0);
  transition: transform 225ms cubic-bezier(0.4, 0, 0.2, 1) 195ms;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0;
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #444;
  z-index: 10;
  border-radius: 50%;
  font-size: 24px;
  outline: 0 !important;
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.2) 0 12px 24px;
}

.FloatingAccessButton svg {
  fill: #444;
  width: 24px;
  height: 24px;
}

.swiper-container {
  display: none;
}

@media (max-width: 900px) {
  .Viewer-panelLeft {
    padding-left: 36px;
  }
  .Viewer-panelRight {
    padding-right: 36px;
  }
}

body.isMobile {
  touch-action: none;
  overflow: hidden !important;
  -webkit-overflow-scrolling: touch;
  max-width: 100vw;
}

.isMobile .FloatingAccessButton,
.isMobile .Viewer-currentPageNumber,
.isMobile .Viewer-logo,
.isMobile .Viewer-panelArrow {
  touch-action: initial;
}

.isMobile .Viewer-container {
  align-items: flex-start;
}

.isMobile .Viewer-arrow {
  display: none;
}

.isMobile .Viewer-panel {
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: auto;
  max-width: 100vw;
}

.isMobile .Viewer-panelLeft {
  width: 100%;
  padding-left: 0;
  display: flex;
  justify-content: center;
}

.isMobile .Viewer-logo {
  opacity: 1;
  margin-bottom: 10px;
}

.isMobile .Viewer-panelRight {
  display: none;
}

.isMobile .Viewer-innerContainer {
  display: none;
}

.isMobile .Viewer-imageContainer:before,
.isMobile .Viewer-imageContainer:after {
  content: none;
}

.isMobile .Viewer-imageContainer {
  position: relative;
}

.isMobile .Viewer-image {
  display: block;
  position: relative;
  left: 0;
  top: 0;
  min-width: 200px;
  min-height: 200px;
  border: 0;
  max-height: calc(100vh - 88px - 96px) !important;
}

.isMobile .FloatingAccessButton {
  transform: scale(1);
}

.isMobile .FloatingAccessButton--hidden {
  transform: scale(0);
}

.swiper-container {
  display: block;
  position: absolute;
  top: calc(88px + 2vw);
  left: 0;
  right: 0;
  overflow: visible;
}

.swiper-slide {
  padding: 0 2vw;
  overflow: visible;
}
