/* ----- general definitions ----- */
body {
	background-image: url("page_bg.gif");
	color: black;

	font-size: medium;
	font-family: "Trebuchet MS", Sans-Serif;

	height: 100%;
}

h3 {
	font-size: 120%;

	margin: 0;
	margin-top: 0.8em;
	margin-bottom: 0.5em;
	padding: 0;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/* ----- container centers layout ----- */
#container {
	width: 53.6em;

	border: 2px solid white;

	margin-left: auto;
	margin-right: auto;

	overflow: hidden;

	background: url("dode.jpg") 0 0 no-repeat;
	background-position: -260px 19.5em;
	background-color: #bfd6f6
}

/* ----- header, footer ----- */
#header, #footer {
	color: #cccccc;
	background-color: #52678c;

	padding-left: 0.5em;
}

#header {
	font-size: small;
	font-weight: bold;

	text-transform: uppercase;

	border-bottom: 2px solid white;
}

#footer {
	font-size: xx-small;

	padding-right: 0.5em;

	border-top: 2px solid white;

	clear: both;
}

#header a, #footer a {
	color: #cccccc;
}

/* ----- flag ----- */
.flag {
	display: block;
	text-decoration: none;

	width: 20px;
	height: 12px;
}

.flag:hover {
	background-position: 0 -12px !important;
}

#en {
	background: url("en.gif") 0 0 no-repeat;
}

#de {
	background: url("de.gif") 0 0 no-repeat;
}

/* ----- content ----- */
#content {
	background-color: #fff1d7;
	/* background-color: #fff4de; */

	padding-top: 1em;
	padding-bottom: 1em;
	padding-left: 1.5em;
	padding-right: 1.5em;

	margin-left: 12.5em;

	border-left: 2px solid white;

	text-align: justify;

	min-height: 42em;
}

#content a {
	font-style: italic;
	color: #7a3500;
}

#text {
	/* must do this out of #content because calculation of margin must happen with
	 * font-size medium */
	font-size: 86%;
	line-height: 1.5em;
}

/* ----- left column ----- */
#sidebar {
	float: left;
	width: 12.5em;
}

#intro {
	padding: 1.5em;
}

#intro h1 {
	margin: 0;
	padding: 0;
}

#intro h2 {
	margin: 0.15em;
	padding: 0;
}

#intro h1 {
	font-weight: bold;
	font-size: 170%;
}

#intro h2 {
	font-weight: normal;
	font-size: small;
}

/* ----- navigation bar ----- */
#navbar {
	float: right;
	text-align: right;

	font-size: small;

	width: 10em;

	background-color: white;

	border: 2px solid white;
	border-right: none;
}

#navbar ul {
	list-style-image: none;
	list-style-type: none;

	padding: 0;
	margin: 0;
}

#navbar a,
#navbar strong { /* strong is for current page */
	margin-top: 1px;
	padding: .36em .45em .36em .81em;

	border-style: solid;
	border-width: 0 .45em 0 0;

	text-decoration: none;
	display: block;

	color: black;
	background-color: #f6e4c0;
	border-right-color: #ead2a3;
}

#navbar a:focus,
#navbar a:active,
#navbar a:hover,
#navbar strong {
	text-decoration: none !important;
	background-color: #ead2a3;
	border-right-color: #52678c;
}

/* ----- main page ----- */
.citation {
	text-align: right;

	margin-top: 0.5em;
	margin-bottom: 1.5em;
}

.citation strong {
	font-style: italic;
	font-size: 140%;
	font-weight: bold;

	display: block;
	margin-bottom: 0.3em;
}

.citation small {
	font-style: normal;
	font-weight: normal;
	font-size: 140%;
	color: #7f7f7f;
}

/* ----- links page ----- */
#links ul {
	margin-top: 0;
	margin-bottom: 1.5em;
}

/* ----- services page ----- */
#services ul {
	padding-top: 0.5em;
}

#services li {
	padding-bottom: 1.5em;
}

/* ----- software page ----- */
#software ul {
}

#software li {
	padding-bottom: 1.5em;
}

/* ----- projects page ----- */
#projects {
	font-size: 93%;
   line-height: 1.5em;
	text-align: left;
}

#projects em {
	padding-right: 1.2em;
}

#projects td {
	vertical-align: top;

	padding-left: 0;
	padding-right: 0;
   padding-bottom: 0.6em;
}

#projects td:first-child {
	width: 7.5em;
}

#projects table {
   border-bottom: 1px dotted gray;
	margin-bottom: 0.6em;
}

#projects ul {
	margin: 0;
	padding-left: 2.5em;
	list-style-type: circle;
}

#projects .last {
   border-bottom: none !important;
   margin-bottom: 0 !important;
   padding-bottom: 0 !important;
}

.project {
   border-bottom: 1px dotted gray;
	padding-bottom: 0.6em;
	margin-bottom: 0.6em;
}

.project em {
	padding-right: 0.5em !important;
}

#projects .top {
	position: relative;
	top: 0.5em;

	text-align: center;
}

/* ----- contact, disclaimer page ----- */
#contact .nospam, #disclaimer .nospam {
	margin-top: 2em;
	text-align: center;
}

/* ----- lists ----- */
ul.items li , ul.smallitems li {
	list-style-type: none;

	background-repeat: no-repeat;
	background-position: 0 0.46em;

	padding-left: 1.2em;
	margin-left: -2.7em;
}

ul.items li {
	background-image: url("pointer.gif");
	margin-bottom: 0.5em;
}

ul.smallitems li {
	background-image: url("pointer_small.gif");
}

ul.items li li {
	list-style-type: none;

	margin-bottom: 0em;
	background-image: url("pointer_small.gif");
}

