body {
  background-color: #222;
  padding:50px;
  font-family: 'Arial', sans-serif;
  color:#fff;
  font-weight:400;
}

h1, h2, h3, h4, h5, h6 {
  color:#66A4D7;
  margin:0 0 20px;
  font-weight: 500;
  line-height:1.1;
}

p, ul, ol, table, pre, dl {
  margin:0 0 20px;
}

h1 {
  font-size:28px;
}

a {
  color:#66A4D7;
  text-decoration:none;
}

a:hover {
  color:#66A4D7;
}

.wrapper {
  width:860px;
  margin:0 auto;
}

table {
  width:100%;
  border-collapse:collapse;
}

th, td {
  text-align:left;
  padding:5px 10px;
  border-bottom:1px solid #111;
}

dt {
  color:#ccc;
  font-weight:500;
}

th {
  color:#ccc;
}

img {
  max-width:100%;
}

header {
  width:270px;
  float:left;
  position:fixed;
  -webkit-font-smoothing:subpixel-antialiased;
}

header ul {
	color:#66A4D7;
}

section {
  width:500px;
  float:right;
  padding-bottom:50px;
}

hr {
  border:0;
  background:#111;
  height:1px;
  margin:0 0 20px;
}

footer {
  width:270px;
  float:left;
  position:fixed;
  bottom:50px;
  -webkit-font-smoothing:subpixel-antialiased;
}

@media print, screen and (max-width: 960px) {

  div.wrapper {
    width:auto;
    margin:0;
  }

  header, section, footer {
    float:none;
    position:static;
    width:auto;
  }

  header {
    padding-right:320px;
  }

  section {
    border:1px solid #222;
    border-width:1px 0;
    padding:20px 0;
    margin:0 0 20px;
  }

  header a small {
    display:inline;
  }

  header ul {
    position:absolute;
    right:50px;
    top:52px;
  }
}

@media print, screen and (max-width: 720px) {
  body {
    word-wrap:break-word;
  }

  header {
    padding:0;
  }

  header ul, header p.view {
    position:static;
  }

  pre, code {
    word-wrap:normal;
  }
}

@media print, screen and (max-width: 480px) {
  body {
    padding:15px;
  }

  header ul {
    width:99%;
  }

  header li, header ul li + li + li {
    width:33%;
  }
}

@media print {
  body {
    padding:0.4in;
    font-size:12pt;
  }
}
