:root {
    --font_family: georgia, serif;
    --font_family_headers: georgia, serif;
    --font_family_monospace: Monaco, "Lucida Console", "Bitstream Vera Sans Mono", Courier, monospace;
    --font_family_sans_serif: tahoma, sans-serif;

    /* color used for headers: h1, h2, etc. */
    --header_color: #bdbd8c;

    /* primary text color, used for main text body */
    --primary_color: #c1c1c1;

    /* secondary text color, used for links, alternate text, etc. */
    --secondary_color: #e0e0e0;

    /* tertiary text color, used when primary and secondary won't do */
    --tertiary_color: #8d8b98;

    /* color used for highlights */
    --highlight_color: white;

    /* color used for horizontal line separators */
    --separator_color: #60606c;

    /* color used for various borders */
    --border_color: #60606c;
}

a {
  color: var(--secondary_color);
}

a:link,a:visited {
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

abbr,acronym {
  border-bottom: 1px dotted;
}

blockquote {
  margin: 20px 19px;
}

body {
  color: var(--primary_color);
  font-family: var(--font_family);

  /*
   * Root font size. All other sizes with "rem" are relative to this.
   *
   * This corresponds to the default font size of 16px.
   */
  font-size: 105%;

  line-height: 1.5;

  font-weight: 100;
  text-shadow: 0 0 2px black;
  background: black url("/assets/images/back.jpg") repeat-y scroll center;
  margin: 0;
  padding: 0;
  border: 0;

  /*
   * This does seem to make a big difference, especially for bad colors and
   * thin fonts like mine.
   */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  border: 0;
  margin: 0;
}

p {
  text-align: justify;
}

strong {
  color: var(--secondary_color);
}

.clear {
  clear: both;
}

.highlight {
  color: var(--highlight_color);
}

.publish_date {
  color: var(--tertiary_color);
  font-size: 0.9rem;
}

#radial {
  background: transparent url("/assets/images/radial.png") no-repeat scroll center bottom;
  width: 100%;
  height: 385px;
}

#shift {
  width: 100%;
  position: absolute;
  top: 0;
}

#shift #wrapper {
  max-width: 650px;
  min-width: 478px;
  margin: 0 auto;
  padding: 0 15px;
}

#shift #wrapper h1, #shift #wrapper h2, #shift #wrapper h3 {
  color: var(--header_color);
  font-family: var(--font_family_headers);
}

#shift #wrapper h1 a, #shift #wrapper h2 a, #shift #wrapper h3 a {
  color: var(--header_color);
  text-decoration: none;
}

#shift #wrapper h1 {
  font-size: 1.5rem;
  font-weight: normal;
  padding: 0 12px;
}

#shift #wrapper h2 {
  font-size: 1.3rem;
  font-weight: normal;
  margin: 30px 0 -5px 0;
}

#shift #wrapper h3 {
  font-size: 1rem;
  font-weight: normal;
  margin: 25px 0 -5px 0;
}

#shift #wrapper .hide {
  display: none;
}

#shift #wrapper .mail {
  color: var(--highlight_color);
}

#shift #wrapper .important_text, #shift #wrapper .subheading {
  color: var(--highlight_color);
  font-size: 1.1rem;
}

#shift #wrapper .content {
  hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  border-bottom: 2px solid var(--separator_color);
  border-top: 2px solid var(--separator_color);
  margin: 0 7px;
  padding: 0 5px;
}

#shift #wrapper .content code, #shift #wrapper .content pre {
  font-family: var(--font_family_monospace);
  font-size: 0.75rem;
  background: black;
  line-height: 1.4;
  border: 1px solid var(--border_color);
  overflow: auto;
}

#shift #wrapper .content code {
  padding: 6px 8px;
}

#shift #wrapper .content pre {
  padding: 10px 8px;
}

#shift #wrapper .content pre code {
  border: 0;
  padding: 0;
}

#shift #wrapper .content h2,#shift #wrapper .content h3 {
  padding: 0;
}

#shift #wrapper .content .figure {
  background: black;
  border: 1px solid var(--border_color);
  font-size: 0.9rem;
  margin: 0;
  padding: 14px 16px;
  position: relative;
}

#shift #wrapper .content .figure img {
  border: 0;
}

#shift #wrapper .content .figure p {
  margin: 0;
}

#shift #wrapper .content img {
  display: block;
  border: 1px solid var(--border_color);
  margin: 20px auto;
}

#shift #wrapper .content img.inline {
  display: inline;
  border: 0;
  margin: 0;
}

#shift #wrapper .content ol {
  padding: 0 0 0 20px;
}

#shift #wrapper .content ol li {
  text-align: justify;
  margin: 0 0 8px 0;
}

#shift #wrapper .content table {
  border-collapse: collapse;
  margin: 0 auto;
}

#shift #wrapper .content table caption {
  color: var(--header_color);
  font-size: 0.9rem;
  text-align: center;
  margin: 0 0 6px 0;
}

#shift #wrapper .content table td,#shift #wrapper .content table th {
  border: 1px solid #3c253b;
  padding: 4px 8px;
}

#shift #wrapper .content table th {
  font-weight: normal;
  background-color: black;
  padding: 6px 8px;
}

#shift #wrapper .content ul {
  padding: 0 0 0 20px;
}

#shift #wrapper .content ul li {
  text-align: justify;
  margin: 0 0 8px 0;
}

#shift #wrapper .content p.footnote {
  font-size: 0.9rem;
}

#shift #wrapper .content p.footnote sup {
  color: var(--highlight_color);
}

#shift #wrapper .content p.meta {
  color: var(--tertiary_color);
  font-size: 0.9rem;
  font-style: italic;
}

#shift #wrapper .content p.quote {
  color: var(--highlight_color);
  font-style: italic;
  margin: 20px 19px;
}

#shift #wrapper .content span.addendum {
  color: var(--tertiary_color);
}

#shift #wrapper .series {
  color: var(--secondary_color);
  font-family: var(--font_family_sans_serif);
  font-size: 0.8rem;
  font-style: italic;
  font-weight: normal;
  margin: 16px 10px;
  padding: 12px 10px;
  background-color: rgba(0,0,0,0.1);
}

#shift #wrapper .series span.series_number,#shift #wrapper .series span.series_title {
  color: var(--header_color);
  font-style: normal;
  font-weight: normal;
}

#shift #wrapper .series span.series_number a,#shift #wrapper .series span.series_number a:visited,#shift #wrapper .series span.series_number a:hover,#shift #wrapper .series span.series_title a,#shift #wrapper .series span.series_title a:visited,#shift #wrapper .series span.series_title a:hover {
  color: var(--header_color);
}

#shift #wrapper span.rss {
  margin: 0 6px;
  opacity: .7;
}

#shift #wrapper #about {
  hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
}

#shift #wrapper #about h2 {
  padding: 0;
}

#shift #wrapper #nav {
  font-size: 0.9rem;
  text-align: center;
  border-top: 2px solid var(--separator_color);
  padding: 14px 0;
}

#shift #wrapper #nav .item {
  margin: 0 5px;
}

#shift #wrapper #header {
  background: black;
  height: 95px;
  margin: 0 10px;
  border: 0;
  padding: 0;
  -moz-box-shadow: 0 0 10px black;
  -webkit-box-shadow: 0 0 10px black;
  box-shadow: 0 0 10px black;
}

#shift #wrapper #header span {
  cursor: pointer;
  display: block;
  width: 100%;
  height: 100%;
}

#shift #wrapper ol.article, #shift #wrapper ul.article {
  margin: 10px 10px;
  padding: 0 0 10px 0;
  border-top: 1px solid var(--separator_color);
}

#shift #wrapper ol.article li, #shift #wrapper ul.article li {
  padding: 7px 10px;
  border-bottom: 1px solid var(--separator_color);
}

#shift #wrapper ol.article li a, #shift #wrapper ul.article li a {
  color: #c9c9c8;
}

#shift #wrapper ol.article li a:link, #shift #wrapper ul.article li a:link {
  text-decoration: none;
}

#shift #wrapper ol.article li a:visited, #shift #wrapper ul.article li a:visited {
  text-decoration: none;
}

#shift #wrapper ol.article li a:hover, #shift #wrapper ul.article li a:hover {
  text-decoration: underline;
}

#shift #wrapper ul.article {
  list-style-type: none;
}
