* { margin: 0; padding: 0; }

header, footer, article, section, aside { display: block; }

body {
	background: url(../images/bg.png) repeat-x;
	font: 14px/24px "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #404040;
	}
	
a {
	outline: none;
	}
	a img {
	border: none;
	}

#container {
	width: 940px;
	margin: 0 auto;
	}
	
header {
	position: relative;
	height: 120px;
	margin-bottom: 10px;
	}
	header h1 {
	position: absolute;
	top: 10px;
	left: 0;
	width: 280px;
	height: 70px;
	background: url(../images/logo.png) no-repeat;
	text-indent: -9000px;
	-webkit-transition: .5s ease-in;
	}
	header h1:hover {
	left: -10px;
	}
	header ul {
	position: absolute;
	right: 0;
	top: 50px;
	list-style: none;
	}
	header ul li {
	float: left;
	margin-left: 32px;
	}
	header ul li a {
	display: block;
	height: 30px;
	background: url(../images/nav.png) no-repeat top left;
	text-indent: -9000px;
	-webkit-transition: .25s;
	}
	header ul li a#nav_blog {
	width: 45px;
	}
	header ul li a#nav_blog:hover {
	background-position: 0 -30px;
	}
	header ul li a#nav_blog.selected {
	background-position: 0 -60px;
	}
	header ul li a#nav_about {
	width: 60px;
	background-position: -77px 0;
	}
	header ul li a#nav_about:hover {
	background-position: -77px -30px;
	}
	header ul li a#nav_about.selected {
	background-position: -77px -60px;
	}
	header ul li a#nav_contact {
	width: 83px;
	background-position: -167px 0;
	}
	header ul li a#nav_contact:hover {
	background-position: -167px -30px;
	}
	header ul li a#nav_contact.selected {
	background-position: -167px -60px;
	}
	
#content {
	width: 670px;
	margin-right: 10px;
	}
	#content a {
	border-bottom: 2px solid #fff;
	font-weight: bold;
	color: #8cbb62;
	text-decoration: none;
	-webkit-transition: .25s;
	}
	#content a:hover {
	border-bottom: 2px solid #8cbb62;
	}
#content h2, #content h3, #content h4, #content strong {
	margin-bottom: 10px;
	color: #191919;
	}
	#content h2 {
	font-size: 28px;
	line-height: 30px;
	}
	#content h2 a, #content h3 a, #content h4 a {
	color: inherit;
	}
	#content h2 a:hover, #content h3 a:hover, #content h4 a:hover {
	color: inherit;
	border-color: #191919;
	}
#content p {
	margin-bottom: 10px;
	}
#content article footer {
	padding: 0;
	}
#content pre code {
	display: block;
	width: 670px;
	margin-bottom: 10px;
	overflow: auto;
	}
	
footer {
	padding-top: 10px;
	color: #7f7f7f;
	}
	footer span.logo {
	display: block;
	width: 120px;
	height: 30px;
	margin: 0 auto;
	background: url(../images/footer_logo.png) no-repeat;
	text-indent: -9000px;
	}
