html, body {
  height: 100%;
}

body {
  font-size: 14px;
  text-rendering: optimizeLegibility;
}

svg {
  display: block;
  overflow: hidden;
}

code, tt, pre {
  font-family: Courier;
}

p + p {
  text-indent: 2em;
  margin-top: -1.5em;
}

form p + p {
  text-indent: 0;
}

a {
  text-decoration: none;
  color: black;
}

a:link, a:visited {
  color: steelblue;
}

a:hover {
  text-decoration: underline;
}

a.active {
  color: #aaa;
}

.top {
  padding-top: 15px;
}

.top a {
  margin-right: 20px;
}

.top a, a.bold {
  font-weight: bold;
  line-height: 100%;
}

.blurb {
  font-size: 22px;
}

.light, .sidebar, .sidebar h4, .blurb, .credits, #copy {
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-weight: 300;
}

img.ex {
  padding: 0;
  border: 0;
  margin-right: 2px;
  margin-bottom: 2px;
  width: 140px;
  height: 140px;
}

.logo img, .logo svg, img.ex {
  float: left;
}

.svg .logo img {
  display: none;
}

.logo .poly {
  fill: none;
  stroke: black;
}

.logo .maps {
  fill: black;
  stroke: none;
}

.hi {
  background: #ff9;
}

.sidebar {
  position: absolute;
}

.sidebar h4 {
  text-align: right;
  color: #aaa;
}

.sidebar ul {
  text-align: right;
  margin-right: 0;
  list-style-type: none;
}

.credits {
  position: fixed;
  bottom: 0;
  padding-bottom: 1em;
  padding-top: 2em;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0)), to(#fff), color-stop(.3, #fff));
  background: -moz-linear-gradient(top, rgba(255,255,255,0), #fff 30%);
}

dl.function dt, dl.function i {
  font-family: Courier;
}

dl.function i {
  color: #936;
}

div#map {
  position: relative;
  border: solid 4px #ccc;
  background: #eee;
  height: 500px;
}

svg.map {
  width: 100%;
  height: 100%;
}

#copy {
  color: #999;
  font-size: 12px;
  height: 1em;
}

.compass .back {
  fill: #eee;
  fill-opacity: .8;
}

.compass .fore {
  stroke: #999;
  stroke-width: 1.5px;
}

.compass rect.back.fore {
  fill: #999;
  fill-opacity: .3;
  stroke: #eee;
  stroke-width: 1px;
  shape-rendering: crispEdges;
}

.compass .direction {
  fill: none;
}

.compass .chevron {
  fill: none;
  stroke: #999;
  stroke-width: 5px;
}

.compass .zoom .chevron {
  stroke-width: 4px;
}

.compass .active .chevron, .compass .chevron.active {
  stroke: #fff;
}

.compass.active .active .direction {
  fill: #999;
}

.syntax pre { margin-top: 0; overflow: hidden; text-overflow: ellipsis; }
.hll { background-color: #ffffcc }
.c { color: #999988; font-style: italic } /* Comment */
.err { color: #a61717; background-color: #e3d2d2 } /* Error */
.k { font-weight: bold } /* Keyword */
.o { font-weight: bold } /* Operator */
.cm { color: #999988; font-style: italic } /* Comment.Multiline */
.cp { color: #999999; font-weight: bold } /* Comment.Preproc */
.c1 { color: #999988; font-style: italic } /* Comment.Single */
.cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
.gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.ge { font-style: italic } /* Generic.Emph */
.gr { color: #aa0000 } /* Generic.Error */
.gh { color: #999999 } /* Generic.Heading */
.gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.go { color: #888888 } /* Generic.Output */
.gp { color: #555555 } /* Generic.Prompt */
.gs { font-weight: bold } /* Generic.Strong */
.gu { color: #aaaaaa } /* Generic.Subheading */
.gt { color: #aa0000 } /* Generic.Traceback */
.kc { font-weight: bold } /* Keyword.Constant */
.kd { font-weight: bold } /* Keyword.Declaration */
.kn { font-weight: bold } /* Keyword.Namespace */
.kp { font-weight: bold } /* Keyword.Pseudo */
.kr { font-weight: bold } /* Keyword.Reserved */
.kt { color: #445588; font-weight: bold } /* Keyword.Type */
.m { color: #009999 } /* Literal.Number */
.s { color: #bb8844 } /* Literal.String */
.na { color: #008080 } /* Name.Attribute */
.nb { color: #999999 } /* Name.Builtin */
.nc { color: #445588; font-weight: bold } /* Name.Class */
.no { color: #008080 } /* Name.Constant */
.ni { color: #800080 } /* Name.Entity */
.ne { color: #990000; font-weight: bold } /* Name.Exception */
.nf { color: #990000; font-weight: bold } /* Name.Function */
.nn { color: #555555 } /* Name.Namespace */
.nt { color: #000080 } /* Name.Tag */
.nv { color: #008080 } /* Name.Variable */
.ow { font-weight: bold } /* Operator.Word */
.w { color: #bbbbbb } /* Text.Whitespace */
.mf { color: #009999 } /* Literal.Number.Float */
.mh { color: #009999 } /* Literal.Number.Hex */
.mi { color: #009999 } /* Literal.Number.Integer */
.mo { color: #009999 } /* Literal.Number.Oct */
.sb { color: #bb8844 } /* Literal.String.Backtick */
.sc { color: #bb8844 } /* Literal.String.Char */
.sd { color: #bb8844 } /* Literal.String.Doc */
.s2 { color: #bb8844 } /* Literal.String.Double */
.se { color: #bb8844 } /* Literal.String.Escape */
.sh { color: #bb8844 } /* Literal.String.Heredoc */
.si { color: #bb8844 } /* Literal.String.Interpol */
.sx { color: #bb8844 } /* Literal.String.Other */
.sr { color: #808000 } /* Literal.String.Regex */
.s1 { color: #bb8844 } /* Literal.String.Single */
.ss { color: #bb8844 } /* Literal.String.Symbol */
.bp { color: #999999 } /* Name.Builtin.Pseudo */
.vc { color: #008080 } /* Name.Variable.Class */
.vg { color: #008080 } /* Name.Variable.Global */
.vi { color: #008080 } /* Name.Variable.Instance */
.il { color: #009999 } /* Literal.Number.Integer.Long */
