table#MainWindow
{
	background-color: white;
	width: 800px; /* this should probably have been less wide but unfortunately the title graphics were designed this wide */
	margin: 0 auto;
	border: 1px solid black;
}

td#ContentWindow
{
	padding: 20px 10px;
}

table#Header
{
	width: 100%;
}

td#Photos
{
	padding: 10px;
}

td#SiteName
{
	text-align: left;
	height: 39px;
	border-top: 1px solid #483014;
	background-image: url(/images/template/headerbackground.gif);
	background-repeat: no-repeat;
	background-color: #76552F; /* this is the same colour as the background of the header graphic */
	vertical-align: middle;
	padding: 0 10px; /* the text will be centred vertically despite the 0 padding because of the hard-coded height and vertical-align */
	color: white;
}

td#SiteName div
{
	font-family: Times New Roman, Serif;
	font-size: 22pt;
	line-height: normal;
}

td#SiteName span.Established
{
	font-size: 12pt;
	padding-left: 5px;
}

td#Navigation
{
	background-color: #553918;
	border-bottom: 1px solid #483014;
	background-image: url(/images/template/navigationbackground.gif);
	background-repeat: no-repeat;
}

td#Navigation table
{
	width: 100%;
}

td#Navigation td
{
	padding: 2px 10px 1px 10px; /* an extra pixel is added to the top because the top border is part of the graphic and it should look symmetrical */
}

td#Navigation td.Selected div
{
	font-weight: bold;
	color: white;
	line-height: normal;
}

td#Navigation a:link, td#Navigation a:active, td#Navigation a:visited
{
	color: #DDDDDD;
	text-decoration: none;
}

td#Navigation a:hover
{
	color: #FFFF00;
	text-decoration: underline;
}

td#Shadow
{
	padding: 0;
	background-image: url(/images/template/shadow.gif);
	background-repeat: repeat-x;
	height: 5px;
	font-size: 1px; /* this will ensure that the &nbsp; in this cell does not increase the height past the pixel value in this class */
}

table#Footer
{
	width: 100%;
}

table#Footer td
{
	text-align: left;
	border-top: 1px solid black;
	background-color: #76552F;
	padding: 3px 8px;
	color: white;
}

table#Footer td div
{
	font-size: 86%;
}

table#Footer td.FooterRight
{
	vertical-align: top;
	text-align: right;
}

table#Footer td a:link
{
	color: white;
	text-decoration: none;
}

table#Footer td a:active
{
	color: white;
	text-decoration: none;
}

table#Footer td a:visited
{
	color: white;
	text-decoration: none;
}

table#Footer td a:hover
{
	color: white;
	text-decoration: underline;
}
