body {
  font-family: sans-serif;
  padding-right: 160px;
  line-height: 1.4;
}
h1, h2, h3, h4 {
  margin:0px;
}
h1 {
  font-size: 130%;
}
h2 {
  font-size: 120%;
  padding: 10px 0px 10px 15px;
  background: #9cf;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-box-shadow: inset 4px 4px 2px rgba(0,0,0,.5);
  text-shadow: 4px 4px 2px rgba(0,0,0,.5);
  color: #fff;
  margin-top: 40px;
  margin-bottom: 20px;
  clear: both;
}
img {
  float: right;
  width: 30%;
}
h3 {
  font-size: 110%;
  color: #369;
}
h4 {
  font-size: 100%;
  color: #369;
}
pre {
  margin-left: 20px;
  padding-left: 10px;
  border-left: solid 5px #aaa;
}

attr {
  display: block;
  text-align: right;
  font-size: 9pt;
  font-style: italic;
  border-right: solid 10px #999;
  padding-right: 5px;
}

blockquote {
  clear:both;
  font-style: italic;
  background-color: #eee;
  color: #060;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  padding: 10px;
}

#toc {
  position: fixed;
  right: 0px;
  top: 10px;
  bottom: 10px;
  overflow-y: auto;
  overflow-x: hidden;
  width: 120px;
  padding: 5px;
  padding-left: 30px;
  font-size: 9pt;
  background-color: #fff;
  border: solid 1px #999;
  border-right: none;
  -moz-border-radius: 5px 0px 0px 5px;
  -webkit-border-radius: 5px 0px 0px 5px;
}
#toc li {
  font-family: 10pt;
  white-space: nowrap;
}
#toc h1 {font-size: 12pt; color: #999; margin-left: 0px; font-weight: bold;}
#toc h2 {font-size: 10pt; color: #333; margin-left: 5px}
#toc h3 {font-size: 8pt;  color: #666; margin-left: 10px}
#toc h4 {font-size: 8pt;  color: #999; margin-left: 15px}
#toc h5 {font-size: 8pt;  color: #999; margin-left: 20px}
#toc h6 {font-size: 8pt;  color: #999; margin-left: 25px}

.active {
}
.inactive {
  opacity: .33;
}

.shield {
  background-color: #fff;
  opacity: .4;
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  border: solid 1px red;
}
.timer {
  position: fixed;
  right: 0px;
  bottom: 0px;
  font-family: monospace;
  font-weight: bold;
  color: #048;
}

@media print {
  body {
    padding-right: 0px;
  }
  body * {
    page-break-before: avoid;
    page-break-inside: avoid;
    page-break-after: avoid;
  }
  #toc {
    display: none;
  }
  h2 {
    page-break-before: auto;
    background: #9cf;
    -moz-box-shadow: none;
    border: solid 1px #999;
    border-width: 1px 0px;
    text-shadow: none;
    color: #000;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
  }
}
