body {
	background-color: #BBB;
	margin: 0;
}

#container {
	/* background: #f6f6ef;*/
	/*background: #91A17D;*/
	background: #FAFBFC;
	position: relative;
	margin: 0 auto;
	padding: 0;
	width: 940px;
	padding-bottom: 30px;
}

header {
	padding: 0;
}

header h1 {
	font-size: 30px;
	font-weight: bold;
	line-height: 36px;
	margin: 0 0 10px 15px;
	padding-top: 15px;
	font-family: 'Raleway', "Helvetica Neue", Helvetica, Arial, "Nimbus Sans L", sans-serif;
}

header img {
	position: relative;
	border-top: 5px solid #000;
	border-bottom: 5px solid #000;
}

section {
	display: block;
	vertical-align: baseline
}

section#pagetitle nav {
	float: right;
	font-family: 'Raleway',sans-serif;
	padding-right: 20px;
	margin-bottom: 5px;
}

section.content {
	/*position: relative;
	float: left;
	margin-top: 1em;
	margin-bottom: 2em;
	width: 74%;
	min-height: 100px;
	background-color: #FAFBFC; */
	padding: 0 20px;
}

section.side_nav {
	/*position: relative;
	float: right;*/
	margin-top: 1em;
	margin-bottom: 1em;
	width: 26%;
	min-height: 100px;
	background-color: #FAFBFC;
}

section.postdate {
	font-family: 'Raleway', "Helvetica Neue", Helvetica, Arial, "Nimbus Sans L", sans-serif;
	font-size: 17px;
	margin-bottom: 20px;
	padding-left: 40px;
	color: #9DA3B0;
}

#shortdesc {
	/*clear: both;*/
	float: left;
	text-align: left;
	font-family: 'Raleway', "Helvetica Neue", Helvetica, Arial, "Nimbus Sans L", sans-serif;
	margin-bottom: 20px;
	padding-left: 20px;
	margin-top: 0;
	font-size: 18px;
}

.article {
	/*clear: right;*/
	margin-top: 20px;
	/*border: 1px solid gray;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
	-webkit-box-shadow: 4px 4px 5px #282b1f;
	-moz-box-shadow: 4px 4px 5px #282b1f;
	box-shadow: 4px 4px 5px #282b1f;*/
	background-color: #FAFBFC;
	border-bottom: 1px solid #CBDBD8;
	padding-bottom: 20px;

}

.article .articleheader {
	border-bottom: 1px solid #CBDBD8;
}

.article .articleheader h1 {
	font-family: 'Raleway', "Helvetica Neue", Helvetica, Arial, "Nimbus Sans L", sans-serif;
	font-weight: bold;
	padding-top: 10px;
	padding-left: 20px;
	font-size: 30px;
	margin: 0;
}

.article p {
	font-family: 'Raleway',sans-serif;
	font-size: 18px;
	line-height: 27px;
	padding: 10px 20px;
}

.article p .subject_title {
	font-weight: bold;
	font-size: 19px;
}

.article  p img {
	display: block;
	margin: 0 auto;
}

.article p.codesnippet {
	font-family: monospace;
	font-size: 16px;
	line-height: 30px;
	padding-left: 40px;
	background-color: #eee;
}

.article pre {
	font-family: monospace;
	font-size: 16px;
	padding: 10px 40px;
	background-color: #eee;
}

.article ul {
	margin-left: 30px;
}

.article ul li {
	font-family: 'Raleway',sans-serif;
	font-size: 18px;
}

a:link {
	font-weight: bold;
	text-decoration: underline;
	color: #000;
}

nav a:link {
	text-decoration: none;
}

nav a:hover {
	text-decoration: underline;
}

a:visited {
	color: #000;
}

a:active {
	color: #000;
}

a:hover {
	text-decoration: underline;
}

footer {
	clear: both;
	width: 100%;
	font-size: 20px;
	line-height: 20px;
	text-align: center;
	padding: 0;
	margin-top: 20px;

}

footer a:link {
	font-size: xx-large;
	line-height: 30px;
	color: #9DA3B0;
}

footer a:visited {
	color: #9DA3B0;
}

footer a:active {
	color: #9DA3B0;
}

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


@media screen and (max-width: 940px) {
	#container {
		min-width: 300px;
		width: 100%;
	}

	header img {
		min-width: 300px;
		width: 100%;
		height: auto;
	}

	section.content ul {
		margin-top: 20px;
	}

	section.content li {
		margin-bottom: 25px;
	}

	a:link {
		font-size: 20px;
		line-height: 20px;
	}
	
	header h1 {
		float: none;
		width: 100%;
		text-align: center;
		padding-left: 0;
		margin-left: 0;
		font-size: 20px;
	}
	
	#shortdesc {
		float: none;
		width: 100%;
		text-align: center;
		padding-left: 0;
		margin-left: 0;
	}

	section#pagetitle nav {
		float: none;
		width: 100%;
		text-align: center;
		margin-left: 0;
		margin-bottom: 10px;
	}
	
	.article .articleheader h1 {
		float: none;
		width: 100%;
		text-align: center;
		padding-left: 0;
	}
	
	section.postdate {
		float: none;
		width: 100%;
		text-align: center;
		padding-left: 0;
	}
}

