/*===========================================================================

This is a base-level Monocle stylesheet. It assumes no class-prefix has been
given to the Reader during initialisation - if one has, you can copy and
modify this stylesheet accordingly.

---------------------------------------------------------------------------*/

/* The reader object that holds pretty much everything.
 * (A direct child of the element passed to reader initialisation). */

div.monelem_container {
  background-color: black;
}


/* The div that mimics a leaf of paper in a book. */
div.monelem_page {
  background: white;
  top: 0;
  left: 0;
  bottom: 3px;
  right: 5px;
  border-right: 1px solid #999;
}


/* The div within the page that determines page margins. */
div.monelem_sheaf {
  top: 1em;
  left: 1em;
  bottom: 1em;
  right: 1em;
}


/* The iframe within the page that loads the content of the book. */
div.monelem_component {
}


/* A panel that sits above the entire reader object, holding controls. */
div.monelem_overlay {
}


/* A full-size panel to display an announcement (iframe or div) */
div.monelem_billboard_container {
  background: #FFF;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 2000;
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  transform: scale(0);
  -webkit-transform-origin: -0 -0;
  -moz-transform-origin: -0 -0;
  transform-origin: -0 -0;
}

.monelem_billboard_inner {
  height: 100%;
  width: 100%;
  border: none;
  overflow: auto;
  /*-webkit-overflow-scrolling: touch;*/ /* This is sexy, but crashy. */
}

div.monelem_billboard_inner {
  min-width: 100%;
  min-height: 100%;
  text-align: center;
  vertical-align: middle;
  display: -webkit-box;
  -webkit-box-pack: center;
  -webkit-box-align: center;
}


div.monelem_billboard_close {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 30px;
  color: white;
  background: #C00;
  cursor: pointer;
  border-bottom-left-radius: 4px;
  text-shadow: 1px 1px 1px #900;
  font: 9pt Helvetica Neue, Helvetica, sans-serif;
}

div.monelem_billboard_close:after {
  display: block;
  content: 'Close';
  width: 100%;
  line-height: 30px;
  text-align: center;
}

div.monelem_book_fatality {
  font-family: Helvetica Neue, Helvetica, sans-serif;
  margin: 0 auto;
  max-width: 75%;
}

div.monelem_book_fatality p {
  line-height: 1.4;
}


/*===========================================================================
  PANELS
---------------------------------------------------------------------------*/


.monelem_panels_imode_panel {
  background: rgba(255,255,255,0.7);
  opacity: 0;
}

.monelem_panels_imode_backwardsPanel {
  -webkit-box-shadow: 1px 1px 3px #777;
  -moz-box-shadow: 1px 1px 3px #777;
  box-shadow: 1px 1px 3px #777;
}

.monelem_panels_imode_forwardsPanel {
  -webkit-box-shadow: -1px 1px 3px #777;
  -moz-box-shadow: -1px 1px 3px #777;
  box-shadow: -1px 1px 3px #777;
}

.monelem_panels_imode_centralPanel {
}

.monelem_panels_imode_toggleIcon {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50px;
  height: 50px;
  background-repeat: no-repeat;
  background-position: center center;
}

/* If you modify this you could significantly change the way panels work. */
div.monelem_controls_panel_expanded {
  left: 0 !important;
  width: 100% !important;
  z-index: 1001 !important;
}

/*===========================================================================
  Flippers
---------------------------------------------------------------------------*/

div.monelem_flippers_slider_wait {
  position: absolute;
  right: 0px;
  top: 0px;
  width: 92px;
  height: 112px;
  background-repeat: no-repeat;
  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  background-size: 100%;
  background-image: -webkit-linear-gradient(22deg, transparent 66%, rgba(0,0,0,0.04) 69%, rgba(0,0,0,0.09) 78%, rgba(0,0,0,0.06) 80%, transparent 87%);
  background-image: -moz-linear-gradient(22deg, transparent 66%, rgba(0,0,0,0.04) 69%, rgba(0,0,0,0.09) 78%, rgba(0,0,0,0.06) 80%, transparent 87%);
  background-image: linear-gradient(-292deg, transparent 66%, rgba(0,0,0,0.04) 69%, rgba(0,0,0,0.09) 78%, rgba(0,0,0,0.06) 80%, transparent 87%);
  -webkit-transition: opacity 100ms linear;
  -moz-transition: opacity 100ms linear;
  transition: opacity 100ms linear;
}

@media screen and (max-width: 640px) {
  div.monelem_flippers_slider_wait {
    width: 61px;
    height: 75px;
  }
}


/*===========================================================================
  DATA URIs

  These are data-uri packed images, inlined for loading speed and simplicity.
  Placed at the end of this file because they're visually noisy...
---------------------------------------------------------------------------*/

div.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