/*
Adapted from the Moonlight theme from http://www.blazenewmedia.com/projects/moonlight
*/

@media screen
{

html {
	font: 80% "Helvetica Neue", Arial, sans-serif;
	line-height: 180%;
}

a {
	color: #b5d6df;
	text-decoration: none;
}

#header {
	text-align: center;
}

body {
	margin: 0;
	padding: 0;
	font-size: 1.1em;
	background: #414a51;
	color: #fff;
	border-top: 8px solid #4a545b;
}


a:hover {
	color: #ddffff;
	text-decoration: underline;
}

/********
 * Header
 */

#header #rays {
	background: transparent url(images/page_back.gif) bottom left repeat-x;
}

#header h1 {
	font: 30pt "Helvetica Neue", Arial, sans-serif;
	margin: 0;
	padding: 36px 0 2px 0;
	font-weight: normal;
	background: transparent url(images/rays.gif) bottom center no-repeat;
}

#header h1 a {
	text-decoration: none;
	color: #b5d6df;
}

#header h1 a:hover {
	color: #ddffff;
	text-decoration: underline;
}

#header p {
	font: 10pt "Helvetica Neue", Arial, sans-serif;
	padding: 7px 0;
	margin: 0;
	background: #3d444b;
}

/********
 * Post Content
 */

#content_box {
	width: 800px;
	margin: 35px auto 50px auto;
}

.posts {
	/*margin-right: 260px;*/
	width: 540px;
	float: left;
}

.posts h2, h3 {
	margin: 0;
	font: 2em "Helvetica Neue", Arial, sans-serif;
}
	.posts h2 a {
		text-decoration: none;
		color: #fff;
	}
		.posts h2 a:hover {
			text-decoration: underline;
		}

.posts h4.meta {
	margin: 0;
	font-size: 1em;
	font-weight: normal;
	color: #b5d6df;	
}

h3 {
	margin-bottom: 20px;
	font-size: 1.4em;
}
	.entry h3, h3.archive_head {
		border-bottom: 1px solid #6d767d;
	}

pre, code {
	padding: 8px;
	margin: 5px 0;
	display: block;
	font: 1em "Monaco", "Courier", sans-serif;
	line-height: 100%;
	background: #3d444b;
}

#comment_list code {
	font-size: 1.1em;
}

blockquote {
	margin: 0 0 0 15px;
	padding: 0 0 0 30px;
	font: 1.2em "Helvetica Neue", Arial, sans-serif;
	font-style: italic;
	line-height: 130%;
	color: #f0f0f0;
	background: url(images/quotes.gif) 0 3px no-repeat;
}

.tagged {
	position: relative;
	width: 99%;
	margin-bottom: 50px;
	border-top: 1px solid #6d767d;
	border-bottom: 1px solid #6d767d;
}
	.tagged span {
		position: absolute;
		right: 0;
	}

.tagged, .navigation {
	padding: 3px 0;
}

.navigation {
	position: relative;
	width: 99%;
	margin: 20px 0;
}
	.navigation span.next {
		position: absolute;
		right: 0;
	}
	
	.single .navigation {
		border-top: 1px solid #6d767d;
		border-bottom: 1px solid #6d767d;
	}

img[align="left"], img[alt="an image"] {
	margin: 0 10px 10px 0;
}

img[align="right"] {
	margin: 0 0 10px 10px;
}

img[alt="an image"] {
	float: left;
}

/********
 * Sidebar
 */

#sidebar {
	font: 90% "Helvetica Neue", Arial, sans-serif;
	line-height: 150%;
	width: 220px;
	margin: -28px 0 50px 0;
	float: right;
	display: inline;
}

#sidebar h2 {
	margin-top: 30px;
	font: 1.4em "Helvetica Neue", Arial, sans-serif;
}

#sidebar input {
	border-width: 2px;
	border-color: black;
}

#sidebar ul {
	margin: 0 0 0 15px;
	padding: 0;
	list-style-type: none;
}
	#sidebar ul li ul, #sidebar ul div ul {
		margin: 0 0 0 25px;
		list-style-image: url(images/icon_datearr.gif);
	}

.flickr img, #flickrrss img {
	margin: 0 5px 0 0;
	border: 2px solid #3a4147;
}

/********
 * Comments
 */

#comments {
	margin-top: -25px;
}

	.page #comments {
		margin-top: 30px;
	}

h3.comments_header {
	font: 1.6em "Helvetica Neue", Arial, sans-serif;
}

#comment_list {
	margin: 0 0 30px 0;
	padding: 0;
	list-style-type: none;
}

#comment_list li {
	margin: 0;
	width: 95%;
	padding: 7px 10px 7px 10px;
}
	#comment_list > li {
		width: auto;
	}

	#comment_list li.alt {
		background: transparent;
		border: none;
	}

#comment_list li p.comment_meta {
	position: relative;
	margin: 0;
}
	p.comment_meta span {
		position: absolute;
		right: 12px;
	}
		p.comment_meta > span {
			right: 0;
		}
	
		#comment_list li p.comment_meta span a {
			text-decoration: none;
			color: #fff;
		}

form#comment_form input {
	width: 45%;
	border-color: black;
	border-width: 2px;
}

form#comment_form textarea {
	width: 98%;
	height: 150px;
	font: inherit;
	border-width: 2px;
	border-color: black;
}
	form#comment_form > textarea {
		width: 100%;
	}

.form_submit {
	width: auto !important;
}

form#comment_form label {
	display: block;
}

/********
 * Footer
 */

#footer {
	padding-bottom: 20px;
	text-align: center;
}

#footer p.copy {
	font: 10pt "Helvetica Neue", Arial, sans-serif;
	padding: 7px 0;
	margin: 0;
	background: #3d444b;
}

hr {
	clear: both;
	visibility: hidden;
}

img {
	border: none;
}

}

@media print 
{

	html {
		font: 80% Times New Roman, Times, serif;
		line-height: 180%;
	}

	a {
		color: black;
		text-decoration: none;
	}

	#header {
		font: 1em Times New Roman, Times, serif;
		font-weight: bold;
		text-align: center;
	}

	#header p {
		display: none;
	}


	#sidebar, .noprint {
		display: none;
	}

	a:after {
		content: " (" attr(href) ") ";
	}
}

