html {
  background-color: #ddd;
  color: black;
}

body {
  margin: 0;
  padding: 12px;
  text-align: center;
}

div#wrapper {
  position: relative;
  top: 0;
  background: #708090 url("modgradient.png") repeat-x 0 -2px;
  color: black;
  border: 4px solid;
  border-color: #99a7b3 #586672 #586672 #99a7b3;
  text-align: justify;
  margin: 0 auto;
  padding: 8px;
  width: 936px;
}
body, p, div {
  font: 12px/18px Candara, "Trebuchet MS", sans-serif;
}
h1, h2, h3, h4 {
  color: #2f4f4f;
  font-family: Candara, "Trebuchet MS", sans-serif;
  font-weight: normal;
  text-align: left;
}
h1 {
  font-size: 20px;
}
h2 {
  font-size: 17px;
}
h3, h4 {
  font-size: 14px;
}
h1#header {
  background: url("logo.png") no-repeat 8px 6px;
  height: 150px;
  width: 270px;
  margin: 0;
  padding: 0;
  position: relative;
}
h1#header a {
  position: absolute;
  top: 0;
  display: block;
  width: 270px;
  height: 150px;
}
h1#header span { display: none; }
h2 { 
  clear: left;
  margin-top: 2ex;
  padding-left: 8%;
  padding-right: 8%;
}
h3 { 
  padding-top: 2ex;
  padding-left: 4%; 
  padding-right: 4%;
}
h4 {
  padding-top: 2ex;
  padding-left: 2%;
  padding-right: 2%;
}

a:link    {color: #000099} /* unvisited link */
a:visited {color: #000033} /* visited link */
a:hover   {color: #0000ff} /* mouse over link */
a:active  {color: #000099} /* selected link */

div#punchoutheader {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 75px;
  height: 105px;
  line-height: 1.5em;
  background-color: #ddd;
  border-width: 4px;
  border-style: solid;
  border-color: #ddd #ddd #99a7b3 #586672;
}
div#punchoutheader a {
  margin: 2px 4px;
  display: block;
}
div#punchoutheader a#jump {
  display: none;
}
div#punchoutfooter {
  position: absolute;
  bottom: -4px;
  left: -4px;
  width: 40px;
  height: 40px;
  background-color: #ddd;
  border-width: 4px;
  border-style: solid;
  border-color: #586672 #99a7b3 #ddd #ddd;
}


div#breadcrumbs {
  background-color: #fff;
  text-align: center;
  position: absolute;
  top: 88px;
  right: 88px;
  font-weight: bold;
  padding: 4px 8px;
  border: 4px solid;
  border-color: #586672 #99a7b3 #fff #586672;
  z-index: 1;
  width: 560px;
}
div#breadcrumbs a.sitemap {
  float: right;
  color: #999;
  text-decoration: none;
}
div#breadcrumbs a.sitemap:hover {
  color: #333;
  text-decoration: underline;
}
div#breadcrumbs div#back {
  position: absolute;
  left: 0;
  top: 0;
}
div#breadcrumbs div#back a {
  color: #999;
  text-decoration: none;
}
div#breadcrumbs div#back a:hover {
  color: #333;
  text-decoration: underline;
}

div#sidebar {
  position: fixed;
  right: 50%;
  top: 180px;
  margin-right: 366px;
  background-color: #fff;
  border: 4px solid;
  border-color: #586672 #fff #99a7b3 #586672;
  color: #333;
  width: 92px;
  z-index: 5;
  padding: 2px 0 2px 4px;
  text-align: left;
}
/* Disable fixed positioning for the IE versions that don't support it */
* html div#sidebar {
  position: absolute;
}
div#sidebar ul {
  margin: 4px 0 0 0;
  padding: 0;
  list-style: none;
}
div#sidebar ul ul {
  border-left: 1px solid #999;
  padding-left: 1px;
}
div#sidebar li {
  margin: 4px 0 0 1px;
}
div#sidebar a:visited {
  color: #999;
}
div#sidebar a:hover,
div#sidebar a {
  color: #666;
  text-decoration: none;
}
div#sidebar ul.navigation {
  text-align: center;
}
div#sidebar ul.navigation li {
  padding: 8px 0;
  color: #ccc;
}

div#modified {
  margin: -42px 0 0 98px;
  background: #708090 url(modgradient.png) repeat-x 0 2px;
  color: #efefef;
  font: 11px Tahoma, Geneva, sans-serif;
  text-align: right;
  padding: 4px 16px;
}
div#footer {
  font-size: 11px;
  margin: 0 0 0 120px;
  padding: 4px;
}
div#footer a {
  font-family: consolas, monospace;
  font-style: italic;
  padding: 8px 8px;
  color: #efefef;
  text-decoration: none;
}
div#footer a.mail:hover {
  text-decoration: underline;
}
div#footer a.mail {
  background: url(mail.png) no-repeat 0 50%;
  padding-left: 25px;
}
div#standards {
  position: absolute;
  bottom: -4px;
  right: 32px;
  padding: 0;
}
div#standards a {
  margin: 0 8px;
  display: block;
  float: right;
}
div#standards a img {
  border-width: 4px;
  border-style: solid;
  border-color: #586672 #99a7b3 #ddd #586672;
  display: block;
}

div#content {
  background-color: #fff;
  border: 4px solid;
  border-color: #586672 #99a7b3 #99a7b3 #586672;
  color: black;
  position: relative;
  top: -40px;
  left: 98px;
  margin: 0;
  padding: 8px 0;
  width: 830px;
  min-height: 300px;
  height: auto;
  overflow: hidden;
}
/* control overflow for IE < 7 \*/
* html div#content {
  height: 300px;
  overflow: visible;
}

div#content p, div#content ul, div#content dl {
  padding: 0 22px;
}
div#content blockquote {
  background: url(66.png) no-repeat 0 0;
  margin: 8px 16px;
  padding-left: 40px;
}
div#content blockquote div {
  background: url(99.png) no-repeat 100% 100%;
  padding-right: 40px;
}
div#content dt {
  font-weight: bold;
  clear: left;
  text-align: left;
}
div#content dt a {
  font-weight: normal;
}
div#content dt img {
  border: 2px outset #ccc;
  float: left;
  margin: 4px 8px 8px 0;
}
div#content dl.websites dd {
  margin: 0 0 16px 160px;
}
div#content dl#index dd {
  margin: 0 0 16px 32px;
}
div#content pre {
  border: 1px dashed #cccccc;
  padding: 2%;
  margin: auto 20px;
}
div#content a.button {
  margin: 0;
  padding: 8px 32px;
  background-color: #f5f5f5;
  color: #565656;
  border-width: 1px;
  border-style: solid;
  border-color: #eee #dedede #dedede #eee;
  text-decoration: none;
  font-family: Verdana, sans-serif;
  font-weight: bold;
  display: block;
}
div#content a.button:hover {
  border-color: #dedede #eee #eee #dedede;
}
div#content a.button img {
  vertical-align: middle;
}
div#content a.wiki {
  background: url(wikipedia.gif) no-repeat 0 50%;
  padding-left: 20px;
  color: #999;
  text-decoration: none;
}
div#content a.wiki:hover {
  color: #333;
  text-decoration: underline;
}
div#content a.wiki small {
  font-variant: small-caps;
}
div#content span.label {
  background-color: #fff;
  color: #2f4f4f;
}
div#content ul.onpagelinks {
  font-size: 95%;
  text-align: center;
  margin: 0;
  padding: 0 20px;
  list-style-type: none;
}
div#content ul.onpagelinks li {
  display: inline-block;
  padding: 1px;
  margin: 1px;
  line-height: 25px;
}
div#content ul.onpagelinks li a {
  padding: 2px 8px;
  background-color: #f5f5f5;
  color: #565656;
  border-width: 1px;
  border-style: solid;
  border-color: #eee #dedede #dedede #eee;
  text-decoration: none;
}
div#content ul.onpagelinks li a:hover {
  border-color: #dedede #eee #eee #dedede;
  text-decoration: underline;
}

p#photo {
  margin: 16px auto;
}
img.photo {
  border: 2px solid #000;
  background-color: #999;
  padding: 1px;
}

div#map {
  margin: 0 4px;
}
div#map ul {
  margin: 12px 4px;
  padding: 0 0 0 4px;
  border-left: 16px solid #fff;
}
div#map ul:hover {
  border-left-color: #ddd;
}
div#map ul li {
  display: inline;
}
div#map ul ul {
  background: #fff url(downright.png) no-repeat 0 0;
  border: none;
  margin: 8px 0 0 0;
  padding: 0 0 0 20px;
  text-align: left;
}
div#map a {
  background-color: #f5f5f5;
  color: #565656;
  border-width: 2px;
  border-style: solid;
  border-color: #eee #dedede #dedede #eee;
  text-decoration: none;
  padding: 2px 4px;
}
div#map a:hover {
  text-decoration: underline;
  border-color: #dedede #eee #eee #dedede;
}


*.xsmall {
  font-size: 80%;
}
*.large {
  font-size: 120%;
}
*.indent {
  padding-left: 5em;
}
*.flushleft {
  text-align: left;
}
*.left {
  float: left;
  margin-right: 8px;
}
*.right {
  float: right;
  margin-left: 8px;
}
*.newline { clear: both; }
*.centre { text-align: center; }

*.onehalf { width: 48% }
*.onethird { width: 32% }
*.twothirds { width: 64% }

div#panorama {
  overflow: auto;
  margin-left: auto;
  margin-right: auto;
  background-color: #999;
  padding: 1px;
  border: 2px solid #000;
  width: 800px;
}
div#panorama img {
  border: 0;
  padding: 0;
}

abbr { cursor: help; }

  
img { border: 0; }
img.mid, a.mid img { vertical-align: middle; }
img.top, a.top img { vertical-align: top; }
img.iconlink { margin-right: 4px; }

a.galleryimage img {
  background-color: #999;
  padding: 1px;
  border: 2px solid #000;
  margin: 8px;
}

/* Credits: Dynamic Drive CSS Library */
/* URL: http://www.dynamicdrive.com/style */

a.thumbnail, a.thumbnail * { cursor: default; }

a.thumbnail {
  position: relative;
  z-index: 10;
  text-decoration: none;
}

a.thumbnail span { /* CSS for enlarged image */
  display: none;
  visibility: hidden;
}

a.thumbnail:hover {
  background-color: transparent;
  z-index: 20;
}

a.thumbnail:hover span { /* CSS for enlarged image on hover */
  position: absolute;
  display: block;
  visibility: visible;
  text-decoration: none;
  background-color: #708090;
  padding: 2px 2px 2px 2px;
  border: 3px solid;
  border-color: #99a7b3 #586672 #586672 #99a7b3;
  color: black;
  font-variant: small-caps;
  text-align: center;
}
a.thumbnail:hover span img { /* CSS for enlarged image */
  border: 2px solid;
  border-color: #586672 #99a7b3 #99a7b3 #586672;
  padding: 0;
}
a.thumbnail:hover span small {
  background-color: #fff;
  border: 2px solid;
  border-color: #586672 #99a7b3 #99a7b3 #586672;
  padding: 1px 8px;
  margin: 0 auto;
  display: block;
  text-decoration: none;
}

/* Where's the thumbnail, relative to the popup? */
a.thumbnail:hover span.left { left: 32px; }
a.thumbnail:hover span.right { right: 48px; }
a.thumbnail:hover span.top { top: 32px; }
a.thumbnail:hover span.bottom { bottom: 48px; }

form#sitesearch {
	margin: 0 14px;
	padding: 0;
}
form#sitesearch p {
	position: relative;
	margin: 0;
	padding: 0;
}
form#sitesearch input#q {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 610px;
	padding-left: 5px;
	padding-right: 25px;
}
form#sitesearch input.go {
	background-color: transparent;
	border: none;
	position: absolute;
	bottom: 2px;
	left: 620px;
	display: block;
	height: 14px;
	line-height: 14px;
}
div#searchpages,
div#searchfooter {
	overflow: hidden;
}
div#searchpages p.showing {
	float: left;
}
div#searchpages p.gotopage {
	float: right;
}
div#searchfooter p.gotopage {
	text-align: center;
}
div#searchpages p.showing strong,
div#searchpages p.gotopage strong,
div#searchfooter p.showing strong,
div#searchfooter p.gotopage strong {
	vertical-align: middle;
	font-size: 1.5em;
}
div#searchpages p.gotopage a,
div#searchfooter p.gotopage a {
	text-decoration: none;
	color: #333;
}
div#searchpages p.gotopage a:hover,
div#searchfooter p.gotopage a:hover {
	text-decoration: underline;
}
dl#searchresults dt a {
	font-weight: bold;
	color: #333;
	text-decoration: none;
}
dl#searchresults dt a:hover {
	text-decoration: underline;
}


/* http://positioniseverything.net/easyclearing */

.clearfix:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}

.clearfix {display: block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */
