/*
Theme Name: Custom Theme for TDDewey
Theme URI: N/A
Description: Collection of Taylor Dewey-related stuff in the header. Redesign v2.2
Version:
Author:
Author URI:
*/

/*CONTENTS OF THIS CSS FILE:

- Defaults
- Header
- Content
- Sidebars
- Footer
- Wordpress Default


/* Defaults */

*, html, body {
	margin:0;
	padding:0;
	}
	
html, body {
	height:100%;
	}
	
body {
	font-family:Helvetica,'Microsoft Sans Serif',Tahoma, sans-serif;
	font-size:12px;
	background-image:url(images/1pxbg.png);
	background-repeat:repeat;
	background-color:#FFFEEE;
	color:#222;
	line-height:1.2em;
	}
	
h1 {
	font-weight:lighter;
	font-size:2em;
	
	}

h2 {
	font-weight:lighter;
	font-size:1.6em;
	padding:.5em 0px .5em 0px;
	color:#3F6AAB;
	background-color:transparent;
	}
	
h3 {	
	font-weight:normal;
	font-size:1.3em;
	color:#3F6AAB;
	background-color:transparent;
	padding:.5em 0px .5em 0px;

	}

h4 {
	font-size:1.0em;
	color:#3F6AAB;
	background-color:transparent;
	padding:.5em 0px .5em 0px;
	font-weight:normal;
	}


a {
	color:#0CA6D2;
	background-color:transparent;
	text-decoration:none;
	}

a:hover {
	text-decoration:underline;
	}

img {
	border:0px;
	}

li {
	margin: .5em 0 .5em 20px;
	}

p {
	line-height:1.5em;
	margin: .5em 0 .5em 0;
	}

blockquote {
	margin:5px 5px;
	padding:5px 5px;
	border:1px solid #ececec;
	}

.center {
	text-align:center;
	}

/* Structure */

/* using this solution http://www.dotnetadvisor.com/Blog/PinnedFooter.aspx
for the pinned footer */

#fullwrap {
	display:table;
	height:100%;
	width:100%;
	background-image:url(images/content_background.png);
	background-repeat:repeat-y;
	background-position:top center;
	color:inherit;
	text-align:center;	/* IE centering hack */
	margin:0 auto;
	margin-bottom: -74px; /* inverse of footer height */
	}

#fullwrap_expanded {
	width:100%;
	display:table;
	height:100%;
	min-height:100%;
	background-image:url(images/content_background_expanded.png);
	background-repeat:repeat-y;
	background-position:top center;
	color:inherit;
	text-align:center;	/* IE centering hack */
	margin:0 auto;
	margin-bottom: -74px; /* inverse of footer height */
	}

#headerwrap {
	width:100%;
	height:279px;
	background-image:url(images/header_background.png);
	background-repeat:repeat-x;
	background-color:transparent;
	color:#fff;
	margin: 0 auto;
	}

#headergraphicwrapper {
	height:279px;
	background-image:url(images/header_templating.png);
	background-repeat:no-repeat;
	background-position:top center;
	background-color:transparent;
	color:inherit;
	margin:0 auto;
	text-align:center;
	}
	
#headerwrap_expanded {
	width:100%;
	height:70px;
	background-image:url(images/header_background_expanded.png);
	background-repeat:repeat-x;
	background-color:transparent;
	color:#fff;
	margin:0 auto;
	}
	
#headergraphicwrapper_expanded {
	height:70px;
	background-image:url(images/header_centered_expanded.png);
	background-repeat:no-repeat;
	background-position:top center;
	background-color:transparent;
	color:inherit;
	margin:0 auto;
	text-align:center;
	}

#contentwrap {
	background-image:url(images/content_with_coffee_stain.png);
	background-repeat:no-repeat;
	background-position:top center;
	color:inherit;
	background-color:transparent;
	min-height:160px;
	padding-bottom:74px; /* same as footer height */
	margin-left: auto;
	margin-right: auto;
	width:955px;
	margin: 0  auto;
	}

#contentwrap_expanded {
	
	color:inherit;
	background-color:transparent;
	min-height:160px;
	padding-bottom:74px; /* same as footer height */
	margin-left: auto;
	margin-right: auto;
	width:955px;
	margin: 0  auto;

	}

#footerwrap {
	background-image:url(images/footer_background.png);
	background-repeat:repeat-x;
	background-position:center bottom;
	color:#fff;
	background-color:#87824A;
	clear:both;
	height:74px; /* same as content margin-bottom */
	text-align:center;
	z-index: 100;
	padding:0px;
	margin:0px;
	}

#sidebarwrap {
	width: 275px;
	float:right;
	text-align:left; /*reset IE centering hack */
	}

.navigation {
	margin:10px;
	text-align:center;
	}

#breadcrumbs {
	font-size:.8em;
	padding-bottom:5px;
	border-bottom:1px dotted #ececec;
	}

/* Header */

#navbar {
	width: 955px;
	margin-left:auto;
	margin-right:auto;
	text-align:center; /* IE centering hack */

	}

#navlinks {
	width: 655px;		/*same as #leftcontent */
	text-align:left;	/*reset IE centering hack */
	}

#navlinks ul {
	display:inline;
	list-style-type:none;
	float:left;
	}

	
.navlinksexpanded ul {
	margin-top:25px;
	}

#navlinks ul li {
	display:inline;
	padding-left:5px;
	padding-right:5px;
	border-left:1px dotted white;
	margin: 0px
	}
	
#navlinks ul li:first-child {
	padding-left:0px;
	margin-left:0px;
	border:0px;
	}
	
#navlinks ul a {
	color:#fff;
	background-color:transparent;
	font-size:1.2em;
	font-weight:bold
	}

#navbarfloatright {
	width:275px;	/*same as sidebar */
	float:right;
	text-align:right; /*shove up against the right hand edge */
	}


/* Content */
#leftcontent {
	text-align:left; /*reset IE centering hack */
	float:left;
	padding:10px;
	width:655px;
	padding-bottom:80px; /* same as footer height + a few */

	}

#leftcontent_expanded {
	text-align:left; /*reset IE centering hack */
	padding:10px;
	width:930px;
	padding-bottom:80px; /* same as footer height + a few */

	}
	
.post {
	padding-top:10px;
	padding-bottom:10px;
	border-bottom: 1px dotted #333;
	clear:left;
	}

.post h2 {
	padding-top:0;
	margin-left:-1px;	/* pixel-perfect headings... no idea why it shifts 1 pixel right */
	margin-top:3px;		/* pixel-perfect headings... no idea why it extends 3 pixels above the div */
	padding-bottom:0px;	/* provided by .meta */
	}

.post h2 a {
	color:#3F6AAB;
	background-color:transparent;
	}

.meta {
	font-size:.8em;
	padding-bottom:5px;
	padding-top:5px;
	}

.thumbprevimg {
	float:left;
	font-size:.5em;
	}

.thumbprevimg img {
	padding:5px;
	border:1px solid #ccc;
	}
	
.tease-text {
	margin-left:120px;
	min-height:110px;
	}

/* Design Preview */

.dpreviewwrap:first-child {
	margin: 0 0 0 0;
	}

.dpreviewwrap {
	margin: 10px 0 0 0;
	min-height:200px;
	}

.dpreviewwrap:last-child {
	padding-bottom:10px;
	border-bottom:1px dotted #333;
	}

.dpreview {
	width: 154px; /*img width plus padding */
	float:left;
	margin:0 20px;
	}
	
.dpreview:first-child {
	margin:0 20px 0 0;
	}
	
.dpreview:last-child {
	margin: 0 0 0 20px
	}

.dpreview h2 {
	font-size:1em;
	font-weight:bold;
	padding-bottom:3px;
	}

.dpreviewmeta {
	font-size:.8em;
	text-align:right;
	}

.dpreviewimg {
	height:150px;
	width:150px;
	padding:2px;
	border:1px solid #ececec;
	}


/* Sidebar */

#sidebar-1 li {
	background-image:url(images/sidebar_widget_bg.png);
	background-repeat:repeat-y;
	background-color:transparent;
	color:inherit;
	margin:0;	
	}

#sidebar-1 li ul li {
	background-image:none;	/*otherwise it will apply to images as well, could use first-child, but not well supported */
	}


.sidebarwidget_content {
	background-image:url(images/sidebar_widget_top.png);
	background-repeat:no-repeat;
	background-color:transparent;
	color:inherit;
	padding-left:10px;
	padding-right:15px;
	padding-bottom:10px;
	padding-top:45px; /*sidebarwidget_content h2 margin-top */
	}

.sidebarwidget_content h2 {
	margin-top:-45px; /* .sidebarwidget_content padding-top */
	padding-bottom:10px;
	font-size: 1.2em;
	font-weight:normal;
	color: #fff;
	background-color:transparent;
	}

#sidebarwrap {
	padding-bottom:80px; /* same as footer height + a few */
	}

#sidebarwrap ul {
	list-style-type:none;
	}

#sidebarwrap ul li {
	margin-bottom:10px;
	}

#sidebarwrap ul li:first-child {
	margin-top:10px;
	}

.sidebarfooterimg {
margin-bottom:-5px;
}

/* Comments */

#commentform input, #commentform textarea, #commentform select {
	font-family:Helvetica,'Microsoft Sans Serif',Tahoma, sans-serif;
	font-size:1em;
	border:1px solid #3F6AAB;
	padding:5px;
	margin-top:5px;
	margin-right:5px;
	}

#commentform input {
	width: 140px;

	}


#commentform textarea {
	padding:5px;
	width: 70%;
	height: 6em;
	}
	

#commentinfo {
	width: 25%;
	background-color:#efefef;
	color:inherit;
	padding:5px;
	font-size:.9em;
	float:right;
	}

#commentinfo code {
	font-size:.8em;
	}

.reply {
text-align:right;

}

.reply a {
padding: 3px;

}

.reply a:hover {
	background-color:#ececec;
	}


#respond {
border: 1px solid #ececec;
padding:5px;
margin:5px 0px 5px 0px;
}

.depth-1 {
border: 1px solid #ececec;
margin-top:5px;
margin-bottom:5px;
padding:5px;
list-style: none;
}

.depth-2 {
margin:5px;
padding:5px;
}


.depth-3 {
margin:5px;
padding:5px;
}

.depth-4 {
margin:5px;
padding:5px;
}

.depth-5 {
margin:5px;
padding:5px;
}

.children {

}

#comments .navigation .alignleft {
text-align:left;
float:none;
}

#comments .navigation .alignright {
text-align:right;
float:none;
}


.comment p {
	margin:0px;
	margin-bottom:1em;
	}

.comment-author .avatar {
	height:25px;
	width:25px;
	float:right;
	}


/*
non-user comments: #ececec
user comments: #C3C2A9 (color of small line on left of content)
post author comments: #3F6AAB (color of the headers)
*/

.comment {
	border-top: 1px solid #ececec;
	border-bottom:1px solid #ececec;
	border-left:5px solid #ececec;
	border-right:5px solid #ececec;
	}

.byuser {
	border-right:5px solid #C3C2A9;
	}

.bypostauthor {
	border-right:5px solid #3F6AAB;
	}


ul.children li.comment {
	list-style:none;
}


.commentlist blockquote {
	background:#ededed;
	}


.commenttext {
	padding: 10px 10px 0px 10px;
	background:#f2f2f2;
	border-top:1px solid #ddd;
	border-bottom: 1px solid #ddd;
	width:495px;
	float:right
	}
		
.commentlist cite strong {
	font-size:1.1em;
	}
	
li.my_comment {
	background: #FFF;
	border:none;
	}
	
li.my_comment cite strong {
	font-size: 1.3em;
	color:#313228;
	}

	
#commentform small {
	background:#FFF;
	font-weight:bold;
	padding:0;
	}
	
.commentmetadata {
	color:#4d4d4d;
	font-size:0.8em;
	}

.commentmetadata a, .commentmetadata a:visited {
	color:#959382;
	}
	
.commentlist small {
	background:#e9e9e9;
	}

.avatar {
	border:1px solid #bbb;
	margin:0px 10px 0px 0px;
	float:left;
	padding:2px;
	width:55px;
	height:55px;
	}	

#comment {
	width:590px;
	background:#fff;
	}


/* styled search form */

#headersearchform fieldset {
	border:0px;
	padding:0px;
	margin:0px;
	}

#styledsearchform {
	width:100%;
	position:absolute;
	left:50%;
	right:50%;
	top:240px;
	z-index: 10;
	width:475px; /* measured from content center to right edge of desired container. */
}

#styledsearchform_expanded {
	width:100%;
	position:absolute;
	left:50%;
	right:50%;
	top:18px;
	z-index:10;
	width:475px;
	}

#headersearchform input {
	font-family:Helvetica,'Microsoft Sans Serif',Tahoma, sans-serif;
	font-size:14px; /* relative fonts may break design */
	margin-right:5px;
	font-weight:bold;
	background-color:transparent;
	color:inherit;
	border:0;
	padding: 5px 0 5px 5px;
}

#headersearchform #s {
	text-align:left;
	width:235px;
	}

#headersearchform #search_submit {
	vertical-align:middle;
	
	}

#headersearchform {
	margin-left:auto;
	width:276px; /* make it the same width as other widgets */
	border:1px solid #3F6AAB;
	background-color:#fff;
	color:#333;
	padding: 2px 0 2px 0;
		
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	
	filter:alpha(opacity=50);
	-moz-opacity:.5;
	opacity: .5;
	}

/* Footer */




/*Wordpress Default CSS: http://codex.wordpress.org/CSS */

#wpstats {
	position: absolute;
	left: -99999px;
	overflow:hidden
	} /* hide the WP stats smiley */


.aligncenter, div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

.alignleft {
	float: left;
	}

.alignright {
	float: right;
	}

.clear {
	clear:both;
	}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	/* optional rounded corners for browsers that support it */
	-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;
	}
