/*
  HTML 'Powerpoint' print styles
  © 2014 Derek Bridge
  Based on: 
    html5slides: http://code.google.com/p/html5slides/
    Shower: https://github.com/pepelsbey/shower/
	S5: http://meyerweb.com/eric/tools/s5/
*/

html, body {
    padding: 0;
    margin: 0;
}

.slide {
    display: none;
    background-color: white;
    box-sizing: border-box;
    width: 920px;
    min-height: 600px;
    height: auto;
    margin: 20px auto;
    padding: 40px 60px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, .3);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
    overflow: visible;
}

#controls {
    display: none;
}

/* The following rule is necessary to have all slides appear in print! */

.slide {
    display: block; 
    visibility: visible !important;
}

/* The next rule tries to get page breaks right. */
.slide {
    page-break-inside: avoid !important;
    page-break-after: always !important;
}

/* Styles for slides */

.slide {
    font-family: 'Open Sans', Arial, sans-serif;

    color: rgb(102, 102, 102);
    text-shadow: 0 1px 1px rgba(0, 0, 0, .1);

    font-size: 30px;
    line-height: 36px;

    letter-spacing: -1px;
}

b {
    font-weight: 600;
    color: rgb(51, 51, 51);
}

.blue {
    color: rgb(0, 102, 204);
}

.yellow {
    color: rgb(255, 211, 25);
}

.green {
    color: rgb(0, 138, 53);
}

.red {
    color: rgb(255, 0, 0);
}

.black {
    color: black;
}

.white {
    color: white;
}

a {
    color: rgb(0, 102, 204);
    text-decoration: none;
}

p {
    margin: 0;
    padding: 0;

    margin-top: 20px;
}

p:first-child {
    margin-top: 0;
}

.slide > h1 {
    font-size: 45px;
    line-height: 45px;

    padding: 0;
    margin: 0;
    margin-bottom: 20px;
  
    font-weight: 600;

    letter-spacing: -3px;

    color: rgb(51, 51, 51);
}

.slide > h2 {
    font-size: 30px;
    line-height: 30px;

    padding: 0;
    margin: 0;
    margin-bottom: 15px;

    font-weight: 600;

    letter-spacing: -2px;

    color: rgb(51, 51, 51);
}

.slide > h3, .slide > h4, .slide > h5, .slide > h6 {
    font-size: 20px;
    line-height: 20px;

    padding: 0;
    margin: 0;
    margin-bottom: 10px;

    font-weight: 600;

    letter-spacing: -1px;

    color: rgb(51, 51, 51);
}

ul, ol {
    margin: 0;
    padding: 0;

    margin-top: 40px;

    margin-left: .75em;
}

ul ul, ol ol, ul ol, ol, ul {
    margin-top: .5em;
}

li {
    padding: 0;
    margin: 0;

    margin-left: 0.75em;
    margin-bottom: .5em;
}

pre {
    font-family: 'Droid Sans Mono', 'Courier New', monospace;

    font-size: 20px;
    line-height: 28px;
    padding: 5px 10px;
  
    letter-spacing: -1px;

    margin-top: 40px;
    margin-bottom: 40px;

    color: black;
    background: rgb(240, 240, 240);
    border: 1px solid rgb(224, 224, 224);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, .1);
}

code {
    font-size: 95%;
    font-family: 'Droid Sans Mono', 'Courier New', monospace;

    color: black;
}

iframe {
    width: 100%;

    height: 540px;

    background: white;
    border: 1px solid rgb(192, 192, 192);
    margin: -1px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, .1);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}

th {
    font-weight: 600;
    text-align: left;
}

td, th {
    border: 1px solid rgb(224, 224, 224);
    padding: 5px 10px;
    vertical-align: top;
}

.source { /* Use this class on a div that cites the source of an img */
    display: block;
    text-align: right;
    font-size: 0.2em
}

q { /* A large quotation - pretty much the only thing on a slide */
    display: block;
    font-size: 60px;
    line-height: 72px;
  
    margin-left: 20px;
  
    margin-top: 100px;
    margin-right: 150px;    
}

q::before {
    content: '“';
  
    position: absolute;
    display: inline-block;
    margin-left: -2.1em;
    width: 2em;
    text-align: right;
  
    font-size: 90px;
    color: rgb(192, 192, 192);
}

q::after {
    content: '”';

    position: absolute;  
    margin-left: .1em;

    font-size: 90px;
    color: rgb(192, 192, 192);  
}

div.author { /* Use this class on a div to give the author of a quotation */
    text-align: right;  
    font-size: 40px;
  
    margin-top: 20px;
    margin-right: 150px;    
}

div.author::before { 
    content: '—';
}

/* The fill class layout for iframes and images that must fill the width of the slide */

.slide.fill img {

   height: 100%;
   display: block;
    max-height: 440px;
    max-width: 760px;
    
    border: 0;
    margin: 0 auto;
    padding: 0;
}

.slide.fillwidth iframe, .slide.fillwidth img {  
    display: block;
    width: 100%;
    max-height: 440px;
    max-width: 760px;
    border: 0;
    margin: 0 auto;
    padding: 0;
}

.slide.fillheight iframe, .slide.fillheight img {  
    display: block;
    height: 100%;
    max-height: 440px;
    max-width: 760px;
    border: 0;
    margin: 0 auto;
    padding: 0;
}


/* The centered class layout for images */

img.centered {
    margin: 0 auto;
    display: block;
}

/* Size variants */

.slide.smaller p,
.slide.smaller ul {
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0;
}
.slide.smaller table {
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0;
}
.slide.smaller pre {
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0;
}
.slide.smaller q {
  font-size: 40px;
  line-height: 48px;
}
.slide.smaller q::before,
.slide.smaller q::after {
  font-size: 60px;
}

/* Pretty print */

.prettyprint .str, /* string content */
.prettyprint .atv { /* a markup attribute value */
    color: rgb(0, 138, 53); 
}  

.prettyprint .kwd, /* a keyword */
.prettyprint .tag { /* a markup tag name */
    color: rgb(0, 102, 204);
}

.prettyprint .com { /* a comment */
    color: rgb(127, 127, 127); 
    font-style: italic; 
}  

.prettyprint .lit { /* a literal value */
    color: rgb(127, 0, 0);
}  

.prettyprint .pun, /* punctuation, lisp open bracket, lisp close bracket */
.prettyprint .opn, 
.prettyprint .clo { 
    color: rgb(127, 127, 127); 
}

.prettyprint .typ, /* a type name */
.prettyprint .atn, /* a markup attribute name */ 
.prettyprint .dec, 
.prettyprint .var { /* a declaration; a variable name */
    color: rgb(127, 0, 127);
}  




/* And now it's up to you...
*/
/*
body {
 font-size: 11pt; 
 font-family: serif;
 background: white;
}

* {
 color: black;
}

div.slide {
 width: 6in;
 margin: 25pt;
 padding: 1pt 10pt 1pt 10pt;
}

div.slide h1 {
 font-style: italic;
 font-size: 120%; 
 padding: 0px;
 border-style: solid; 
 border-width: 0 0 1px 0; 
 border-color: black; 
 padding: 0; 
 margin: 0; 
}

div.slide h2 {
 font-size: 90%;
}

div#slide0 h1 {
 font-size: 150%;
}

div#slide0 h2 {
 font-size: 120%;
}

div#slide0 h3 {
 font-size: 90%;
}

p + ul, p + ol, p + dl, p + blockquote {
 margin-top: -0.5em;
}

blockquote {
 border-style: solid; 
 border-width: 1px; 
 padding: 1ex;
 }

blockquote p {
 margin: 0;
}

img {
   display: block;
   margin-top: 10px; 
   max-width: 6in;
   max-height: 2.5in;
   margin-left: auto;
   margin-right: auto;
}

li img, dt img, dd img {
   display: block;
   max-width: 2in;
   max-height: 1.5in;
   float: right;
   vertical-align: top;
}
 
.slide, #slide0 {
 clear: both;
}

h2 {
 font-size: 90%;
}

cite {
 display: block;
 text-align: right;   
 font-size: 0.2em;  
}

dt {
 font-style: italic;
}

td {
 padding: 0.5em;
}

a {
 text-decoration: none;
}
*/
