/*
Theme Name: CPI Blog
Theme URI: http://cpiblog.com
Description: Blog theme for CPI
Author: David Stagg
Author URI: http://davidstagg.com
*/

@import url(style/css/typography.css);
@import url(style/css/layout.css);

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	} 
	
a img { border: none; }
a { outline: none; }

body {
	font: 11px/1.4em Verdana, Geneva, sans-serif;
	color: #004785;
	background: transparent url(images/body-bg-footer.jpg) repeat-x bottom left;
	}

ul, ol { margin: 1em 0; padding-left: 2.5em; }
dt { margin: 0.5em 0 0; }
dd { margin: 0.25em 0 0.5em 2.5em; }

h1, h2, h3, h5, h5, h6 { font-weight: normal; margin-bottom: 8px; font-family: Georgia, "Times New Roman", Times, serif; } 
h1 { font-size: 24px; line-height: 26px; }
h2 { font-size: 22px; line-height: 24px; }
h3 { font-size: 18px; line-height: 20px; }

p { margin-bottom: 8px; }

a { color: #136ab8;  }
a:hover { text-decoration: none; }
a:active { }
a:visited { }

blockquote {
	margin: 0 0 10px 40px;
	padding: 14px;
	background: #e4e4e4;
	}


#container {
	width: 900px;
	margin: 0 auto;
	}

#header {
	display: block;
	width: 900px;
	height: 181px;
	background: #fff url(images/header-bg.jpg) no-repeat top left;
	}
	#header h1 a {
		display: block;
		width: 300px;
		height: 160px;
		text-indent: -9999px;
		}
	#header h2 {
		text-indent: -9999px;
		}
		
	/*--- SOCIAL MEDIA NAV ---*/
	#social-media {
		float: right;
		position: absolute;
		bottom: 20px;
		right: 0;
		}
		#social-media li { margin: 0; }
		#social-media li.twitter a, #social-media li.facebook a, #social-media li.rss a, #social-media li.email a {
			display: block;
			width: 225px;
			height: 17px;
			text-indent: -9999px;
			padding-bottom: 5px;
			}
		#social-media li.twitter a {
			background: #fff url(images/twitter-sprite.jpg) no-repeat top left;
			}
		#social-media li.facebook a {
			background: #fff url(images/facebook-sprite.jpg) no-repeat top left;
			}
		#social-media li.rss a {
			background: #fff url(images/rss-sprite.jpg) no-repeat top left;
			}
			
			#social-media li.email a {
			background: #fff url(images/email-sprite.jpg) no-repeat top left;
			}

/*----- COLUMNS ------*/
#main {
	width: 650px;
	float: left;
	}

#sidebar {
	width: 225px;
	float: right;
	}
#sidebar ul, ul#social-media { list-style: none; }

/*---- FEATURED POST ----*/
.featured-top {
	display: block;
	width: 650px;
	height: 18px;
	background: #fff url(images/featured-header-bg.jpg) no-repeat top left;
	}
.firstpost {
	padding: 15px 15px 15px 20px;
	background: transparent url(images/featured-header-bg2.jpg) repeat-x top left;
	border-right: 2px solid #d8d8d8;
	border-left: 2px solid #d8d8d8;
margin: 0;
	}
.firstpost h2 a {
	color: #184786;
	font: normal 30px Georgia, "Times New Roman", Times, serif;
	text-decoration: none;
	}
.firstpost h3 {
	color: #000;
	margin-bottom: 15px;
	}
.featured-footer {
	display: block;
	width: 650px;
	height: 18px;
	background: #fff url(images/featured-footer-bg.jpg) no-repeat top right;
margin-bottom: 15px;
	}

.page #main, .single #main, .archive #main { border-top: 2px solid #d8d8d8; padding-top: 20px; }

.post {
margin-bottom: 20px;
padding-bottom: 20px;
border-bottom: 1px solid #ccc;
padding-left: 10px;
}
/*SUBS*/
#main #sub-left, #main #sub-right {
	
	}
/*---- SUB-LEFT SIDE ----*/
#main #sub-left {
	float: left;
	width: 325px;
	padding-left: 20px;
	}


/*---- SUB RIGHT-SIDE ----*/
#main #sub-right {
	float: right;
	width: 255px;
	}



/*---- SIDEBAR -----*/
.sidebar-box {
	background: #053682 url(images/sidebar-box-header-bg.jpg) no-repeat top left;
	margin-bottom: 20px;
	}
	.sidebar-box ul {
		margin: 0;
		padding: 0 0 0 10px;
		}
	.sidebar-box ul li {
		background: transparent url(images/sidebar-box-li.jpg) no-repeat top left;
		list-style-image: none;
		margin: 0 0 3px 0;
		padding: 2px 20px 5px 25px;
		font-weight: bold;
		}
.sidebar-box p {
	padding: 0 10px;
	line-height: 14px;
	}
.sidebar-box-footer {
	display: block;
	width: 225px;
	height: 30px;
	background: transparent url(images/sidebar-box-footer-bg.jpg) no-repeat top left;
	}


/* SINGLE POST */
.post h2 {
	font-size: 30px;
	}
	
.post-meta {
	font-style: oblique;
	background: #ebebeb;
	padding: 10px;
	margin: 0 0 20px 0;
	}
	.post-meta p { margin: 0; padding: 0; }


.older-posts a, .pages a { font-size: 14px; padding: 8px; background: #ccc; }
.older-posts a:hover, .pages a:hover { background: #666; color: #fff; }


/*----- MISC -----*/
.clear { clear: both; height: 0; }
.floatleft, .alignleft { float: left; margin: 0 10px 10px 0; }
.floatright, .alignright { float: right; margin: 0 0 10px 10px; }
.wp-caption-text { color: #666; font-style: oblique; margin: 4px 0; }


/* WORDPRESS SPECIFIC IMAGE STYLES */
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;
	}

/* 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: 8px;
	margin: 0;
	color: #979797;
}