/* --------------------------------------------------------------- */
/* ----------------- REDEFINES THE TAG SELECTORS ----------------- */
/* --------------------------------------------------------------- */
/* Defines the body tag */
body {
	background: url(images/bg.gif) top left;
	margin: 0; /* Always set margins to 0. Some browsers automatically apply them. */
	padding: 0; /* Always apply padding if you apply margins */
	}
	
/* This sets a default font for all of our tag selectors. We set the text align back to left so it won't center (based on the body tag to compensate for IE.) */
p, h1, h2, h3, h4, h5, td, ol, ul, li, ol, a, td, th, dt, dd {
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	}

div {
	margin: 0px;
	padding: 0px;
	clear:both; /*if need to float two divs need to add clear:none;*/
	}
	

/* Creates the general link style for the site. This is not the main navigation. */
a, a.email {
	text-decoration: underline;
	font-weight: normal;
	color: #333333;}
	a.email {
		color: #ffffff;
		font-weight: bold;
		}

a:hover, a.email:hover {
	text-decoration: none;
	color: #666666;}

/* -------------------------------------------------------- */
/* ----------------- PAGE LAYOUT ELEMENTS ----------------- */
/* -------------------------------------------------------- */
address {
	font-family:Arial, Helvetica, sans-serif;
	position: absolute;
	font-style:normal;
	top: 33px;
	left: 381px;
	height: 20px;
	text-align: right;
	font-size: 12px;
	font-weight: bold;
	color: #fff;
	width: 214px;
	/*z-index: 3; in case I need to make it clickable on top of another div*/
	}
blockquote {
	font-family:Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-style: italic;
	}
cite {
	font-family:Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-style:italic;
	display:block;
	margin:0px 0px 0px 40px;
	}



/*Collapses borders that some browsers automatically apply to tables. 
table, td, th  {	
	border-collapse: collapse;}*/


/* DIV HEADER */
div#header {
	margin-left: 0px;
	width: 770px;
	height: 177px;
	background: url(images/header.jpg) top left no-repeat;
	}


/* DIV CONTAINER */
div#container {
	position: relative;
	margin: 0 auto;
	width: 770px;
	background: url(images/content.gif) top left repeat-y;
	}

/* Double column bulleted list */
ul.left {
	float: left;
	margin-left: 10px;
	margin-right: 10px;
	list-style-position: inside; 
	list-style-type: disc;
	}

div#content {
	margin-left: 120px;
	padding: 0px 0px 0px 0px;
	width: 650px;
	/*background: url(images/header2.gif) top left no-repeat;*/
	color: #333333;}
	#content h1 {
		margin: 0px;
		background: transparent;
		color:#0C0C73;
		padding: 10px 0px 5px 15px;
		font-size: 18px;
		text-transform: uppercase;
		}
	#content h2 {
		padding: 5px 0px 0px 15px;
		font-size: 16px;
		font-weight: bold;
		color:#149FC5;
		clear:both;
		}
	#content p/*, p.centerr*/{
		font-size:12px;
		margin: 5px 20px 10px 15px;
		}
	/*#content p.centerr{
		text-align:center;
		}*/

/* Apply this ID to your Services table. The only properties in the code should be the table tags; no widths, colors, spacing, etc. */

table#services {
	border-collapse: collapse;
	width: 500px; 
	margin: 0 auto;
	text-align:center;
	}
table#services caption { 
	margin: 0px auto; /* to center */ 
	padding: 5px; 
	background: #efefef; 
	text-align: center;
	font-weight:bold;
	font-family:Arial, Helvetica, sans-serif;
	}
	table#services td {
						background-color:#FDEFC8; 
						}
	table#services tr.colour td {
						background-color:#F9DF96; 
						}
th {
	background-color:#E6980E;
	}

/* ----------------- FORM ELEMENTS ----------------- */


#content legend, fieldset, label {
	font-family:Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight:bold;
	color:#333333;
	}	

 /* BASIC EMAIL FORM */

            #content fieldset {
                       	border: 0;
                        display: block;
                        margin: 10px 0 10px 0px;
                        padding: 0px;
                        width: 500px;
						}

            #content legend {
                        display: block;
                        padding: 10px 0 10px 16px;
                        margin: 0;
                        text-indent: 0;
						}

            #content label {
						display: block;
						width: 150px;
                        float: left;
                        clear: left;
                        padding: 10px 0 10px 15px;
                        margin-left: 5px;
                        background: none;
                        text-indent: 0px;
						font-weight: normal;
						}

             div#privacy{
                        padding: 0 0 15px 0;
						font-weight:normal;
						}
			 div#submit{
                        padding: 15px 0 15px 10px;
						}
			#content input, #content textarea {
						margin: 10px 0 10px 5px;
						}


/* The following two styles are optional, if you want to style your textfields or textareas. */

textfield {
	}
textarea {
	}

/* These were required in the assignment and should be used. */

dl {
	padding: 0px 0px 0px 15px;
	}
dt {
	font-weight:bold;
	}
dd {
	margin: 0px 0px 10px 0px;
	}

/* DIV FOOTER */
div#footer {
	background: url(images/footer.gif) top left no-repeat;
	text-align: center;
	font-size: 10px;
	padding: 0px 0px 0px 0px;
	clear: both;
	color:#fff;
	height: 33px;
	width: 770px;
	position: relative;
	}
/*Footer utility nav for intro page
div#footerintro{
	text-align: center;
	font-size: 10px;
	color:#666666;
	padding: 0px 0px 0px 0px;
	clear: both;}*/


	/* DIV UTILITY NAV */
	div#utilnav/*, div#utilnavintro*/ {
	text-align: center;
	font-size: 11px;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	color:#fff;
	position: absolute;
	top:12px;
	right:0px;
	width:770px;
	left: 0px;
}
	/*div#utilnavintro {
		margin: 5px 0px 5px 0px;
		text-align: center;
		}*/
		
		#utilnav a {
			text-decoration: none;
			font-size: 11px;
			font-weight: bold;
			color:#fff;
			}
		#utilnav a:hover {
			text-decoration: underline;
			color:#333;
			}
		/*Footer utility nav for intro page
		#utilnavintro a {
			color:#ffffff;
			text-decoration: none;
			font-size: 11px;
			font-weight: bold;}
		#utilnavintro a:hover {
			text-decoration: underline;
			color:#666666;}*/
	
	/* DIV COPYRIGHT */
	div#copyright {
	color:#333;
	text-align: center;
	font-size: 9px;
	margin: 0px 0px 0px 0px;
	position: absolute;
	top:33px;
	right:0px;
	width:770px;
	left: 0px;
		}
		#copyright a {
			color:#0C0C73;
			text-decoration:underline ;
			font-size: 9px;
			font-weight: bold;
			}
		#copyright a:hover {
			color:#333;
			text-decoration:none ;
			}

/* -------------------------------------------------- */
/* ----------------- IMAGE and FLOAT ELEMENTS ----------------- */
/* -------------------------------------------------- */

img {
	border: 0px;
	}
img.left {
	float: left;
	border:1px solid #666666;
	margin: 0px 8px 5px 0px;
	}
img.right {
	float: right;
	border:1px solid #666666;
	margin: 0px 0px 5px 8px;
	}
img.rightno {
	float: right;
	margin: 0px 0px 5px 8px;
	}


/* -----------------------------------------------------*/
/* ----------------- CSS NAV VERTICAL ----------------- */
/* -----------------------------------------------------*/

/* NAVIGATION CONTAINER */
div#nav {
	position: absolute;
	top: 177px;
	left: 0px;
	width: 120px;
	height: 75px;
	z-index: 10;
	margin: 0;
	padding: 0;}
	
div#nav li a#current{
	color: #000;
	background-image:url(images/navbkgon.gif);
	background-repeat:no-repeat;}
	
div#nav li a#current:hover{
	color: #000;
	background-image:url(images/navbkgon.gif);
	background-repeat:no-repeat;}

/* UL TAG */
div#nav ul {
	background-image:url(images/navbkg.gif);
	background-repeat:repeat-y;
	margin: 0px;
	padding: 0px;
	width: 120px;}

div#nav li {
	display: inline; /* Redefined here only to remove stray padding. */
	list-style: none;}

div#nav li a {
	font-size: 11px;
	color: #fff;
	text-decoration: none;
	display: block;
	width: 120px;
	padding: 6px 0px 5px 0px;
	margin: 0px 0px 0px 0px;
	text-align: center;
	text-indent: 0px;
	font-weight:bold;}

html>body #nav li a {
	width: auto;}

div#nav li a:hover {
	color:#000;
	background-image:url(images/navbkgon.gif);
	background-repeat:no-repeat;}
	
