body { 
	text-align: center;
	background-color: #e8e8e8;
	font: normal normal 15px/19px Helvetica, Arial, sans-serif;
	margin: 0;
}

/* Clear up center page hack */
body * {
	text-align: left;
}

/* set fixed width page 
in the centre of browser window */
#page {
	margin: 0 auto;
	padding: 0;
	width: 760px;
	background-color: #ebf3f3;
	color: #555;
	border: 5px solid #474;
}

/* override defaults for text */
h1, h2, h3, h4, h5, h6, p {
	font-style: normal;
	font-weight: normal;
	margin: 0;
	padding: 0;
}

h2 {
	font: bold 15px/22px Times, "Timea New Roman", serif;
	text-align: center;
	margin-top: 4px;
	margin-bottom: 2px;
	color: #777;
}
/* used to carry most thumbnails - grey keyline */
h3 {
	text-align: center;
	margin-top: 4px;
	margin-bottom: 5px;
}
h3 img {
	vertical-align: middle;
	border: 1px solid;
	border-color: #999;
}

#masthead {
text-align: center;
margin-top: 8px;
margin-bottom: 0px;
}
#masthead h1 {
	text-align: center;
	font-size: 30px;
	line-height: 30px;
}
#masthead h1 img {
	vertical-align: text-bottom;
	padding: 2px 0px 1px;
}
#masthead h2 {
	padding: 3px 0px 2px;
}

masthead2 {
	text-align: center;
	margin: 0;	
}
#masthead2 h1 {
	text-align: center;
	padding: 8px 0px 3px;
}
#masthead h1 img {
	vertical-align: text-bottom;
}

/* h6 is used to carry logos in footer menu */
#menu h6, #footer-menu h6 {
	text-align: center;
	margin-top: 7px;
	margin-bottom: 8px;
	padding-bottom: 3px;
}
	
.copyright {
	text-align: center;
	font-size: 12px;
	line-height: 15px;
	padding-top: 7px;
	padding-bottom: 2px;
}

p {
	font-size: 15px;
	line-height: 19px;
}

/* Adds padding to links in captions etc.*/
p.plink {
	padding: 10px 25px 0px 20px;
}

/* centred box used on single pic pages etc. 
Adjust width to control text rather than using
padding or margins */
.cbox {
	margin: 0px auto;
}

/* centered box, centered text */
/* floating box with centered text */

.cbox-c {
	margin: 0px auto;
	padding: 0px;
}

/* this sets caption size */
.cbox-c p, .flbox-c p {
	text-align: center;
	font-size: 15px;
	line-height: 19px;
	padding-bottom: 4px;
}

.flbox {
	float:left;
	margin: 0;
	padding: 0;
}

.flbox-c {
	float: left;
	text-align: center;
}

.flbox-l {
	float: left;
	text-align: left;
}

.flbox-l p {
	padding: 7px 20px 0px 20px;
}
/* This is for text betweem content sections */
.tbox p {
	padding: 7px 15px 0px 20px;
}

/* vertical and horizontal spacers as IE doesn't agree 
with anyone else - not quite the spirit of CSS but it works */
.clearspace {
	margin: 0;
	padding: 0;
	height: 1px;
	clear: both;
/* debug 
	background-color: pink;
*/
}

 .clearspace p {font-size: 1px; line-height: 1px;
 }

.hspace {
	margin: 0;
	padding: 0;
	float: left;
/* debug 
	background-color: blue;
*/
}
.hspace p {font-size: 3px; line-height: 3px;}

/* menu section NB color selection for bg-callout
should match menu and highlights must match page */

/* It would be posible simply to add the class bg-callout
to those sections that use/require it but the html code is
simplified if two values are changed here in the CSS */

.bg-callout {
	background-color: #e2eaea;
}

#menu {
	margin: 0px 10px 0px 10px;
	padding: 0px;
	background-color: #e2eaea;
	color: #00f;
	border-style: none;
	font-size: 15px;
	clear:both;
}

ul.mbar {
	font: normal normal 14px/16px Helvetica, Arial, sans-serif;
	text-align: center;
	list-style-type: none;
	margin: 0;
	padding: 5px 0px 5px;
}
	
ul.mbar li {
	display: inline;
}
	
ul.mbar li a {
	margin: 0;
	text-decoration: none;
	padding: 2px 6px 2px;
	border-style: none;
}

ul.mbar li a:link {
	color: #00f;
}

ul.mbar li a:visited {
	color: #11b;
}
ul.mbar li a:hover {
	color: #00f;
	font-style: normal;
	background-color: #edf5f5;
}
ul.mbar li.here {
	background-color: #edf5f5;
	padding: 2px 6px 2px;
}
/* NB above 2 background-colors are 
just a bit lighter than the page */

ul.mbar li a:active {
	color: #55f;
}

.backto {
border: 1px solid #99f;
border-style: dotted;
}

#footer-menu {
	margin: 10px 10px 8px 10px;
	padding: 0px;
	background-color: #e5eded;
	color: #00f;
	border: none;
	font-size: 15px;
	clear:both;
}

/* Regular links elsewhere are more or less the same */
a {
	text-decoration: none;
}
a:link {
	color: #00c;
}
a:visited {
	color: #11b;
}
a:hover {
	color: #22f;
}
a:active {
	color: #55f;
}

