html {
    font-size: small;
}

a {
    color: white;
}

body {
	margin: 0;
	background-color: #aaa;
	font-family: verdana, sans-serif;
	text-align: center;
	color: white;
}

#gradient {
	margin: 0;
	height: 64px;
	background: url('gradient.png');
}

#main {
	border-spacing: 10px;
	width: 800px;
	height: 100%;
	margin: -40px auto 0 auto;
}

#portfolio {
	position: absolute;
	left: 10px;
	bottom: 10px;
	font-size: medium;
}

#head {
	position: relative;
	text-align: center;
	background: url('gradient2.png');
	width: 100%;
	height: 50px;
}
#head h1 {
	position: relative;
	top: 5px;
	margin: auto auto auto auto;
}
#head #langbutton {
	position: absolute;
	right: 6px;
	top: 6px;
}
#head #langbutton a {
	margin-bottom: 10px;
}
#head #langbutton img {
	margin: 0;
}
a img {
	border: 0px;
}

#navigation {
	vertical-align: top;
	background-color: #777;
	margin: 0 10px 0 0;
	width: 150px;
	height: 100%;
}
#navigation ul {
	padding: 0;
	margin: 10px;
}
#navigation li {
	list-style-type: none;
	text-align: center;
	padding: 5px;
	border: 1px solid #aaa;
	margin: 10px 5px;
}
#navigation li.selected {
	background: #aaa;
}
#navigation li:hover {
	background: #aaa;
}
#navigation a {
	text-decoration: none;
}

#content {
	vertical-align: top;
	background-color: #777;
	text-align: left;
	width: 640px;
	height: 100%;
	margin: 0 auto 0 auto;
	padding: 10px;
}
#content h1 {
    font-size: x-large;
    margin-bottom: 0.2em;
}

#footer {
    font-size: x-small;
    background-image: url("gradient3.png");
    height: 30px;
}
#footer span {
    position: relative;
    top: 5px;
}

.left {
    float: left;
}
.left img {
	margin-left: 0px;
}
.right {
    float: right;
}
img {
    margin: 7px;
}
.preview {
	margin: 7px;
}
.subtitle {
    font-size: x-small;
    text-align: center;
    position: relative;
    top: -7px;
}
table {
    border-spacing: 0
}

a.tooltip {
	text-decoration: none;
}
.tooltip span.tooltipinfo {
	display: none;
}
.tooltip:hover span.tooltipinfo {
	display: block;
	position: absolute;
	width: 250px;
	height: 20px;
	background-color: #887;
}

.toc {
	position: relative;
	display: block;
	border: 1px solid silver;
	margin: 1em;
	padding: 1em;
	float: right;
}
.toc div {
	position: absolute;
	background-color: #777;
	top: -0.7em;
	left: 0.8em;
	padding-left: 0.2em;
	padding-right: 0.2em;
}