/*
 * lit.js - https://github.com/apres/lit.js
 * Part of the Apres suite - http://apres.github.com/
 */
body {
  margin: 0;
  padding: 0;
}

.lit {
  float: left;
  background-color: #f2f2ff;
  /*border-left: 2px solid #ccc;*/
  font-family: 'Helvetica Neue', Helvetica, sans-serif;
}

.lit h1 {
  font-size: 28px;
}
.lit h2 {
  font-size: 18px;
  color: #445;
}
.lit h3 {
  font-size: 16px;
  color: #445;
}
.lit h4 {
  font-size: 15px;
  color: #445;
}
.lit h5, .lit h6 {
  font-size: 16px;
  font-style: italic;
  color: #445;
}

h1, h2, h3, h4, h5, h6 {
  margin: 10px 0 5px 0;
}

.lit section {
  position: relative;
  page-break-inside: avoid;
  text-rendering: optimizeLegibility;
  float: left;
  width: 100%;
}

.lit-comment {
  position: relative;
  float: left;
  height: 100%;
  width: 38%;
  font-size: 14px;
  padding: 0 1em 0 1em;
  background-color: white;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  box-shadow: 1px 1px 15px #cbcbcb;
  margin: 5px 5px 5px 10px;
  z-index: 998;
}

.lit-comment>* {
  overflow: hidden;
}

.lit section:after {
  /* callout shadow */
  position: absolute;
  top: 7px;
  left: 38%; /* set same as .comment width */
  margin-left: 34px;
  font-size: 27px;
  content: "►";
  color: transparent;
  text-shadow: 0 0 15px #cbcbcb;
  z-index: 997;
}

.lit-comment:after {
  /* callout arrow */
  position: absolute;
  top: 1px;
  left: 100%;
  margin-left: -7px;
  font-size: 27px;
  content: "►";
  color: white;
  z-index: 999;
}

.lit-comment code {
  background: #f5f5f5;
  border: 1px dotted #ccc;
  padding: 0 2px 0 2px;
  font-family: Menlo, Monaco, 'Courier New', monospace;
}

.lit-comment pre code {
  display: inline-block;
  max-width: 99%;
  overflow: auto;
}

.lit-code {
  float: left;
  height: 100%;
  width: 50%;
  font-family: Menlo, Monaco, 'Courier New', monospace;
  font-size: 14px;
  white-space: pre;
  padding: 0 1em 0 1em;
}

