/**************** scaffolded styles ************/
.fieldWithErrors { padding: 2px; background-color: red; display: table; }
#errorExplanation { width: 400px; border: 2px solid red; padding: 7px; 
	padding-bottom: 12px; margin-bottom: 20px; background-color: #f0f0f0; }
#errorExplanation h2 { text-align: left; font-weight: bold; padding: 5px 5px 5px 15px;
	font-size: 12px; margin: -7px; background-color: #c00; color: #fff; }
#errorExplanation p { color: #333; margin-bottom: 0; padding: 5px; }
#errorExplanation ul li { font-size: 12px; list-style: square; }
div.uploadStatus { margin: 5px; }
div.progressBar {margin: 5px; }
div.progressBar div.border { background-color: #fff; border: 1px solid #999; width: 100%;}
div.progressBar div.background { background-color: #333; height: 18px; width: 0%; }


/************ THEME ************/
/* green: #88a649
  	orange: #e2924e
	slightly darker orange: #cc7f3e
  	bluegreen: #383f45
	blue: #447799
*/

body	{
	margin-top: 0;
	color: #333;
	background: #383f45 url(images/body_bg.png) top center no-repeat;
}

a	{ color: #76923a; font-weight: bold; text-decoration: none; }
a:hover { color: #d98841; text-decoration: underline; }
em { background-color: transparent; }

h1#logo a { behavior: url(/stylesheets/iepngfix.htc) }


#notice	{ color: green; width: 100%; background-color: #efefef; text-align: center; }

/*************** HEADER ************/
#header { margin-top: 85px;	position: relative; }
h1#logo a {
	width: 305px;
	height: 68px;
	text-indent: -9999px;
	display: block;
	background: url(images/banner.png) no-repeat;
	margin-left: 20px;
}

/*************** CONTENT ***********/

#mainbody {
	background: transparent url(images/mainbody_bg_top.png) top left no-repeat;
	margin-top: -10px;
	padding: 30px 0 0 0;
	overflow: hidden;
	width: 950px;
}

#content {
	background: transparent url(images/content_bg.png) top left repeat-y;
	float: left;
	padding: 0 0 0 20px;
 	margin-bottom: -9999px; padding-bottom: 9999px;
	width: 509px;
}

#dashboard {
	background: transparent url(images/dashboard_bg.png) top left repeat-y;
	float: left;
	padding: 0 23px 0 0;
 	margin-bottom: -9999px; padding-bottom: 9999px;
	width: 398px;
}

/********** BLOG **********/
.post, .quote {	padding: 1em 2em; }
.post .footer { border-top: 1px solid #ccc; }
.post .footer .comments { float: right; }
.post .footer .tags { width: 400px; }
.post .byline {font-style: italic; font-size: .9em;}
.post h2, .post h4, .post h3	{ clear: left; margin-bottom: 3px; }
.post h3 a	{ font-size: 1.4em; color: #479; }
.post h3 a:hover { color: #cc7f3e; }
.post .postcontent img	{ float: none; padding:5px; background-color: white; border: 1px solid #ccc; }
.post .postcontent, .commentcontent { overflow:hidden; }
.post .avatar, .comment .avatar {
	float: right;
	width: 70px;
	height: 38px;
	padding: 3px;
	margin: 0;
	background-color: white;
	border: 1px solid #ccc;
}

.pagination { padding: 1em 2em; background-color: #efefef; font-size: 1.2em; font-weight: bold;}

/*********** COMMENTS ***********/
#comments h3 { padding: 1em 1.4em 0 1.4em;}
.comment { padding-bottom: 1em;}
.comment .avatar { width: 38px;	height: 38px; margin: -1px 1em 1em 1em; }
.comment .header { border-top: 1px solid #ccc; background-color: #dfdfdf; padding: .1em 2em; }
.comment .commentcontent { padding: 0 2em; }
.comment .header .commentquote	{ float: right; }
.comment .header .commentauthor	{ font-weight: bold; }
.comment .admin	{ background-color: #eec; margin-bottom: 5px; padding: 0 2em;}
.comment .admin .editdelete { padding: 3px; }
.comment.even { background-color: transparent;}
.comment.odd { background-color: transparent;}
.comment.owned { background-color: #fcfcdc; }

#postacomment {	padding: 2em; }
#postacomment textarea	{ height: 100px; width: 96%; }
#comment_formatting, #post_formatting { clear: both; }
#comment_formatting table, #post_formatting table {	width: 100%; border-left: 1px solid #ccc; background-color: #fbfbfb; }
#comment_formatting table th, #post_formatting table th { background-color: #69b; color: white; padding: .5em; }	
#comment_formatting table td, #post_formatting table td {	border-right: 1px solid #ccc; padding: .5em; }

/************* LINKS **************/
.link {
	padding: .5em 2em; 
	background-color: #f2f4f6; 
	border: 1px solid #e2e4e6; 
	border-width: 1px 0 1px 0;
	margin: 1em 0;
}
.link h4 a { color: #479;}
.link h4 a:hover { color: #cc7f3e; }
.link img { display: none;}
.link h4, .link p {display: inline;}
.link p {padding-left: .2em;}
.link .byline { margin-top: .5em;}
.link .footer {border-color: #e2e4e6;}

/*********** FORMS ************/
#new_article, #new_link, #new_post, .edit_article, .edit_link, .edit_post, .body_form,
#all_topics, #authors, #user_show {
	padding: 1em 2em;
}

/************* DATE_POSTS tab thinger **********/
#date_posts {
	background: transparent url(images/date_posts_bg.png) top left no-repeat;
	font-family: Georgia, "Times New Roman", Times, serif;
	color: white;
	width: 225px;
	height: 228px;
	padding: 0 22px 0 19px;
	position: absolute;
	top: -55px;
	right: 30px;
	z-index: 30;
	line-height: 1.6em;
	padding-top: 20px;
	text-align: center;
}
#date_posts hr { width: 60%; margin: 0 auto 1em auto; color: #a5bb77; }
#date_posts #date {
	font-size: 85px;
	text-align: left;
	font-style: italic;
	overflow: visible;
	padding-top: 12px;
	height: 70px;
	width: 110px;
	float: right;
}
#date_posts ul#dateinfo {
	float: left;
	text-align: right;
	width: 110px;
	list-style: none;
	padding-right: 5px;
	padding: 0;
	margin: 0;
	margin-bottom: 2em;
}
#date_posts ul#dateinfo li#weekday { font-size: 12px; font-style: italic; }
#date_posts ul#dateinfo li#month { font-size: 16px; text-transform: uppercase; }
#date_posts ul#dateinfo li#year {
	font-size: 14px;
	line-height: 1em;
	font-style: italic;
}
#date_posts #howmany {
	font-size: 24px;
	font-style: italic;
	padding: 0 1.2em;
	line-height: 1.4em;
}

/************** DASHBOARD **********/
#dashboard h4 {
	border-bottom:1px solid #bbb;
	clear:both;
	color: #383f45;
	font-family:Georgia,Palatino,Times New Roman,Times,serif;
	font-size:2em;
	font-style:italic;
	margin: 2em 0 8px -0.3em;
	padding: 0 0 2px 0.3em;
}
#dashboard #about { padding: 0 2em 0; }
#dashboard #activity_pane {padding-top: 15px;}
table#activity {
	font-size:0.9em;
	margin-bottom:0;
	width:100%;
	margin-top: -8px;
}
#activity_pane h4, #post_formatting h4 { margin-left: 20px; border-bottom-width: 0;}
table#activity th {	background-color:#383f45; border-bottom:0 none;	color:white; }
table#activity td { border-width:0; }
table#activity tr:hover { background-color:white; }
table#activity .odd { background-color:#d3dac5;}
table#activity .even { background-color:transparent; }
table#activity tr.even td { background-color: transparent;}
table#activity .where {padding-left: 2.3em;}
table#activity .when {padding-right: 2.3em;}

#topics { padding: 0 2em; }
#topics ul {
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin:0.2em 0 2em;
}
#topics li { margin-right:0.6em; clear: left; }
#topics span { display:block; float:left; width:300px; }
#ftpinfo, #wisdom, #meta { clear:left; padding: 0 2em; }
#meta dd { margin: .3em 0 2em 0;}
#googleads {padding: 3em 2em 0 2em; text-align: center; }
#underpost_ad { text-align: center; margin: 1em 0;}
#post_formatting { padding-top: 3em;}

#search_form { padding: 0 2em; }
#search_form form { margin: 0; padding: 0; }
#search_form input#search, #search_form input#google_search {
	height: 1.2em;
	width: 170px;
	border-width: 0;
	padding: 1px 5px 1px 5px;
	margin: 0 1em 0 0;
	border: 1px solid #c97841;
	font-size: 1.2em;
	font-weight: bold;
	margin-top: 7px;
	color: #666;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
#search_form input.submit {	 }
#search_form #db_search {margin-top: 1.4em;}

#cse-search-results { padding: 1em .4em;}
/*************** USERNAV ***********/
#usernav {
	background: transparent url(images/topnav_bg.png) top left repeat-x;
	width: 100%;
	color: white;
	font-weight: bold;
	height: 80px;
	opacity: 0.9;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 50;
}
#usernav h6 {
	float: left;
	margin: 0;
	padding: 0;
	color: #ccc;
	padding-top: .6em;
}
#usernav ul {
	float: right;
	padding: 0;
	margin: 0 2em 0 0;
	list-style-type: none;
	padding-top: .6em;
}
#usernav li { display: inline; margin-left: 2em; }
#usernav a { color: white; font-weight: bold; font-size: 1.2em; }
#usernav a:hover { color: #aaa; background-color: transparent; }

/************* LOGIN SLIDER ************/
#login_slider {
	position: absolute;
	top: 50%;
	left: 50%;
	background-color: #fff;
	border: 1px solid #ccc;
	z-index: 50;
	width: 386px;
	height: 237px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	margin-left: -193px;
	margin-top: -115px;
}
#login_slider #inner_slider { padding: 2em;}

/*********** BIO PAGE ****************/
.smallpost { padding: 1em 2em; }
.smallpost h4 { clear: left; margin-bottom: 3px; }
.smallpost .footer { border-top: 1px solid #ccc; }
.smallpost .footer .comments { float: right; }
.smallpost .footer .tags { width: 400px; }

/********** TAGS PAGE ****************/
#all_topics ul {
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin:0.2em 0 2em;
}
#all_topics li { margin-right:0.6em; clear: left; }
#all_topics span { display:block; float:left; width:300px;}