/*
 * This 3-column layout comes courtesy of Matthew James Taylor's
 * "Holy Grail 3-Column Liquid Layout (Pixel Widths)" at
 * http://MatthewJamesTaylor.com/blog/ultimate-3-column-holy-grail-pixels.htm
 */

/*========================================================================*/
/* The default settings are for the wrapper outside the main table        */
/*========================================================================*/

body {
	background-color: #40403E;	/* steel grey */
/*	background-color: #E8E8E8; */	/* grey */
/*	background-color: #FFFCF0; */	/* cream */
	color: #000000;

	margin: 0;		/* Remove padding around entire page */
	padding: 0;
	border: 0;
	width: 100%;
	min-width: 950px;	/* Minimum width of layout - remove line if not required */
				/* The min-width property does not work in old versions of IE */
}

.colmask {
	position: relative;	/* This fixes the IE7 overflow hidden bug and stops the layout jumping out of place */
	clear: both;
	float: left;
	width: 100%;		/* width of whole page */
	overflow: hidden;	/* This chops off any overhanging divs */

	/* Right column background */
	background-color: #40403e;
	background-image: url("bevel220.png");
	background-position: right;
	background-repeat: repeat-y;
}

.colmid {
	float: left;
	width: 200%;
	margin-left: -220px;	/* Width of right column */
	position: relative;
	right: 100%;

	/* Center column background color */
	background: #e8e8e8;
}

.colleft {
	float: left;
	width: 100%;
	margin-left: -50%;
	position: relative;
	left: 440px;		/* Left column width + right column width */

	/* Left column background */
	background-color: #40403e;
	background-image: url("bevel220.png");
	background-position: right;
	background-repeat: repeat-y;
}

.col1wrap {
	float: left;
	width: 50%;
	position: relative;
	right: 220px;		/* Width of left column */
	padding-top: 0em;	/* Centre column top padding. Leave it out if it's zero */
	padding-bottom: 0em;	/* Centre column bottom padding. Leave it out if it's zero */
}

/*========================================================================*/
/* The "content" class is for the main content area                       */
/*========================================================================*/

.content {
	margin: 0 220px;	/* Centre column side padding:
				   Left padding = left column width + centre column left padding width
				   Right padding = right column width + centre column right padding width */
	position: relative;
	left: 200%;
	overflow: hidden;
	padding: 20px;		/* Centre column padding. Leave it out if it's zero */

	/* Background color & image are specified in "colmid" class above */
	color: #000000;
}

.content h1, h2, h3, h4, h5, h6 {
	color: #40403E;
}

.content a {
/*	color: #40403E; */
	color: #802830;
}

.content a:visited {
/*	color: #802830; */
	color: #40403E;
}

.content a:hover {
	color: #FF0000;
}

/*========================================================================*/
/* The "nav" class is for the left-hand navigation bar                    */
/*========================================================================*/

div.nav {
	float: left;
	float: right;		/* This overrides the float:left above */
	width: 180px;		/* Width of left column content (left column width minus left and right padding) */
	position: relative;
	right: 20px;		/* Width of the left-had side padding on the left column */
	padding-top: 1em;	/* Centre column top padding. Leave it out if it's zero */
	padding-bottom: 1em;	/* Centre column bottom padding. Leave it out if it's zero */

	/* Make the default text light grey on steel grey */
	/* Background color & image are specified in "colleft" class above */
	color: #dddddd;
}

/* Don't indent the list */
/* For some reason, the margins won't take in the "links" class */
.nav ul {
	margin-left: 0;
	padding-left: 0;
}

/* Don't use any bullets, and make the font 10% bigger */
.nav li {
	list-style: none;
	font-size: 110%;
}

/* Links should be light grey, and image links should have no border */
.nav a, .nav a:visited, .nav a:link img, .nav a:visited img {
	color: #DDDDDD;
	border: 0;
}

/*========================================================================*/
/* The "links" class is for links in the left-hand navigation bar         */
/*========================================================================*/

/* Links should become bold, white, and indented when moused-over */
.links a:hover {
	font-weight: bolder;
	padding-left: 3px;
	color: #FFFFFF;
}

/*========================================================================*/
/* The "search" class is inverted color for the left-hand navigation bar  */
/*========================================================================*/

/* Make the default text black on light grey in the search box */
.search {
	background-color: #CCCCCC;
	color: #40403E;
}

/*========================================================================*/
/* The "ads" class is for the right-hand advertising bar                  */
/*========================================================================*/

div.ads {
	float: left;
	float: right;		/* This overrides the float:left above */
	width: 180px;		/* Width of right column content (right column width minus left and right padding) */
	margin-right: 60px;	/* Width of right column right-hand padding + left column left and right padding */
	position: relative;
	left: 50%;
	padding-top: 1em;	/* Centre column top padding. Leave it out if it's zero */
	padding-bottom: 1em;	/* Centre column bottom padding. Leave it out if it's zero */

	/* Make the default text light grey on steel grey */
	/* Background color & image are specified in "colmask" class above */
	color: #dddddd;
}

/* Don't indent the list */
/* For some reason, the margins won't take in the "links" class */
.ads ul {
	margin-left: 0;
	padding-left: 0;
}

/* Don't use any bullets, and make the font 10% bigger */
.ads li {
	list-style: none;
	font-size: 110%;
}

/* Links should be light grey, and image links should have no border */
.ads a, .nav a:visited, .nav a:link img, .nav a:visited img {
	color: #DDDDDD;
	border: 0;
}

