*,
*:before,
*:after {
	margin:0;
	padding: 0;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

a img {
	border:none;
}

body {
	font-family: 'Georgia', serif;
	font-size:16px;
	line-height:1.5em;
	text-align: center;
	color: #222;
	background-color: #eee;
}

nav.top a {
	padding:10px;
	color: #888;
	text-decoration: none;
	display: inline-block;
}
	nav.top a:hover {
		color: #666;
		text-decoration: underline;
	}
	
header {
	position: relative;
	background-color: #666;
	width:1000px;
	height:320px;
	margin: auto;
	background-position: 50% 50%;
	background-image: url('/media/header/crank2.jpg');
}

	header .logo {
		position: absolute;
		left:50px;
		bottom:40px;
	}

footer {
	margin: auto;
	width:1000px;
	color: #888;
	padding-top: 20px;
	padding-bottom: 40px;
}

	footer ul li {
		list-style-type: none;
		display: inline;
	}

		footer ul li:after {

		}

		footer a {
			color: #888;
			text-decoration: none;
			display: inline-block;
			margin-right: 15px;
		}

			footer a:hover {
				color: #666;
				text-decoration: underline;
			}

table td {
	vertical-align: top;
}

main {
	display: block;
	width: 1000px;
	background-color: #fff;
	min-height: 360px;
	text-align: left;
	margin:auto;
	padding: 60px;
	padding-top: 50px;
}

main section {
	padding-top: 40px;
	padding-bottom: 40px;
	min-width: 980px;
}

h1,
h2,
p,
ul,
ol,
code {
	margin-bottom:24px;
}

h1 {
	font-size:48px;
	line-height: 1.3em;
}

.subtitle {
	margin-top:-14px;
	font-size: 32px;
	line-height: 40px;
}

	.subtitle a {
		color: #000;
		text-decoration: none;
	}

	.subtitle a:hover {
		text-decoration: underline;
	}

h2 {
	margin-top: 32px;
	line-height: 1.3em;
}

	h2:first-child {
		margin-top: 0;
	}

figure {
	margin-bottom:16px;
}

figcaption {
	font-style: italic;
	color: #888;
}

	figcaption a {
		color: #555;
	}

dt {
	opacity: 0.5;
}

dd {
	margin-bottom: 16px;
}

.highlight,
blockquote {
	padding:40px;
	background-color: #f9f9f9;
	border-left: 10px solid #ddd;
	padding-left: 50px;
	margin-bottom:20px;
}

.highlight *:last-child,
blockquote *:last-child {
	margin-bottom: 0;
}

.highlight.green {
	border-left-color: #44f944;
	background-color: #f0fdf0;
}

hr {
	margin-top: 30px;
	margin-bottom: 30px;
	background: #ddd;
	border:solid 1px #eee;
}

.entry-date,
.publication-date {
	color: #888;
}

.block.gray {
	background-color: #f6f6f6;
	padding:30px;
	margin-bottom: 20px;
}

.block.gray *:last-child {
	margin-bottom: 0;
}

.checklist li {
	margin-bottom: 10px;
}

	.checklist li:last-child {
		margin-bottom: 0;
	} 

/* grid layout */

.row {
	min-width:880px;
	width: 880px;
	margin: auto;
}

.center {
	text-align:center;
}

.row div.col,
.row aside.col {
	display: inline-block;
	vertical-align: top;
}

.row .col {
	padding-right: 20px;
}

.row td.col {
	padding-right:0px;
}

.row .col:last-child {
	padding-right: 0;
}

.col.one {
	width:80px;
}

.col.two {
	width:160px;
}

.col.three {
	width:240px;
}

.col.four {
	width:320px;
}

.col.five {
	width:400px;
}

.col.six {
	width:480px;
}

.col.seven {
	width:560px;
}

.col.eight {
	width:640px;
}

.col.nine {
	width:720px;
}

.col.ten {
	width:800px;
}

.col.eleven {
	width:880px;
}

@media only screen and (max-device-width: 960px) {

	h1 {
		font-size: 36px;
	}

	h2 {
		font-size: 28px;
	}

	header,
	main,
	footer {
		width: 100%;
	}

	main {
		padding: 20px;
	}

	main iframe,
	main img {
		max-width: 100%;
		height: auto;
	}

	footer {
		padding-left: 20px;
	}

	figure {
		text-align: center;
	}

	.row {
		min-width: auto;
		width: 100%;
	}

	.row .col {
		width: 100%;
		display: block;
	}

}

/* (image) popup & overlay */

#overlay {
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background: #000;
	opacity: 0.5;
	z-index: 100;
	cursor: pointer;
}

#popup {
	top:0;
	left:0;
	position:fixed;
	z-index: 110;
	box-shadow: 0px 5px 20px #222;
	-moz-box-shadow: 0px 5px 20px #222;
	background: #fff;
}

#popup img {
	display:block;
}

blockquote *:last-child {
	margin-bottom: 0;
}

blockquote em {
	background-color: #ddff77;
}

ul li ul li {
	margin-left: 20px;
}

.hidden {
	display: none;
}

/* index page */

ul.index {
	list-style-type: none;
}

ul.index > li > ul > li {
	list-style-type: disc;
}

/* table */

table {
	border-collapse: collapse;
}

table td.number,
table.comparison td.number {
	text-align: right;
}

table.comparison {
	margin-bottom: 24px;
}

table.specs,
table.border {
	border: solid 1px #ddd;
}

table caption {
	caption-side: bottom;
	text-align: left;
	margin-top:10px;
}

table.border th,
table.comparison th {
	color: #888;
	font-weight: normal;
	padding-left: 4px;
	padding-right: 4px;
}

table.border td,
table.specs td,
table.specs th,
table.comparison td,
table.comparison th {
	text-align: left;
	vertical-align: top;
	padding: 2px;
	padding-left: 4px;
	padding-right: 4px;
	font-size: 14px;
	border-left: solid 1px #ddd;
}

table.specs td:last-child,
table.specs th:last-child,
table.comparison td:last-child {
	border-right: solid 1px #ddd;
}

table.specs tr.gray th, 
table.specs tr:nth-child(even) td, 
table.specs tr:nth-child(even) th,
table.specs tr.gray td, 
table.comparison tr.gray th, 
table.comparison tr:nth-child(even) td, 
table.comparison tr:nth-child(even) th {
	background-color: #f3f3f3;
}

table.comparison tr.image td {
	background: none;
	text-align: center;
	vertical-align: bottom;
	border:none;
}

.color {
	width: 16px;
	height: 16px;
	border-radius: 8px;
	border: solid 2px #fff;
	display: inline-block;
}
