/* Daniel15 v4 revision 1 - Updated 9th February 2009
 * Original v4 - 8th March 2008
 *
 * (c) 2008-2009 Daniel15.
 * Some portions based off http://www.maxdesign.com.au/presentation/two-columns/index.htm and http://matthewjamestaylor.com/blog/ultimate-2-column-left-menu-pixels.htm
 */
 
/* General styles */
body
{
	margin: 0;
	padding: 0;
	font-family: Verdana, sans-serif;
	background: #caced1 url(background.png);
	color: #000;
	
	font-size: small;
	line-height: 1.6;
}

a
{
	color: #D06500; /*#FB9233;*/
	text-decoration: none;
}

a img
{
	border: 0;
}

a:hover
{
	text-decoration: underline;
}

h2, h2 a, h3, h3 a, h4, h5, h6
{
	color: #FF7800;
	font-family: 'Trebuchet MS', Tahoma, Sans-serif;
	text-shadow: 2px 2px 2px #DDD;
	/*text-shadow: 2px 2px 2px #FBDBA3;*/
}

h2
{
	border-bottom: 1px solid #B3C0FF;
	margin: 0;
	margin-bottom: 0.5em;
}

/* Header and heading h1 */
div#header
{
	background: #3373CD url(header_bg.png);
	/*border-bottom: 1px solid #333;*/
	height: 150px;
	overflow: hidden;
}

div#header h1
{
	float: left;
	/*padding: 5px 0 0 5px;*/
	margin: 0;
	padding: .5em;
	
	font: bold 55px 'Trebuchet MS', Arial, sans-serif;
	color: #fff;
	letter-spacing: -3px;
	/*text-shadow: 4px 4px 15px #000;*/
	text-shadow: 0 0 10px #000;
}

/* Container, contains whole page.  */
div#main-container
{
	min-width: 730px;
	margin: 1em 5%;
	border: 1px solid #333;
}

div#colmask
{
	position: relative;
	clear: both;
	float: left;
	width: 100%;
	overflow: hidden;
	background: #ECF3FB; /* Background colour of left column */
}

div#colright
{
	position: relative;
	float: left;
	width: 200%;
	background: #FFF;
}

div#content_wrap
{
	width: 50%;
	position: relative;
	padding-bottom: 1em;
}

/* The content itself */
div#content
{
	margin: 0 15px 0 215px;
	overflow: hidden;
	/*padding-top: 1em;*/
	/* Bug fix: Stuff was getting chopped off slightly on the blog 
*/
	padding-right: 8px;
}

/* Left sidebar, headings, and links contained in lists */
div#sidebar
{
	width: 170px;
	position: relative;
	/*margin: 0 5px;*/
	padding: 1em 0 0 0;
	font-size: small;
}

div#sidebar h2
{
	margin: 15px 5px 10px 5px;
	padding: 0;
	font: 1.5em 'Trebuchet MS', Tahoma, Sans-serif;
}

div#sidebar ul
{
	margin: 0;
	padding: 0;
}

div#sidebar ul li
{
	list-style-type: none;
}

div#sidebar ul li a
{
	display: block;
	padding: 4px 0 4px 5px;
	margin: 0 2px;
	
	text-decoration: none;	
	color: #1773BC;	
	border-bottom: 1px solid #D2E8F7;
}

div#sidebar ul li a:hover
{	
	color: #333;
	background-color: #D2E8F7;
}

/* Footer and links in it */
div#footer
{
	clear: both;
	padding: 1em;
	text-align: right;
	border-top: 1px solid #333;
	background-color: #326DC7;
	color: #fff;
	font-size: small;
}

div#footer a
{
	color: #FFFC5C;
}

/* Top-right nagivation tabs */
ul#nav
{
	margin: 0;
	padding: 0 2em 0 0;
	float: right;
	margin-top: 110px;
}

ul#nav li
{
	margin: 0 1em 0 0;
	padding: 0;
	list-style-type: none;
	
	display: inline;
	float: left;
	/*height: 150px;*/
	height: 40px;

}


ul#nav li a
{
	display: block;
	/* IE6 needed a width here */
	width: 60px;
	/*height: 150px;*/
	height: 50px;
	padding: 0 1em;
	background: #84c628;
	color: #fff;
	text-align: center;
	font-variant: small-caps;
}

ul#nav li a span
{
	display: block;
	/*padding-top: 120px;*/
	padding-top: 10px;
}

ul#nav li#selected a
{
	background: #FFF;
	color: #333;
	font-weight: bold;
	border-top: 1px solid #333;
	border-left: 1px solid #333;
	border-right: 1px solid #333;
}

ul#nav li a:hover/*, ul#nav li#selected a:hover*/
{
	text-decoration: none;
	background: #8CD91F;
	color: #FFF;
}
