/*
Theme Name: kbPress
Theme URI: http://bradt.ca/projects/kbpress/
Description: A theme that transforms Wordpress into a knowledge base.
Version: 1.0
Author: Brad Touesnard
*/

pre {
	overflow: auto;
}

#page-title {
	width: 722px;
}

#wrapper {
	overflow: hidden;
	margin: 0;
}

#content {
	position: relative;
	top: 0;
	left: 0;
	width: 722px;
	float: right;
	overflow: hidden;
}

ul.categories {
	overflow: hidden;
	margin-bottom: 3em;
}

ul.categories li {
	width: 170px;
	float: left;
	padding: 0 20px 0 50px;
	margin-top: 1em;
	background: url(_img/folder.png) no-repeat top left;
}

ul.categories li h4 {
	font-weight: normal;
}

#main ul.categories li p {
	font-size: 0.9em;
	margin: 0.4em 0 0 0;
	height: 2em;
	line-height: 1em;
	display: block;
	overflow: hidden;
}

#menu {
	margin-top: 3em;
	width: 190px;
	float: left;
	background: url(_img/sidebar.png) no-repeat top right;
}

#menu li.menu-item {
	margin-bottom: 2em;
}

#menu li.menu-item h4 {
	margin-bottom: 0.5em;
}

#menu li ul li {
	margin-bottom: 0.5em;
}

ul.children {
	padding-left: 1em;
	font-size: 0.9em;
	margin: 1em 0;
}

#menu li ul li.current-cat {
	font-weight: bold;
}

#menu li ul li.current-cat li {
	font-weight: normal;
}

div.articles {
	width: 320px;
	float: left;
	margin: 0 60px 0 0;
}

div.articles.popular {
	margin-right: 0;
}

ul.article-list {
	font-size: 1.1em;
}

li.article {
	margin-top: 1em;
	padding-left: 40px;
	background: url(_img/article.png) no-repeat top left;
}

li.article h4 {
	font-weight: normal;
}

li.article p {
	margin: 0.2em 0;
	font-size: 0.9em;
}

li.article div.meta {
	font-size: 0.9em;
}

div.meta {
	color: #666;
}

div.meta a {
	color: #333399;
}

div.nav {
	padding-top: 2em;
	clear: both;
}

div.hentry {
	margin-bottom: 3em;
	overflow: hidden;
}

div.hentry div.tags {
	margin-top: 1em;
}

div.hentry #page-title p {
	width: 500px;
}

div.hentry #page-title h3 {
	width: 500px;
}

div.hentry h3 a {
	color: #000;
}

div.hentry div.entry-content {
	margin-top: 1em;
	overflow: hidden;
	position: relative;
	height: 100%;
}

div.hentry div.entry-content li {
	margin-top: 1em;
}

div.hentry div.entry-content ol {
	list-style-type: decimal;
	padding-left: 1.5em;
	margin-bottom: 1em;
}

div.related-articles {
	margin-bottom: 2em;
}

p.xhtml {
	color: #666;
	font-size: 0.9em;
	width: 400px;
	clear: both;
	padding-top: 1em;
}

p.subscribe-to-comments {
	color: #666;	
	margin: 0;
}

fieldset.left,
fieldset.right {
	float: left;
}

fieldset.left {
	margin-right: 20px;
}

ul.comments {
	overflow: hidden;
	margin: 1em 0 2em 0;
}

li.comment {
	margin-top: 1em;
	overflow: hidden;
}

li.comment div.gravatar {
	display: block;
	width: 37px;
	height: 37px;
	background: url(_img/gravatar-border.png);
	float: left;
	margin-right: 10px;
}

li.comment div.gravatar img {
	position: relative;
	top: 4px;
	left: 4px;
}

li.comment div.content {
	padding-top: 0.1em;
	font-size: 0.9em;
	float: left;
}

li.comment div.content p {
	margin: 0;
}

#searchform input.txt {
	width: 100px;
}

#searchform input.button {
	width: 45px;
	margin-top: 0;
}