#spreads-view body {
  margin: 0;
  background: #fafafa;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  position: absolute;
  height: 100%;
  width: 100%;
  min-height: 800px;
}
#spreads-view #title {
  width: 900px;
  min-height: 18px;
  margin: 10px auto;
  text-align: center;
  font-size: 16px;
  color: #E2E2E2;
  font-weight: 400;
}
#spreads-view #title:hover {
  color: #777;
}
#spreads-view #viewer.spreads {
  width: 900px;
  height: 600px;
  box-shadow: 0 0 4px #ccc;
  border-radius: 5px;
  padding: 0;
  position: relative;
  margin: 10px auto;
  background: white url("ajax-loader.gif") center center no-repeat;
}
#spreads-view #viewer.spreads .epub-view > iframe {
  background: white;
}
#spreads-view #viewer.scrolled {
  overflow: hidden;
  width: 800px;
  margin: 0 auto;
  position: relative;
  background: url("ajax-loader.gif") center center no-repeat;
}
#spreads-view #viewer.scrolled .epub-container {
  background: white;
  box-shadow: 0 0 4px #ccc;
  margin: 10px;
  padding: 20px;
}
#spreads-view #viewer.scrolled .epub-view > iframe {
  background: white;
}
#spreads-view #prev {
  left: 0;
}
#spreads-view #next {
  right: 0;
}
#spreads-view #toc {
  position: absolute;
  top: 6px;
  left: 5px;
}
#spreads-view #viewer.spreads:after {
  position: absolute;
  width: 1px;
  border-right: 1px #000 solid;
  height: 90%;
  z-index: 1;
  left: 50%;
  margin-left: -1px;
  top: 5%;
  opacity: 0.15;
  box-shadow: -2px 0 15px black;
  content: "";
}
#spreads-view #viewer.spreads.single:after {
  display: none;
}
#spreads-view #prev {
  left: 40px;
}
#spreads-view #next {
  right: 40px;
}

#spreads-view .arrow {
  position: fixed;
  top: 50%;
  margin-top: -32px;
  font-size: 64px;
  color: #E2E2E2;
  font-family: arial, sans-serif;
  font-weight: bold;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  text-decoration: none;
}
#spreads-view .navlink {
  margin: 14px;
  display: block;
  text-align: center;
  text-decoration: none;
  color: #ccc;
}
#spreads-view .arrow:hover, #spreads-view .navlink:hover {
  color: #777;
}
#spreads-view .arrow:active, #spreads-view .navlink:hover {
  color: #000;
}
#spreads-view #book-wrapper {
  width: 480px;
  height: 640px;
  overflow: hidden;
  border: 1px solid #ccc;
  margin: 28px auto;
  background: #fff;
  border-radius: 0 5px 5px 0;
  position: absolute;
}
#spreads-view #book-viewer {
  width: 480px;
  height: 660px;
  margin: -30px auto;
  -moz-box-shadow: inset 10px 0 20px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: inset 10px 0 20px rgba(0, 0, 0, 0.1);
  box-shadow: inset 10px 0 20px rgba(0, 0, 0, 0.1);
}
#spreads-view #book-viewer iframe {
  padding: 40px 40px;
}
#spreads-view #controls {
  position: absolute;
  bottom: 16px;
  left: 50%;
  width: 400px;
  margin-left: -200px;
  text-align: center;
  display: none;
}
#spreads-view #controls > input[type=range] {
  width: 400px;
}
#spreads-view #navigation {
  width: 400px;
  height: 100vh;
  position: absolute;
  overflow: auto;
  top: 0;
  left: 0;
  background: #777;
  -webkit-transition: -webkit-transform 0.25s ease-out;
  -moz-transition: -moz-transform 0.25s ease-out;
  -ms-transition: -moz-transform 0.25s ease-out;
  transition: transform 0.25s ease-out;
}
#spreads-view #navigation.fixed {
  position: fixed;
}
#spreads-view #navigation h1 {
  width: 200px;
  font-size: 16px;
  font-weight: normal;
  color: #fff;
  margin-bottom: 10px;
}
#spreads-view #navigation h2 {
  font-size: 14px;
  font-weight: normal;
  color: #B0B0B0;
  margin-bottom: 20px;
}
#spreads-view #navigation ul {
  padding-left: 36px;
  margin-left: 0;
  margin-top: 12px;
  margin-bottom: 12px;
  width: 340px;
}
#spreads-view #navigation ul li {
  list-style: decimal;
  margin-bottom: 10px;
  color: #cccddd;
  font-size: 12px;
  padding-left: 0;
  margin-left: 0;
}
#spreads-view #navigation ul li a {
  color: #ccc;
  text-decoration: none;
}
#spreads-view #navigation ul li a:hover {
  color: #fff;
  text-decoration: underline;
}
#spreads-view #navigation ul li a.active {
  color: #fff;
}
#spreads-view #navigation #cover {
  display: block;
  margin: 24px auto;
}
#spreads-view #navigation #closer {
  position: absolute;
  top: 0;
  right: 0;
  padding: 12px;
  color: #cccddd;
  width: 24px;
}
#spreads-view #navigation.closed {
  -webkit-transform: translate(-400px, 0);
  -moz-transform: translate(-400px, 0);
  -ms-transform: translate(-400px, 0);
}
#spreads-view svg {
  display: block;
}
#spreads-view .close-x {
  stroke: #cccddd;
  fill: transparent;
  stroke-linecap: round;
  stroke-width: 5;
}
#spreads-view .close-x:hover {
  stroke: #fff;
}
#spreads-view #opener {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px;
  stroke: #E2E2E2;
  fill: #E2E2E2;
}
#spreads-view #opener:hover {
  stroke: #777;
  fill: #777;
}
/*******************************************************************************/
#swipe-wiew body {
  display: flex;
  -webkit-align-items: center;
  -webkit-justify-content: center;
}
#swipe-wiew #viewer {
  width: 450px;
  height: 600px;
  box-shadow: 0 0 4px #ccc;
  padding: 10px 10px 0px 10px;
  margin: 5px auto;
  background: white;
}

#swipe-wiew .arrow {
  position: fixed;
  top: 50%;
  margin-top: -32px;
  font-size: 64px;
  color: #E2E2E2;
  font-family: arial, sans-serif;
  font-weight: bold;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  text-decoration: none;
}
#swipe-wiew .navlink {
  margin: 14px;
  display: block;
  text-align: center;
  text-decoration: none;
  color: #ccc;
}
#swipe-wiew .arrow:hover, #spreads-view .navlink:hover {
  color: #777;
}
#swipe-wiew .arrow:active, #spreads-view .navlink:hover {
  color: #000;
}
#swipe-wiew #prev {
  left: 0;
}
#swipe-wiew #next {
  right: 0;
}

#swipe-wiew #toc {
  position: absolute;
  top: 6px;
  left: 5px;
}
/*@media only screen and (min-device-width: 320px) and (max-device-width: 667px) {
  #swipe-wiew #viewer {
    height: 96.5%;
  }
  #swipe-wiew #viewer iframe {
    pointer-events: none;
  }
  #swipe-wiew .arrow {
    position: inherit;
    display: none;
  }

  #swipe-wiew #prev {
    left: 40px;
  }
  #swipe-wiew #next {
    right: 40px;
  }
}*/
@media print {
  html, body {
    display: none;  /* hide whole page */
  }
}

.blur{
  /* Add the blur effect */
  filter: blur(8px);
  -webkit-filter: blur(8px);
}

#scroll-wiew body {
  margin: 0;
  background: #fafafa;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  position: absolute;
  height: 100%;
  width: 100%;
  min-height: 800px;
}
#scroll-wiew #title {
  width: 900px;
  min-height: 18px;
  margin: 10px auto;
  text-align: center;
  font-size: 16px;
  color: #E2E2E2;
  font-weight: 400;
}
#scroll-wiew #title:hover {
  color: #777;
}
#scroll-wiew #viewer.spreads {
  width: 900px;
  height: 600px;
  box-shadow: 0 0 4px #ccc;
  border-radius: 5px;
  padding: 0;
  position: relative;
  margin: 10px auto;
  background: white url("ajax-loader.gif") center center no-repeat;
  top: calc(50vh - 400px);
}
#scroll-wiew #viewer.spreads .epub-view > iframe {
  background: white;
}
#scroll-wiew #viewer.scrolled {
  overflow: hidden;
  width: 800px;
  margin: 0 auto;
  position: relative;
  background: url("ajax-loader.gif") center center no-repeat;
  box-shadow: 0 0 4px #ccc;
  padding: 20px;
  background: white;
}
#scroll-wiew #viewer.scrolled .epub-view > iframe {
  background: white;
}
#scroll-wiew #prev {
  left: 0;
}
#scroll-wiew #next {
  right: 0;
}

#scroll-wiew #content-label {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
  z-index: -1;
}
#scroll-wiew #content-label span {
  color:  white;
}
@media (min-width: 1000px) {
  #scroll-wiew #viewer.spreads:after {
    position: absolute;
    width: 1px;
    border-right: 1px #000 solid;
    height: 90%;
    z-index: 1;
    left: 50%;
    margin-left: -1px;
    top: 5%;
    opacity: 0.15;
    box-shadow: -2px 0 15px black;
    content: "";
  }
  #scroll-wiew #viewer.spreads.single:after {
    display: none;
  }
  #scroll-wiew #prev {
    left: 40px;
  }
  #scroll-wiew #next {
    right: 40px;
  }
}
#scroll-wiew .arrow {
  position: fixed;
  top: 50%;
  margin-top: -32px;
  font-size: 64px;
  color: #E2E2E2;
  font-family: arial, sans-serif;
  font-weight: bold;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  text-decoration: none;
}
#scroll-wiew .navlink {
  margin: 14px;
  display: block;
  text-align: center;
  text-decoration: none;
  color: #ccc;
}
#scroll-wiew .arrow:hover, #scroll-wiew .navlink:hover {
  color: #777;
}
#scroll-wiew .arrow:active, #scroll-wiew .navlink:hover {
  color: #000;
}
#scroll-wiew #book-wrapper {
  width: 480px;
  height: 640px;
  overflow: hidden;
  border: 1px solid #ccc;
  margin: 28px auto;
  background: #fff;
  border-radius: 0 5px 5px 0;
  position: absolute;
}
#scroll-wiew #book-viewer {
  width: 480px;
  height: 660px;
  margin: -30px auto;
  -moz-box-shadow: inset 10px 0 20px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: inset 10px 0 20px rgba(0, 0, 0, 0.1);
  box-shadow: inset 10px 0 20px rgba(0, 0, 0, 0.1);
}
#scroll-wiew #book-viewer iframe {
  padding: 40px 40px;
}
#scroll-wiew #controls {
  position: absolute;
  bottom: 16px;
  left: 50%;
  width: 400px;
  margin-left: -200px;
  text-align: center;
  display: none;
}
#scroll-wiew #controls > input[type=range] {
  width: 400px;
}
#scroll-wiew #navigation {
  width: 400px;
  height: 100vh;
  position: absolute;
  overflow: auto;
  top: 0;
  left: 0;
  background: #777;
  -webkit-transition: -webkit-transform 0.25s ease-out;
  -moz-transition: -moz-transform 0.25s ease-out;
  -ms-transition: -moz-transform 0.25s ease-out;
  transition: transform 0.25s ease-out;
}
#scroll-wiew #navigation.fixed {
  position: fixed;
}
#scroll-wiew #navigation h1 {
  width: 200px;
  font-size: 16px;
  font-weight: normal;
  color: #fff;
  margin-bottom: 10px;
}
#scroll-wiew #navigation h2 {
  font-size: 14px;
  font-weight: normal;
  color: #B0B0B0;
  margin-bottom: 20px;
}
#scroll-wiew #navigation ul {
  padding-left: 36px;
  margin-left: 0;
  margin-top: 12px;
  margin-bottom: 12px;
  width: 340px;
}
#scroll-wiew #navigation ul li {
  list-style: decimal;
  margin-bottom: 10px;
  color: #cccddd;
  font-size: 12px;
  padding-left: 0;
  margin-left: 0;
}
#scroll-wiew #navigation ul li a {
  color: #ccc;
  text-decoration: none;
}
#scroll-wiew #navigation ul li a:hover {
  color: #fff;
  text-decoration: underline;
}
#scroll-wiew #navigation ul li a.active {
  color: #fff;
}
#scroll-wiew #navigation #cover {
  display: block;
  margin: 24px auto;
}
#scroll-wiew #navigation #closer {
  position: absolute;
  top: 0;
  right: 0;
  padding: 12px;
  color: #cccddd;
  width: 24px;
}
#scroll-wiew #navigation.closed {
  -webkit-transform: translate(-400px, 0);
  -moz-transform: translate(-400px, 0);
  -ms-transform: translate(-400px, 0);
  transform: translate(-400px, 0);
}
#scroll-wiew svg {
  display: block;
}
#scroll-wiew .close-x {
  stroke: #cccddd;
  fill: transparent;
  stroke-linecap: round;
  stroke-width: 5;
}
#scroll-wiew .close-x:hover {
  stroke: #fff;
}
#scroll-wiew #opener {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px;
  stroke: #E2E2E2;
  fill: #E2E2E2;
}
#scroll-wiew #opener:hover {
  stroke: #777;
  fill: #777;
}

/***********************/
/* eddig: https://futurepress.github.io/epub.js/examples/scrolled.html https://futurepress.github.io/epub.js/examples/examples.css */
/* innnen saját a css, az ezelőtti webről van, csak meg lett prefixelve */

#scroll-wiew #top-toolbar {
  width: 100%;
  height: 32px;
  line-height: 32px;
  margin-bottom: 5px;
  background: hsl(0deg 0% 27% / 95%);
}

#scroll-wiew #top-toolbar a.glyphicon{
  padding: 7px;
  color: white;
  text-decoration: none;
}
#scroll-wiew #top-toolbar {
  z-index: 3;
  position: sticky;
  top: 0;
}

#scroll-wiew #prev,
#scroll-wiew #next{
  color: black !important;
}

#scroll-wiew #toc {
  max-width: 50%
}
