@import url(fonts/fonts.css);

* {
  margin: 0;
  padding: 0;
}

body {
  background: #999;
  font: normal 14pt/1.45 et-book;
  color: #333;
  width: 100%;
  text-align: left;
}

everything {
  display: block;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  width: 1000px;
  background: white;
  -moz-box-shadow: 0 2px 2px rgba(0,0,0,0.5);
  -webkit-box-shadow: 0 2px 2px rgba(0,0,0,0.5);
}

@media print {
  everything {
    padding: 0;
    margin: 0;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
  }
}

highlight {
  background: #fffbcc;
}

comment {
  color: cornflowerblue;
}

header {
  position: relative;
  font-family: Bangers;
  width: 910px;
  margin: 20px 60px;
}

header > part {
  display: block;
  font-size: 26px;
  color: #333;
  margin-right: 10pt;
}

header > descr {
  font: bold 80px/0.9 Bangers;
  color: #583799;
  -webkit-text-stroke-width: 1px;
  text-shadow: 0 2px 5px rgba(0,0,0,0.2);
  -webkit-text-stroke-color: #224;
  margin: 200pt 0;
}

header > detail {
  font-size: 20px;
  white-space:nowrap;
  margin-left: 5pt;
  color: #aaa;
}

section,
abstract {
  display: block;
  position: relative;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 60px;
  margin-right: auto;
  text-align: justify;
}

abstract {
  width: 710px;
  line-height: 1.4;
}

section {
  padding-top: 48px;
  width: 710px;
}

sectionHeader {
  text-align: center;
  position: absolute;
  width: inherit;
  height: 16px;
  top: 0px;
  border-bottom: 1px solid #ccc;
}

sectionHeader > span {
  font: bold 25px "PT Sans";
  color: #222;
  background-color: #fff;
  padding-left: 16px;
  padding-right: 16px;
}

h1, h2, h3, h4, h5 {
  font-family: et-book;
  font-style: italic;
}

p {
  margin-bottom: 12px;
}

p + p {
  text-indent: 14pt;
}

table.syntax *,
codeBlock,
sidebar {
  text-indent: 0 !important;
}

ul, ol {
  margin-left: 24px;
}

sidebar {
  position: absolute;
  font: normal 11pt/1.55 et-book;
  width: 190px !important;
  white-space: normal;
  left: 735px;
  color: #aaa;
  text-align: left;
}

sidebar b {
  color: #999;
}

sidebar code {
  font-size: 12pt;
  color: #696969;
}

code, codeBlock {
  white-space: pre;
  font: normal 13pt/1.25 Inconsolata;
  color: #343434;
}

a code {
  color: #00a;
}

codeBlock {
  display: block;
  padding: 0 8px;
  margin: 15px;
  margin-left: 25px;
}

a {
  text-decoration: none;
  color: #0000aa;
  font-weight: bold;
}

b {
  color: black;
}

li {
  margin-top: 2px;
  margin-bottom: 6px;
}

table.syntax {
  margin-left: auto;
  margin-right: auto;
  font-family: et-book;
  font-style: italic;
  font-size: 14pt;
}

table.syntax tr > th,
table.syntax tr > td {
  padding-right: 8px;
  line-height: 1.5;
}

table.syntax tr > td {
  padding-bottom: 15px;
}

table.syntax tr > td:first-child {
  text-align: right;
}

text,
table.syntax th {
  font: normal 12pt/1.55 "PT Sans";
  text-align: center;
  padding-bottom: 10pt;
}

table.syntax th {
  color: #888;
  font-weight: bold;
}

table.syntax set {
  font-style: normal;
}

multival {
  display: block;
  position: relative;
  padding-left: 5px;
  margin-left: 5px;
}

multival:before {
  content: '';
  position: absolute;
  left: -10px;
  top: 0;
  border: 1px solid #aaa;
  border-right: 0px;
  width: 3px;
  height: 100%;
}

due {
  border: 2px dashed black;
  display: block;
  width: 80%;
  text-align: center;
  margin: 0 auto 12px;
  padding: 4pt;
  background: #f8f884;
}
