/* "generic styles */

body {
	margin: 0; padding: 0;
	background: #3e3e3e; color: #fff;
	font-size: small;
	font-family: lucida grande, tahoma, verdana, arial, sans-serif;
}

a, li a, nav li a {
	text-decoration: none;
}

a.maillink {
	text-decoration: underline;
	color: #fff;
}
a img {
	border: 0;
}

p {
	margin: 0 0 .75em;
	font-style: normal;
	text-align: justify;
	text-indent: 1.5em;
}

#masthead {
	margin-bottom: 5em; padding-top: 1px;
}

#homelink {
	display: block;
	margin: 1em 2em 2em 0.55em; padding: 2em 0 0.5em 1em;
	background: url(../index.html) 100% 100% no-repeat;
}

#nav, 
#nav ul {padding:0; margin:0; list-style:none; font: 11px lucida grande, tahoma, verdana, arial, sans-serif; position:relative; z-index:100;}
#nav {
	height:23px;
	width:100%;
	padding:0.5em 3em;
	background:#2a2a2a;
	border-bottom: 1px solid #3e3e3e;
	border-top: 1px solid #3e3e3e;
}

#nav table {border-collapse:collapse;}
#nav li {float:left;}
#nav li li {float:none;}
/* a hack for IE5.x and IE6 */
#nav li a li {float:left;}

#nav li a {display:block; float:left; color:#fff; height:23px; padding:0 15px 0 15px; line-height:22px; text-decoration:none; white-space:nowrap; font-weight:bold; border-left:1px solid #fff;}
#nav li li a {height:21px; line-height:20px; float:none; padding:6px 15px 2px 15px; background:#2a2a2a;}

#nav li:hover {position:relative; z-index:100;}
#nav a:hover {position:relative; z-index:100; color:#2a2a2a; border-left:1px solid #fff;}
#nav li:hover > a {border-left:1px solid #fff; color:#a4cfbe;}

#nav :hover  ul {left:0; top:23px; z-index:300;}
#nav a:hover ul {left:-1px;}

#nav ul {position:absolute; left:-9999px; top:-9999px;}

/* it could have been this simple if all browsers understood */
/* show next level */
#nav li:hover li:hover > ul {left:0; margin-left:100%; top:0;}
/* keep further levels hidden */
#nav li:hover > ul ul {position:absolute; left:-9999px; top:-9999px; width:auto;}
/* show path followed */
#nav li:hover li:hover > a {color:#a4cfbe; border-left:1px solid #a4cfbe;}

#nav li a:hover ul li a:hover {background:#2a2a2a;}

/* but IE5.x and IE6 need this lot to style the flyouts*/
/* show next level */
#nav a:hover a:hover ul,
#nav a:hover a:hover a:hover ul,
#nav a:hover a:hover a:hover a:hover ul,
#nav a:hover a:hover a:hover a:hover a:hover ul
{left:100%; top:0;}

/* keep further levels hidden */
#nav a:hover ul ul,
#nav a:hover a:hover ul ul,
#nav a:hover a:hover a:hover ul ul,
#nav a:hover a:hover a:hover a:hover ul ul
{position:absolute; left:-9999px; top:-9999px;}

#content {
	float: left;
	padding: 0 20em 4em 3em;
}

#content.about {
	float: left;
	padding: 0 3em 4em 3em;
}

#content h1 {
	margin: 0 0 1.25em 0; padding: 0.5em 0;
	color: #a4cfbe;
	font-size: 1.5em;
	border-bottom: 1px solid #a4cfbe;
}

#content h2 {
	color: #a4cfbe;
	font-size: 1.1em; margin: 2em 0 0.5em 0;
}

#content h3 {
	color: #a4cfbe;
	font-size: 1.1em; margin: 2em 380px 2em 0;
	border-bottom: 1px solid #a4cfbe;
	padding: 0 0 0.25em 0;
}

#content h4 {
	text-align: center; color: #a4cfbe; margin: 3em 0 .25em 0;
}

/* next one style only for future use to add a photo in amongst the text and flush left */
#content img.illus {
	float: left;
	margin: 1em 1em 1em 0;
}

#photo {
	float: right;
	margin: 0 0 1.5em 2.5em;
	
}

#footer {
	border-top: 1px solid #a4cfbe;
	clear: both;
	padding: 2em 3em; margin: 5em 3em 0 3em;
	text-align: center;
	font-size: xx-small;
	line-height: 1.5em;
 }

#footer p {
	margin: 0;
}

#footer a {
	color: #fff;
	text-decoration: underline;
	margin-right: 1em;
}

#footer a:hover {
	color: #a4cfbe;
}

#footer a.current {
	cursor: default;
}

#footer a.style2 {
	color:#666;
}

#footer a.current:hover {
	color: #fff;
}

#sidebar {
	float: left;
	width: 17em;
	margin: 0 0 4em -18em;
}

#sidebar div {
	background: #000;
	color: #fff;
	padding: 0 1em 1em;
	margin-top: 0.75em;
}

#sidebar div h2 {
	background: #2a2a2a;
	font-size: 1.25em;
	margin: 0 -0.8em; padding: 0.4em 0.8em;
	color: #fff;
}

#sidebar div p {
	font-size: 0.9 em;
	margin: 0 -0.8em; padding: 0.4em 0.8em;
	color: #fff;
}

#featured-photo h4 {
	margin: 0 0 0.5em; padding: 0.5em 0;
	border-bottom: 1px solid #a4cfbe;
	font-weight: normal;
	color: #a4cfbe;
}

#featured-photo img {
	display: block;
	margin: 1em auto 0;
}

#likebox iframe {
	display: block;
	margin: auto; padding-top: 1em
}
