/*
  Responsive wrapper for The Classic fixed-layout publication.

  The exported publication is 1920px wide and 4663px tall.
  JavaScript scales the complete iframe to fit the browser width.
*/

:root {
  --publication-source-width: 1920;
  --publication-source-height: 4663;
  --publication-scale: 1;
  --publication-rendered-height: 4663px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  background: #ffffff;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
}

#publicationShell {
  position: relative;
  width: 100%;
  height: var(--publication-rendered-height);
  min-height: var(--publication-rendered-height);
  overflow: hidden;
  background: #ffffff;
}

.contentIframeClass {
  position: absolute;
  top: 0;
  left: 50%;

  width: calc(var(--publication-source-width) * 1px);
  height: calc(var(--publication-source-height) * 1px);

  margin: 0;
  padding: 0;
  border: 0;
  display: block;
  background: transparent;

  transform-origin: top center;
  transform:
    translateX(-50%)
    scale(var(--publication-scale));
}

.dummyIFrameClass {
  display: none;
  width: 0;
  height: 0;
  border: 0;
}

/*
  This export contains only one HTML page, so the arrows remain hidden.
  The classes are preserved in case additional pages are added later.
*/
.pageArrow,
.prev,
.next {
  visibility: hidden;
}

.pageArrow {
  position: fixed;
  z-index: 20;
  top: 50%;
  transform: translateY(-50%);

  width: 44px;
  height: 64px;
  padding: 0;

  border: 0;
  cursor: pointer;

  color: #000000;
  background: rgba(255, 255, 255, 0.72);
  font-size: 30px;
  font-weight: bold;
  line-height: 1;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

@media (max-width: 767px) {
  .pageArrow {
    width: 36px;
    height: 54px;
    font-size: 25px;
  }
}
