body {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  color:#EEE;
  background:#222;
}

.show-once {
  position: absolute;
  top:0;
  height:20px;
  opacity:.3;
  background:#000;
  color: #CCC;
  font-size:9px;
  text-align:center;
  vertical-align:middle;
  line-height:20px;
  left:300px;
  right:300px;
  margin:0 auto;
}

.slides {
  display: block;

  background: black;

  box-sizing: border-box;
  -o-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;

  border-radius: 10px;
  -o-border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;

  box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
  border: 1px solid rgba(0, 0, 0, .3);
  
  
  min-height: 500px;
  margin: 20px;
  position:relative;
}

.slides > article {
  display: none;
  padding: 40px 60px;
  border-top: 2px dashed #111;
  font-family: Arial, sans-serif;

  font-size: 30px;
  line-height: 36px;
  letter-spacing: -1px;
  word-spacing: 1px;
  page-break-before: always;
}

dd {
float: left;
margin:0 5px 0 0;
width: 133px;
color: #DDD
}

dt {
padding-left:138px;
color:white;
}

input {
  font-size: 20px;
  height: 36px;
  padding: 2px 20px;
}


.slides > article:first-child {
  border-top: none;
  page-break-before: avoid;
}


b {
  font-weight: bold;
}

.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;
}
.gray {
  color: #777;
}
.white {
  color: white;
}

p {
  margin: 0;
  padding: 0;

  margin-top: 20px;
}
p:first-child {
  margin-top: 0;
}

h1 {
  font-size: 60px;
  line-height: 60px;
  color: #FFF;

  padding: 0;
  margin: 0;
  padding-right: 40px;

  font-weight:bold;

  letter-spacing: -3px;
}

h2 {
  font-size: 45px;
  line-height: 45px;
  color: #FFF;

  padding: 0;
  padding-top:2em;
  margin: 0;
  padding-right: 40px;

  font-weight:bold;

  letter-spacing: -2px;
}

h2:first-child{
  padding:0;
}

h3 {
  font-size: 30px;
  line-height: 36px;
  color: #FFF;

  padding: 0;
  margin: 0;
  padding-right: 40px;

  font-weight:bold;

  letter-spacing: -1px;
}

h4 {
  font-size: 25px;
  line-height: 26px;
  color: #FFF;

  margin: 0;
  margin-top:.8em;
  padding: 0;
  font-weight:bold;

  letter-spacing: -1px;
}

article.fill h3 {
  background: rgba(255, 255, 255, .75);
  padding-top: .2em;
  padding-bottom: .3em;
  margin-top: -.2em;
  margin-left: -60px;
  padding-left: 60px;
  margin-right: -60px;
  padding-right: 60px;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 20px;

  margin-left: .75em;
}
article.smaller h4 ~ ul{
  margin-left: 4em;
  margin-top: 0.2em;
}

article.smaller h4 ~ p{
  margin-left: 4em;
  margin-top: 0.2em;
}
ul:first-child {
  margin-top: 0;
}
ul ul {
  margin-top: .5em;
}
li {
  padding: 0;
  margin: 0;
}
ul li {
  margin-bottom: .5em;
}
ul > li:before {
  content: '–';

  width: 1.0em;
  margin-left: -1.0em;

  position: absolute;
}

pre {
  font-family: Inconsolata,"Courier New",Courier,"monospace";

  max-height: 415px;
  font-size: 18px;
  line-height: 22px;
  padding: 3px 5px;
  
  letter-spacing: -1px;
  color: #444;

  margin-top: 20px;
  margin-bottom: 20px;

  background: rgb(240, 240, 240);
  border: 1px solid rgb(224, 224, 224);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .1);
  
  overflow: auto;
}

div.code {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 1px solid rgb(224, 224, 224);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .1);
  padding: 3px 5px;
  background: rgb(240, 240, 240);
}

.code pre {
  margin:0;
  padding:0;
  border:none;
  box-shadow:none;
  overflow:hidden;
}

.code .note {
  color:gray;
  font-size:90%;
  position:relative;
  right: 0;
  text-align:right;
  padding-right:7px;
  height:0;
}


p~pre {margin-top: 5px}
li div pre { margin: 0 }

pre ol.linenums {
  padding-top:0;
  margin-top:0;
  color: #999;
}

pre ol.linenums span {
  color: #444;
}
code {
  font-size: 95%;
  font-family: 'Courier New', monospace;
}

iframe {
  width: 100%;

  height: 560px;

  background: white;
  border: 1px solid rgb(192, 192, 192);
  margin: -1px;
  /*box-shadow: inset 0 2px 6px rgba(0, 0, 0, .1);*/
}

h3 + iframe {
  margin-top: 40px;
  height: 470px;
}


article.fill iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;

  border: 0;
  margin: 0;

  border-radius: 10px;
  -o-border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;

  z-index: -1;
}

article.fill img {
  position: absolute;
  left: 0;
  top: 0;
  min-width: 100%;
  min-height: 100%;

  border-radius: 10px;
  -o-border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;

  z-index: -1;
}
img.centered {
  margin: 0 auto;
  display: block;
}
a,a:hover,a:visited{
  color:#BBE;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
}
th {
  font-weight:bold;
  text-align: left;
}
td,
th {
  border: 1px solid rgb(224, 224, 224);
  padding: 5px 10px;
  vertical-align: top;
}

.source {
  position: absolute;
  left: 60px;
  top: 644px;
  padding-right: 175px;
  
  font-size: 95%;
  letter-spacing: 0;  
  line-height: 18px;
}

q {
  display: block;
  font-size: 120%;
  line-height: 160%;
  
  margin-left: 20px;
  
  font-family:"Times New Roman",Georgia,Serif;
  font-style: italic;
  margin-top: 50px;
  margin-right: 150px;
}
q:before {
  content: '“';
  color: #FC0;
  position: absolute;
  display: inline-block;
  margin-left: -2.1em;
  width: 2em;
  text-align: right;
  
  font-size: 150%;
}
q:after {
  content: '”';
  position: absolute;
  color: #FC0;
  font-size: 150%;
}
div.author {
  font-size: 28px;
  font-weight: none;
  margin-top: 80px;
  margin-right: 150px;
}
q ~ div.author {
  margin-top:-1.2em;
  text-align:right;
  color:#fe6;
  font-size:95%;
}
q ~ div.author:before {
    content: "-- "
}

/* Size variants */

article.smaller p,
article.smaller ul {
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0;
}
article.smaller table {
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0;
}
article.smaller pre {
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0;
}
article.smaller q {
  font-size: 40px;
  line-height: 48px;
}
article.smaller q::before,
article.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);
}


.labrat {
  margin:30px 0 0 50px;
  color:#999;
  font-family:Times;
  font-style:italic;
}
.labrat:before{
  display:block;
  float:left;
  margin-left:-50px;
  content:"";
  left:0;
  width:40px;
  height:40px;
  z-index:2;
  background:url(../images/labs.svg) no-repeat;
  background-size:30px 40px;
}