body {
	padding-bottom: 50px; /* Let the footer breathe. */
	font: 12px Arial, sans-serif;
	color: #333;
	background: #666;
}
#wrapper {
	width: 760px;
	margin: 19px auto 0;
	padding-top: 33px;
	background: #fff url(../images/BG_wrapper_top.gif) no-repeat 0 0;
}
a {
	color: #8d8a00;
}

#header {
}
	#header #logo {
		/*display: block;*/
		margin: 0 0 10px 40px;
	}
	#header img.placeholder { display: block; }
	#main_nav {
	position: absolute;
	float: right;
	margin-right: 0px;
	display: inline;
	margin-top: 15px;
	margin-left: 60px;
	}
	#main_nav li,
	#main_nav li a {
		float: left;
	}
	#main_nav li {
		margin: 0 10px;
	}
	#main_nav li a {
		color: #f47320;
	}
	#main_nav li.active a,
	#main_nav li.active a:hover {
		color: #666;
		text-decoration: none;
	}
	#main_nav li a:hover {
		text-decoration: underline;
	}
	#banner {
		height: 125px;
	}
		#banner #blurb {
			width: 225px;
			height: 125px;
			margin-left: 535px;
			background: #f37320;
		}
		#banner #blurb p {
			padding: 15px 25px 25px 20px;
			line-height: 1.5em;
			font-size: 15px;
			color: #fff;
		}
		#banner strong {
			font-weight: normal;
			color: #ffff99;
		}
		body.leaf1 #banner {
			background: url(../images/BG_banner_leaf1.jpg) no-repeat 0 0;
		}
		body.leaf2 #banner {
			background: url(../images/BG_banner_leaf2.jpg) no-repeat 0 0;
		}
		body.leaf3 #banner {
			background: url(../images/BG_banner_leaf3.jpg) no-repeat 0 0;
		}
		body.leaf4 #banner {
			background: url(../images/BG_banner_leaf4.jpg) no-repeat 0 0;		
		}

#main {
	padding: 20px 0 40px 84px;
	background: #eee url(../images/BG_wrapper_bottom.gif) no-repeat 100% 100%;
}
	#primary {
		float: left;
		width: 430px;
	}
		#primary h2 {
			font-size: 13px;
			margin: 5px 0;
		}
		#blog #primary h2 {
			font-size: 15px;
			text-align: center;
		}
		#primary h3 {
			font-size: 14px;
		}
		#primary a { text-decoration: underline; }
		#primary a:hover { text-decoration: none; }
		#primary p,
		#primary ul,
		#primary ol { margin: 10px 0; }
		#primary li { margin-left: 20px; }
		#primary ul li {
	list-style: disc;
	margin-bottom: 1em;
}
		#primary ol li {
	list-style: decimal;
	margin-bottom: 1em;
}
		#primary p {
	line-height: 120%;		
		}
		#primary blockquote {
			padding-left: 15px;
			border-left: 2px solid #ccc;
			color: #666;
		}
		#primary #formula {
			height: 111px;
			width: 435px;
			margin: 25px 0;
			background: url(../images/BG_formula.gif) no-repeat 0 0;
		}
		#primary #formula h2,
		#primary #formula pre { display: none; }
		#primary dl.floatclear {
/*			position: relative;*/
			padding: 20px 0;
			border-bottom: 2px dotted #fff;
		}
		#primary dt {
			float: left;
/*			margin-top: 20px;*/
			width: 130px;
			font-weight: bold;
		}
		#primary dd {
			float: right;
/*			margin-top: 20px;*/
/*			padding: 0 0 20px 150px;*/
			width: 280px;
		}
	#secondary {
		float: right;
		margin-right: 28px;
		display: inline;
		width: 177px;
	}
		#secondary h2 {
			font-size: 14px;
			margin: 25px 0 8px;
		}
		#secondary h2.first { margin-top: 5px; }
		#secondary li {
			padding: 10px 0;
			border-bottom: 1px dotted #9b9b9b;
		}
		#secondary li.first {
			border-top: 1px dotted #9b9b9b;
		}
		#secondary li a {
			padding-left: 15px;
			background: url(../images/BLT_arrow_green.gif) no-repeat 0 50%;
		}
		#secondary li a:hover {
			color: #f37521;
			text-decoration: underline;
			background: url(../images/BLT_arrow_orange.gif) no-repeat 0 50%;
		}
		#secondary div {
			margin: 0 0 15px	;
		}
		#secondary address { color: #666; }
		#secondary address a { text-decoration: underline; }
		#secondary address a:hover { text-decoration: none; }
		#contact #secondary h2 {
			padding-bottom: 8px;
			border-bottom: 1px dotted #9b9b9b;
		}

/* --- Blog and Form Styles --- */
#primary .blog_nav li {
	list-style: none;
	margin: 0;
	color: #8d8a00;
}
#primary .blog_nav a {
	text-decoration: none;
}
#primary .blog_nav a:hover { text-decoration: underline; }
#primary .blog_nav .prev {
	float: left;
}
#primary .blog_nav .next {
	float: right;
}
.post {
	border-bottom: 1px dotted #9b9b9b;
}
	.post h3 {
		margin: 10px 0 0;
		color: #8d8a00;
	}
	.post .meta {
		margin: 3px 0;
		color: #666;
	}
	.single .meta {
		border-top: 1px dotted #666;
		text-align: center;
		color: #333;
	}
#comments {
	margin-top: 20px;
}
	#comments h4 {
		margin: 5px 0;
	}
form div {
	margin: 5px 0;
}
#primary textarea {
	width: 430px;
}
form div.button {
	text-align: right;
}
#feed a {
	display: block;
	margin-top: 18px;
	padding-left: 32px;
	background: url(../images/BTN_rss.gif) no-repeat 0 3px;
}
#feed a:hover {
	text-decoration: underline;
}
#contact label {
	padding: 3px 0;
	font-weight: bold;
	font-size: 13px;
}
/* --- End of Blog Styles --- */

#footer {
	font-size: 11px;
	text-align: center;
	color: #fff;
}
	#footer a {
		color: #fff;
		text-decoration: underline;
	}
	#footer ul {
		list-style: disc;
		margin: 10px 0 0 50px;
	}
	#footer li {
		float: left;
		list-style: disc;
		margin-left: 20px;
	}
	#footer li.first {
		list-style: none;
	}

/* --- GENERAL THINGS --- */
.center { text-align: center; }
.right { float: right; }
.left { float: left; }
.clear { clear: both; }
.floatclear:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* BEGIN OF To get image alignment to work */
p img {
padding: 0;
max-width: 100%;
}

img.centered {
display: block;
margin-left: auto;
margin-right: auto;
}

img.alignright {
padding: 4px;
margin: 0 0 2px 7px;
display: inline;
}

img.alignleft {
padding: 4px;
margin: 0 7px 2px 0;
display: inline;
}

.alignright {
float: right;
}

.alignleft {
float: left
}

/* END OF To get image alignment to work */

/* Added for fancy Captions */
.aligncenter, div.aligncenter { display: block; margin-left: auto; margin-right: auto; }

.wp-caption { border: 1px solid #ddd; text-align: center; background-color: #f3f3f3; padding-top: 4px; margin: 10px; -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }

.wp-caption img { margin: 0; padding: 0; border: 0 none; }

.wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; padding: 0 4px 5px; margin: 0; }

/* End captions */