body {
  text-align: center;
  font-family: 'Gelasio', Georgia, serif;
  background: #e3e3e3 url(../img/forest-background.png);
  color: #262626;
  font-size: 10pt;
  line-height: 1.52;
  margin-top: 0;
  text-rendering: optimizeLegibility;
}

div#outerBacking {
  padding: 0 10px;
}

div#backing {
  background: #fff;
  text-align: left;
  border: 1px solid #262626;
  margin: 7px auto;
  padding: 14px 20px;
}

header {
  border-bottom: 2px solid black;
  margin-bottom: 0.83em;
}

h1 {
  font-family: 'Fugaz One', 'Arial', sans-serif;
  font-size: 2.5em;
}

h1 a, h1 a:hover, h1 a:visited {
  color: #262626;
  text-decoration: none;
}

#randomDescription {
  font-weight: bold;
  font-size: 1.2em;
}

.headlinks {
  margin-bottom: 1em;
  line-height: 2;
}

.headlinks a {
  font-weight: bold;
  font-size: 1.2em;
  background: #e3e3e3;
  padding: 4px 8px 4px 0;
  margin-right: 8px;
}

.headlinks a, .headlinks a:visited, .headlinks a:hover {
  text-decoration: none;
}

.headlinks a, .headlinks a:visited {
  color: #fff;
}

.headlinks a:hover {
  color: #990033;
}

h2 {
  text-align: center;
  font-weight: bold;
  font-size: 1.5em;
  margin-bottom: 0.83em;
}

article {
  background-image: url(../img/star-fader.png);
  background-repeat: no-repeat;
  padding-left: 70px;
  padding-bottom: 50px;
  min-height: 150px;
}

article header {
  padding-bottom: 7px;
  margin-bottom: 10px;
}

h3 {
  margin-top: 0;
  font-weight: bold;
  font-size: 1.1em;
}

h3 a, h3 a:visited, h3 a:hover {
  color: #990033;
  text-decoration: none;
}

p.subtitle {
  font-style: italic;
}

p.postmetadata {
  font-size: 0.8em;
  margin-bottom: 0;
}

.post img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.post a img {
  border: 1px dashed #990033;
  padding: 1px;
}

.post a:hover img {
  border: 1px solid #990033;
  padding: 1px;
}

p.fn {
  font-size: 0.8em;
}

.nav {
  text-align: center;
  margin-bottom: 20px;
}

.nav img {
  padding-left: 5px;
  padding-right: 5px;
  vertical-align: middle;
}

footer {
  font-size: 0.8em;
  text-align: center;
  margin: 0.5em 0;
  padding-top: 0.5em;
  border-top: 2px solid #262626;
}

a {
  color: #990033;
  text-decoration: none;
}

a:hover {
  color: #990033;
  text-decoration: underline;
}

a:visited {
  color: #cc5c81;
}

div.menu-block-header {
  padding-left: 37px;
  min-height: 30px;
  background-repeat: no-repeat;
}

div.menu-block {
  background-image: url(../img/sidebar-background.png);
  background-repeat: repeat-y;
}

div.menu-block-header h3 {
  padding-top: 0.5em;
}

div.menu-block-header-record {
  background-image: url(../img/record-small.png);
}

div.menu-block-header-cat {
  background-image: url(../img/cat-small.png);
}

div.menu-block-header-leaf {
  background-image: url(../img/leaf-small.png);
}

div.menu-block-header-chat {
  background-image: url(../img/discussion-small.png);
}

div.menu-block-body {
  padding-left: 37px;
  font-size: 0.8em;
}

div.menu-block-body p {
  margin-bottom: 0
}

div.menu-block-footer {
  background-image: url(../img/sidebar-curvy-bottom.png);
  background-repeat: no-repeat;
  min-height: 20px;
  margin-bottom: 1.5em;
}

p {
  margin-bottom: 1.52em;
}

blockquote p {
  margin-bottom: 1em;
  margin-top: 1em;
}

blockquote {
  margin: 1.2em 3em;
  padding-left: 1em;
  background-color: #f7f7f7;
  border: 1px solid #a0a0a0;
  font-style: italic;
}

/*
 * Screen-width-dependent code
 */

@media (min-width: 1600px) {
  body { font-size: 1.2em; }
  div#backing { max-width: 80%; }
}

@media (min-width: 768px) and (max-width: 1599px) {
  div#backing { max-width: 1024px; }
}

@media (min-width: 768px) {
  h1 { font-size: 6em; }
}

@media (max-width: 768px) {
  body { font-size: 14px; }
}

/* 
 * Code below here is imported from the standard Wintersmith template, and is for things not currently 
 * in use, but that might be useful in the future 
 */

pre {
  font-size: 0.9em;
  overflow: auto;
  background: #fff;
  border: 1px dashed #d2d2d2;
  border-radius: 0.25em;
  margin-bottom: 1.8em;
  padding: 1em;
}

/* code styling */

code {
  font-family: 'Fira Mono', monospace;
  font-size: 0.9em;
  color: #000;
}

pre code {
  display: block;
  line-height: 1.1;
}

p code {
  padding: 0.1em 0.3em 0.2em;
  border-radius: 0.3em;
  position: relative;
  background: #fffff3;
}

/* syntax hl stuff */

code.lang-markdown {
  color: #424242;
}

code.lang-markdown .header,
code.lang-markdown .strong {
  font-weight: bold;
}

code.lang-markdown .emphasis {
  font-style: italic;
}

code.lang-markdown .horizontal_rule,
code.lang-markdown .link_label,
code.lang-markdown .code,
code.lang-markdown .header,
code.lang-markdown .link_url {
  color: #555;
}

code.lang-markdown .blockquote,
code.lang-markdown .bullet {
  color: #bbb;
}

/* Tomorrow Theme */
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
.tomorrow-comment, pre .comment, pre .title {
  color: #8e908c;
}

.tomorrow-red, pre .variable, pre .attribute, pre .tag, pre .regexp, pre .ruby .constant, pre .xml .tag .title, pre .xml .pi, pre .xml .doctype, pre .html .doctype, pre .css .id, pre .css .class, pre .css .pseudo {
  color: #c82829;
}

.tomorrow-orange, pre .number, pre .preprocessor, pre .built_in, pre .literal, pre .params, pre .constant {
  color: #f5871f;
}

.tomorrow-yellow, pre .class, pre .ruby .class .title, pre .css .rules .attribute {
  color: #eab700;
}

.tomorrow-green, pre .string, pre .value, pre .inheritance, pre .header, pre .ruby .symbol, pre .xml .cdata {
  color: #718c00;
}

.tomorrow-aqua, pre .css .hexcolor {
  color: #3e999f;
}

.tomorrow-blue, pre .function, pre .python .decorator, pre .python .title, pre .ruby .function .title, pre .ruby .title .keyword, pre .perl .sub, pre .javascript .title, pre .coffeescript .title {
  color: #4271ae;
}

.tomorrow-purple, pre .keyword, pre .javascript .function {
  color: #8959a8;
}
