/*
-Reset
-Colors
-Fonts
-Page
	Div wrappers
	Footer
	Selection
	Headers
	Links
	Text headings
-Photo and video wrappers
-Misc
-Media queries
*/


/* #Reset & Basics (Inspired by E. Meyers)
********************************/
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, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block; }
body {
	line-height: 1; }
ol, ul {
	list-style: none; }
blockquote, q {
	quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none; }
table {
	border-collapse: collapse;
	border-spacing: 0; }


/* Global colors 
********************************/

body {
	color: #333333;
	background-color: #fff;
}

.blog-description {
	color: #888888;
}

a {
	color: #e85721;
	text-decoration: none;
	border-bottom: 1px solid rgba(136, 136, 136, 0.3);
}

#header h1 a {
	color: #e85721;
	border-bottom: none;
}

a:hover {
	color: #9e3d19;
}

a:active {
	position: relative;
	outline: none;
	top: 1px;
	color: #c29706;
}

#footer-links a, #footer p.promo a, .links a {
	color: #888888;
	border-bottom: none;
}

#footer-links a:hover, #footer p.promo a:hover, .links a:hover, .more a:hover, a.mobile-player:hover {
	color: #333333;
}

a img {
	border: none;
}

.post {
	border-bottom: 1px solid rgba(136, 136, 136, 0.4);
}

.colophon p {
	color: #888888;
}

pre {
	font-family: monospace;
	color: black;
	font-size: 1em;
	text-align: left;
	padding: 2em 1em;
	overflow: scroll;
}


/* Global fonts 
********************************/

body {
	font-family: Merriweather, georgia, serif;
	font-weight: normal;
}

/*  .title h1, .link-title h1, .chat-title h1, .q h1, .a h1, */
h1, #footer h2, .title h2, .title h3 {
	font-family: Lato, helvetica, arial, sans-serif;
	font-weight: bold;
}

.blog-title h1 {
	font-family: Lato, futura, helvetica, arial, sans-serif;
	font-weight: bold;
	font-size: 96px;
	line-height: 1em;
}


/* Page Structure
********************************/
body {
	margin: 0px;
	margin-bottom: 0px;
	padding: 0px;
    font-size: 1.1em;
	-webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
	}
	
p, li, blockquote {
	line-height: 1.7em;
	margin: 0 0 1em 0;
}

h1, h2, h3 {
	font-family: Lato, helvetica, arial, sans-serif;
	margin: 0;
	padding-bottom: .2em;
	font-weight: bold;
	font-size: 2.1em;
}

h4 {
	font-weight: bold;
	font-size: 1.2em;
}

em {
	font-style: italic;
}

strong {
	font-weight: bold;
}

.ir {
	text-indent: -99999em;
}

.center {
	text-align: center;
}

#page {
	border: 0px solid;
	max-width: 900px;
	padding-left:  50px;
	padding-right: 50px;
	margin: auto;
}

.title h1 {
	text-align: center;
	margin: auto;
	margin-bottom: 25px;
	font-size: 2.6em;
}

.title h2 {
	text-align: center;
}

.title h3 {
	text-align: center;
	margin: auto;
	margin-bottom: 1.5em;
	font-size: inherit;
	line-height: 1em;
}

.link-title h1 {
	text-align: center;
	padding-bottom: 1em;
}

/* Div wrappers
********************************/

.post {
	margin-bottom: 45px;
	padding-bottom: 40px;
	width: 100%;
}

.narrow {
	max-width: 640px;
	margin: auto;
}

.nav-icon {
	max-height: 30px;
	width: 30px;
	padding: 1px 2px 7px 2px;
}

.center {
	width: 225px;
	height: 225px;
	margin-left: auto;
	margin-right: auto;
}

/* Footer
********************************/

#footer {
	text-align: center;
	margin-bottom: 40px;
}

#footer a {
	text-decoration: none;
	border-bottom: none;
}

#footer h2 {
	font-size: 24px;
	text-align: center;
	margin-bottom: 40px;
}


#footer-links ul {
	margin-bottom: 0px;
	padding: 0;
	display: block;
	text-align: center;
}

#footer-links li {
	display: inline;
	margin-left: 5px;
	font-size: 14px;
}

#footer-links li:first-child {
	margin-left: 0px;
}

#footer .colophon p {
	font-size: 14px;
	font-style: italic;
	margin-bottom: 0;
}

#footer p.promo {
	font-size: 12px;
	text-transform: uppercase;
	font-style: normal;
}


/* Selection
********************************/
::selection {
    background: #fff882; /* Safari */
	color: #444444;
	}
	
::-moz-selection {
	background: #fff882; /* Firefox */
	color: #444444;
}


/* Header
********************************/

#header {
	margin-top: 1.3em;
	margin-bottom: 4em;
	display: block;
	overflow: visible;
}

#header a {
	text-decoration: none;
}

.links {
	margin-top: 0px;
	margin-bottom: 0px;
	text-align: center;
	margin-bottom: 0px;
	float: none;
	border-bottom: 1px solid rgba(136, 136, 136, 0.4);
}

.links ul {
	margin-top: 10px;
	margin-bottom: 18px;
	padding: 0;
	display: block;	
	text-align: center;
	float: none;
}

.links li {
	display: inline;
	margin-left: 10px;
	font-size: 1em;
	text-transform: none;	
}


.links li:first-child {
	margin-left: 0px;	
}


.page-title {
	display: block;
	width: 100%;
	text-align: center;
	margin-top: 70px;
}

.page-title a {
	border-bottom: none;
}

.page-title img {
	max-width: 100%;
}

.small-page-title {
	display: none;
}



/* Photo and video wrappers
********************************/

.photo img, .videoWrapper {
    max-width: 100%;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 30px;
	border-radius: 2px;
}

.photo img {
	min-width: 640px;
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;	
}

.videoWrapper iframe, .videoWrapper object {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.polaroid {
	display: block;
	width: 200px;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	padding: 1em 1em 2em 1em;
	border: 1px solid #CDCDCD;
	-webkit-box-shadow: 0px 17px 10px -16px rgba(105,105,105,1);
	-moz-box-shadow: 0px 17px 10px -16px rgba(105,105,105,1);
	box-shadow: 0px 17px 10px -16px rgba(105,105,105,1);
}


/* Misc
********************************/

.smalldisplay {
	display: none;
}

.margin-bottom {
	margin-bottom: 2em;
}


/* Media queries
********************************/

@media screen and (max-width: 800px) {

	#header {
		padding-bottom: 0px;
	}

}

@media screen and (max-width: 740px) {

	#page {
		padding-left:  1em;
		padding-right: 1em;	
	}

	#header {
		margin-bottom: 50px;
	}
	
	.small-page-title {
		display: block;
		width: 300px;
		margin: 2em auto 3em auto;
	}

	/* IMAGES */
	
	.small-page-title img {
		display: block;
		width: 6em;
		height: auto;
		margin-left: auto;
		margin-right: auto;
	}

	.photo img {
		min-width: 100%;
	}
	
	.largedisplay {
		display: none;
	}
	
	.smalldisplay {
		display: block;
	}

}