#pageflip {
  width: auto !important;
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-right: 15px !important;
  margin-left: 15px !important;
  overflow: hidden;
  background-color: #aba79c;
  /*visibility: hidden;*/
  display: block;
  /* use display:none only if needed! */
}

#pf-stage {
  /* background-color: #aba79c; */
  width: auto;
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
}

#pageflip-container {
  padding-top: 0;
}

.pf-book-container {
  pointer-events: none;
}

.pf-book-content {
  opacity: 0;
  -webkit-transition: opacity 1s;
  -moz-transition: opacity 1s;
  -o-transition: opacity 1s;
  -ms-transition: opacity 1s;
  transition: opacity 1s;
}

.pf-book-offset {
  -webkit-perspective: 5000px;
  -moz-perspective: 5000px;
  -ms-perspective: 5000px;
  perspective: 5000px;

  -webkit-perspective-origin: 50% 50%;
  -moz-perspective-origin: 50% 50%;
  -ms-perspective-origin: 50% 50%;
  perspective-origin: 50% 50%;

  pointer-events: all;
}

.pf-page-container {
  position: absolute;
  overflow: hidden;
  filter: saturate(0.82) brightness(86%);
  background-position: center center;
  background-repeat: no-repeat;
}

#pf-dropshadow {
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 1);
  -moz-box-shadow: 0 10px 30px rgba(0, 0, 0, 1);
  -o-box-shadow: 0 10px 30px rgba(0, 0, 0, 1);
  -ms-box-shadow: 0 10px 30px rgba(0, 0, 0, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 1);
}

.pf-flip-shadowA {
  background-image: -o-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 1)
  );
  background-image: -ms-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 1)
  );
  background-image: -moz-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 1)
  );
  background-image: -webkit-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 1)
  );
}

.pf-flip-shadowB {
  background-image: -o-linear-gradient(
    left,
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0)
  );
  background-image: -ms-linear-gradient(
    left,
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0)
  );
  background-image: -moz-linear-gradient(
    left,
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0)
  );
  background-image: -webkit-linear-gradient(
    left,
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0)
  );
}

.pf-flip-topshadow {
  background-image: -o-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0)
  );
  background-image: -ms-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0)
  );
  background-image: -moz-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0)
  );
  background-image: -webkit-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0)
  );
}

.pf-emboss-left {
  background-image: -o-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 1)
  );
  background-image: -ms-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 1)
  );
  background-image: -moz-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 1)
  );
  background-image: -webkit-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 1)
  );
  pointer-events: none;
}

.pf-emboss-right {
  background-image: -o-linear-gradient(
    left,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0)
  );
  background-image: -ms-linear-gradient(
    left,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0)
  );
  background-image: -moz-linear-gradient(
    left,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0)
  );
  background-image: -webkit-linear-gradient(
    left,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0)
  );
  pointer-events: none;
}

/* Controls layout/animation/hover fx ----------------------------------- */

#pageflip-controls {
  position: absolute;
  bottom: 0;
  padding: 8px 16px 0;
  width: 100%;
  overflow: hidden;
  text-align: center;
  opacity: 1;
  -webkit-transition: opacity 1s;
  -moz-transition: opacity 1s;
  -o-transition: opacity 1s;
  -ms-transition: opacity 1s;
  transition: opacity 1s;

  font-size: 16px;
}

.pf-centered-buttons,
.pf-left-buttons,
.pf-right-buttons {
  height: 26px;
  overflow: visible;
}

.pf-centered-buttons {
  position: relative;
  top: 0;
  left: auto;
  right: auto;
  margin: 0 auto;
  width: 254px;
}

.pf-left-buttons {
  float: left;
  width: 104px;
  margin-left: 0;
}

.pf-right-buttons {
  float: right;
  width: 104px;
  margin-right: 0;
}

.pf-control-bar-button,
.pf-control-bar-pager {
  float: left;
  height: 32px;
}

.pf-right {
  float: right;
}

.pf-control-bar-pager {
  width: 150px;
  text-align: center;
}

#pf-pagerin {
  color: rgba(150, 151, 153, 1);
  border: none;
  width: 140px;
  height: 32px;
  padding: 0;
  margin-top: -10px;
  font-size: 16px;
  border-style: none;
  border-color: Transparent;
  overflow: auto;
  background: none;
  text-align: center;
}

.pf-control-bar-button g,
.pf-control-bar-pager g {
  fill: rgba(24, 24, 24, 1);
  -webkit-transition: fill 0.2s;
  -moz-transition: fill 0.2s;
  -o-transition: fill 0.2s;
  -ms-transition: fill 0.2s;
  transition: fill 0.2s;
}

.pf-disabled {
  opacity: 0.3;
}

.pf-control-bar-button:not(.pf-disabled):hover g {
  fill: #969799;
}

#pageflip-controls {
  color: rgba(24, 24, 24, 1);
}

/* Thumbnails layout/animation/hover fx ----------------------------------- */

#pageflip-thumbnails {
  position: absolute;
  top: 0;
  width: auto;
  overflow: hidden;
  -webkit-transition: top 0.5s, opacity 0.5s;
  -moz-transition: top 0.5s, opacity 0.5s;
  -o-transition: top 0.5s, opacity 0.5s;
  -ms-transition: top 0.5s, opacity 0.5s;
  transition: top 0.5s, opactiy 0.5s;
}

#pageflip-thumbnails.pf-hidden {
  opacity: 0;
}

#pf-thumbnail-container {
  width: 10px;
}

.pf-thumbnail-spread,
.pf-thumbnail-page {
  float: left;
  margin-left: 0;
  margin-right: 0;
  margin-top: 745px;
  background: #888;
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.pf-thumbnail-button {
  float: left;
  margin: 0;
  padding: 0;
}

#pf-copyright-text {
  display: none;
  clear: both;
  padding-top: 10px;
}

.pageflip-credits {
  display: none;
}

/* Default Page setup */

.pf-left-side {
  background-color: #666;
}

.pf-right-side {
  background-color: #666;
}

.pf-outer {
  background: none;
}

.pf-hotspot {
  position: absolute;
  overflow: hidden;
  cursor: pointer;
}

/*

	Responsive design

*/

/*Extra large devices (large desktops, 1025px and up)*/

@media screen and (min-width: 1025px) {
  #pageflip {
    height: 1025px !important;
  }

  #pf-stage {
    height: 950px !important;
  }

  #pageflip-controls {
    position: absolute;
    padding: 0 32px 32px;
    width: 100%;
    bottom: -52px;
    overflow: hidden;
    text-align: center;
    opacity: 1;
    font-size: 16px;
  }
  .pf-control-bar-pager {
    display: none;
  }
  .pf-control-bar-pager {
    display: none;
  }
  .pf-centered-buttons {
    width: 104px;
  }
}

@media screen and (max-width: 1024px) {
  #pageflip {
    height: fit-content !important;
  }

  #pageflip-controls {
    position: absolute;
    bottom: 0;
    padding: 0 32px 32px;
    width: 100%;
    overflow: hidden;
    text-align: center;
    opacity: 1;
    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    -o-transition: opacity 1s;
    -ms-transition: opacity 1s;
    transition: opacity 1s;

    font-size: 16px;
  }
  .pf-control-bar-pager {
    display: none;
  }
  .pf-control-bar-pager {
    display: none;
  }
  .pf-centered-buttons {
    width: 104px;
  }
}

@media screen and (max-width: 768px) {
  #pageflip {
    height: 768px !important;
    width: auto !important;
  }

  #pf-stage {
    margin-top: 0 !important;
  }

  #pageflip-controls {
    position: absolute;
    bottom: 0;
    padding: 0 32px 32px;
    width: 100%;
    overflow: hidden;
    text-align: center;
    opacity: 1;
    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    -o-transition: opacity 1s;
    -ms-transition: opacity 1s;
    transition: opacity 1s;

    font-size: 16px;
  }
  .pf-control-bar-pager {
    display: none;
  }
  .pf-control-bar-pager {
    display: none;
  }
  .pf-centered-buttons {
    width: 104px;
  }
}

@media screen and (max-width: 600px) {
  #pageflip {
    height: 600px !important;
    margin-right: 15px !important;
  }

  #pageflip-controls {
    position: absolute;
    bottom: 0;
    padding: 0 0 0;
    width: 100%;

    overflow: hidden;
    text-align: center;
    opacity: 1;
    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    -o-transition: opacity 1s;
    -ms-transition: opacity 1s;
    transition: opacity 1s;

    font-size: 16px;
  }
  .pf-control-bar-pager {
    display: none;
  }
  .pf-control-bar-pager {
    display: none;
  }
  .pf-centered-buttons {
    width: 104px;
  }
}

@media screen and (max-width: 440px) {
  #pageflip {
    height: 440px !important;
  }

  #pf-stage {
    margin-top: 0 !important;
  }

  #pageflip-controls {
    position: absolute;
    bottom: 40px;
    padding: 0 0 0;
    width: 100%;
    overflow: hidden;
    text-align: center;
    opacity: 1;
    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    -o-transition: opacity 1s;
    -ms-transition: opacity 1s;
    transition: opacity 1s;

    font-size: 16px;
  }
  .pf-centered-buttons {
    width: 160px;
    float: left;
    margin-left: 0;
    overflow: hidden;
  }

  .pf-left-buttons {
    display: none;
  }
  .pf-control-bar-button {
    width: 40px;
  }
  .pf-right-buttons {
    width: 160px;
    margin-right: 0;
  }
}
