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

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.monelem_panels_imode_toggleIcon {
  background-image: url(data:image/png;base64,ivborw0kggoaaaansuheugaaab8aaaaacayaaabpy4ekaaaabhncsvqicagifahkiaaaaalwsflzaaalegaacxib0t1%2b%2faaaabv0rvh0q3jlyxrpb24gvgltzqazmc82lzewbmfmvwaaabx0rvh0u29mdhdhcmuaqwrvymugrmlyzxdvcmtzientnxg14zyaaanysurbveijtdzbinvvfmfxj8cx85jkiglqsesgoga9wiqggmtruyrayfjdnuwygv2eyicpkibekji1uqyvukmfdxfbgpghonajsdcm7hcxlsnt4ulh%2f2c4hufmtoh8xs75%2f%2ffa67v3%2bu%2b91hphgjwznuzcxjykihd6xxqnhhgdtb6noviayzary3eap%2bnl7mcbipi9ze4lebltsr9jccnuiygdbegzev4f7eine7ep3%2bj49w4grsz8npagxouik5k5f93yfhhpvt5h4kbcjax1ev3kwfdmpb9p4ko8ere7boponwcovmmc1ubrrg8oc5ptq1hdr9cpdrqmtmuwfbqrcwed9ioipsqtmbkeu7g8p3clszsi98ezcxqeuslxm1rwzs7errijkxgqn2tmzoj4qsv2hn7bycq369uahiqi5ypizygcx2mpfsrvobor6%2fa%2bnmxmqcbbm%2faimijo9cezcweuwlodwmzk5oxvlya6pouif%2fc6cvbgi37d0mrestyjroh4r9df785xygtehg8hfnjb1w08xu2qq3regtozuaka2whv5nziewy%2bhkv4icj2n%2fuszeymjqm8ndcuuxdph4hengzsxjx9reqcqrxvr2defnbrhxf7lhywgpxw7085cevwzkschahearz%2bwngcqyanlepan%2fbh5oj4rr%2fbdlyoxuma%2fx%2f9ofytm5szs3t6epbwlotxejjg%2bzemmye3vf%2bcyx2yhdfntts3ooqt2jqz3tic2zetyzrwrniwhkmtqwvsxw24glsiymwj0dcbo2gny7nsrfgpijzjm6wu1ut1lht%2bglohcd6j79sn1pskmsuzjwwd%2fbod5i9arhyifivfq3d2j1kr%2fh7mmdpny1je7gwlr3434n5bni3gfrifzuai0ub34awbdgr0pckpm%2fppqovpt11kovinnavxt1lkltnxkfesxu1huz3hi0plwqw0qgcoijyoerpmy7as17b2da06o43kzlf4ranrzwwx3%2ffohyw7ll5ubur83p9do9ho%2b99fdzczdynfdxpejog%2fbocoxhw4axowkik%2bagc%2filzj6ulcxznciwm4qfszcuob3km0uceu3w5v5%2b8%2fwzswmqvzln1nq8c%2f4ht8qkrm72b%2b%2bop%2fc0seoftjmubfaaaaaelftksuqmcc);
}