/* Site-wide. */
body {
	background-color: #eee;
	max-width: 50em; /*, 100%;*/
	font-family: "Liberation Sans", "Luxi Sans", Helvetica, sans-serif;
	font-size: 12pt;
}

pre, code {
	font-family: "Liberation Mono", "Luxi Mono", monospace;
	font-size: 10pt;
	background-color: #ccc;
}

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

a:visited {
	color: #119;
}

a:visited > h1 {
	color: #339;
}

h1, h2, h3 {
	color: #339;
}

hr {
	color: #339;
}

.top-image {
	float: right;
}

/* The header. */

.header {
	background-color: #9cf;
	padding: 0.15em 0.15em 0.15em 0.15em;
	margin-bottom: 0px;
	color: #339;
	vertical-align: middle;
}

.header, .footer, .navlist {
	-webkit-border-radius: 0.8em;
	-moz-border-radius: 0.8em;
	border-radius: 0.8em;
}

.header h1, h2 { margin: 0.1em; }

.header h1 {
	margin-left: 0.5em;
	font-size: 2.5em;
}

.tagline {
	margin-top: 0.8em;
	margin-bottom: 0px;
	margin-right: 1em;
	float: right;
}

hr.stupid {
	/*
	 * It's my blog, I can editorialize!  Anyway, the name is evocative of
	 * the item's function: it's "that stupid <hr> I had to put in there
	 * to get the spacing right".  Plan B:  http://giveupandusetables.com/
	 */
	clear: both;
	visibility: hidden;
	margin: 0.2em;
}	

/* The navigation bar. */

.navbar {
	margin: 0;
	padding: 0;
	width: 18%;
	float: left;
	text-align: center;
}

.nav-entry {
	-webkit-border-radius: 0.8em;
	-moz-border-radius: 0.8em;
	border-radius: 0.8em;
}


.navlist {
	margin: 0;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	margin-bottom: 0.5em;
	background-color: #9cf;
}

.navlist h2 {
	margin-top: 0.3em;
	margin-bottom: 0.3em;
}

.navbar ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.navbar li {
	background-color: #def;
	margin: 0.25em 0.5em 0.25em 0.5em;
	font-weight: bold;
}

.navbar a {
	color: #9cf;
	display: block;
}

.navbar a:hover {
	color: #339;
}

/* The main content part. */

.content {
	max-width: 77%;
	float: left;
	padding: 0em 1em 0.5em 1em;
}

.content h2 {
	margin-top: 0.25em;
}

/* The footer. */

.footer {
	clear: both;
	background-color: #9cf;
	margin-top: 1em;
	text-align: center;
	color: #339;
}

.footer span {
	margin-top: 0.15em;
	margin-bottom: 0.15em;
	padding: 1em 1em 1em 1em;
}

.footer .contact {
	float: right;
}

.footer .phrases {
	float: left;
}

/* Blog entries. */
.byline {
	font-size: 80%;
	font-style: italic;
}
