/* 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;/*sets the body background colour*/
	color: #333; /*set the default text color */
	text-align: center;/* 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: 770px; /* Prevents the body becoming narrower than our wrapper div - keeps the content from disappearing off the left edge with Gecko browsers */
	font: 1.1em/1.2em Verdana, Arial, Helvetica, sans-serif;
	background: #CB9435 url(../img/body_BG.jpg) repeat-x;
}

#wrapper {
	width: 770px; /* sets the width of the wrapper */
	position: relative;/* sets a border to all 4 sides */
	text-align: left;
	margin: 0px auto;
	background: #FFF;
}
#banner {
	width: 770px;/* Provides a width for the banner div */
	position: relative; /* Allows us to set the navcontainer div absolutely within the banner div*/
	background: url(../img/headerBG.jpg) no-repeat;
	min-height: 230px;
	margin: 0px;
}

#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*/
}

#navigation {
	line-height: 100%;
	float: left;
	width: 150px;
	margin-top: 20px;
	margin-left: 25px;
	margin-bottom: 40px;
}

#navigation ul {
	list-style-type: none; /* Moves the "where" div down 40px from the bottom of the navigation list */
	padding: 0;/* zeroes off the padding */
	font-size: 80%;/* These borders create the box affect on the navigation */
	width: auto;
 }

 

#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*/
	background-color: #transparent;/*sets a background colour*/
}

#navigation img {
	margin-bottom: 20px;
	margin-top: 20px;
	border: medium ridge #666;
}


.first {/* Adds a border to the top of the first link - apply to the first link in the list */
	border-top: 1px solid #000; /*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*/
}


#content {/* Begin laying out and styling the content div */
	background-color: transparent;/* no background colour required*/
	width: 570px;/* sets the width of our content*/
	margin-left: 190px; /* 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: 0px;/* sets a margin below the div and above the footer*/
}

#content h1, h2, h3, h4 {
	margin: 0 0 10px 30px;/* sets the margins*/
	padding-top: 20px;/* adds padding to the top to give a little clearance below the banner*/
	color: #0c4472;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style: italic;
}

#content h1 { font-size: 140%;
}

#content h2 { font-size: 120%;
}

#content h3 { font-size: 110%;	
}

#content h4 { font-size: 100%;	
}

#content h5 {
	margin: -5px 0 10px 30px;/* sets the margins*/
	color: #0c4472;
	font: italic 100% Georgia, "Times New Roman", Times, serif;
}


#content p {
	margin: 0 0 5px 35px;/* 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*/
}
#content ul li {
	color: #333;
	font-style: italic;
	padding-top: 8px;
	font-size: 80%
}

#content p img {
	border: medium ridge #666;
}
#gallery {/* Begin laying out and styling the content div */
	width: 750px;
	background: #FFF;
	margin: -15px 0px 0px;
	height: 550px;
	clear: both;
	padding: 8px 0px 0px;
}

#paypal {
	color: #300;
}


#footer {/* Begin laying out and styling the footer div */
	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;
	background: #6F2222;
}
/* 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 {
	padding: 4px 30px 4px 4px;/* sets the padding values*/
	margin: 0;
	color: #EABB3B;
}


#footer p.designer {/* Styles the bottom P in the footer that gives the validation and designer info */
	color: #000;
	border-top: 1px solid #000;
	background: url(../img/footer_BG.jpg);
}


#footer a {/* Styles the links within the footer */
	color: #EAbb3B;/*sets the text to white*/
	text-decoration: underline; /*keeps the underline*/
}
#footer .designer a {
	color: #000;
}


#footer a:hover, #footer a:focus {
	text-decoration: none;
}
#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: #095375; /*sets the link and visited text color*/
	background-color: transparent;/* no background color required*/
}

#content a:hover, #content a:focus{
	background-color: #095375;/*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: #C5AEDE;/*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: #C5AEDE;/*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: #9E77CA;/*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*/
}

.emphasis {
	color: #333;
	font: italic normal 1.1em Georgia, "Times New Roman", Times, serif;
	border: thin dashed #900;
	margin: 15px 40px 15px 15px;
	padding: 4px 15px 15px;
}

.center {
	margin-left: auto;
	width: 400px;
	margin-right: auto;
}
