/* 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 {/* set everything to zero for a good cross-browser starting point */
	margin: 0;/*zeroes the margins on the body*/
	padding: 0;/*zeroes the padding on the body ** Opera carries a default padding and requires this zeroing*/
	border: 0;/*zeroes off any existing border*/
	
	color: #003333; /*set the default text color */
	line-height:1.1em;
	text-align: center; /* Hack to centre the wrapper in IE5.x pc */
	font-family: Verdana, Arial, Helvetica, sans-serif;/*set the default fonts */
	font-size: 100.01%;/* Sets default font size. This odd value compensates for several browser bugs. First, setting a default font size in percent (instead of em) eliminates an IE/Win problem with growing or shrinking fonts out of proportion if they are later set in ems in other elements. Additionally, some versions of Opera will draw a default font-size of 100% too small compared to other browsers. Safari, on the other hand, has a problem with a font-size of 101%. Current "best" suggestion is to use the 100.01% value for this property */
	min-width: 780px; /* Prevents the body becoming narrower than our wrapper div - keeps the content from disappearing off the left edge with Gecko browsers */
	
}

#wrapper {
	margin: 0px auto;/* centers the wrapper first value - 5px is applied to the top and bottom margins, auto sets the excess space on the view port evenly to the left and right*/
	width: 790px; /* sets the width of the wrapper */
	position: relative; /* important to position it relatively */
	
	border: 0px solid #000;/* sets a border to all 4 sides */
	text-align: left;/* Realigns the text to the left after the IE hack in the body rule */
}

#banner {
	background-image: url(../images/banner_bg.gif);/* sets the background image for the banner div*/
	background-repeat: repeat-x;/* tiles the background image on the x-axis - From left to right on the horizontal plane*/
	width: 770px;/* Provides a width for the banner div */
	position: relative; /* Allows us to set the navcontainer div absolutely within the banner div*/
}


#banner .right {/* Float the right hand image to the right in the banner */
	float: right;/*Floats the image to the right*/
	margin 0px 5px 
}

	
#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 the margins so the image sits nicely in the p elements*/
	border: 1px solid #000;/*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*/
}

#content .rightnoborder {/* 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*/
	
}
/* 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 {/* Begin laying out the contact div */
    float: left; /* Floats the div to the left to make a column */
    width: 139px; /*sets a width for the div - Imperative for IE mac */
    margin-left: 2px; /*creates a margin on the left to move the div away from the pages edge*/
    background-color: transparent; /* no colour required for the bg colour*/
}

#navigation {
    
	margin-top: 2px;/* sets a margin on the top to move the div down from the banner*/ 
	background-color: transparent;/* no background colour required*/
	padding-top: 1px;/* 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: 149px; /* 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 0px 0; /* Moves the "where" div down 40px from the bottom of the navigation list */
	padding: 0;/* zeroes off the padding */
	font-size: 65%;/* scales the font to 80% of the body font declaration*/
	
 }

 

#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;/* IE 5.01 and IE5.5 cannot see this selector - resets the margins on other browsers back to zero - the escape character must not come immediately before the letters a,b,c,d,e or f if it does it will be seen as a hex character and the hack will fail*/
	
	
}


.first {/* Adds a border to the top of the first link - apply to the first link in the list */
	 /*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 {
	color:#006699;
	;
	display: block;
	padding: 2px 0px		 3px 3px;
	text-decoration: none;
	width: 139px;
	w\idth: 139px;
	border-bottom-color: #CCCCCC;
}

/* 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 {
	color: #000033;
	font-weight: bolder;		
}


/* Begins laying out the address */
#add {/* Set the containing add div */
	padding: 18px 0 0 0;/* sets the padding values - the 18px value allows the "tab" background image to show above the content*/
	width: 149px;/* sets a width for the div*/
	background-color: transparent; /* no background colour required*/
	background-image: url(../images/address.gif);/* sets the "tab" background image for the div*/
	background-repeat: no-repeat;/* no repeating required*/
	margin-top: 40px;/* moves the div down and away from the navigation div */
}


#contact #navigation h3 {/* Sets the title on the navcontainer and the add divs */
	font-size: 70%;/* scales the font size*/
	background-color: #ffffcc;/* sets the background colour*/
	padding: 2px 3px 3px 3px;/*sets the padding values - the 7px aligns this header with the text in the "tab" image */
	
	margin: 3px 0px 0px 0px;/* zeroes off the margins*/
	border: 1px solid #cccccc;
}
	
	
#contact #navigation #add h3 {
    font-size: 70%;/*Sets the font size*/
	background-color: #9E77CA;/* 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 #834DC0;/* adds a bottom border to give some definition between the h3 and the address element*/
}


#contact #navigation #add address {/* Sets the styling for the address element */
	font-size: 70%;/*scales the font size*/
	padding: 7px 5px 5px 5px;/*sets the padding*/
	border-right: 3px solid #9E77CA;/* These borders create the box affect on the address */
	border-left: 3px solid #9E77CA;/* These borders create the box affect on the address */
	border-bottom: 3px solid #9E77CA;/* These borders create the box affect on the address */
	margin: 0;/*zeroes off the margins*/
	color: #333;/* changes the default text colour*/
	font-style: normal; /* removes the default italic style for address */
	background-color: #C7B1DE;/* sets the background colour*/
}


#content {/* Begin laying out and styling the content div */
	background-color: transparent;/* no background colour required*/
	width: 623px;/* sets the width of our content*/
	margin-left: 150px; /* 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 {
	margin: 5px;/* sets the margins on the p element with the content div*/
	font-size: 70%; /* scales the font size - no family declared, we are using the default from the body rule*/
	padding: 10px 25px 0 5px;/* sets the padding on the p element when it is within the content div*/
	text-align:justify ;
	border-style: dashed;
	font-weight: normal;
	border-width: 1px;
	border-color: #CCCCCC;
	
	background-color:#FFFFCC;
}

#content h2 {
	
	font-size: 90%;
	font-family: Arial;
	margin: 0 0 10px 30px;
	padding-top: 10px;
	color: #000000;
	line-height: 16pt;	
	
}
#content h3 {
	
	font-size: 90%;
	font-family: Arial;
	margin: 0 0 10px 30px;
	padding-top: 10px;
	color: #000000;
	line-height: 16pt;	
	
}

#content h4 {
	
	font-size: 90%;
	font-family: Arial;
	margin: 0 0 10px 30px;
	padding-top: 10px;
	color: #000000;
	line-height: 16pt;	
	
}
#content p {
	margin: 5px;/* sets the margins on the p element with the content div*/
	font-size: 70%; /* scales the font size - no family declared, we are using the default from the body rule*/
	padding: 10px 25px 0 5px;/* sets the padding on the p element when it is within the content div*/
	text-align:justify ;
	border-style: dashed;
	font-weight: normal;
	border-width: 1px;
	border-color: #CCCCCC;
	
	background-color:#FFFFCC;
}


#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: #FFFFCC;/*sets the background colour*/
	padding: 4px 4px 4px 10px;/*sets the padding values*/
	margin: 0;/*zeroes off the margins*/
	color: #000033;/*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: #333333;/*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: #006699;
	background-color: transparent;
	text-decoration: underline;	
}

#content a:hover, #content a:focus{
	
	color: #000033;/* sets the text color for hover and focus*/
	text-decoration: underline;/*removes the underline*/
}

/********* Begin styling the form ****************/


#content form{
	margin: 30px 10	px 0px 3px; /*Sets the margins on the form - bottom  is zero feel free to change as required*/
}


#content fieldset fieldset{
	width: 130px; /*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: #A5B4D1;/*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: 130px;/*Specifically set the width*/
	display: block;/*force the inputs to stack*/
}

#content textarea{
	background-color:#A5B4D1;/*set the background colour*/
	color: #556660;/*set the text colour*/
	border: 1px solid #4C5854;/*set a border around the element*/
	margin: 0 0 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: 0px;/*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: #A5B4D1;/*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*/
}

