/*  
Theme Name: KnowlegeThoughts
Theme URI: http://www.knowledgethoughts.com/blog/
Description: A customised theme, based off of the default WordPress theme.
Version: 0.1
Author: Neil Richards
Author URI: http://www.neilrichards.net/blog/

	KnowledgeThoughts v0.1
	http://www.neilrichards.net/blog

	This theme was designed and built by Neil Richards whose blog you will find at http://www.neilrichards.net/blog/

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

/* Begin Typography & Colors */
HTML {
height: 100%;
}
BODY {
min-height: 101%;
}

body 
{
	background: #EEEEEE url('images/background.jpg') repeat-x;
	font-size: .8em !important;
	font-family: helvetica,"trebuchet ms",  sans-serif;
	color: #101101;
	line-height: 18px;
	margin-top:10px;
	margin-bottom:10px;
}

a
{
	color: #244a22;
	text-decoration: underline;
	outline: none;
}

a img {
	border: none;
	}

a:hover
{
	text-decoration: none;
}




#outer
{
	position: relative;
	width: 90%;
	min-width:850px;
	margin: 0 auto;
	background: #fff;
	border:1px #777777 solid;
	
		_width:95%; /*ie6 hack */
}

#inner
{
	position: relative;
	padding: 5px 5px 5px 5px;
	z-index: 2;
	background: #fff;
	min-width:780px;
	width:100%
	/*ie6 hack */
		_width:100%;
		_padding-bottom:55px;
		_padding-right:3px;
		_padding-top:4px;
}

#header
{
	background: #000000 url('images/headerBackground.gif') repeat-x;
	text-align:center;
	height: 130px;
	color: #fff;
	vertical-align:middle;
	_width:100%;
}


#menu
{
	position: relative;
	background: #FFFFFF url('images/a16.gif') repeat-x;
	height: 30px;
	margin: 5px 0px 1px 0px;
	
	_height: 0px;
	_width:100%;

	border-top:1px #101e6e solid;
}

#menu ul
{
	color: #FFFFFF;
	font-weight: bold;
	margin-top:6px;
	height:29px;
	
	*padding-left:20px; 	/*ie7 hack*/
	*padding-top:6px;			/*ie7 hack*/
	*padding-bottom:9px;	/*ie7 hack*/
	*margin-top:0px;
	
	_padding-left:0px; 	/*ie6 hacks*/
	_padding-top:0px;			
	_padding-bottom:2px;	
	_margin-top:2px;
	_height:29px;	
}

#menu ul li
{
	display: inline;
	
}

#menu ul li.first
{
	order-left: 0px;
}

#menu ul li a
{
	padding: 5px 1em 9px 1em;
	
	font-size: 1em;
	color: #fff;
	font-weight: bold;
	text-decoration:none;
	margin:2px;
	*padding: 5px 1em 8px 1em; /* ie7 hack */
	_padding: 0px 1em 12px 1em; /* ie6 hack */
	_position:relative;
	_top:3px
}

#menu ul li a.selected
{
	background: #fff url('images/a18.gif') repeat-x top;
	color: #101e6e;
	border-top:2px #CCCCCC solid;
	border-left:2px #CCCCCC solid;
	border-right:2px #CCCCCC solid;
	
	margin:0px;
	padding-bottom:10px;
	
	*border-bottom:1px white solid; /*ie hack*/
	*padding-bottom:8px;
	_padding-bottom:12px;
	_padding-top:6px;
}

#menu ul li a:hover
{
	margin:0px;
	border-top:2px #244a22 solid;
	border-left:2px #244a22 solid;
	border-right:2px #244a22 solid;
	background: #fff url('images/a18.gif') repeat-x top;
	color: #101e6e;
	text-decoration: none;
	*border-bottom:1px white solid; /*ie hack*/
	_padding-top:6px;
}

#lineline
{
	height:20px; 
	margin-top:0px;
	border-top:2px #CCCCCC solid;
}

#date
{
	position: absolute;
	top: 0px;
	line-height: 30px;
	color: #FFFFFF;
	right: 20px;
	font-weight: bold;
	font-size: 1em;
}





#primarycontent
{
	position: relative;
	width: 74%;
	min-width:500px;
	float: left;
	border-left: 1px #cecece solid;
	border-right: 1px #cecece solid;
	border-top: 1px #cecece solid;
	border-bottom: 1px #cecece solid;
	margin-top:2em;
	margin-left:0em;
	margin-right:5px;
	margin-bottom:1em;
	padding-left:10px;
	padding-right:10px;
	padding-bottom:10px;	
	_width: 72%;
}

#primarycontent h3
{
	position: relative;
	top: 4px;
	line-height: 25px;
	color:#101e6e;
	letter-spacing: -1px;
	background: url('images/a22.gif') bottom repeat-x;
	padding: 0px 0px 10px 0px;
	margin-bottom: 20px;
}

#primarycontent h1
{
	padding-top:0px;
}

#footer
{
	position:relative;
	height:31px;
		
	clear: both;
	text-align: center;
	background-image: url('images/a16.gif');
	border:2px #CCCCCC solid;
	
	color: #FFFFFF;
	margin: 0em 0em 0em 0em;
	padding: 10px 0 0px 0;
	
	font-size:90%;

	
	*margin:0px;
	*font-size:80%;
		
		/*ie6 hacks */
		_width:100%;
		_position:absolute;
		_left:-142px;
		_padding: 0 0 0 0;
		
		_margin:0px;
		_bottom:5px;
		_z-index:100;
}


#footer a
{
	color: #FFFFFF;
}

ul {
	line-height: 1.5em;
	list-style-type: square;
	margin: .3em 0 0 1.5em;
	padding: 0;
	list-style-image: url(bullet.gif);
}

li {
	margin-bottom: .1em;
}

#secondarycontent
{
	position: relative;
	width: 22%;
	min-width:170px;
	float: left;
	margin-right:4px;
	text-align:left;
	_width:175px;
}

#secondarycontent ul
{
	list-style: none;
	text-align:left;
	margin:0px;
	padding:0px;
}

#secondarycontent ul li h3, ul li h2
{
	position: relative;
	font-size: 16px;
	color: #101101;
	background: url('images/a22.gif') bottom repeat-x;
	padding: 5px 0px 0px 0px;
	margin-bottom: 5px;
}

#secondarycontent ul li
{
	margin: 0px 0px 0px 0px;
	padding:0px;
	list-style: none;
}

#secondarycontent ul li ul li
{
	border-bottom: solid 1px #EEEEEE;
	padding-bottom:2px;
}

/*links on the side */
.portlet {
	border: none;
	position: relative;
	margin-top:26px;
	width:100%;
}

.post
{
	*padding-top:10px;
}