/* Wrapper for the whole page */
#page-wrapper {
	width: 750px;
	margin-right: auto;
	margin-left: auto;
}

body {
	/* background-color: #f0f0f0;*/
	text-align: center;
	width: 750px;
	padding-top: 20px;
	margin-right:auto;
	margin-left:auto;
	border-top: solid #ccc;

	/* Fonts are defined once here and inherited by all */
	font-family: Helvetica, Verdana, sans-serif;
	color: #444;
	text-decoration: none;
	line-height: 1.1em;
	font-size: 1.2em;
}

h1 {
	font-size: 1.0em;
}

h2 {
	font-size: 0.8em;
	margin-top: 1.5em;
}

p {
	color: #000;
	margin-top: 1.5em;
	background-color: transparent;
	font-size: 0.8em;
}

pre.prettyprint {
	font-size: 0.8em;
	margin-top: 1.5em;
	margin-bottom: 1.5em;
	background-color: #f3f3f3;
	border: 1px solid #ddd;
	color: #000;
}

/* Codeblocks generated by Markdown need to be compensated because of the paragraph rule above */
pre {
	margin-top: 1.5em;
	margin-bottom: 1.5em;
	padding: 5px;
	background-color: rgb(51, 51, 51);
	border: 1px solid #000;
	overflow: auto;
	font-size: 0.9em;
	color: #fff;
}

/* Compensate for ul font-size */
li pre {
	font-size: 1.1em;
}

a {
	color: #3875d7;
	text-decoration: none;
}

a:hover {
	background-color: #3875d7;
	color: #f0f0f0;
	text-decoration: none;
}

blockquote {
	font-style: italic;
	margin-left: 1em;
}

/* Embedded videos */
object {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1.5em;
}

/* Defines the white box where content lies */
/* Also defines the hidden div holding the archive content retrieve with jQuery on demand */
#contents, #archive, #about, #topics {
	margin-top: 20px;
	margin-bottom: 10px;
	padding: 10px;
	background-color: #FFF;
	width: 730px;
	text-align: justify;
	float: left;
}

/* Enumerated lists in contents */
#contents ol {
	list-style-type: decimal;
	font-size: 0.8em;
	margin-top: 1.5em;
	color: #000;
	margin-left: 2.5em;
}

/* Unordered lists in contents */
#contents ul {
	list-style-type: square;
	font-size: 0.8em;
	margin-top: 1.5em;
	color: #000;
	margin-left: 2.5em;
}

#contents ul li, #contents ol li {
	padding-left: 1em;
}

#contents img {
	border: 1px solid #ccc;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Separator between posts on the index page */
#separator {
	border-top: solid #ccc;
	margin-top: 2em;
	margin-bottom: 2em;
}

/* Separator between topics on the index page */
#separator-blank {
	margin-top: 2em;
}

/* Text that appears in the site about link */
#about-text {
	font-size: 0.8em;
	float: right;
	margin-left: 10px;
	width: 510px;
	text-align: justify;
	color: #000;
}

/* Text that appears in the site archive and topic links */
#archive ul, #topics ul {
	margin-top: 1.5em;
	font-size: 0.8em;
}

#archive .date, #topics .date {
	color: #aaa;
}

/* Image that appears in the site about link */
#about img {
	float: left;
	border: solid #ccc;
	margin-top: 0.35em;
}

#related, #comments {
	margin-top: 1.5em;
	padding-top: 1.5em;
	border-top: solid #ccc;
}

/* Header */
/* Horizontal navigation list */
#navlist li {
	display: inline;
	list-style-type: none;
	padding-left: 2em;
	font-size: 0.8em;
}

#navlist-wrapper {
	width: 300px;
	margin-left: auto;
	margin-right: 0px;
	padding-right: 10px;
	text-align: right;
}

#site-title {
	width: 450px;
	float: left;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	padding-left: 10px;
	font-weight: bold;
	color: #000;
}

#site-title a {
	color: #000;
}

#site-title a:hover {
	background-color:transparent;
}

/* Footer */
#footer {
	text-align: left;
	padding: 10px;
	font-size: 0.8em;
}

#footer #links {
	float: left;
	margin-bottom: 2em;
}

#footer #rss {
	float: right;
}

#footer #rss a:hover {
	background-color: transparent;
}

/* Used for post dates and title blurb */
.blurb {
	font-size: 0.7em;
	color: #aaa;
}

/* Used for a post's topics */
.post-topics {
	font-size: 0.7em;
	color: #aaa;
	float: right;
}
