/*
	thebigreason style sheet
	Design and build by Mark Eagleton
	Copyright (c) 2012. All rights reserved.
*/

/* normalize */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; font-size: 13px; line-height: 1.231; }
body, button, input, select, textarea { font-family: sans-serif; color: #222; }

::-moz-selection { background: #999; color: #fff; text-shadow: none; }
::selection { background: #999; color: #fff; text-shadow: none; }

a { color: #000; }
a:visited { color: #666; }
a:hover { color: #000; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
table button, table input { *overflow: auto; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

/*
	Basic typography credit:http://jdclayton.com

	font-family: 'Merriweather', serif;
	font-family: 'Open Sans', sans-serif;
	font-family: 'Terminal Dosis', sans-serif;
*/

html{font-size:100.01%;}
body,input{color:#333;font:300 98%/1.5em 'Palatino','Merriweather','Georgia',serif;}
h1{font-size:3em;line-height:1.25;margin:0.5em 0;}
h2{font-size:2em;line-height:1.25;margin:0.5em 0;}
h3{font-size:2em;line-height:1.25;margin:0.5em 0;}
h4{font-size:1.2em;line-height:1.25;margin:1.25em 0;}
h5{font-size:1em;font-weight:bold;margin:1.5em 0;}
h6{font-size:1em;font-weight:bold;}
strong,th{font-weight:bold;}
p,figure{margin:0 0 1.5em;}
ul,ol{margin:0 1.5em 1.5em 0;padding-left:3.333em;}
dl{margin:0 0 1.5em 0;}
dt{font-weight:bold;}
table{margin-bottom:1.4em;width:100%;}
th,td,caption{padding:4px 10px 4px 5px;}
tbody tr:nth-child(odd){background:#eee;}
th, td {border:1px solid #ddd;}
tfoot tr{border-top:1px solid #ddd;}
tfoot th{text-align:right;}
blockquote{margin:1.5em;padding-left:1.5em;}
pre{margin:1.5em 0;white-space:pre;}
a{text-decoration:underline;}
a{color:#000;}
em,dfn{font-style:italic;}
code{font:1em 'Andale Mono','Lucida Console',monospace;}
mark{background:#ff9;color:#660;}
del{text-decoration:line-through;}
ins,abbr[title]{border-bottom:1px dotted #000;}
abbr[title]{cursor:help;}
input,textarea,select,button{border:1px solid #bbb;border-radius:0;font-weight:300;width:21em;}
input:focus,textarea:focus,select:focus,button:focus{border-color:#666;}
input,button,textarea{padding:0.25em;}
textarea{line-height:1.5em;}
input[type="checkbox"],input[type="radio"],input[type="submit"],button{width:auto;}
input[type="checkbox"],input[type="radio"]{border:0;padding:0;}

section > header { display: none; }

img, audio { max-width: 100%; }

h1, h2, h3, h4 {
	color: #000;
	font-family: 'Futura', 'Open Sans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
}

hgroup h2 {
	font-weight: normal;
}

h1 a, h2 a, h3 a {
	text-decoration: none;
}

h1 a:hover, h2 a:hover, h3 a:hover {
	border-bottom: 1px solid #ccc;
}

time, .navigation.main, article footer .category, article footer p, .pagination, figcaption {
	color: #999;
	font-family: 'HelveticaNeueLTStd-LtCn', 'Terminal Dosis', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
}

time, .navigation.main {
	display: block;
	line-height: 1em;
	margin-top: -5px;
	text-transform: uppercase;
}

blockquote {
	border-left: 3px solid #999;
	color:#666;
}

body > footer, .breadcrumbs {
	font-size: 14px;
}

pre, code {
	background: #666;
	color: #fff;
	font-size: 12px;
	overflow: auto;
	padding: 1px 3px;
}

pre {
	box-shadow: rgba(255, 255, 255, 0.5) 1px 1px 0px;
	padding: 10px;
}


/* Structure */

body {
	background: url('../img/body.png') top;
}

.logo {
	font-size: 48px;
	line-height: 1em;
	margin: 20px 20px 20px 120px;
	position: relative;
	text-shadow: #fff 1px 1px 1px;
}

.logo strong {
	display: block;
	font-size: 68px;
	font-weight: normal;
	line-height: 1em;
}

.logo em {
	bottom: 0;
	display: block;
	font-size: 16px;
	line-height: 1.5em;
	position: absolte;
}

body > header, .page {
	max-width: 740px;
	margin: 0 auto;
	padding: 0 20px;
}

body > footer {
	background: url('../img/footer.png') top;
	background-size: 40%;
	border-top: 1px solid #ccc;
	box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
	color: #000;
	margin-top: 6em;
	padding: 1em 0;
	text-align: center;
	text-shadow: rgba(255,255,255,0.25) 1px 1px 1px;
}

.navigation.main {
	position: absolute;
	text-transform: uppercase;
	top: 26px;
	width: 100px;
}

.navigation.main a {
	color: #999;
	display: block;
	padding: 8px 28px 4px 8px;
	text-decoration: none;
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
}

.navigation.main a:hover {
	color: black;
}

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

.navigation.footer a:hover {
	text-decoration: underline;
}

.navigation ul {
	margin: 0;
	padding: 0;
}

.navigation.main li + li {
	border-top: 1px solid rgba(0,0,0,.1);
}

.navigation.footer li {
	margin: 0 0.25em;
}

.navigation.footer .search {
	display: block;
	margin: 10px 0;
}

#terms {
	border: 1px solid #333;
}

#search {
	border: 3px double #333;
	background: #ccc;
	padding: 2px 1em;
}

.copyright {
	font-size: 12px;
	margin-bottom: 0;
}

.breadcrumbs {
	clear: left;
	margin: 2em 0;
	opacity: 0;
	-webkit-transition: all 100ms ease-in-out;
	-moz-transition: all 100ms ease-in-out;
	transition: all 100ms ease-in-out;
}

.breadcrumbs:hover {
	opacity: 1;
}

.breadcrumbs ol {
	list-style: none;	
	margin: 0;
	padding: 0;
}

.breadcrumbs li {
	display: inline;
}

.pagination {
	margin: 1.5em;
	text-align: center;
}

.pagination a, pagination span {
	margin: 0 0.15em;
}

.footer.navigation li {
	display: inline;
}

.page > section {
	min-height: 195px;
}

.page > section iframe {
	max-width: 740px;
	min-width: 420px;
}

.listing {
	margin: 0;
}

.listing > li + li {
	margin-top: 4em;
}

.listing figure img, article > figure img {
	background: #fff;
	border-radius: 1px;
	box-shadow: 0 0 3px rgba(0,0,0,0.25);
	max-width: 96%;
	padding: 2%;
}

nav ul {
	list-style: none;
	padding: 0;
}

article, article header {
	margin-bottom: 1.5em;
}

article header a:link, article header a:visited {
	color: #000;
}

article header time {
	border-bottom: 1px solid  #ccc;
	margin: 1em 0;
}

article footer .continue, article footer .permalink {
	margin-bottom: 1.5em;
}

figure img {
	max-width: 100%;
}

aside {
	float: left;
	margin: 0 2em 1em 0;
	width: 33%;
}

aside h4 {
	margin: 0;
}

figure img[rel] {
	cursor: pointer;
}

figcaption {
	margin-top: 0.75em;
}

footer {
	clear: both;
	width: 100%;
}

.articles > ol {
	list-style: none;
	padding-left: 0;
}

a[href*="http"]:after {
	color: #666;
	content: " \2192";
	font-size: 0.75em;
}

/* Page specific */

.about h1 {
	display: none;
}

/* Ad */

.ad {
	background: url('../img/body.png');
	border: 1px solid #333;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	color: #000;
	font-size: 12px;
	margin: 1em auto;
	overflow: hidden;
	padding: 10px;
	text-align: left;
	width: 350px;
}

.ad div {
	float: left;
}

.ad h4, .ad p {
	margin: 0;
	text-indent: 0;
}

.ad img {
	float: left;
	margin-right: 10px;
	width: 64px;
}

.ad a[href*='http']:after {
	content: '';
}

.ad a {
	background: rgba(0,0,0,0.25);
	border-radius: 10px;
	margin-right: 0.25em;
	padding: 1px 5px;
	text-decoration: none;
}

.ad a:hover {
	color: #fff;
}

@media screen and (max-device-width: 480px) {
	
	body > footer {
		background-size: 100%;
	}
	
	.navigation.footer li {
		margin: 0 0.5em;
	}
	
	#terms {
		width: 200px;
	}
	
	.breadcrumbs {
		opacity: 1;
	}
	
	.ad {
		width: 260px;	
	}
		
	.ad div {
		width: 180px;
	}
	
	.ad p {
		line-height: 1.15em;
	}
	
}

