/* 
   the vertical rhythm is based on 31px
   the base font-size is the default 19px
   the scale is http://www.modularscale.com/?19&px&1.2
   I use rems for font-sizes and unitless for line-heights
   you can use H from h1 to h4
   
*/
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  background-color: #fff;
  color: #222;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 100%;
  /* 16 */
  line-height: 1.625;
  /* 26 / 16 */
  margin: 0;
  padding: 0;
}

/* Links */
a {
  color: #4169e1;
  text-decoration: underline;
}

a:visited {
  color: #800080;
  text-decoration: underline;
}

a:hover, a:focus, a:active {
  color: #cc3d61;
  text-decoration: none;
}

/* Text elements */
p, .hentry-metadata, ul, ol, dl, address, table, blockquote, pre, fieldset {
  word-wrap: normal;
  font-size: 1.1875rem;
  /* 19 / 16 */
  line-height: 1.6315789474;
  /* 31 / 19 */
  display: block;
  margin: 0 0 1.9375rem 0;
  /* 31 / 16 */
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -o-hyphens: auto;
  hyphens: auto;
}

blockquote {
  border-left: 0.2rem solid #222;
  padding-left: .5rem;
}

ol, ul, li {
  margin-left: 0;
  padding-left: 0;
  list-style-position: outside;
  font-size: 1.1875rem;
  /* 19 / 16 */
  line-height: 1.6315789474;
  /* 31 / 19 */
}

code {
  font-size: 1rem;
  /* 16 / 16 */
  line-height: 1.6315789474;
  /* 31 / 19 */
  font-family: Consolas, "Lucida Console", Monaco, monospace;
}

pre {
  white-space: pre-wrap;
  /* css-3 */
  white-space: -moz-pre-wrap;
  /* Mozilla, since 1999 */
  white-space: -pre-wrap;
  /* Opera 4-6 */
  white-space: -o-pre-wrap;
  /* Opera 7 */
  word-wrap: break-word;
  /* Internet Explorer 5.5+ */
}

pre.highlight {
  padding: 1.1875rem;
  /* 19 / 16 */
  background-color: #eff0f1;
}

/* Typography */
h1, h2, h3, h4 {
  margin: 1.2916666667rem 0 0.6458333333rem 0;
  font-weight: bold;
}

h1 {
  font-size: 2.0625rem;
  /* 33 / 16 */
  line-height: 1.8787878788;
  /* 31 * 2 / 33 */
}

h2, .p-name {
  font-size: 1.6875rem;
  /* 27 / 16 */
  line-height: 1.1481481481;
  /* 31 / 27 */
}

h3 {
  font-size: 1.4375rem;
  /* 23 / 16 */
  line-height: 1.347826087;
  /* 31 / 23 */
}

h4 {
  font-size: 1.1875rem;
  line-height: 1.6315789474;
}

#social-media-links li a {
  margin: 0;
  padding: 0;
}

#social-media-links li {
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
}

#social-media-links li a img {
  width: 3.75rem;
  margin-right: 1.25rem;
  display: inline;
}

/* Responsive images */
img, figure, embed, object, video {
  display: block;
  max-width: 100%;
  height: auto;
}

article img, article figure, article embed, article object, article video {
  margin: 1rem auto;
}

/* Layout */
header {
  background-color: #ddd;
}

footer {
  background-color: #ddd;
}

#header-inner, main, #aside-inner, #footer-inner {
  width: 88%;
  max-width: 36rem;
  padding: 1.9375rem 6%;
  /* 31 / 16 */
  margin: 0 auto;
}

footer p {
  font-size: 0.8125rem;
  /* 13 / 16 */
  line-height: 2.3846153846;
  /* 31 / 13 */
  clear: both;
  font-family: Consolas, "Lucida Console", Monaco, monospace;
}

aside {
  margin-top: 1.9375rem;
  /* 31 / 16 */
}

/* Consistant items with normally just one class */
.hentry-metadata {
  font-size: 19px;
  line-height: 31px;
}

a.anchor {
  color: #222;
}

.hentry-metadata {
  color: grey;
  font-style: italic;
}

.catalogue-time {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Pagination */
.pagination {
  font-size: 1.1875rem;
  /* 19 / 16 */
  line-height: 1.6315789474;
  /* 31 / 19 */
  margin-top: 3.875rem;
  /* 31 * 2 / 16 */
  text-align: center;
}

.pagination .next, .pagination .previous, .page-number {
  font-style: italic;
}

.pagination .next {
  float: right;
}

.pagination .previous {
  float: left;
}

/* Syntax Highlighting */
.c {
  color: #998;
  font-style: italic;
}

.err {
  color: #a61717;
  background-color: #e3d2d2;
}

.k {
  font-weight: bold;
}

.o {
  font-weight: bold;
}

.cm {
  color: #998;
  font-style: italic;
}

.cp {
  color: #999;
  font-weight: bold;
}

.c1 {
  color: #998;
  font-style: italic;
}

.cs {
  color: #999;
  font-weight: bold;
  font-style: italic;
}

.gd {
  color: #000;
  background-color: #fdd;
}

.gd .x {
  color: #000;
  background-color: #faa;
}

.ge {
  font-style: italic;
}

.gr {
  color: #a00;
}

.gh {
  color: #999;
}

.gi {
  color: #000;
  background-color: #dfd;
}

.gi .x {
  color: #000;
  background-color: #afa;
}

.go {
  color: #888;
}

.gp {
  color: #555;
}

.gs {
  font-weight: bold;
}

.gu {
  color: #aaa;
}

.gt {
  color: #a00;
}

.kc {
  font-weight: bold;
}

.kd {
  font-weight: bold;
}

.kp {
  font-weight: bold;
}

.kr {
  font-weight: bold;
}

.kt {
  color: #458;
  font-weight: bold;
}

.m {
  color: #099;
}

.s {
  color: #d14;
}

.na {
  color: #008080;
}

.nb {
  color: #0086B3;
}

.nc {
  color: #458;
  font-weight: bold;
}

.no {
  color: #008080;
}

.ni {
  color: #800080;
}

.ne {
  color: #900;
  font-weight: bold;
}

.nf {
  color: #900;
  font-weight: bold;
}

.nn {
  color: #555;
}

.nt {
  color: #000080;
}

.nv {
  color: #008080;
}

.ow {
  font-weight: bold;
}

.w {
  color: #bbb;
}

.mf {
  color: #099;
}

.mh {
  color: #099;
}

.mi {
  color: #099;
}

.mo {
  color: #099;
}

.sb {
  color: #d14;
}

.sc {
  color: #d14;
}

.sd {
  color: #d14;
}

.s2 {
  color: #d14;
}

.se {
  color: #d14;
}

.sh {
  color: #d14;
}

.si {
  color: #d14;
}

.sx {
  color: #d14;
}

.sr {
  color: #009926;
}

.s1 {
  color: #d14;
}

.ss {
  color: #990073;
}

.bp {
  color: #999;
}

.vc {
  color: #008080;
}

.vg {
  color: #008080;
}

.vi {
  color: #008080;
}

.il {
  color: #099;
}
