/**
 * Structural elements
 *
 * CSS rules based on Position Is Everything's "One True Layout"
 * http://www.positioniseverything.net/articles/onetruelayout/
 */

html, body {
	width:1000px;
	height:100%; /* Required for to make stripe work on IE6 */
}

#logo {
	width: 220px;
	height: 220px;
	float: left;
}

#photo {
	width: 780px;
	height: 220px;
	float: right;
}

#foot {
	width: 1000px;
	clear: both;
}

#padding {
	width: 220px;
	float: left;
	height: 4em;
}

#copyright {
	width: 780px;
	float: right;
}

#menupane
	{
	float: left;
	width: 220px;
	}
#contentpane
	{
	float: left;
	width: 780px;
	}
/* Start Mac IE5 filter \*/
#menupane, #contentpane
	{
	padding-bottom: 32767px !important;
	margin-bottom: -32767px !important;
	}
@media all and (min-width: 0px) {
#menupane, #contentpane
	{
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
	}
#menupane:before, #contentpane:before
	{
	content: '[DO NOT LEAVE IT IS NOT REAL]';
	display: block;
	background: inherit;
	padding-top: 32767px !important;
	margin-bottom: -32767px !important;
	height: 0;
	}
}
/* End Mac IE5 filter */
#body
	{
	width: 1000px;
	clear:both;
	overflow: hidden; /* This hides the excess padding in non-IE browsers */
	}
/* we need this for IE 5.01 - otherwise the body does not expand to the
necessary height (unless fixed, this problem becomes even more acute
weirdness as the method is enhanced */
#body
	{
/* Normally a Holly-style hack height: 1% would suffice but that causes
IE 5.01 to completely collapse the body - instead we float it */
	float: left;
/* NB. possibly only IE 5.01 needs to get this float value - otherwise 5.5 sometimes
(I saw it happen many moons ago) makes the width of body too small
the float: none with the comment is ignored by 5.01,
5.5 and above see it and carry on about their business
It's probably fine to just remove it, but it's left here
just in case that many moons ago problem rears its head again */
	float/**/: none;
	}
/* easy clearing */
#body:after
	{
	content: '[DO NOT LEAVE IT IS NOT REAL]';
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
	}
#body
	{
	display: inline-block;
	}
/*\*/
#body
	{
	display: block;
	}
/* end easy clearing */
/* Safari needs this - otherwise the ghost overflow, though painted
correctly obscures links and form elements that by rights should be above it.
An unintended side-effect is that it cause such elements to vanish in IE 5.01
and 5.5, hence the child selector hack */
* > #footer, * > form, * > #notes, * > .output
	{
	position: relative;
	z-index: 1000;
	}

/*
 * End of structural definitions.
 */

/*
 * Start of theme definitions.
 */

html, body {
	margin: auto;
	padding: 0px;
	font-family: Verdana,Arial,Helvetica,sans-serif;
}

#title {
	display: none;
}

#logo {
	background-image: url('/images/logo.png');
	background-repeat: no-repeat;
}

#photo {
	background-image: url('/images/banner.png');
	background-repeat: no-repeat;
}

#body {
	/*border:1px solid red;*/
}

#menupane {
	background-image: url('/images/menu.png');
}

#menu {
	padding-left: 12px;
	padding-right: 12px;
}

#menu ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
}

#menu ul li {
	/**
	 * Not 100% sure why we need the extra pixel here
	 * but it will stop IE exaggerating the gap between
	 * menu elements.
	 */
	padding:1px;
	margin:0px;
}

#menu ul  a {
	display: block;
	text-align:center;
	text-decoration: none;
	font-size: 0.9em;
	color: #000000;
	border-top:1px solid #bfbeb9;
	border-bottom:1px solid #bfbeb9;
	padding-top:5px;
	padding-bottom:5px;
	margin-bottom:10px;
}

#menu ul a:hover {
		background: #f7f5e0;
		border:1px solid black;
}

#content {
	text-align: justify;
	padding-right: 7px;
}

#padding {
	background-image: url('/images/menu.png');
	height:4em;
}

#copyright {
	margin-top: 1em;
	text-align:center;
	font-size:0.8em;
}

h2 {
	font-family: Verdana,Arial,Helvetica,sans-serif;
	font-weight: normal;
	font-size: 1.2em;
	margin-top:0px;
	padding-top:0px;
}

h3 {
	font-family: Verdana,Arial,Helvetica,sans-serif;
	font-weight: normal;
	font-size: 1.1em;
}

#content a {
	color:#000000;
	text-decoration: underline;
}

hr {
	border-top: 1px solid #bfbeb9;
	border-left: 0px;
	border-right: 0px;
	border-bottom: 0px;
}

/* 
 * Ensure that stripe is painted to the bottom of the page
 * even if the content doesn't get that far.
 */
#stripe {
	width:1000px;
	height:100%;
	bottom:0px;
	top:0px;
	position: absolute;
	background-image: url('/images/menu.png');
	background-repeat: repeat-y;
	background-position: left;
	z-index: -100;
}


table td {
	padding:0.5em;
}

#history td.date {
	vertical-align: top;
	width: 15%;
	text-align:left;
}

table tr.odd {
	/*background: #f7f5e0;*/
}

.error {
	color:red;
}
/*
 * End of theme definitions.
 */
