body, html {
	background: white;
	color: black;
	margin: 0px;
	padding: 5px;
	font-family: sans-serif;
}

img {
  border: 0px;
}

#wrapper {
  text-align: left;
  margin: 0px auto;
  max-width: 1024px;
  padding-left:expression(document.body.clientWidth > 1024? (document.body.clientWidth-1024)/2 + "px": "0px" );
  padding-right:expression(document.body.clientWidth > 1024? (document.body.clientWidth-1024)/2 + "px": "0px" );
}

#main {
  text-align: left;
	margin: 0px;
	padding: 0 50px 0 50px;
}

#nav {
  margin: 0px 23px 0 30px;
  padding: 0px 0 20px 0px;
  border-bottom: 1px solid black;
  font-family: sans-serif;
}

#nav li {
  margin: 0; 
  padding: 0;
  display: inline;
  list-style-type: none;
}
	
#nav a:link, #nav a:visited {
  float: left;
  margin: 0 10px 4px 10px;
  font-size: 0.9em; 
  font-weight: normal;
  line-height: 14px; 
  text-decoration: none;
  color: black;
  background: white;
}

#nav a.active:link, #nav a.active:visited, #nav a:hover {
  border-bottom: 3px solid black;
  padding-bottom: 3px;
  color: black;
  background: white;
}

#main a:link, #main a:visited {
  border-bottom: 1px dashed black;
  font-weight: normal;
  text-decoration: none;
  color: blue;
}

#main a:hover {
  border-bottom: 1px solid black;
  color: blue;
}


#main a.simple:link, #main a.simple:visited, #main a.simple:hover {
  border-bottom: 0px;
  padding-left: 2em;
  font-weight: normal;
  text-decoration: none;
  color: blue;
}

#main a.ref:link, #main a.ref:visited, #main a.ref:hover {
  border-bottom: 0px;
  font-weight: normal;
  text-decoration: none;
  color: blue;
}

.portrait {
	float: right;
	margin: 1em;
}

.right {
	text-align: right;
	margin-right: 40px;
	margin-top: 15px;
	margin-bottom: -5px;
}

h2 {
	font-variant: small-caps;
}

small {
	font-size: 0.7em;
}

#links li {
	float: left;
	margin-left: 2.5em;
	list-style-type: none;
}

#links h2, p {
	clear: both;
}

#links ul {
	margin-left: -2.5em;
}

#lang {
	position: absolute;
	top: 2em;
	left: 1.5em;
}

.center {
	text-align: center;
}

.sc {
	font-variant: small-caps;
}
.center table { 
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}

dd {
	padding-bottom: 1.5ex;
}
