/* My entry to the "fall"(Autumn) OSWD contest */

body { margin: 0; padding: 0; text-align: center; }


/* Below:  All these are global styles applied to everything.  However, they can be overwritten later in the CSS */
* {margin: 0; padding: 0; border: 1px; text-align: left; font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 18px; color: #5b8a2c; }


/* main nav */


/* Layout */

#container { /* the container contains all the divs and makes sure they are centrally aligned.  Note that IE uses the text-align: center; in the body to align everything centrally */
	margin: 0 auto; 
	width: 830px; 
	
	}

#navarea { width: 770px; height: 50px; background: transparent } /* This div allows an area for the main navigation tabs */

#hdr {  /* header/banner area */
	width: 770px;
	height: 125px;
	background:  transparent;
}

#lftcol {  /* left column showing the extra info on the left side of the main column */
	margin-top: -10px;
	float: right;
	width: 180px;
	
}

#maincol {  /* main column where the main text etc is located */
	margin-top: -20px;
	width: 631px;
	float: left;
	
}

#bttmbar {  /* bottom bar houses the copyright information and the bottom navigation */
	position:relative;
	top:0;
	margin-bottom: 20px;
	float: left;
	width: 370px;
	height: 30px;
	background: url('images/bttm.gif') no-repeat #d6e294; /* Adds the rounded corner image to the bottom */
	overflow: hidden
}

#bttmbar span#copyright {   /*styles for the copyright text */
	margin-left: 15px;
	float: left;
	line-height: 30px;
	text-align: right;
	font-size: 9px; 
	font-color: #FFFFFF;
	
	
}

/* Text styles */

/* Below is the style for the main site title */


#sitetitle { /* Styles for the main site title */
	position: relative;
	top: 20px;  /* shifts text into exact position */
	left: 470px;  /* shifts text into exact position */
	font-family: Georgia, serif; 
	font-size: 36px; 
	line-height: 40px;
	font-weight: 100;  /* 100 is the thinnest font weight */
	color: #FF9933; /* nice light orange "autumn" type colour */
	letter-spacing: 8px /* spaces out the letters a bit */
}
	
#subtitle {  /* Styles for the sites subtitle */
	position: relative;
	top: 24px;  /* shifts text into exact position */
	left: 470px;  /* shifts text into exact position */
	font-size: 12px; 
	font-weight: normal;
	line-height: 18px;
	color: #6488F7;
	letter-spacing: 3px /* spaces out the letters a bit */
}


#lftcol a:link, #lftcol a:visited {   /* These are the styles for the left column links */
	
	color: blue;
	text-decoration: none;
	text-align: left;
	
}
	
#lftcol a:hover, #lftcol  {    /* These are the styles for the left column links */
	
	color: red;
	text-decoration: none;
	text-align: left;
	
}

div.leftcolbox {  /* Use this to create one of the boxes in the left column */
	margin-top: 10px;
	position: relative;
	margin: 10px;
	width: 170px;
	background: url('images/boxmiddle.gif'); 
	background-repeat: repeat-y;
	overflow: hidden;
	}
	
	
div.boxbottom {  /* Use this to create one of the boxes in the left column */
	height: 19px;
	width: 170px;
	background: url('images/leftboxbottom.gif') no-repeat bottom #9ed06e;
	
	}
	
div.leftcolboxtop { /* This div adds the top rounded corners of the box.  The bottom is included in the leftcolbox div as the background image */
	height: 19px;
	width: 170px;
	background: url('images/leftboxtop.gif') no-repeat top;
}
	
.leftcolbox p {   /* text style for left col boxes */
	margin: 0 15px 12px 15px;
	font-size: 11px;
	line-height: 16px;
	
}


	
.leftcolbox h2 {   /* Titles in the left column */
	font-family: "Trebuchet MS",arial,verdana,sans-serif;
	margin: 0 1px 12px 10px;
	font-weight: normal;
	letter-spacing: 0;
	font-size: 11px;
	line-height: 14px;	
}


.leftcolbox h1 {   /* Titles in the left column */
	font-family: Georgia, serif;
	margin: 0 1px 12px 10px;
	font-weight: 500;
	color: #FF9933;
	letter-spacing: 0;
	font-size: 18px;
	line-height: 14px;	
}

.leftcolbox li {   /* Titles in the left column */
	font-family: georgia, serif;
	margin: 0 10px 12px 15px;
	font-weight: 500;
	color:#5b8a2c;
	letter-spacing: 0;
	font-size: 12px;
	line-height: 12px;	
}

/* Main Nav */

#nav   /* Main nav */
{
	float: right;
	margin-top: 27px;
	white-space: nowrap;
}

#nav li  /* Main nav list items */
{
	font-size: 10px;
	float: left;
	list-style: none;
	line-height: 21px; /* height of the tab */
	text-align: center;
}

#nav a {   /* Main nav styles for all links */
	font-size: 10px;
	padding-left: 12px;
	display: inline; /* Although a block suggests a vertical list, the float: right; property under #nav li causes the menu to float to an inline position */
	margin-right: 5px;
	width: 55px; 
	height: 21px;
	line-height: 21px; /* height of the tab */
	text-decoration: none;
}

#nav a:link, #nav a:visited  /* Main nav link and visited states */
{
	color: #1C44BC; 
	border-top: 3px solid #8599D4;
	border-bottom: 3px solid #B2C2F4;
	background: url('images/toplinkbullet.gif') no-repeat 2% 60% #B2C2F4; 
}

#nav a:hover, #nav a:active /* Main nav hover and active states */
{
	color: #FFF000; 
	border-bottom: 2px solid #1C44BC;
	background: url('images/toplinkbullet2.gif') no-repeat 2% 60% #1C44BC;
}

/* Other styles */





acronym {  /* Acronyms are hovered over to reveal their meaning e.g. OSWD = Open Source Web Design */ 
	color: #ccc;
	border-bottom: 1px dashed #ccc;
	cursor: help;  /* To make cursor appear as a help question mark/arrow  */
}

/* Bottom Nav */

#bttmnav { 
	position:relative;
	margin: 0px 10px 20px 0;
	top: 7px;
	float: right; 
	margin-right: 2px;
}
 
 
 /* common styling for MENU */
.menu {
	font-family: "Trebuchet MS",arial,verdana,sans-serif; 
	position:relative; 
	margin: 35px 0 25px 0;
	font-size:0.85em;
	
	float: right;
	z-index: 100;
	clear: both;

}
.menu ul {
	padding:0;
	margin:0;
	list-style-type: none;
	text-decoration: none;
	
}
.menu ul li {
	float:left;
	position:relative;
}

.menu ul li a, .menu ul li a:visited {
	display:block; 
	text-decoration:none; 
	color:#fff; 
	width: 95px;
	height:2em; 
	color:#fff; 
	border:1px solid #fff; 
	border-width:1px 1px 0 0; 
	background:#8b9efb; 
	padding-left:10px; 
	line-height:2em;
}

* html .menu ul li a, .menu ul li a:visited {
	width:95px;
	w\idth:95px;
}

.menu ul li ul {
	display: none;
}

table {
	margin:-1px; 
	border-collapse:collapse;
	font-size:1em;
}

/* specific to non IE browsers */
.menu ul li:hover a,
.menu ul li a:hover {
	color:#fff; 
	background:#b0bbf0;
}

.menu ul li:hover ul,
.menu ul li a:hover ul {
	display:block; 
	position:absolute; 
	top:20px;
	margin-top:1px;
	left:0; 
	width:150px;
}
* html .menu ul li a:hover ul {
	margin-top:0;
	marg\in-top:1px;
}

.menu ul li:hover ul li ul,
.menu ul li a:hover ul li a ul {
	visibility:hidden; 
	position:absolute; 
	height:0; 
	width:0;
}

.menu ul li:hover ul li a,
.menu ul li a:hover ul li a {
	display:block; 
	background:#8b9efb; 
	color:#fff; 
	height:auto; 
	line-height:1.2em; 
	padding:5px 10px; 
	width:129px;
}

* html .menu ul li a:hover ul li a {
	width:129px;
	w\idth:129px;
}



.menu ul li:hover ul li a:hover,
.menu ul li a:hover ul li a:hover {
	background:#b0bbf0; 
	color:#000;
}

.menu ul li:hover ul li:hover ul,
.menu ul li a:hover ul li a:hover ul {
	visibility:visible; 
	position:absolute; 
	left:150px; 
	top:0;
	width:150px;
}

.menu ul li:hover ul li:hover ul.left,
.menu ul li a:hover ul li a:hover ul.left {
	left:-150px;
}

div.searchbox {  /* Use this to create one of the boxes in the left column */
	margin-top: 10px;
	position: relative;
	margin: 10px;
	width: 170px;
	overflow: hidden;
}

#searchx	{
	position: relative;
	Padding-top: 0;
	margin-right: 5px;
	float: right;
	
}

#searchx input {
	
	background-color: #FFF;
	border: 1px solid; border-color: #FF9933;
	font-color: #999;

}

