/* My entry to the "fall"(Autumn) OSWD contest */

body { 
	margin: 0; 
	padding: 0; 
	text-align: center; 
	background: #eee;
	/*background:#e0e0e0 url(images/bodybg.gif) repeat-x;*/
	background-color: #FFCC33;	/* light yellow background */
	}

/* Below:  All these are global styles applied to everything.  However, they can be overwritten later in the CSS */
* {margin: 0; padding: 0; text-align: left; font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 18px; color: #999 }

/* main nav */

/* Layout */

div.leftads {
	width: 180px;
	margin: 10px 10px 0 10px;
	height: 150;
	/*background: #DE7008;*/
	}
	
#rightads {
	width: 160px;
	margin-left: 10px;
	height: 600px;
	/*background: #FFEBCD;*/
	float:right;
	}

#bottomads {
	width: 728px;
	height: 90px;
	margin: 10px 0 10px 10px;
	/*background: #6699CC; */
	}
	
#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: 940px; 
	background: url('images/hdr.gif') no-repeat top left;
	}

#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 */
	float: left;
	width: 200px;
	background: transparent
}

#maincol {
	float: right;
	width: 570px;
	background: #FFFFCC;	/* cream or off white */
}

div.bttmbar {  /* bottom bar houses the copyright information and the bottom navigation */
	width: 570px;
	overflow: hidden;
	background: url('images/bttm.gif') no-repeat bottom;
	padding: 0;
	margin: 0;
}

div.bttmbar span#copyright {   /*styles for the copyright text */
	margin-left:10px;
	float: left;
	line-height: 30px;
	text-align: right;
	font-size: 9px; 
	color: #6488F7;		/* pastel blue */
}

/* Bottom Nav */

div.bttmbar #bttmnav { float: right; margin-right: 10px; }
div.bttmbar #bttmnav li {display: inline; font-weight: normal; margin: 0; padding: 0;}
div.bttmbar #bttmnav a {  padding-left: 10px; font-size: 9px; line-height: 30px; }
div.bttmbar #bttmnav a:link, div.bttmbar #bttmnav a:visited { background: none;}
div.bttmbar #bttmnav a:hover, div.bttmbar #bttmnav a:active { text-decoration: none; background: none;}

/* 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: 400px;  		/* 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: 475px;  		/* shifts text into exact position */
	font-size: 12px; 
	font-weight: normal;
	line-height: 18px;
	color: #6488F7;		/* pastel blue */
	letter-spacing: 2px /* spaces out the letters a bit */
	}
	
#subtitle a {   /* Styles for any links in the sub title */
	font-size: 12px; 
	font-weight: normal;
	line-height: 18px;
	color: #6488F7;		/* pastel blue */
	letter-spacing: 2px; /* spaces out the letters a bit */
	text-decoration: none;
	border-bottom: 
	1px dashed #496FE4;	/* mid blue */
}
	
#subtitle a:hover {   /* Styles for any links in the sub title, hover state */
	color: #FFF000; 	/* yellow */
	text-decoration: none;
	border-bottom: 1px dashed #FFF000; /* yellow */
	}

#maincol p { 
	color: #6488F7; 	/* pastel blue */
	margin: 0px 10px 0px 50px; 
	letter-spacing: 0px
	}  /* paragraph text in the main column */

#maincol h1 {    /* Styles for the main column headers */
	margin: 15px 10px 5px 25px; 
	font-family: Georgia, serif; 
	font-size: 17px; 
	font-weight: 100; 
	line-height: 19px; 
	color: #FF9933; 	/* nice light orange "autumn" type colour */
	letter-spacing: 2px
	 }  /* headings in the main column */

#maincol h2 {    /* Styles for the main column headers */
	margin: 10px 5px 5px 25px; 
	font-family: Georgia, serif; 
	font-size: 14px; 
	font-weight: 100; 
	line-height: 14px; 
	color: #FF9933; 	/* nice light orange "autumn" type colour */
	 }  /* headings in the main column */

#maincol img { /* Styles for images in the main column */
	border:1px solid #FF9933; 	/* nice light orange "autumn" type colour */
	margin:5px 5px 6px;
}

#maincol .date {    /* These are the styles for the blog dates */
	margin-left: 25px; 
	font-size: 9px; 
	color: #6488F7;		/* pastel blue */
	letter-spacing: 1px
}

#maincol a:link, #maincol a:visited {   /* These are the styles for the Main column links */
	padding-left: 11px;
	color: #FF9933; 	/* nice light orange "autumn" type colour */
	text-decoration: none;
	text-align: left;
	background: url('images/linkarrow.gif') no-repeat 0% 140%;
}

#maincol a:hover, #maincol a:active {   /* These are the styles for the Main column links */
	padding-left: 11px;
	color: #FF0000; 	/* red */
	text-decoration: none;
	text-align: left;
	background: url('images/linkarrow.gif') no-repeat 0% -80%;
}

.leftcolbox h1,h2,h3 {   /* Titles in the left column */
	font-family: Verdana, Arial, sans-serif;
	margin: 0 15px 12px 12px;
	font-weight: bold;
	color: #fff;		/* white */
	letter-spacing: 0;
	font-size: 12px;
	line-height: 14px;	
}

#lftcol a {
	padding-left: 11px;
	font-size: 12px;
	text-decoration: none;
	text-align: left;
}

#lftcol a:link, #lftcol a:visited {   /* These are the styles for the left column links */
	color: #fff;		/* white */
	text-decoration: none;
	text-align: left;
}
	
#lftcol a:hover, #lftcol a:active {    /* These are the styles for the left column links */
	color: #FF0000; 	/* red */
}

/* Main Nav */

#nav   /* Main nav */
{
	margin-top: 32px;
	float:right;
	width:570px;
}

#nav a{
	background:url(images/tabs.gif) no-repeat 100% 0;
	font-size: 12px;
	color:#808080;
	display:block;
	padding:0px 5px 0px 5px;
	text-decoration:none;
}

#nav a:link, #nav a:visited  /* Main nav link and visited states */
{
	color: #1C44BC; 
}

#nav a:hover, #nav a:active /* Main nav hover and active states */
{
	color: #FFF000;
}

#nav li  /* Main nav list items */
{	background:url(images/tabs.gif) no-repeat 0 0;
	font-size: 10px;
	list-style: none;
	text-align: center;
	float:right;
	margin:0 6px 0 0;
	padding:0 0 0 6px;
}

#nav #current{
	background:url(images/tabs.gif) no-repeat 0 -21px;
}

#nav #current a{
	background:url(images/tabs.gif) no-repeat 100% -21px;
	color:#303030;
}

/* Other styles */

div.rule {  /* Rules - blowing leaves that separate blog items */
	margin: 0 0 20px 0;
	width: 570px;
	height: 25px;
	background: url('images/leafrule.gif');
	border: 0;
}

div.leftcolbox {  /* Use this to create one of the boxes in the left column */
	padding: 0 0 0px 0;
	margin: 10px;
	width: 180px;
	background: url('images/leftboxbottom.gif') no-repeat bottom #B0B21F;
	overflow: hidden;
	}
	
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: 10px;
	width: 180px;
	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;
	color: #fff;
}

.leftcolbox img { /* Styles for images in the left column boxes */
	margin: 0 auto;
}

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  */
}

/* Normal lists */
#maincol ul {   /* styles main area unordered(bulleted) lists */
	margin-top: 15px; /* This margin is the top margin of the WHOLE list, hence why it is specified in ul and not li */
	margin-bottom: 15px; /* This margin is the bottom margin of the WHOLE list, hence why it is specified in ul and not li */
	margin-left: 150px; /* This margin is the bottom margin of the WHOLE list, hence why it is specified in ul and not li */
	list-style: square /* This controls the bullet point style. */
}

#maincol li {  /* List items in the main column */
	color: #6488F7;		/* pastel blue */
	margin-left: 10px /* This margin acts as an indent for each list item.  Indenting the whole list doesn't work well in IE. */
}

#maincol ol {   /* styles main area ordered(numbered) lists */
  margin-top: 15px; 
  margin-bottom: 15px; 
  font-size: 0.7em;
  line-height: 1.5em;
  list-style-type:  decimal
 }
