/*------------------------------
BASIC SETUP
------------------------------*/
/* Makeshift CSS Reset */
* {
	margin: 0;
	padding: 0;
}

/* Tell the browser to render HTML elements as block */
header, footer, section, aside, nav, article {
	display: block;
}

body {
	margin: 0 auto;
	padding: 10px 0;
	max-width: 940px;
	font: 13px/22px Helvetica, Arial,serif;
	background: #FFF;
	background: url('media/cream_pixels.png') repeat scroll 0% 0% transparent;
}
h1, h2, h3, p {
	padding-left: 2%;
	padding-right: 2%;
}
h1 {
	font-size: 2em;
	line-height: 44px;
	padding-top: 22px;
	padding-bottom: 12px;
	color: #EEE;
	background-color: #333;
	background: url('media/dark_matter.png') repeat scroll 0% 0% transparent;
}
h2 {
	font-size: 1.6em;
	line-height: 30px;
	padding-top: 15px;
	padding-bottom: 5px;
}
h3 {
	font-size: 1.3em;
	line-height: 22px;
	padding-top: 11px;
	padding-bottom: 5px;
}

p {
	padding-bottom: 12px;
}

a {
	color: #666;
}
	a:hover {
		color: #444;
		text-decoration: none;
	}

#header h1 {
	background: 0;
	color: #000;
	text-align: center;
	padding-left: 0;
}

/*------------------------------
NAVIGATION
------------------------------*/
nav {
	left: 0;
	width: 100%;
	background: #222;

	background-image: -webkit-gradient(
		linear,left top,left bottom,
		color-stop(0.5, #555),color-stop(1, #222) );
	background-image: -o-linear-gradient(bottom, #555 50%, #222 100%);
	background-image: -moz-linear-gradient(bottom, #555 50%, #222 100%);
	background-image: -webkit-linear-gradient(bottom, #555 50%, #222 100%);
	background-image: -ms-linear-gradient(bottom, #555 50%, #222 100%);
	background-image: linear-gradient(to bottom, #555 50%, #222 100%);

	display: inline-block;
}
	nav ul {
		margin: 0 auto;
		list-style: none;
	}
		nav ul li {
			float: left;
		}
			nav ul li a {
				display: inline-block;
				margin-right: 20px;
				width: 200px;
				font-size: 1.1em;font-weight: bold;
				line-height: 44px;
				text-align: center;
				text-decoration: none;
				color: #BBB;
			}
				nav ul li a:hover {
					color: #fff;
					background-image: -webkit-gradient(
						linear,left top,left bottom,
						color-stop(0.5, #333),color-stop(1, #666) );
					background-image: -o-linear-gradient(bottom, #333 50%, #666 100%);
					background-image: -moz-linear-gradient(bottom, #333 50%, #666 100%);
					background-image: -webkit-linear-gradient(bottom, #333 50%, #666 100%);
					background-image: -ms-linear-gradient(bottom, #333 50%, #666 100%);
					background-image: linear-gradient(to bottom, #333 50%, #666 100%);
				}
			nav ul li.selected a {
				color: #fff;
			}
			nav ul li.subscribe a {
				margin-left: 22px;
				padding-left: 33px;
				text-align: left;
				background: url("images/rss.png") left center no-repeat;
			}

/*------------------------------
INTRODUCTION
------------------------------*/
#intro {
	position: relative;
	padding: 5%;
	background: #888;
	background: url('media/binding_light.png') repeat scroll 0% 0% transparent;

	/* Border-radius not implemented yet */
	-moz-border-radius: 22px;
	-webkit-border-radius: 22px;
}
	#intro h2, #intro p {
		position: relative;
		width: 90%;
	}
	#intro h2 {
		padding: 0 0 22px 0;
		font-weight: normal;
		color: #000;
		background: 0;
	}
	#intro p {
		padding: 0;
		color: #000;
	}
	#intro img {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		right: 0;
		max-width: 28%;
		max-height:100%;
	}

/*------------------------------
CONTENT AREA AND SIDEBAR LAYOUT
------------------------------*/
#content {
	display: table;
	padding-top: 1%;
}
	#mainContent {
		display: table-cell;
		vertical-align:top;
		width: 70%;
		background: #FAFAFA;
	}
	aside {
		display: table-cell;
		vertical-align:top;
		width: 25%;
		padding-left: 2%;
		padding-right: 2%;
		background: #DDD;
		background: url("media/sos.png") repeat;
	}


/*------------------------------
BLOG POST
------------------------------*/
.blogPost header p, .blogPost header p a {
		font-size: 1.1em;
		font-style: italic;
		color: #777;
	}
		.blogPost header p a:hover {
			text-decoration: none;
			color: #000;
		}

.blogPost img {
	margin: 22px 0;
	box-shadow: 13px 13px 17px #777;
	-webkit-box-shadow: 13px 13px 17px #777;
}


/*------------------------------
SIDEBAR
------------------------------*/
aside section {
	margin: 22px 0 ;
/*
	position: relative;
*/
/*
	position-top: 10%;
*/
	/* Border-radius not implemented yet */
	-moz-border-radius: 11px;
	-webkit-border-radius: 11px;
}
	aside section ul {
/*
		margin: 0 0 0 22px;
*/
		list-style: none;
	}
		aside section ul li a {
			display: block;
			text-decoration: none;
			color: #000;
			padding-top: 15px;
		}
			aside section ul li a:hover {
				text-decoration: underline;
			}


/*------------------------------
=FOOTER
------------------------------*/
footer {
	position: absolute;
	left: 0;
	width: 100%;
	background: #222;
	background: url('media/dark_matter.png') repeat scroll 0% 0% transparent;
}
	footer div {
		display: table;
		margin: 0 auto;
		padding: 44px 0;
		max-width: 940px;
		color: #777;
	}
		footer div section {
			display: table-cell;
			width: 40%;
		}
		footer div #about, footer div #blogroll {
			padding-right: 20px;
		}
	footer h3 {
		color: #FFF;
	}
	footer a {
		color: #999;
	}
		footer a:hover {
			color: #FFF;
			text-decoration: none;
		}
	footer ul {
		margin: 0 0 0 40px;
		list-style: square;
		color: #565656;
	}
		footer ul li a {
			display: block;
		}
