body {
	font-family: Verdana, Geneva, sans-serif;
}

p {
	margin: 0.8em 0 1.2em;
	line-height: 1.5em;
}

#sidebar {
	font-size: .8em;
	margin-bottom: 35px;
}

article h1 {
	font-size: 1.2em;
	margin: .5em 0 .7em;
}

article:not(:first-child) {
	margin-top: 80px;
}

article h1 a {
	text-decoration: none;
}

article h2 {
	font-size: 1em;
	font-weight: bold;
	margin-top: 1.5em;
}

article p {
	margin: 1em 0;
	line-height: 1.6em;
}

a {
	color: #000;
}

a:hover {
	text-decoration: underline;
}

.dateline {
	margin-top: 1em;
	font-size: .85em;
}

img {
	max-width: 100%;
}

/* http://css-tricks.com/snippets/css/prevent-superscripts-and-subscripts-from-affecting-line-height/ */
sup, sub {
	font-size: .65em;
	vertical-align: baseline;
	position: relative;
	top: -0.4em;
}
sub {
	top: 0.4em;
}

figure {
	margin: 25px 0 20px;
}

figcaption {
	margin-top: .4em;
	font-size: .75em;
	text-align: center;
}

blockquote {
	border-left: 2px grey solid;
	margin: 1em 0 1em 0;
	padding-left: 18px;
}

*:not(.code) > code {
	background: #f4f4f4;
	border: 1px lightgray solid;
	padding-left: 3px;
	padding-right: 3px;
}

.code {
	background: #f4f4f4;
	line-height: 1em;
	padding: 5px;
}

.footnotes {
	font-size: .85em;
}

.footnotes p {
	margin-top: 1.5em;
}

#older {
	margin-top: 70px;
}

#older h4 {
	margin: 1.5em 0 0;
}

ul {
	margin: 20px 0;
}

li {
	margin: 8px 20px;
}

hr {
	margin: 3em 0 1em;
	width: 200px;
	text-align: left;
}

footer {
	margin-top: 30px;
	font-size: .8em;
}

@media handheld, only screen and (max-width: 767px) {
	#sidebar {
		margin-top: 0;
	}
	
	.grid-pad {
		padding-top: 1em;
	}
	
	#about {
		text-align: center;
	}
	
	#about p {
		display: inline;
		padding: 0 .4em;
	}
	
	#about > p:first-child {
		display: block;
		margin: 0 0 .2em;
	}
	
	#social {
		margin-top: .2em;
	}
	
	#work {
		padding-left: .5em !important;
	}
	
	#recent {
		margin-top: 40px !important;
		margin-bottom: 50px;
	}
	
	article h1 {
		font-size: 1.5em;
	}
	
	article p {
		margin-bottom: 1.5em;
	}
	
	#recent {
		display: none;
	}
	
	#archives div:not(:first-child) {
		padding-bottom: .75em !important;
	}
}
