/* background-color: transparent; has been used in some of the selectors, this is the default and it is not strictly necessary to declare this info - it does serve a purpose in that it supplies information for you to see*/
body {
	margin: 0;
	padding: 0;
	border: 0;
	background-color: #616161;
	color: #666;
	text-align: center;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 100.01%;
	min-width: 770px;
	background-image: url(bg.jpg);
}

#wrapper {
	margin: 5px auto;
	width: 770px;
	position: relative;
	background-color: #FFFFFF;
	border: 1px solid #000;
	text-align: left;
	background-image: url(wrapper_bg.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
}

#banner {
	background-image:  url("banner_bg.gif");
	background-repeat: repeat-x;
	width: 770px;
	position: relative;
	border-bottom-color: #000000;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	background-color: #F9692A;
}


#banner .right {/* Float the right hand image to the right in the banner */
	float: right;/*Floats the image to the right*/
}


#content .left {/* Floats the images in the main content area to the left */
	float: left;/*Floats the image to the left*/
	margin: 5px 20px 2px 0;/*sets a border on the image*/
}


#content .right {/* Floats the images in the main content area to the right */
	float: right;/*Floats the image to the right*/
	margin: 5px 0 2px 20px;/*sets the margins so the image sits nicely in the p elements*/
	border: 1px solid #000;/*sets a border on the image*/
}

/* Set the navigation container */
/* The relative positioning on the banner allows us to set this div absolutely in relation to its containing element - the banner div. This div holds the image tabs */
#banner #navcontainer {
	position: absolute;/* absolute positioning takes this element out of the document flow and places it in relation to the containing element by using top & right values in this instance*/
	top: 85px;/* set the distance from the top of the containing element - in this case the banner div*/
	right: 25px;/* set the distance from the right edge of the containing element*/
	background-color: transparent;/* allows the banner image to show through */
}


#contact {
	float: left;
	width: 169px;
	margin-left: 0px;
	background-color: #F8692A;
	border-right-color: #000000;
	border-right-style: solid;
	border-right-width: 1px;
}

#navigation {
	margin-top: 0px;/* sets a margin on the top to move the div down from the banner*/ 
	background-color: transparent;/* moves the content of the div down and allows the "tab" bg image to show above it*/
	line-height: 100%;/* helps out IE 5.01 pc */
	width: 169px; /* sets a width for the div */
	margin-left: 0px;
}

#navigation ul {
	background-color: transparent;/* no background colour required*/
	list-style-type: none;/* removes the bullets from our list navigation */
	margin: 0 0 25px 0; /* Moves the "where" div down 40px from the bottom of the navigation list */
	padding: 0;/* zeroes off the padding */
	font-size: 80%;/* scales the font to 80% of the body font declaration*/
	border-bottom: 3px solid #F8692A;/* These borders create the box affect on the navigation */
	border-left: 3px solid #F8692A;/* These borders create the box affect on the navigation */
	border-right: 3px solid #F8692A;/* These borders create the box affect on the navigation */
 }

 

#navigation ul li {/*The 3 margin property/value pairs are a hack to make the links butt together in IE 5.01*/
	padding: 0;/* zeroes off the padding*/
	margin: 0; /*zeroes off the margins*/
	margin: /**/ 0 0 -3px 0; /*This takes the 3px off the margin in IE 5.01 - IE 5.5 cannot see this hack so stays with the 0 value from the last margin property*/
	ma\rgin: 0;/*sets a background colour*/
}


.first {/* Adds a border to the top of the first link - apply to the first link in the list */
	border-top: 1px solid #fff; /*provides a border for the top of our first list navigation link - we don't want double borders where the links join in the list navigation, this negates that problem*/
}

/*Begin styling the link lists - visited is styled the same as link, not absolutely necessary to decalre visited but its there.
Note that the reference is to "a" and not "a:link". This makes the link act as a button in a cross-browser way. */
/*You will notice that I have set two selectors on this rule. This is fine when the occasion arises - saves time and space*/
#contact #navigation a, #contact #navigation a:visited {
	background-color: #FFFFFF;
	border-bottom: 1px solid #fff;
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
	color: #000;
	display: block;
	padding: 4px 0 6px 4px;
	text-decoration: none;
	width: 157px;
	w\idth: 157px;
	background-image: url(navbg.jpg);
}

/* sets the link styles for hover and focus*/
/*You will notice that I have set two selectors on this rule, this is fine when the occasion arises - saves time and space*/
#contact #navigation a:hover, #contact #navigation a:focus {
	background-color: #fff;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	color: #333;
	background-image: url(nav_hov_bg.jpg);
}


/* Begins laying out the address */
#add {/* Set the containing add div */
	padding: 0;/* sets the padding values - the 18px value allows the "tab" background image to show above the content*/
	width: 169px;/* sets a width for the div*/
	background-color: transparent;/* no repeating required*/
	margin-top: 20px;/* moves the div down and away from the navigation div */
}


#contact #navigation h3 {
	font-size: 70%;
	padding: 5px 3px 3px 7px;
	color: #fff;
	margin: 0;
	border-left: 2px solid #F8692A;
	background-color: #F8692A;
}
	
	
#contact #navigation #add h3 {
    font-size: 70%;/*Sets the font size*/
	background-color: #F8692A;/* sets the background colour*/
	padding: 5px 3px 3px 7px;/*sets the padding values - the 7px aligns this header with the text in the "tab" image */
	color: #fff;/* sets the text colour to white*/
	margin: 0;/* zeroes off the margins*/
	border-bottom: 1px solid #fff;/* adds a bottom border to give some definition between the h3 and the address element*/
}


#contact #navigation #add address {
	font-size: 70%;
	padding: 7px 5px 5px 5px;
	border-right: 3px solid #F8692A;
	border-left: 3px solid #F8692A;
	border-bottom: 3px solid #F8692A;
	margin: 0;
	color: #333;
	font-style: normal;
	background-image: url(nav_hov_bg.jpg);
	background-repeat: repeat-y;
	background-position: top right;
	background-color: #fdd9c9;
}


#content {/* Begin laying out and styling the content div */
	background-color: transparent;/* no background colour required*/
	width: 590px;/* sets the width of our content*/
	margin-left: 160px; /* this left margin clears the contact div and allows our content div to become a second column*/
	padding-bottom: 20px;/* sets a padding clearance on the bottom of the div*/
	margin-bottom: 50px;/* sets a margin below the div and above the footer*/
}

#content h1 {
	font-size: 130%;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	margin: 0 0 10px 30px;
	padding-top: 15px;
	color: #000000;
	font-style: normal;
	font-weight: 500;
	background-image: url(H1.gif);
	background-repeat: no-repeat;
	background-position: 0px 16px;
	padding-left: 35px;
}

#content h2 {
	font-size: 110%;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	margin: 0 0 10px 30px;
	padding-top: 5px;
	color: #F8692A;
	font-style: italic;
	font-weight: 500;
	background-image: url(H2.gif);
	background-repeat: no-repeat;
	background-position: 0 8px;
	padding-left: 27px;
}

#content p {
	margin: 0 0 5px 30px;/* sets the margins on the p element with the content div*/
	font-size: 80%; /* scales the font size - no family declared, we are using the default from the body rule*/
	padding: 10px 25px 0 0;/* sets the padding on the p element when it is within the content div*/
}


#footer {/* Begin laying out and styling the footer div */
	background-color: #fff;/*sets a background colour for the footer*/
	width: 770px;/*Sets the footers width*/
	border-top: 1px solid #000;/*sets the top border to define the beginning of the footer*/
	font-size: 60%; /* sets the footer text size */
	text-align: right;/* aligns the text to the right*/
	clear: left; /* Keeps the contact div above the footer */
	margin-top: 20px; /* Adds a margin to the top of the footer*/
}
/* The contact div is outside the flow of the document and won't respect the footer;
it would, if it's content was great enough, poke through the bottom of the layout.
The clear left ensures the footer is always moved beyond the contact div and our design
remains intact. The content div is within the flow of the document and will therefore
push the footer div down as it's content dictates. */

#footer p {
	background-color: #E4E4E4;/*sets the background colour for the p element when it is in the footer div*/
	padding: 4px 4px 4px 10px;/* sets the padding values*/
	margin: 0;/*zeroes off the margins */
}


#footer p.designer {/* Styles the bottom P in the footer that gives the validation and designer info */
	background-color: #101B4C;/*sets the background colour*/
	padding: 4px 4px 4px 10px;/*sets the padding values*/
	margin: 0;/*zeroes off the margins*/
	color: #fff;/*sets the text colour to white*/
	border-top: 1px solid #000;/*gives a top border to separate it from the other content in the footer, this should be the last item in the footer */
}


#footer a {/* Styles the links within the footer */
	color: #fff;/*sets the text to white*/
	text-decoration: underline; /*keeps the underline*/
}

#footer a:hover, #footer a:focus {
	text-decoration: none;/*removes the underline*/
}

#navcontainer a img {
    border: none; /*removes the default link border from around the navigation images*/
}

/* sets the inline links in the #content div if required*/
#content a:link, #content a:visited{
	color: #F8682B; /*sets the link and visited text color*/
	background-color: transparent;/* no background color required*/
}

#content a:hover, #content a:focus{
	background-color: #F8682B;/*sets the background color for hover and focus*/
	color: #fff;/* sets the text color for hover and focus*/
	text-decoration: none;/*removes the underline*/
}

/********* Begin styling the form ****************/


#content form{
	margin: 30px 30px 0 30px; /*Sets the margins on the form - bottom  is zero feel free to change as required*/
}


#content fieldset fieldset{
	width: 195px; /*Set the width of the fieldset that contains the form inputs*/
	padding: 0; /*zero the padding on the nested fieldset*/
	border: none; /*remove the borders*/
}

#content input{
	background-color: #FDD6C5;/*Set the background colour of the form inputs*/
	color: #414F4B;/*Set the text colour*/
	border: 1px solid #4C5854;/*add a border around them*/
	margin: 0 0 0 0;/*Zero off any margins*/
	width: 150px;/*Specifically set the width*/
	display: block;/*force the inputs to stack*/
}

#content textarea{
	background-color: #FDD6C5;/*set the background colour*/
	color: #556660;/*set the text colour*/
	border: 1px solid #4C5854;/*set a border around the element*/
	margin: 0 30px 0 0;/*set a margin on the right only*/
	height: 200px;/*specifically set a height for the textarea, tends to vary somewhat cross browser*/
}

.labelfloat{
	float: right;/*float the textarea's label and the textarea within it*/
	padding-top: 20px;/*set a top padding to align it*/
}

#content label{
	color: #4F4F4F;/*set the label text colour*/
	font-size: 75%;/*set the label font size*/
	padding-top: 5px;/*set alittle padding on the top*/
	display: block;/*display it as a block level element*/
}

#content fieldset{
	margin: 0;/*zero off any existing margine*/
	border: none;/*remove the default borders*/
	padding: 5px 5px 20px 20px;/*give a little "air" inside the parent fieldset*/
	width: 450px;/*set a width against it*/
}


#content .button{
  background-color: #F8692A;/*changes the default background colour from the input styling*/
  color: #fff;/*changes the default colour from the input styling*/
  width: 80px;/*changes the default width colour from the input styling*/
  margin-top: 20px;/*adds a little sapce between the bottom input and the buttons*/
  display: inline;/*allows the buttons to sit side by side by, over ruling the display: block; on the input selctor*/
}
.brclear { /* Use a break with this class to clear float containers */ 
	clear:both; 
	height:0; 
	margin:0; 
	font-size: 1px; 
	line-height: 0; 
} 
#content ul {
	font-size: 80%;
	list-style-image: url(bullet.gif);
	list-style-type: disc;
	margin-left: 20px;
}
/* Tan Hack feeds only to IE browsers */
* html #content ul {
margin-left: 60px;
}
.border {
	border: 1px solid #333333;
}
#content .rightnobord {

	float: right;/*Floats the image to the right*/
	margin: 5px 0 2px 5px;/*sets a border on the image*/
}
