html {
	background-color: #fafafa;
	margin: 0;
	padding: 0;
	color: #404040;
}

body {
	margin: 0;
	padding: 0;
	font-family: "Times New Roman", serif;
	font-size: 13pt;
}

::selection {
	background: #f3e1ec;
}

::-moz-selection {
	background: #f3e1ec;
}

.docwrapper, .metawrapper {
	width: 40em;
	max-width: 100%;
	margin: 0 auto;
	line-height: 1.3em;
}

.docwrapper {
	margin-bottom: 1em;
}

a:link, a:visited {
	color: #404040;
	text-decoration: none;
	border-bottom: 0.07em solid #5c8c00;
}

a:link {
	border-color: #5c8c00;
}

a:visited {
	border-color: #005d8c;
}

a:hover, a:focus {
	border-color: #005d8c;
}

a.toc-backref {
	color: inherit;
	border: 0;
}

div.figure {
	margin-left: 1em;
	margin-right: 1em;
	text-align: center;
}

div.figure[align=right] {
	float: right;
	margin-right: 0;
}

div.figure[align=left] {
	float: left;
	margin-left: 0;
}

div.figure a.image-reference, a.image-reference {
	border: 0;
	color: transparent;
}

div.header {
	color: #fff;
	background-color: #0078b4;
	border-bottom: 0.25em solid #005d8c;
	background-image: url(style/header.png);
	background-repeat: repeat-x;
	background-position: left top;
	clear: both;
	font-size: 0.75em;
	text-align: center;
	padding: 0.3em;
}

div.header p {
	margin: 0;
	padding: 0;
}

div.header a {
	color: #fff;
	text-decoration: none;
	border-bottom: 0.07em solid #fff;
}

/* nice hover effect for headlines */
div.section:hover > h1, div.section:hover > h2, div.section:hover > h3 {
	border-bottom: 0.14em solid #d9e8bc;
	color: #273c00;
}

div.document div.section {
	margin: 1em;
}

/* structure by using indent "levels" */
div.section div.section {
	margin-left: 1em;
	margin-right: 1em;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Georgia", serif;
}

h1, h2, h3 {
	text-align: center;
	border-bottom: 0.14em solid #e1edf3;
}

h4, h5, h6 {
	text-align: left;
}

h1 {
	font-size: 1.75em;
}

h2 {
	font-weight: normal;
	font-style: italic;
	font-size: 1.25em;
}

h3 {
	font-size: 1.1em;
	font-weight: normal;
}

h4 {
	font-size: 1em;
	font-weight: normal;
}

div.document hr, .metawrapper hr {
  border: 0;
  color: #e1edf3;
  background-color: #e1edf3;
  background-image: url(style/divider.png);
  height: 10px;
  width: 46px;
  margin-top: 1em;
  margin-bottom: 1em;
}

hr.header {
	display: none;
}

img.align-left {
	clear: left;
	margin-right: 1em;
}

img.align-right {
	clear: right;
	margin-left: 1em;
}

p {
	margin: 0;
	padding: 0;
}

/* indent paragraphs instead of creating a margin */
p + p {
	text-indent: 1em;
	margin: 0;
	padding: 0;
}

blockquote {
	background-image: url(style/quote.png);
	background-repeat: no-repeat;
	padding-left: 2.5em;
	margin-left: 0;
	margin-right: 0;
}

.metawrapper table.metainfo {
	font-size: 0.85em;
	margin: 1em auto;
	line-height: 1em;
}

.metawrapper table.metainfo th.metainfo-name {
	font-style: italic;
	font-weight: normal;
}

.prev-next-navi-prev {
	position: absolute;
	left: 0.3em;
}

.prev-next-navi-next {
	position: absolute;
	right: 0.3em;
}

.index-document .title {
	border: 0;
}

