/* general site formatting */

* {
  margin: 0;
  padding: 0;
}

body {
  background-color: white;
  font-family: Georgia, 'Liberation Serif', serif;
}

img {
  max-width: 100%;
}

#site {
  max-width: 785px;
  text-align: left;
  line-height: 1.5em;
  margin: 2.5em auto 2em;
  padding: 0 1.5em;
}
  #site .title {
    font-weight: bold;
  }
  #site .links {
    text-align: center;
    padding-bottom: 8px;
    margin-bottom: 32px;
    border-bottom: 1px solid #ddd;
  }
    #site a {
      color: #2749b0;
    }
    #site .contact a:hover {
      color: black;
    }

.title, h1, h2, h3, h4, h5, h6 {
  font-size: 105%;
}

.title {
  text-align: center;
  font-size: 130%;
}

h1 {
  font-size: 110%;
  padding-top: 1ex;
}

h2 {
  padding-top: 1ex;
}

p {
  margin: 1em 0;
}

a {
  text-decoration: none;
  color: #2749b0;
}
  a:visited { color: #2749b0; }
  a:hover   {
    text-decoration: underline;
  }

ol {
  margin-left: 2.25em;
}

ul {
  margin-top: 0.8em;
  margin-left: 1.8em;
}

.figure {
  text-align: center;
}
  .figure p.note { font-size: 75%; }

hr {
  margin: 40px 0 10px 0;
}

.grid-left, .grid-right {
  float: left;
  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
  width: 100%;
}

@media (min-width: 700px) {
  .grid-left, .grid-right {
    width: 50%;
  }
  .grid-left {
    padding-right: 0.5em;
  }
  .grid-right {
    padding-left: 0.5em;
  }
}

/* benchmarks table */

table.benchmarks {
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
}
  table.benchmarks thead {
    /* border-top: 1px solid black; */
    border-bottom: 1px solid black;
  }
  table.benchmarks tbody {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
  }
  table.benchmarks colgroup col.relative {
    border-left: 1px solid black;
  }
  table.benchmarks thead th,
  table.benchmarks thead td {
    width: 10ex;
    text-align: center;
    padding: 0 1ex;
  }
  table.benchmarks thead td {
    padding-bottom: 0.75ex;
  }
  table.benchmarks tbody th {
    font-weight: normal;
    text-align: left;
    padding: 0 1em;
  }
  table.benchmarks tbody td.data {
    text-align: right;
    padding: 0 2em 0 0;
  }

/* inline code and code blocks */

code, table.benchmarks tbody {
  font: 9pt Monaco, 'Consolas', monospace;
}

pre {
  border: 1px solid #ddd;
  margin: 1em 0;
  padding: .75em 1.25em;
  line-height: 1em;
  overflow: auto;
}

.sidebar {
  border: 1px solid #ddd;
  padding: .75em 1.25em;
  line-height: 1.45em;
  margin: 1em 0.5em 1em 0em;
  font-size: 90%;
}

blockquote {
  margin: 1em 2em 1em 1em;
}

/* Utility classes */
.u-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#container {
width: 500px;
height: 300px;
overflow: hidden;
border: 3px double #000;
white-space: nowrap;
}
