/* Fonts */

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: bold;
  src: local('Open Sans Bold'), local('OpenSans-Bold'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/k3k702ZOKiLJc3WVjuplzKRDOzjiPcYnFooOUGCOsRk.woff) format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: normal;
  src: local('Open Sans Italic'), local('OpenSans-Italic'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/xjAJXh38I15wypJXxuGMBrrIa-7acMAeDBVuclsi6Gc.woff) format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: normal;
  src: local('Open Sans'), local('OpenSans'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/cJZKeOuBrn4kERxqtaUH3bO3LdcAZYWl9Si6vvxL-qU.woff) format('woff');
}

/* Reset */

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; }
table {	border-collapse: collapse; border-spacing: 0; }

/* Base Styles */

body {
	font: 15px/1.6 "Open Sans", "Lucida Grande","Lucida Sans Unicode",Helvetica,Arial;
	color: #444;
}

p, ol, ul, pre, blockquote, q, h1, h2, h3, h4 {
	margin-bottom: 20px;
}

h1, h2, h3, h4, time {
	font-family: Helvetica, Arial;
	font-weight: bold;
}

h1, h2, h3, h4 {
	letter-spacing: -1px;
}

h1 {
	font-size: 25px;
}

h2 {
	font-size: 23px;
}

h3 {
	font-size: 19px;
}

h4 {
	font-size: 16px;
}

strong {
	font-weight: bold;
}

em {
	font-style: italic;
}

a {
	color: #c00;
	text-decoration: none;
}

a:hover {
	color: black;
}

a.more-link {
	font-style: italic;
}

blockquote, q {
	border-top: 1px dotted #ccc;
	border-bottom: 1px dotted #ccc;
	font-style: italic;
	font-size: 90%;
	padding: 10px 30px;
	color: #777;
}

blockquote p {
	margin-bottom: 0;
}

ul {
	list-style: square;
}

ol {
	list-style: decimal;
}

li {
	margin-left: 40px;
}

code {
	color: #000;
	font-family: Consolas, Inconsolata, monospace;
	padding: 0 4px;
	background: #f4f4f4;
}

pre {
	margin-left: -1px;
	width: 98%;
	overflow-x: scroll;
	background-color: #fafafa;
	border: 1px solid #ccc;
	padding: 1%;
	font-size: 12px;
	line-height: 1.2;
}

pre code {
	background: #fafafa;
	padding: 0;
}

sup {
	bottom: 0.5ex;
	height: 0;
	line-height: 1;
	position: relative;
	font-size: 11px;
	padding: 0 5px 0 2px;
}

.aligncenter {
	display: block;
	margin: 20px auto;
}

.alignleft {
	float: left;
	margin: 0 15px 5px 0;
}

.alignright {
	float: right;
	margin: 0 0 5px 15px;
}

.yellow-box {
	margin:20px;
	padding:5px;
	text-align:center;
	border:1px solid #E6DB55 !important;
	background-color: #FFFBCC !important;
	font-size:13px;
	color:#555;
	border-radius: 3px;
}

/* Container */

div.container {
	margin: 0 auto;
	max-width: 1100px;
}

/* Header */

div.container > header {
	padding: 0 10px;
	height: 90px;
	border-bottom: 1px #ccc solid;
	overflow: hidden;
}

div.container > header h1 {
	font-size: 40px;
	margin: 30px 0 0 0;
	float: left;
}

div.container > header h1 a {
	color: #000;
	border: none;
}

div.container > header h1 a:hover {
	color: #c00;
	border: none;
}

header span.nav-button {
	display: none;
	float: right;
	padding: 7px 10px 4px;
	margin-top: 25px;
	background-color: #333;
	border-radius: 4px;
	box-shadow: 0 1px 1px #f9f9f9;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#777), to(#000));
}

header span.nav-button-bar {
	display: block;
	width: 18px;
	height: 2px;
	margin-bottom: 3px;
	background-color: #f9f9f9;
	border-radius: 1px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

/* Footer */

div.container > footer {
	clear: both;
}

div.container > footer p {
	border-top: 1px #ccc solid;
	text-align: center;
	font-size: 12px;
	font-style: italic;
	padding: 20px 0;
}

/* Main Content */

div#content {
	border-right: 1px solid #ccc;
	position: relative;
	overflow: visible;
	margin-right: 290px;
	clear: both;
}

div#content::after {
	content: '';
	display: table;
	clear: both;
}

section#posts {
	padding-top: 30px;
	float: left;
	width: 100%;
}

section#posts > h1 {
	font-size: 30px;
	margin-left: 5px;
}

/* Post */

section#posts article {
	padding: 0 30px 0 10px;
	text-align: left;
	clear: both;
}

article time {
	font-size: 10px;
	color: #ccc;
	padding: 5px 0 0 0;
	float: left;
	text-transform: uppercase;
	text-align: center;
}

article time span.day {
	font-size: 24px;
	line-height: 18px;
	color: #c00;
}

article > header > h1 {
	margin-bottom: 25px;
	margin-left: 46px;
	font-size: 24px;
	line-height: 28px;
	color: #000;
}

article > header > h1 a {
	color: #000;
	border: none;
}

article > header > h1 a:hover {
	color: #c00;
	border: none;
}

article.link time span.day {
	font-size: 22px;
}

article.link > header > h1 {
	font-size: 22px;
	font-style: italic;
	font-weight: normal;
}

article.link > header > h1 a.permalink {
	font-family: Verdana, Helvetica, Arial;
	font-size: 20px;
	color: #c00;
	font-style: normal;
	margin-left: 10px;
}

article.link > header > h1 a.permalink:hover {
	color: #000;
}

article.page > header > h1 {
	font-size: 34px;
	margin-left: 0;
}

div.separator {
	text-align: center;
	font-size: 24px;
	color: #f0f0f0;
	margin-bottom: 30px;
}

article img {
	max-width: 100%;
}

div.picturebox {
	max-width: 98.4%;
	border: 1px solid #ddd;
	text-align: center;
	background-color: #fafafa;
	padding: 4px;
	border-radius: 3px;
	color: #555;
	font-size: 11px;
	line-height: 12px;
}

div.picturebox p {
	padding-top: 3px;
	line-height: 15px;
	font-size: 11px;
	margin: 0;
}

div.footnotes {
	font-size: 13px;
	margin-top: 30px;
}

div.footnotes hr {
	border: 0 #ccc solid;
	border-top-width: 1px;
	height: 0;
	margin-bottom: 20px;
}

div.footnotes li {
	margin-left: 50px;
}

div.footnotes p {
	margin-bottom: 15px;
}

article p.metadata {
	margin-top: 20px;
	border-top: 1px solid #eee;
	padding-top: 15px;
	font-size: 11px;
	color: #aaa;
	text-align: center;
}

p.links {
	clear: both;
	overflow: hidden;
}

p.links a.linkleft {
	float: left;
	padding-left: 10px;
}

p.links a.linkright {
	float: right;
	padding-right: 30px;
}

/* Sidebar */

aside#sidebar {
	float: left;
	width: 250px;
	overflow: hidden;
	padding: 30px 20px 0 20px;
	margin: 0 -100% 0 0;
	font-size: 14px;
}

aside#sidebar > section {
	margin-bottom: 30px;
}

aside#sidebar h1 {
	color: #666;
	font-size: 23px;
	margin-bottom: 10px;
}

aside#sidebar ul {
	list-style: none;
	border-top: 1px dotted #e0e0e0;
}

aside#sidebar ul li {
	margin-left: 0;
	padding: 5px 0;
	border-bottom: 1px dotted #e0e0e0;
}

aside#sidebar li span {
	display: none;
	color: #ccc;
}

aside#sidebar li.loading {
	background: url(../images/loading.gif) center center no-repeat;
	height: 19px;
}

aside#sidebar li.error {
	background: none;
	height: auto;
	font-size: 11px;
	text-align: center;
}

aside#sidebar.nav-opened {
	display: block;
}

/* Search Box */

section.search_box #q {
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 5px 4px 5px 30px;
	font-size: 13px;
	background: url(../images/search.png) 5px center no-repeat #fafafa;
	width: 214px;
}

/* Twitter */

#recent_tweets p {
	position: relative;
	margin-bottom: 0;
	font-size: 12px;
}

#recent_tweets a[href*="status"]:first-child {
	color: #a4a4a4;
	float: right;
	padding: 0 0 10px 10px;
	font-size: 9px;
}

/* Mobile */

@media only screen and (max-width: 1100px)
{
	div.container > header {
		padding: 0 20px;
	}
	
	section#posts > h1 {
		margin-left: 10px;
	}
	
	section#posts article {
		padding: 0 30px 0 20px;
	}
	
	article > header > h1 {
		margin-bottom: 25px;
	}
	
	div.separator {
		font-size: 16px;
	}
}

@media only screen and (max-width: 768px)
{
	div.container > header {
		height: 70px;
	}
	
	div.container > header h1 {
		margin-top: 10px;
	}
	
	header span.nav-button {
		display: block;
		cursor: pointer;
	}
	
	div#content {
		overflow: hidden;
		margin-right: 0;
		border-right: none;
	}
	
	section#posts article {
		padding: 0 20px;
	}
	
	div.picturebox {
		padding: 0.8%;
	}
	
	p.links a.linkright {
		padding-right: 10px;
	}

	p.links a.linkleft, p.links a.linkright {
		font-size: 13px;
	}
	
	aside#sidebar {
		display: none;
		position: absolute;
		right: 0;
		margin: 0;
		height: 100%;
		border-left: 1px solid #ccc;
		background: #fff;
		overflow-y: scroll;
	}
}

@media only screen and (max-width: 480px)
{
	body {
		font-size: 13px;
	}
	
	p, ol, ul, pre, blockquote, q, h1, h2, h3, h4 {
		margin-bottom: 15px;
	}

	blockquote, q {
		padding: 10px 20px;
	}

	div.container > header {
		padding: 0 10px;
		background: #fff;
		height: 56px;
	}
	
	div.container > header h1 {
		font-size: 30px;
		margin-top: 6px;
	}

	header span.nav-button {
		margin-top: 16px;
	}
	
	div.container > footer p span {
		display: block;
	}
	
	section#posts {
		padding-top: 20px;
	}
	
	section#posts > h1 {
		margin-left: 5px;
		font-size: 25px;
		line-height: 1.2;
	}

	section#posts article {
		padding: 0 10px;
	}
	
	p.links a.linkleft, p.links a.linkright {
		font-size: 11px;
	}

	div.footnotes {
		font-size: 11px;
	}
	
	div.footnotes li {
		margin-left: 30px;
	}
	
	aside#sidebar {
		font-size: 12px;
	}
}