/*
Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/

/*--------------------------------------------------------------
Reset
--------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll;
	box-sizing: border-box;
	overflow: auto;
	/*box-sizing: border-box;*/
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}

*,
*:before,
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
	-webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
	-moz-box-sizing:    border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
	box-sizing:         border-box;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}

ol,
ul {
	list-style: none;
}

table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

a img {
	border: 0;
}

/*--------------------------------------------------------------
Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font: 19px/1.8 'Merriweather', Georgia, Garamond, serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p,
ol,
ul,
blockquote {
	line-height: 1.9;
	margin-bottom: 1.5em;
	-webkit-font-smoothing: antialiased;
}

a {
	color: #459568;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

b,
strong {
	font-weight: bold;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	border-left: 4px solid #459568;
	color: #999;
	font-style: italic;
	font-size: 1.3em;
	line-height: 1.7;
	padding: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 1.05em;
	font-weight: lighter;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

small {
	font-size: 75%;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
Elements
--------------------------------------------------------------*/
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 1em 1.5em 2em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li {
	margin-bottom: 0.9em;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

th {
	font-weight: bold;
}

/*--------------------------------------------------------------
Header
--------------------------------------------------------------*/
.site-header {
	background: #fff;
	background: rgba(255, 255, 255, 0.9);
	-webkit-box-shadow: 0 0 1px rgba(0,0,0,0.15);
	-moz-box-shadow: 0 0 1px rgba(0,0,0,0.15);
	-o-box-shadow: 0 0 1px rgba(0,0,0,0.15);
	box-shadow: 0 0 1px rgba(0,0,0,0.15);
	height: 50px;
	font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 14px;
	top: 0;
	left: 0;
	width: 100%;
	text-transform: lowercase;
}

.avatar {
	height: 30px;
	width: 30px;
	float: left;
	border-radius: 50%;
	margin-right: 10px;
}

.site-title,
.site-description {
	float: left;
	clear: none;
	color: #b2b2b2;
	padding: 0 15px;
}

.site-title {
	border-right: 1px solid #d8d8d8;
	line-height: 30px;
	font-weight: 700;
	margin: 10px 0 0 0;
}

@media (max-width: 600px) {
	.site-description {
		display: none;
	}
}

.main-navigation {
	float: right;
	list-style: none;
	margin: 0 0 0 .5em;
}

.main-navigation li {
	display: inline-block;
	margin: 0;
	line-height: 4.5rem;
}

@media (max-width: 800px) {
	.main-navigation li.extendednav {
		display: none;
	}
}

.main-navigation a {
	display: block;
	padding: 0 15px;
	transition: all 0.2s;
}

.main-navigation a:hover {
	/*background: #f5f5f5;*/
	border-bottom: 2px solid #459568;
}

/*--------------------------------------------------------------
Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: '';
	display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
Content
--------------------------------------------------------------*/
.cover-image {
	width: 100%;
	display: block;
}

.entry-header {
	margin: 20px 0;
	text-align: center;
}

.entry-title {
	font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 36px;
	font-weight: 700;
	margin: 1em 0 .1em;
	text-decoration: none;
	line-height: 1.1;
}

.entry-title a {
	color: #404040;
}

.index-entry-header {
	margin-bottom: 10px;
	text-align: left;
}

.index-entry-header .entry-title {
	font-size: 28px;
	line-height: 1.5;
}

.entry-content {
	border-bottom: 1px solid #e8e8e8;
	margin: 0 auto;
	max-width: 700px;
	padding: 0 10px 40px;
}

.entry-footer,
.entry-meta {
	color: #999;
	font: 14px 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	line-height: 32px;
}

.entry-footer .avatar {
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
	float: left;
	margin-right: 15px;
}

@media (min-width: 1080px) {
	.bigimage {
		margin: 80px -200px;
	}
}

.bigimage img {
	width: 100%;
}

.cover-image-attribution {
	text-align: right;
	margin-right: 1em;
	font-size: 75%;
	margin-bottom: 0px;
	color: rgba(64, 64, 64, 0.5);
}

.site-main h2 {
	font-weight: 500;
	font-size: 2.75rem;
}

.site-main h3 {
	font-weight: 700;
	font-size: 2.25rem;
	text-decoration: underline;
}

blockquote.opener {
	margin-bottom: 0px;
}

.opener-attribution {
	text-align: right;
	font-size: 90%;
}

footer#colophon {
	margin: 0 auto;
	max-width: 700px;
	padding: 15px 10px 40px;
	font-size: .75em;
	text-align: center;
	color: rgba(64, 64, 64, 0.75)
}

#page {
	height: 100vh;
	background-size: cover;
	background-position: top right;
	transition: background-image .5s linear;
}

.photo-credit {
	bottom: 1.5rem;
}

.site-header {
	line-height: 4.5rem;
	text-transform: lowercase;
	font-size: 2rem;
	height: 5rem;
}

.site-branding {
	font-size: 2rem;
	line-height: 4.5rem;
}

.site-title {
	margin-top: auto;
	font-size: 2rem;
	line-height: 4.5rem;
}

.site-title img {
	margin-top: 1rem;
}

.site-header a {
	text-decoration: none;
}

#masthead {
	line-height: 4.5rem;
	padding-top: .25rem;
}

article.homepage {
	margin: 15vh auto 0;
	background: white;
	max-width: 1000px;
	padding: 2rem;
	box-shadow: rgba(10, 10, 10, 0.1) 0px 5px 3px 3px, rgba(10, 10, 10, 0.1) 0px 0px 0px 3px;
}

h1 {
	font-size: 4rem;
}

.homepage .entry-header:after {
	content: "";
	display: block;
	margin: 0 auto;
	width: 50%;
	padding-top: 2rem;
	margin-bottom: 3.5rem;
	border-bottom: 1px solid hsla(0, 0%, 0%, .3);
}

@media screen and (max-width: 1400px) {
	.photo-credit {
		bottom: calc(50vh + (100% - 100vh) + 1.5rem);
	}
	article.homepage {
		margin-top: 50vh;
	}
	.entry-content {
		padding-left: 0;
		padding-right: 0;
	}
	header {
		padding-left: .5rem;
		padding-right: .5rem;
	}
	.site-content p, .site-content h2, .site-content h3, .site-content h4, .site-content h5, .site-content h6, .site-content .index-entry-header {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

video {
	max-width: 100%;
}

.disclaimer {
	background-color: #459568;
	color: #fff;
	padding: 1em;
	margin-bottom: 1em;
}

ul.footnotes {
	margin-left: 0;
	padding-left: 1rem;
	padding-right: 1rem;
}

.footnotes li {
	padding-inline-start: 0.75em;
	text-indent: -0.75em;
	list-style-type: none;
	margin-top: 2rem;
}

.footnotes li:nth-of-type(9) ~ li {
	margin-inline-start: -0.33em;
	padding-inline-start: 1.1em;
	text-indent: -1.1em;
}

.footnotes li .close {
	display: none;
	visibility: hidden;
}

@media screen and (min-width: 1400px) {
	.footnotes li:target {
		position: fixed;
		bottom: 0;
		padding-block: 2em 4em;
		padding-inline: 2em;
		margin-inline: -2em 0;
		border-top: 1px solid;
		background: #FFF;
		box-shadow: 0 0 3em 3em #FFF;
		max-width: 45em;
		width: 100%;
	}

	.footnotes li:target .close {
		display: inline-block;
		visibility: visible;
		text-indent: 0;
	}

	.footnotes li:target .backref {
		display: none;
		visibility: hidden;
	}
}

del {
	text-decoration: line-through;
	text-decoration-thickness: .1em;
}
