/* hardy.hemmingway.info — "…and another thing"
 * The old site's "atheros" WordPress theme (a Twenty Ten derivative by
 * themesforwp, GPL), hand-trimmed to the rules this site actually uses:
 * grey gradient top bar, full-width header band with overlaid title boxes,
 * 900px white wrapper with shadow stripes, sidebar right. Chrome images in
 * assets/images/ come from the original theme. One addition the old theme
 * never had: the columns stack on small screens (media query at the bottom).
 */

/* --- Reset (the slice of the theme's reset that matters here) ----------- */
html, body, div, span, h1, h2, h3, h4, p, a, cite, em, strong, ul, ol, li,
dl, dt, dd, form, label, img {
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
h1, h2, h3, h4 {
	font-weight: normal;
	clear: both;
}
ul, ol {
	list-style: none;
}
img {
	max-width: 100%;
	height: auto;
}

/* --- Page frame ----------------------------------------------------------- */
body {
	background-color: #f0f0f0;
	color: #666;
	font-family: Georgia, "Bitstream Charter", serif;
	font-size: 12px;
	line-height: 18px;
}
a:link { color: #0066cc; }
a:visited { color: #743399; }
a:active, a:hover { color: #2b90f4; }

/* --- Top bar (grey gradient with the menu) --------------------------------- */
#top {
	background-image: url(images/topbg.jpg);
	background-repeat: repeat-x;
	border-bottom: 1px solid #666;
}
#access {
	display: block;
	margin: 0 auto;
	width: 940px;
}
#access .menu {
	font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
	font-size: 13px;
	overflow: hidden;
}
#access li {
	float: left;
}
#access a {
	color: #fff;
	display: block;
	line-height: 28px;
	padding: 0 10px;
	text-decoration: none;
}
#access li:hover > a,
#access li.current > a {
	background: #333;
	color: #fff;
}

/* --- Header band with the overlaid title ------------------------------------ */
#headerscreen {
	background-image: url(images/headbg.png);
	background-repeat: repeat-x;
	border-top: 1px solid #e0e0e0;
	padding-top: 30px;
	width: 100%;
}
#branding {
	background-color: #fff;
	height: 198px;
	margin: 0 auto;
	position: relative;
	width: 940px;
}
#branding img {
	display: block;
	float: left;
}
#site-title {
	background-color: #fff;
	font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
	font-size: 30px;
	left: 0;
	line-height: 36px;
	padding: 5px 15px;
	position: absolute;
	top: 49px;
}
#site-title a {
	color: #525252;
	font-size: 31px;
	font-weight: bold;
	text-decoration: none;
	text-shadow: 0 1px #fff;
}
#site-description {
	background-color: #fff;
	border-top: 2px solid #999;
	font-style: italic;
	left: 20px;
	padding: 4px 15px;
	position: absolute;
	top: 96px;
}
#cornerleft {
	background: url(images/cornerleft.png) no-repeat;
	height: 59px;
	left: -16px;
	position: absolute;
	top: 49px;
	width: 16px;
}

/* --- Wrapper with the shadow stripes ------------------------------------------ */
#wrapper {
	background: url(images/contenttop.jpg) repeat-x scroll 0 0 #fff;
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
	width: 900px;
}
#leftstripe {
	background-image: url(images/left.png);
	height: 377px;
	left: -71px;
	position: absolute;
	top: -70px;
	width: 71px;
}
#rightstripe {
	background-image: url(images/right.png);
	height: 377px;
	position: absolute;
	right: -71px;
	top: -70px;
	width: 71px;
}

/* --- Columns ---------------------------------------------------------------- */
#main {
	clear: both;
	overflow: hidden;
	padding: 40px 0 0;
}
#container {
	float: left;
	margin: 0 -240px 0 0;
	width: 100%;
}
#content {
	margin: 0 280px 0 20px;
}
#primary {
	float: right;
	overflow: hidden;
	width: 220px;
}

/* --- Posts ------------------------------------------------------------------ */
#content,
.entry-content {
	color: #333;
	font-size: 16px;
	line-height: 24px;
}
.entry-content p,
.entry-summary p,
.entry-content ul,
.entry-content ol {
	margin-bottom: 24px;
}
.entry-content ul {
	list-style: disc;
	margin-left: 24px;
}
.entry-content h2,
.entry-content h3 {
	color: #000;
	font-weight: bold;
	margin: 0 0 10px;
}
.entry-content h2 { font-size: 20px; }
.entry-content h3 { font-size: 17px; }
.post {
	margin-bottom: 36px;
}
.entry-title,
.page-title {
	font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
}
.entry-title {
	color: #000;
	font-size: 21px;
	font-weight: bold;
	line-height: 1.3em;
	margin-bottom: 0;
}
.entry-title a:link,
.entry-title a:visited {
	color: #000;
	text-decoration: none;
}
.entry-title a:active,
.entry-title a:hover {
	color: #ff4b33;
}
.entry-meta {
	color: #888;
	font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
	font-size: 12px;
	margin-bottom: 18px;
}
.entry-meta a {
	color: #888;
}
.page-title {
	color: #000;
	font-size: 14px;
	font-weight: bold;
	margin: 0 0 36px;
}
.page-title span {
	color: #333;
	font-family: Georgia, "Bitstream Charter", serif;
	font-size: 16px;
	font-style: italic;
	font-weight: normal;
}

/* --- Captioned images ----------------------------------------------------------- */
.wp-caption {
	line-height: 18px;
	margin-bottom: 20px;
	max-width: 632px !important;
	text-align: center;
}
.wp-caption.aligncenter {
	margin-left: auto;
	margin-right: auto;
}
.wp-caption img {
	border: 7px solid #f1f1f1;
}
.wp-caption p.wp-caption-text {
	color: #888;
	font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
	font-size: 12px;
	margin: 5px;
}
/* TinyMCE-era leftovers in old posts used dl.wp-caption markup */
dl.wp-caption dd {
	color: #888;
	font-size: 12px;
}

/* --- Comments (preserved, display-only) -------------------------------------------- */
#comments {
	margin-top: 36px;
}
h3#comments-title {
	color: #000;
	font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 24px;
}
h3#comments-title em {
	font-style: italic;
}
.commentlist li.comment {
	border-bottom: 1px solid #e7e7e7;
	line-height: 24px;
	margin: 0 0 24px;
	padding-bottom: 12px;
}
.commentlist li:last-child {
	border-bottom: none;
	margin-bottom: 0;
}
.comment-author cite {
	color: #000;
	font-style: normal;
	font-weight: bold;
}
.comment-author .says {
	font-style: italic;
}
.comment-meta {
	color: #888;
	font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
	font-size: 12px;
	margin: 0 0 18px;
}
.comment-body p {
	margin-bottom: 18px;
}
ul.children {
	margin: 18px 0 0 36px;
}
ul.children li.comment {
	border-bottom: none;
	border-top: 1px solid #e7e7e7;
	padding-top: 12px;
}

/* --- Older/newer + previous/next links ----------------------------------------------- */
.navigation {
	color: #888;
	font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
	font-size: 12px;
	overflow: hidden;
	margin-bottom: 18px;
}
.navigation a:link,
.navigation a:visited {
	color: #888;
	text-decoration: none;
}
.navigation a:active,
.navigation a:hover {
	color: #ff4b33;
}
.nav-previous {
	float: left;
	width: 50%;
}
.nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/* --- Sidebar ------------------------------------------------------------------ */
.widget-area {
	font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
	font-size: 12px;
}
.widget-container {
	margin: 0 0 18px;
}
.widget-title {
	color: #222;
	font-size: 12px;
	font-weight: bold;
	line-height: 18px;
}
.widget-area a:link,
.widget-area a:visited {
	text-decoration: none;
}
.widget-area a:active,
.widget-area a:hover {
	text-decoration: underline;
}
.widget-container ul {
	list-style: square;
	margin-left: 1.3em;
}
.widget-container li {
	margin-bottom: 4px;
}
.searchform input[type="text"] {
	background: #f9f9f9;
	border: 1px solid #ccc;
	box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.1);
	padding: 2px;
	width: 60%;
}
.screen-reader-text {
	position: absolute;
	left: -9000px;
}

/* --- Footer -------------------------------------------------------------------- */
#footer {
	clear: both;
	margin-bottom: 20px;
}
#colophon {
	border-top: 1px solid #eee;
	overflow: hidden;
	padding: 18px 0;
}
#site-info {
	font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
	font-size: 12px;
	font-weight: bold;
}
#site-info a {
	color: #000;
	text-decoration: none;
}

/* --- Small screens (the one modernisation) --------------------------------------- */
@media (max-width: 999px) {
	#access,
	#branding,
	#site-title {
		width: auto;
	}
	#wrapper {
		width: auto;
	}
	#branding {
		height: auto;
	}
	#leftstripe,
	#rightstripe {
		display: none;
	}
	#container {
		float: none;
		margin: 0;
	}
	#content {
		margin: 0;
	}
	#primary {
		float: none;
		width: auto;
		margin-top: 36px;
	}
}
