body {
	position: relative;
	font-family: Garamond, Georgia, "Times New Roman", serif;
	background-color: #FFF8DC;
}

/*position of body is relative so that it is established as the containing block for header and footer divs */

#header {
	position: relative;
	top: 64px;
	padding: 10px;
	width: 905px;
	margin: 5px auto;
	border: 3px solid #5C2E00;
	height: 100px;
	background-repeat: no-repeat;
	background-color: #FFF8DC;
	background-position: right top;
}

#header h1 {
	text-align: center;
}

/* the class selectors of index, about, exhibits, events, market and contact are used to identify the image that should be displayed in the header box on each of those pages*/
.index {
	background-image: url(images/driving_wagon.gif);
}

.about {
	background-image: url(images/pete_with_horse.gif);
}

.exhibits {
	background-image: url(images/dog_power.gif);
}

.events {
	background-image: url(images/corn_harvest.gif);
}

.market {
	background-image: url(images/market.gif);
}

.contact {
	background-image: url(images/patches-rev.gif);
}


/* the class selectors of "cap", "eventname", and "tagline" style paragraphs or other text elements throughout the site */

.cap {
	font-size: 200%;
	font-weight: bold;
}

.eventname {
	font-weight: bold;
	text-decoration: underline;
	font-size: 1.1em;
}

.tagline {
	font-weight: bold;
	font-size: 1.1em;
	width: 750px;
	margin: 10px auto;
	text-align: center;
}

#container {
	position: relative;
	top: 40px;
	background-color: #DEB887;
	padding: 5px 15px 15px 15px;
	width: 900px;
	margin: 25px auto;
	text-align: left;
}

/* Site navigation */

#menu {
	float: right;
}

#menu ul {
	margin: 0;
	padding: 0;
}

#menu ul li {
	display: inline;
	padding: 0 0 3px 0;
	list-style: none;
	margin: 0;
	font-size: 1.2em;
	font-weight: bold;
	padding: 0 5px 0 15px;
}

/* styles the normal unvisited links to remove the underline */
#menu a { 
	text-decoration: none; 
	padding: 0;
	background: none;
	border: none;
}

/* styles the unvisited hyperlinks so that they are not blue */
#menu a:link { 
	padding: 0 0 3px 0;
	color: #58564f;
	border: none;
}

/* sets the color of visited links in a brownish-gray, instead of the typical purple that is the default in most browsers */
#menu a:visited { 
	padding: 0 0 3px 0;
	color: #58564f;
	border: none;
}

/* styles links to change to a deep red color and display a dotted bottom border when the mouse pointer hovers over the text */
#menu a:hover {
	padding: 0 0 3px 0;
	color: #921d02;
	border-bottom: 2px dotted #921d02;
}

/* styles active links to change to a deep blue color and display a dotted bottom border when the user clicks on the link */
#menu a:active {
	padding: 0 0 3px 0;
	color: #000051; 
	border-bottom: 2px dotted #000051;
}

/* styles the navigation item on the current page to a deep blue color and displays a dotted bottom border */
#menu a.current {
	padding: 0 0 3px 0;
	color: #000051; 
	border-bottom: 2px dotted #000051;
}

/* end of site navigation */


/* The next two styles define the float properties for images */

.img-left {
	float: left;
	margin-right: 10px;
	margin-left: -80px;
}

.img-right {
	float: right;
	margin-left: 10px;
	margin-right: -60px;
}

/* styles the table columns, used on the "contact us" page */	

.thc1 {
	font-weight: bold;
	text-decoration: underline;
	width: 50%;
}

.thc2 {
	font-weight: bold;
	text-decoration: underline;
	width: 50%;
}

/* styles the columns used on the "market" page */

.markettable {
	text-align: center;
}

.thm {
	font-weight: bold;
	text-decoration: underline;
	width: 25%;
}

/* styles the table used on the "events" page */

.eventpage {
	width: 100%;
	text-align: center;
}

/* the final two rules style the footer at the bottom of each page */


#footer {
	position: relative;
	top: 16px;
	padding: 10px;
	width: 905px;
	margin: 5px auto;
	border: 3px solid #5C2E00;
}

#footer p {
	text-align: center;
	color: #5C2E00;
}