body {
  color: #333;
  font-family: helvetica, arial, sans-serif;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 40em;
  padding: 0 1em;
}

h1, h2, h3, h4, h5, h6 {
  margin: 1em 0 0.5em 0;
  line-height: 1.2;
}
a:link {
  color: #00e;
}
a:visited {
  color: #518;
}
a:focus, a:hover {
  color: #03f;
}
a:active {
  color: #e00;
}
h1 a:empty:before, h2 a:empty:before, h3 a:empty:before,
h4 a:empty:before, h5 a:empty:before, h6 a:empty:before {
  content: "#";
}
h1 a:empty, h2 a:empty, h3 a:empty, h4 a:empty, h5 a:empty, h6 a:empty {
  visibility: hidden;
  padding-left: 0.25em;
}
h1:hover a:empty, h2:hover a:empty, h3:hover a:empty,
h4:hover a:empty, h5:hover a:empty, h6:hover a:empty {
  visibility: visible;
}
main > img {
  max-width: 100%;
}
figure {
  margin: 1em 0;
  text-align: center;
}
figcaption {
  font-size: small;
}
pre, code, samp, kbd {
  color: #009;
  font-family: monospace, monospace;
}
pre kbd {
  color: #060;
}
pre, blockquote {
  background: #eee;
  padding: 0.5em;
}
pre {
  overflow: auto;
}
blockquote {
  border-left: medium solid #ccc;
  margin: 1em 0;
}
blockquote :first-child {
  margin-top: 0;
}
blockquote :last-child {
  margin-bottom: 0;
}
table {
  border-collapse: collapse;
}
th, td {
  border: thin solid #999;
  padding: 0.3em 0.4em;
  text-align: left;
}


#header a, #nav a, #menu a {
    text-decoration: none;
}

#menu {
    clear: both;
    color: #069;
    overflow: hidden;
    background-color: #17a;
    padding: 0.7ex;
    font-size: 1em;
}

#menu a {
    padding: 0.5ex 1ex;
    color: #fff;
}

#menu a:hover {
    background-color: #069;
}

#header {
    clear: both;
    color: #555;
    font-size: 1.78em;
    padding: 0.7ex 0.7ex 0.7ex 0.0ex;
}

#header a {
    color: #17a;
}

.right {
    float: right;
    margin: 0;
    padding: 0;
}

footer {
    padding: 25px 0;
    text-align: center;
}
