/*  
Theme Name: The Grego
Theme URI: http://www.gregkepler.com
Description: This is my theme for thegrego.com
Version: 1.0
Author: Greg Kepler
Author URI: http://www.gregkepler.com/

*/


body, h1, h2, h3, h4, h5, h6, blockquote, p, form {
	margin: 0;
	padding: 0;
}

html, body {
	height: 100%;
}

body{
	font-family:Arial, Helvetica, Sans-serif;
	text-align: center;
	vertical-align: top;
	background: #f5eedb;
	color: #571c00;
	background-image: url("images/background_bg_content.jpg");
	background-position: 0 139px;
	background-repeat: repeat-x;
}

#pageWrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin-bottom: -30px;
}

*html #pageWrapper {
	height: 100%;
}

#header {
	background-image: url("images/background_bg.jpg");
	background-repeat: repeat-x;
	background-position: center;
	background-color: #321902;
	margin: 0 auto 0 auto;
	width: 100%;
	height: 139px;
	border-style: solid;
	border-color: #1a0d00;
	border-top-width: 6px;
	border-bottom-width: 3px;
	border-left: none;
	border-right: none;
}

#header-content {
	margin: 40px auto 0 auto;
	width: 960px;
	text-align: left;
}

#header p {
	font-family: Georgia, 'Times New Roman', serif;
	font-style: italic;
	font-size: .75em;
	color: #5d9dae;
	margin-top: 8px;
	margin-left: 72px;
}

#header img {
	margin-left: 0px;
	border: 0;
}


#pages {
	margin-left: 716px;
	margin-top: -40px;
	height: 44px;
}

*html #pages {
	margin-left: 686px;
}

#pages ul {
	list-style-type: none;
	padding: 0;
	border: 0;
	width: 244px;
	overflow:hidden;
	/*background:transparent url(http://www.gregkepler.com/thegrego/images/navigation_sprite.gif) no-repeat scroll left top;*/
}

#pages ul li {
	float: left;
	height: 44px;
}

#pages li a {
	background:transparent url(images/navigation_sprite.gif) no-repeat scroll left top;
	display: block;
	height: 44px;
}


#pages li.split {
	background:transparent url(images/navigation_sprite.gif) no-repeat scroll left top;
	background-position: -36px 0;
	width: 28px;
	
}


#pages li.blog {
	width: 35px;
}
#pages li.blog a {
	background-position: 0 0;
}
#pages li.blog a:hover {
	background-position: 0 -44px;
}

#pages li.about {
	width: 36px;
}
#pages li.about a {
	background-position: -63px 0;
}
#pages li.about a:hover {
	background-position: -63px -44px;
}

#pages li.contact {
	width: 53px;
}
#pages li.contact a {
	background-position: -128px 0;
}
#pages li.contact a:hover {
	background-position: -128px -44px;
}

#pages li.work {
	width: 36px;
}
#pages li.work a {
	background-position: -207px 0;
}
#pages li.work a:hover {
	background-position: -207px -44px;
}


#container {
	float: left;
	width: 680px;
	font-size: .8em;
}



.date {
	width: 50px;
	height: 50px;
	background-color: #8b2a08;
	text-align: center;
	float: left;
	margin: 0 10px 10px 0;
}

.top {
	width: 100%;
	height: 15px;
	font-size: .7em;
	padding-top: 2px;
	text-transform: uppercase;
}

.bottom {
	font-family: Helvetica_CnLt;
	width: 45px;
	margin-left: 4px;
	height: 33px;
	color: #FFFFFF;
	font-size: 1.9em;
}


#wrapper {
	margin:0 auto 0 auto;
	padding-top: 30px;
	width: 960px;
	text-align: left;
}

#wrapper p {
	font-family: Arial, Helvetica, Sans-serif;
	line-height: 1.5em;
	margin-bottom: 10px;
}

#wrapper a:link{
	color: #3c6b78;
}

#wrapper a:visited{
	color: #3c6b78;
}

#wrapper a:hover{
	color: #571c00;
}


#wrapper .post {
	margin-bottom: 40px;
}

#wrapper .post h2 {
	font-family: Arial, Helvetica, Sans-serif;
	color: #571c00;
	float: none;
	line-height: 30px;
}

#wrapper .post h2 a {
	color: #571c00;
	font-size: 20px;
	text-decoration: none;
}

 #wrapper.post h2 a:link {
	color: #571c00;
	text-decoration: none;
}

#wrapper .post h2 a:hover {
	color: #571c00;
	text-decoration: underline;
}


code {
	font-size: 1.1em;
}



#container {
	display: inline;
}
#container p.categories {
	color: #3c6b78;
	font-family: Georgia, 'Times New Roman', serif;
	font-style: italic;
	line-height: 12px;
}
#container p.categories a:link{
	font-style: normal;
}
#container p.categories a:hover{
	font-style: normal;
}

.entry {
	margin-top: 30px;
	line-height: 18px;
	clear: left;
}

p.postmetadata{
	border-bottom: 1px solid #bf896c;
	padding-bottom: 40px;
	margin: 10px 0 0 0;
}

.navigation {
	padding: 0 0 30px 0;
	font-weight: bold;
}



.sidebar {
	float: left;
	width: 240px;
	margin: 0 0 0 40px;
	display: inline;
	font-size: .9em;
}

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

.sidebar .nav_li li{
	background: url('images/brown_arrow.gif') no-repeat;
	background-position: 1px 8px;
	margin: 0 0 0 0;
	padding: 4px 0 4px 12px;
	border-top: 1px #cdae92 solid;
	font-size: .8em;
}



.sidebar .nav_li li:first-child{
	border-top: none;
}

*html .sidebar .nav_li li{
	border-top: expression(this.previousSibling==null?'0':(this.parentNode.id=='id')?'1':'-');
	
}


.sidebar a {
	font-family: Georgia, 'Times New Roman', serif;
	font-style: italic;
}

.sidebar a:link {
	text-decoration: none;
}

.sidebar a:visited {
	text-decoration: none;
}

.sidebar a:hover {
	
}

.sidebar .sidebarContent {
	background: #e2caa1;
	padding: 10px 10px 10px 10px;
	margin: 10px 0 10px 0;
}

*html .sidebar .sidebarContent {
	background: #e2caa1;
	padding: 10px 10px 10px 10px;
	margin: -5px 0 10px 0;
}

.sidebar h2 {
	width: 240px;
	height: 13px;
	display: block;
	padding-top: 20px;
	margin: 0;
	overflow: visible;
}


h2.titleCategory {
	background: transparent url("images/title_thecategories.gif") no-repeat scroll left 20px;
}

h2.titleArchives {
	background: transparent url("images/title_thearchives.gif") no-repeat scroll left 20px;
}

h2.titleLinks {
	background: transparent url("images/title_thelinks.gif") no-repeat scroll left 20px;
}



#comment{
	width:100%;
}


#footer {
	float: left;
	padding: 8px 0 0 0;
	margin: 0 auto 0 auto;
	background-color: #321902;
	width: 100%;
	position: relative;
	height: 22px;
}

#footer p {
	margin: 0 auto 0 auto;
	width:960px;
	text-align: left;
	font-size: .7em;
	color: #5d9dae;
}

#footer a:link {
	color: #5d9dae;
	text-decoration: underline;
}

#footer a:visited {
	color: #5d9dae;
	text-decoration: underline;
}

#footer a:hover {
	color: #efe4cb;
	text-decoration: underline;
}

.push {
	height: 30px;
}