/*
Theme Name: Challenge NorthLeigh
Theme URI: http://challenge-northleigh.co.uk/
Description: Custom theme for NorthLeigh.
Version: 0.1
Author: Nik Cain
Author URI: http://nikcain.net/
Tags: 

northleigh v0.1	 
http://nikcain.net	
This theme was designed and built by Nik Cain
*/

/* 3 column from http://matthewjamestaylor.com/blog/perfect-3-column.htm */

body
{
	margin: 0;
	padding: 0;
	border: 0; /* This removes the border around the viewport in old versions of IE */
	width: 100%;
	color: #030;
	background: #CBCF99;
	min-width: 600px; /* Minimum width of layout - remove line if not required */ /* The min-width property does not work in old versions of Internet Explorer */
	font: normal normal 13px "trebuchet ms" , Verdana, Helvetica, sans-serif;
}
a
{
	color: #369;
}
a:hover
{
	color: #fff;
	background: #369;
	text-decoration: none;
}
h1, h2, h3
{
	margin: .8em 0 .2em 0;
	padding: 0;
}
p
{
	margin: .4em 0 .8em 0;
	padding: 0;
}
img
{
	margin: 10px 0 5px;
	background-color:#F3F3F3;
	border:1px solid #DDDDDD;
	margin:10px;
	padding-top:4px;
	text-align:center;
}
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #CBCF99;
	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-dd {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}


/* Header styles */
#header
{
	clear: both;
	float: left;
	width: 100%;
	background: #F4F7D9;
	background-image: url( "/leaves.gif" );
	background-repeat: no-repeat;
	background-position: right;
}
#header
{
	border-bottom: 1px solid #000;
}
#header p, #header h1, #header h2
{
	padding: .4em 15px 0 15px;
	margin: 0;
}
#header ul
{
	clear: left;
	float: left;
	width: 100%;
	list-style: none;
	margin: 10px 0 0 0;
	padding: 0;
}
#header ul li
{
	display: inline;
	list-style: none;
	margin: 0;
	padding: 0;
}
#header ul li a
{
	display: block;
	float: left;
	margin: 0 0 0 1px;
	padding: 3px 10px;
	text-align: center;
	background: #CBCF99;
	color: #000;
	text-decoration: none;
	position: relative;
	left: 15px;
	line-height: 1.3em;
}
#header ul li a:hover
{
	background: #369;
	color: #fff;
}
#header ul li a.active, #header ul li a.active:hover
{
	color: #fff;
	background: #000;
	font-weight: bold;
}
#header ul li a span
{
	display: block;
}
/* 'widths' sub menu */#layoutdims
{
	clear: both;
	background: #eee;
	border-top: 4px solid #000;
	margin: 0;
	padding: 6px 15px !important;
	text-align: right;
}
/* column container */.colmask
{
	position: relative; /* This fixes the IE7 overflow hidden bug */
	clear: both;
	float: left;
	width: 100%; /* width of whole page */
	overflow: hidden; /* This chops off any overhanging divs */
}
/* common column settings */.colright, .colmid, .colleft
{
	float: left;
	width: 100%; /* width of page */
	position: relative;
}
.col1, .col2, .col3
{
	float: left;
	position: relative;
	padding: 0 0 1em 0; /* no left and right padding on columns, we just make them narrower instead 						only padding top and bottom is included here, make it whatever value you need */
	overflow: hidden;
}
/* 3 Column settings */.threecol
{
	background: #CBCF99; /* right column background colour */
}
.threecol .colmid
{
	right: 25%; /* width of the right column */
	background: #F4F7D9; /* center column background colour */
}
.threecol .colleft
{
	right: 55%; /* width of the middle column */
	background: #748A51; /* left column background colour */
}
.threecol .col1
{
	width: 51%; /* width of center column content (column width minus padding on either side) */
	left: 102%; /* 100% plus left padding of center column */
}
.threecol .col2
{
	width: 16%; /* Width of left column content (column width minus padding on either side) */
	left: 31%; /* width of (right column) plus (center column left and right padding) plus (left column left padding) */
}
.threecol .col3
{
	width: 21%; /* Width of right column content (column width minus padding on either side) */
	left: 90%; /* Please make note of the brackets here:						(100% - left column width) plus (center column left and right padding) plus (left column left and right padding) plus (right column left padding) */
}
/* Footer styles */#footer
{
	clear: both;
	float: left;
	width: 100%;
	border-top: 1px solid #000;
}
#footer p
{
	padding: 10px;
	margin: 0;
}
/* Begin Images */p img
{
	padding: 0;
	max-width: 100%;
}
/*	Using 'class="alignright"' on an image will (who would've	thought?!) align the image to the right. And using 'class="centered',	will of course center the image. This is much better than using	align="center", being much more futureproof (and valid) */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;
}

a.undecoratedlink, a:hover.undecoratedlink, a:visited.undecoratedlink
{
	border:none;
	color:#030;
	background:#F4F7D9;
	text-decoration: none;
}
/* End Images */



/* rounded corners */

/* set the image to use and establish the lower-right position */ 
.cssbox, .cssbox_body, .cssbox_head, .cssbox_head h2
{ 
background: transparent url(/corners.png) no-repeat bottom right
} 

.cssbox
{ /* intended total box width - padding-right(next) */ 
width:90% !important; /* IE Win = width - padding */ 
margin:10% auto;
} 

/* set the lower-left corner image */ 
.cssbox_body
{ 
background-position:bottom left; 
margin-right:25px; /* interior-padding right */ 
padding:20% 0 10% 10%;
} /* mirror .cssbox_head right/left */ 


/* end of rounded corners */