/*
Theme Name: Capital BrassWorks WordPress Theme
Theme URI: http://capitalbrassworks.ca/
Description: Theme for Capital BrassWorks news blog.
Version: 1.0
Author: Stefan Cameron
Author URI: http://stefcameron.com/
Tags: special
*/

/** The body tag's class will contain the keyword 'newsblog' amongst others that are Wordpress-specific. */

body[class~=newsblog] #content h2 {
	background-image: url(../../../../images/h2-news.gif);
}

body[class~=newsblog][class~=archive] #content h2,
body[class~=newsblog][class~=single] #content h2,
body[class~=newsblog][class~=page] #content h2,
body[class~=newsblog][class~=search] #content h2,
body[class~=newsblog][class~=error404] #content h2 {
	background-image: url(../../../../images/h2.gif);
}

body[class~=newsblog] #content h3,
body[class~=newsblog] #content h4 {
	background-image: url(../../../../images/h3.gif);
	background-position: center left;
	background-color: transparent;
	background-repeat: repeat-y;
	padding-left: 11px; /* image is 7px wide */
}

body[class~=newsblog] #content h4 {
	font-size: 100%;
	font-weight: bold;
	font-style: italic;
	margin-top: 1.0em;
	margin-bottom: 1.0em;
}

/* non-entry, non-comment-body content links */
body[class~=newsblog] #content a,
body[class~=newsblog] #content .entry *[class~=postmetadata] a,
body[class~=newsblog] #content .entry a.more-link,
body[class~=newsblog] #content a:visited,
body[class~=newsblog] #content .entry *[class~=postmetadata] a:visited,
body[class~=newsblog] #content .entry a.more-link:visited {
	text-decoration: none;
	color: #00507f;
	padding: 1px 1px 2px 1px;
}
body[class~=newsblog] #content a:hover,
body[class~=newsblog] #content .entry *[class~=postmetadata] a:hover,
body[class~=newsblog] #content .entry a.more-link:hover {
	text-decoration: none;
	color: #00507f;
	padding: 1px 1px 2px 1px;
	background-color: #d9ecf7;
}
 
body[class~=newsblog] #content .entry h2 {
	background-image: none;
	padding-left: 0;
}

body[class~=newsblog] #content .entry h3 {
	background-image: none;
	padding-left: 0;
	color: #626262;
}

body[class~=newsblog] #content .entry h4 {
	background-image: none;
	padding-left: 0;
	color: #626262;
}

/* regular blog content links (including links within comments) remain the same as regular site content links */
body[class~=newsblog] #content .entry a,
body[class~=newsblog] #content .commentlist .comment-body a,
body[class~=newsblog] #content .entry a:hover,
body[class~=newsblog] #content .commentlist .comment-body a:hover,
body[class~=newsblog] #content .entry a:visited,
body[class~=newsblog] #content .commentlist .comment-body a:visited {
	text-decoration: underline;
	color: #007ec7;
	background-color: transparent;
}

/* non-comment-body content links (must be specified after entry content links (above) since .comment-author, .comment-meta and .reply are part of .comment-body */
body[class~=newsblog] #content .commentlist .comment-body .comment-author a,
body[class~=newsblog] #content .commentlist .comment-body .comment-meta a,
body[class~=newsblog] #content .commentlist .comment-body .reply a,
body[class~=newsblog] #content .commentlist .comment-body .comment-author a:visited,
body[class~=newsblog] #content .commentlist .comment-body .comment-meta a:visited,
body[class~=newsblog] #content .commentlist .comment-body .reply a:visited {
	text-decoration: none;
	color: #00507f;
	padding: 1px 1px 2px 1px;
}
body[class~=newsblog] #content .commentlist .comment-body .comment-author a:hover,
body[class~=newsblog] #content .commentlist .comment-body .comment-meta a:hover,
body[class~=newsblog] #content .commentlist .comment-body .reply a:hover {
	text-decoration: none;
	color: #00507f;
	padding: 1px 1px 2px 1px;
	background-color: #d9ecf7;
}

body[class~=newsblog] #content .navigation {
	display: block;
}

#sectionTitle + .navigation {
	margin-top: 1em;
}

body[class~=newsblog] div.post + .navigation,
body[class~=newsblog] div[id|=post] + .navigation {
	margin-top: 1em;
}

body[class~=newsblog] #content .navigation .alignleft {
	float: left;
}

body[class~=newsblog] #content .navigation .alignright {
	float: right;
}

body[class~=newsblog] #content .postinfo {
	font-size: 75%;
	text-transform: uppercase;
	margin-bottom: 1em;
}
body[class~=newsblog][class~=search-results] #content .postinfo {
	font-size: 85%;
	text-transform: none;
}

body[class~=newsblog] #content .postauthor {
	color: black;
}

body[class~=newsblog] #content *[class~=postmetadata] {
	font-size: 75%;
	text-transform: uppercase;
	margin-top: 1em;
	background-color: #f4f4f4;
	padding: 1px 2px 2px 2px;
}

body[class~=newsblog] #content .entry p {
	text-align: justify;
}

body[class~=newsblog] #content .entry .postUpdate {
	font-size: 80%;
}

/* general lists */
body[class~=newsblog] #content ol,
body[class~=newsblog] #content ul {
	padding: 0 0 0 2.5em;
	margin: 0 0 0.5em 0;
}
body[class~=newsblog] #content ol li,
body[class~=newsblog] #content ul li {
	padding: 0;
	margin: 0 0 0.5em 0;
	text-align: justify;
}

body[class~=newsblog] #content .entry pre,
body[class~=newsblog] #content .commentlist pre {
	margin-top: 1em;
	margin-bottom: 1em;
	background-color: #f8f8f8;
}
body[class~=newsblog] #content .commentlist li[class~=alt] pre {
	background-color: #f1f1f1;
}

body[class~=newsblog] #content code {
	font-family: "Courier New", Courier, monospace;
	font-size: 100%;
}

body[class~=newsblog] #content .entry .wp-caption, /* div width is set to 10px more than img contained within it by code */
body[class~=newsblog] #content .entry .attachment {
	border: 1px dotted #dfdfdf;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	padding: 5px 0 0 0;
	margin-bottom: 0.5em;
	text-align: center;
	background-color: #fafafa;
}
body[class~=newsblog] #content .entry .attachment {
	padding-left: 5px;
	padding-right: 5px;
}
body[class~=newsblog] #content .entry .attachment a {
	text-decoration: none;
	margin: 0;
	padding: 0;
}
body[class~=newsblog] #content .entry .wp-caption-text,
body[class~=newsblog] #content .entry .attachment .caption {
	margin-top: 0.5em;
	text-align: center;
	font-size: 85%;
}
body[class~=newsblog] #content .entry .attachment .caption p {
	text-align: center;
}

body[class~=newsblog] #content .entry .aligncenter {
	margin-left: auto;
	margin-right: auto;
	display: block;
}
body[class~=newsblog] #content .entry .alignright {
	display: block;
	float: right;
	margin-left: 0.5em;
}
body[class~=newsblog] #content .entry .alignleft {
	display: block;
	float: left;
	margin-right: 0.5em;
}

/* comments */
body[class~=newsblog] #content .commentlist {
	padding: 0;
	margin: 1em 0 1em 0;
}
body[class~=newsblog] #content .commentlist li {
	border: 1px solid #dfdfdf;
	padding: 5px;
	list-style-type: none;
}
body[class~=newsblog] #content .commentlist li[class~=alt] {
	background-color: #fafafa;
}
body[class~=newsblog] #content .commentlist li[class~=byuser] {
	background-color: #ffffef;
}
/* lists within comments (start) */
body[class~=newsblog] #content .commentlist li ol,
body[class~=newsblog] #content .commentlist li ul {
	background-color: transparent;
}
body[class~=newsblog] #content .commentlist li ol li {
	list-style-type: decimal;
}
body[class~=newsblog] #content .commentlist li ul li {
	list-style-type: disc;
}
body[class~=newsblog] #content .commentlist li * li {
	border-width: 0;
	padding: 0;
	margin: 0 0 0.5em 0;
	text-align: left;
}
/* lists within comments (end) */
body[class~=newsblog] #content .commentlist .comment-author {
	font-weight: bold;
}
body[class~=newsblog] #content .commentlist .comment-author .avatar {
	float: right;
}
body[class~=newsblog] #content .commentlist .comment-author cite {
	font-style: normal;
}
body[class~=newsblog] #content .commentlist .comment-meta {
	display: block;
	margin: 2px 0 0 0;
}
body[class~=newsblog] #content .commentlist .comment-meta + p { /* first paragraph in a comment */
	clear: both;
	margin-top: 0.8em;
}
body[class~=newsblog] #content #commentform {
	width: 564px;
}
body[class~=newsblog] #content #commentform #comment {
	width: 564px;
	font-family: "Lucida Grande", Verdana, Arial, sans-serif;
	font-size: 100%;
}