/* vim: set ts=4 sts=4 sw=4 isk+=-,. fen fcl=all fdm=marker fmr={{{,}}} fml=2 : */

html {
	overflow: auto;
}

body {
	margin: 0;
	padding: 0;
	font-size: 9pt;
	font-family: sans-serif;
	color: #012345;
	background: #eeeeaa;
}

a {
	color: #bb2112;
	text-decoration: none;
}

a:hover { text-decoration: underline; }
/*a:visited { color: #aa00bb; }*/

em {
	font-family: serif;
}

.page {
	overflow: hidden;
	min-width: 50em;
	max-width: 80em;
	margin: 2em auto 0 auto;
	border-radius: 16px 16px 0 0;
	box-shadow: 0 0 0.6em 0 #333366;
	background: #f5f5f5;
}

/* {{{ .pageheader */
.pageheader {
	position: relative;
	min-height: 95px;
	padding: 0 1em;
	color: #eeeeaa;
	background: #333366;
	background: -webkit-linear-gradient(#333366, #001030);
	background:    -moz-linear-gradient(#333366, #001030);
	background:         linear-gradient(#333366, #001030);
	box-shadow: 0 0 0.6em 0 #333366;
	border-radius: 16px 16px 0 0;
}

.pageheader .header {
	font-size: 10pt;
	margin-left: 12em;
}

.pageheader .header > span {
	display: block;
	margin: auto;
	min-width: 30em;
	padding: 1em;
}

.pageheader .parentlinks {
	display: block;
	min-height: 1.5em;
	margin-top: 0.75em;
}

.pageheader a,
.pageheader .parentlinks a {
	color: #eeeeaa;
	text-decoration: none;
}

.pageheader a:hover {
	text-decoration: underline;
}

.pageheader .title {
	line-height: 1.5em;
	font-size: 16pt;
}

/* {{{ .actions */
.actions {
	text-align: right;
}

.actions ul li {
	background: #eeeeaa;
	border-radius: 0.8em 0.8em 0 0;
}

.actions ul li a {
	padding: 0 0.8em;
	color: black;
}
/* .actions }}} */
/* {{{ #otherlanguages */
#otherlanguages,
#otherlanguages ul li a {
	color: #012345;
	background: white;
}

#otherlanguages ul li {
	margin-left: 1em;
}

.pageheader #otherlanguages {
	border: none;
}
/* #otherlanguages }}} */
/* .pageheader }}} */

#pagebody {
	position: relative;
	min-width: 32em;
	min-height: 48em;
	margin: 0 0 0 12em;
	padding: 1em 2em;
	background: white;
	z-index: 110;
	box-shadow: 0 3px 0.4em 0 #333366;
}

/* {{{ .sidebar */
.sidebar {
	position: absolute;
	top: 14em;
	overflow: hidden;
	width: 12em;
	margin: 0;
	padding: 0;
	border: none;
	z-index: 100;
	background: #f5f5f5;
}

.sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
	background: transparent;
}

.sidebar li {
	text-align: left;
}

.sidebar ul li .selflink {
	color: #012345;
	font-weight: bold;
}

.sidebar ul li > span,
.sidebar ul li > a {
	display: block;
	padding: 0.5em;
	font-size: 11pt;
	font-weight: bold;
	text-decoration: none;
	border: 1px solid #f5f5f5;
	color: #aaaaaa;
	background: transparent;
}

.sidebar ul li .selflink:hover {
	border-top: 1px dotted #012345;
	border-bottom: 1px dotted #012345;
	background: #ffffdd;
}

.sidebar a:hover {
	border-top: 1px dotted #012345;
	border-bottom: 1px dotted #012345;
	color: #012345;
	background: #ffffdd;
}
/* .sidebar }}} */
/* {{{ #content */
#content {
	line-height: 1.5em;
	overflow: auto;
}

#content p {
	text-align: justify;
	margin: 1em 0 1em 0;
}

#content hr {
	border: none;
	border-bottom: dotted 2px #bbbbbb;
	margin: 2em auto;
}

#content h1 {
	display: inline;
	font-size: 20pt;
	font-weight: normal;
	line-height: 2.5em;
	padding: 0.2em 0.5em;
	color: #333366;
	background: #f5f5f5;
	border: dotted 1px #333366;
	border-left: solid 3px;
}

#content h2 {
	font-size: 16pt;
	font-weight: normal;
	margin-top: 1.5em;
	margin-bottom: 0;
}

#content h2 + p {
	margin-top: 0.75em;
}

#content h3 {
	font-size: 12pt;
	margin-bottom: 0;
	padding-bottom: 0;
}

#content h3 + p {
	margin-top: 0.5em;
}

#content table {
	border-top: solid 1px #aaa;
	border-bottom: solid 1px #aaa;
	border-collapse: collapse;
}

#content table th {
	background: #fafafa;
	padding: 0.1em 0.5em;
	border-bottom: solid 1px #aaaaaa;
	color: #555555;
}

#content table td {
	padding: 0.1em 0.5em;
	border-top: solid 1px #ccc;
}

#content .feedlink a {
	text-decoration: none;
}
/* #content }}} */

/* {{{ #footer */
#footer {
	position: relative;
	margin: 0;
	padding: 1em 0;
	text-align: center;
	color: white;
	background: #333366;
	background: -webkit-linear-gradient(#001030, #333366);
	background:    -moz-linear-gradient(#001030, #333366);
	background:         linear-gradient(#001030, #333366);
	box-shadow: 0 0 0.6em 0 #333366;
}

#footer #pageinfo {
	position: relative;
	min-width: 30em;
	margin: auto;
	padding: 0.1em 2em;
	border-top: none;
}

#footer a {
	color: white;
}

#footer a:hover {
	text-decoration: underline;
}

#backlinks {
	font-size: 8pt;
	margin-top: 0;
}

#footer #pageinfo div {
	font-size: 8pt;
	margin-top: 0.5em;
	margin-bottom: 0;
}
/* #footer }}} */

/* {{{ @media print */
@media print {
	.sidebar,
	.actions,
	.feedlink,
	#backlinks,
	#otherlanguages {
		display: none;
	}

	#footer,
	#footer #pageinfo,
	.page,
	.pageheader,
	#pagebody {
	    margin: 0;
	    padding: 0;
	    border: none;
	    box-shadow: none;
	}

	.page,
	.pageheader {
		border-radius: 0;
	}

	#footer {
		padding: 0.5em;
	}
}
/* @media print }}} */

