/*
 * Sigh, this would be a lot easier if there were real CSS conforming
 * browsers out there.  Most of what is in here is to work around
 * CSS bugs rather than what I really wanted to do.
 */

/*
 * The main text is indented and the background colour is set
 */
body {
	color: #000000;
	background-color: #8b9099;
}

/*
 * Titles are surounded in a box and have a coloured background.
 */
.topheading { 
	font-size: 20pt;
	font-family: verdana, arial, helvetica, sans-serif;
	color : black;
	height: 80px;
	text-align: center;

	background-color : #8da4c4;

	border: 1px solid black;
	margin: 2px;
}

.sidenav {

	background-color : #8da4c4;

	font-family: verdana, arial, helvetica, sans-serif;
	font-size: 12pt;
	text-align: left;
	vertical-align: top;

	border: 1px solid #000000;
	margin: 2px;

	width: 120px;
}

.mainpanel {
	border: 1px solid #000000;
}

.maincontent {
	padding: 10px 10px 10px 60px;
	margin-left: 50px;
	background-color: #e8f1ff;
	font-family: verdana, arial, helvetica, sans-serif;
}

table.main-layout {
	border-spacing: 10px;
}

tr.nav {
	/* In-active background colour setting */
	color: black;
	background-color : #8da4c4;
	font-weight: bold;
}

tr.navactive {
	/* Active background colour setting */
	color: black;
	background-color : #b3c0d3;
	font-weight: bold;
}

td.nav { 

	/* In-active main navigation button */
	/*height: 40px;*/

	/*padding-left: 5px;
	*/

	border-width: 1px;
	border-style: solid none;
	border-color: black white white black;
}

td.navactive { 
	border-width: 1px;
	border-style: solid none;
	border-color: black white white black;
}

td.subnav { 
	/* Inactive main navigation button */
	font-size: 10pt;

	border-width: 1px;
	border-style: solid none;
	border-color: white black black white;
}

td.subnavactive { 

	font-size: 10pt;

	border-width: 1px;
	border-style: solid;
	border-color: #b3c0d3 white #b3c0d3 #b3c0d3;
}

.navhilight {
	background-color : #e9e9f8;
	font-weight: bold;
}

.test {
	/* Distinctive colour for testing */
	background-color: #998844;
	color: #448844;
}

H1, H2, H3, H4, H5, H6 {
	color: #0f458c;
}

H1 {
	font-size: 16pt;
	margin-left: -50px;
}
H2 {
	font-size: 14pt;
	margin-left: -50px;
}
H3 {
	margin-bottom: 0;
	font-size: 14pt;
}


.nav a, .navactive a {
	text-decoration: none;
	color: black;
	display: block;
	padding: 10px;
}

.subnav a, .subnavactive a {
	text-decoration: none;
	color: black;
	display: block;
	padding: 3px 10px 3px 20px;
}

.nav a:hover, .navactive a:hover, .navhilight a:hover {
	background-color : #e9e9f8;
	display: block;
}

div.titles {
	margin: 10px 0 0 -50px;
	border: 1px solid black;
}

div.titles h1 {
	text-align: center;	
	margin: 0 0 0 0;
	padding: 5px;
	background-color : #8da4c4;
}

p.footer {
	font-size: 12pt;
	font-style: italic;
}

div.nextarrow {
	background-image: url(/icons/blue/next.png);
	background-repeat: no-repeat;
	width: 57px;
	height: 46px;
}
div.prevarrow {
	background-image: url(/icons/blue/prev.png);
	background-repeat: no-repeat;
	width: 57px;
	height: 46px;
}
div.uparrow {
	background-image: url(/icons/blue/up.png);
	background-repeat: no-repeat;
	width: 57px;
	height: 46px;
}
div.blankarrow {
	width: 57px;
	height: 46px;
}
span.nostyle {
	display: none;
}

table.display {width: 100%; border-spacing: 5px;
  background-color: #eeeeee;
}
table.display th {text-align: left;
  background-color: #d0d0d0;
}
table.display td {vertical-align: top;
  background-color: #e5e5e5;
}

/* For item indexes */
table.menu-layout { width: 100%; border-spacing: 0px 2px;}
.menu-layout a { display: block; }
.menu-layout a:hover { display: block; background-color: #aaa;}
.menu-layout td {background-color: #ccc;}

/* For photo indexes */
table.photo-index {border-spacing: 0px; width: 90%;
	background-color: #ccc;}
.photo-index {width: 100%; }
.photo-index td {height: 45px; /* Has to be kept in step with THUMB_MAX */}
.photo-index img {margin: auto; padding: 5px; display: block;}
.photo-index tr.highlight {background-color: #aaa;}
