body {
	background-color: #fff;
	color: #222;

	font-family: 'Merriweather', serif;

	word-wrap: break-word;
}

.symbol {
	font-family: Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6, footer,
article.post figure figcaption {
	font-family: 'Raleway', sans-serif;
}

h1.taxonomy-title {
	font-size: 1.8em;
	margin-bottom: 0;
}
h1.taxonomy-title .desc {
	margin-left: 1em;
	margin-top: 0;
	font-size: .6em;
}
h1.taxonomy-title .term {
	color: #777;
}

.taxonomy-desc {
	margin-top: 1em;
}

.taxonomy-content {
	margin-top: 2em;
}

.nowrap {
	white-space: nowrap;
}

/* Fix line-height for lines with footnotes.
   http://discuss.gohugo.io/t/footnote-styling/114/6?u=joshuapoehls */
sup, sub {
	vertical-align: baseline;
	position: relative;
	top: -0.4em;
}
sub {
	top: 0.4em;
}

h1 {
	margin-top: 1em;
}

ul {
	list-style-type: disc;
}

ul li ul {
	list-style-type: circle;
}

table.noborder td { border: 0; }

i, em {
	font-style: italic;
}

b, strong {
	font-weight: 600;
}

.subtle {
	color: #888;
}

.permalink {
	text-decoration: none;
	border-bottom: none;
}

.footnotes {
	font-size: .8em;
	border-top: 1px dotted #888;
	margin-top: 1em;
	padding-top: 1em;
}

.footnotes hr {
	display: none;
}

.footnote-return {
	border-bottom: none;
}

nav.pagination {
	text-align: center;
	margin-top: 1em;
	margin-bottom: 2em;
}

footer {
	margin: 0 auto;
	font-size: .9em;
	color: #888;
	font-weight: 300;
	text-align: center;
}

footer p {
	margin-bottom: .8em;
}

/* Blockquotes
************************************************** */
blockquote {
	font-size: .95em;
	margin: 0 1em;
	padding: 0.5em 1em;
	background: #f9f9f9;
	border-left: 2px solid #333;
}

#posts blockquote p {
	font-size: .95em;
	text-indent: 0em;
}

blockquote > blockquote {
  border: 0;
  padding: 0;
}

cite {
	margin: 0 2em;
	padding: 0;
	margin-top: -.5em;
	text-align: right;
	display: block;
}

blockquote > ul {
	margin-top: 1em;
	margin-bottom: 0;
}

/* Links
************************************************** */
a,
#masthead h1 .contact-link a,
#masthead h1 .archives-link a {
	color: #045FB4;
	text-decoration: none;
	border-bottom: 1px dotted #045FB4;
}

a:hover {
	background-color: #ffffaa;
}

/* Code
************************************************** */
a > code {
	background-color: transparent !important;
	border: 0;
	border-radius: 0;
	padding: 0;
}
a:hover > code {
	background-color: transparent;
}

#posts h1 code,
#posts h2 code,
#posts h3 code,
#posts h4 code,
#posts h5 code,
#posts h6 code {
	background-color: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
	font-size: 1em;
}

p code, li code {
	background-color: #f9f9f9;
	border: 0;
	border-radius: 0;
}
pre > code {
	font-size: 1em;
	color: #515151;
	background-color: transparent;
	border: 0;
	line-height: 1.2em;
}
pre {
	padding: 1em;
	background-color: #f9f9f9;
}
pre, code {
	font-family: 'Inconsolata', monospace;
	font-size: 1.1em;
}

/* Site header
************************************************** */
#masthead {
	position: relative;
	display: block;
	margin: 0;
	padding: 0;
	background-color: #efefef;
	border-top: 5px solid #333;
}

#masthead h1 {
	padding: .5em 0;
	font-size: 1.5em;
	font-weight: 300;
	color: #888;
	margin: 0 auto;
}

#masthead h1 a {
	text-decoration: none;
	border-bottom: none;
	color: #888;
}

#masthead h1 .aka {
	font-size: .6em;
	letter-spacing: .08em;
	float: right;
}

.contact-link,
.archives-link {
	margin-left: 1em;
}

/* Other pages
************************************************** */
#page {
	margin-top: 1.5em;
}

#page h2 {
	font-size: 1.7em;
}

#page h3 {
	font-size: 1.5em;
	margin-bottom: .5em;
}

#page .series-desc {
	font-size: .85em;
	margin-left: 2em;
}

/* Posts
************************************************** */
#posts {
	position: relative;
	display: block;
	margin: 0 auto;
}

#posts p, #posts div {
	margin-top: 1.3em;
	margin-bottom: 1.3em;
	font-size: .95em;
	text-indent: 1em;
}

#posts h1 {
	margin-bottom: 0;
	font-size: 1.8em;
}

#posts h2 {
	font-size: 1.5em;
	margin-top: 1em;
	margin-bottom: .5em;
}

#posts h3 { font-size: 1.4em; margin-top: 1em; }
#posts h4 { font-size: 1.3em; }
#posts h5 { font-size: 1.2em; }
#posts h6 { font-size: 1.1em; }

#posts article.post header p {
	margin-top: 0;
	padding: 0;
	font-size: 1em;
	text-indent: 0;
}

article.post figure {
	text-align: center;
	margin-left: 0;
	margin-right: 0;
}

article.post figure img {
	max-width: 100%;
}

article.post figure figcaption {
	font-size: .7em;
	font-weight: 300;
	color: #888;
}

article.post figure figcaption p {
	margin-top: 0;
}

article.post figure a {
	text-decoration: none;
	border: 0;
}

.fin {
	/* post separator */

	text-align: center;
	font-size: 2em;
	color: #888;
	margin-top: 1em;
}

/* Print friendliness
************************************************** */
.printonly { display: none; }

@media print {
	.noprint { display: none; }
	.printonly { display: inline; }

	a, a:active, a:visited { color: #888; }
}