#flipbook-display{
  background: white;
  display: none;
  height: 100%;
  left: 0;
  overflow: auto;
  padding: 15px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

#flipbook-display.--show{
  display: block;
}

.flipbook-logo{
  line-height: 1;
}

.flipbook-logo svg{
  height: auto;
  width: 16rem;
}

@media screen and (max-width: 767px){
  .flipbook-logo svg{
    width: 15rem;
  }
}

.pdf-close{
  background: transparent;
  border: 0;
  cursor: pointer;
  left: calc(100% + 15px);
  padding: 0;
  position: absolute;
  top: 0;
  z-index: 99999;
}

.pdf-close svg{
  display: block;
  height: 17px;
  width: 17px;
}

.pdf-container {
  position: relative;
  margin: 20px auto;
  max-width: 100vw;
}
.pdf-container .annotationLayer {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}
.pdf-container .annotationLayer > a {
  display: block;
  position: absolute;
  transition: 0.3s !important;
  border: dotted 1px transparent !important;
}
.pdf-container .annotationLayer > a:hover {
  border-color: red !important;
}
.pdf-container #pdf-next {
  right: 0;
  transform: translateY(-50%) rotate(-90deg);
}
.pdf-container #pdf-prev {
  left: 0;
  transform: rotate(90deg) translateX(-50%);
}
.pdf-container #pdf-next, .pdf-container #pdf-prev {
  position: absolute;
  z-index: 999;
  top: 50%;
  background: url('../img/arrow-bottom.png') no-repeat center rgba(255, 255, 255, 0.5);
  font-size: 0;
  line-height: 0;
  border: 0;
  outline: 0;
  cursor: pointer;
  height: 50px;
  width: 50px;
}
#book {
  overflow: hidden;
  margin: 20px auto;
  box-shadow: 0 0 20px gray;
  max-width: 100%;
}
#book canvas {
  background: #fff;
}
@media screen and (min-width: 1200px) {
  #book .turn-page-wrapper[page="2"], #book .turn-page-wrapper[page="3"] {
      overflow: visible !important;
      width: 50% !important;
  }
}
#book .turn-page {
  background-color: silver;
  box-shadow: 0 0 10px gray;
}
#book .cover h1 {
  color: white;
  text-align: center;
  font-size: 50px;
  line-height: 500px;
  margin: 0;
}
#book .loader {
  background-color: blue;
  width: 24px;
  height: 24px;
  display: block;
  position: absolute;
  top: 238px;
  left: 188px;
}
#book .data {
  height: 100%;
}
#controls {
  display: none;
  text-align: center;
  margin: 20px auto;
  font: 30px arial;
}
#controls input, #controls label {
  font: 30px arial;
}
#book .odd {
  background-image: -webkit-linear-gradient(left, #fff 95%, #ddd 100%);
  background-image: -moz-linear-gradient(left, #fff 95%, #ddd 100%);
  background-image: -o-linear-gradient(left, #fff 95%, #ddd 100%);
  background-image: -ms-linear-gradient(left, #fff 95%, #ddd 100%);
}
#book .even {
  background-image: -webkit-linear-gradient(right, #fff 95%, #ddd 100%);
  background-image: -moz-linear-gradient(right, #fff 95%, #ddd 100%);
  background-image: -o-linear-gradient(right, #fff 95%, #ddd 100%);
  background-image: -ms-linear-gradient(right, #fff 95%, #ddd 100%);
}

.flipbook-actions {
  display: flex;
  justify-content: center;
  margin: 15px 0;
}

.loadingFlipbook {
  min-height: 500px;
  min-width: 24px;
  overflow: hidden;
  position: relative;
}

.loadingFlipbook::before,
.loadingFlipbook::after {
  content: "";
  display: block;
}

.loadingFlipbook::before {
  backdrop-filter: blur(2px);
  background: rgba(255, 255, 255, .8);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

.loadingFlipbook::after {
  animation: loading-spin 1s infinite linear;
  border-color: rgba(0, 153, 229, .2);
  border-bottom-color: rgba(0, 153, 229, 1);
  border-radius: 50%;
  border-style: solid;
  border-width: 4px;
  height: 24px;
  left: 50%;
  margin-left: -12px;
  margin-top: -12px;
  position: absolute;
  top: 50%;
  width: 24px;
  z-index: 2;
}

@-webkit-keyframes shine {
  from {
      -webkit-mask-position: 150%;
  }

  to {
      -webkit-mask-position: -50%;
  }
}

@keyframes loading-spin {
  0% {
      transform: rotate(0deg);
  }

  100% {
      transform: rotate(360deg);
  }
}

.flipbookButton{
  margin-top: 40px;
}

.flipbookButton a{
  align-items: center;
  color: inherit;
  display: flex;
  flex-direction: column;
  text-align: center;
  text-decoration: none;
}

.flipbookButton img{
  display: block;
  height: auto;
  margin-bottom: 15px;
  width: 80px;
}

.flipbookButton span{
  background: white;
  color: black;
  display: block;
  font-size: 13px;
  font-weight: bold;
  padding: 15px 30px;
}

@media screen and (min-width: 768px) {
  .flipbookButton{
    margin-top: 0;
    position: fixed;
    right: 50px;
    top: 25px;
    z-index: 11;
  }
  .flipbookButton img{
    width: 100px;
  }
}