html, body {
	margin: 0;
	padding: 0;
	font-size: 11pt;
	font-family: "Liberation Sans", Arial, Helvetica, "Bitstream Vera Sans", "DejaVu Sans", sans-serif;
	background: #ddd;
	text-align: left;
}

#top {
	padding: 0 .5em 0 .5em;
	height: 150px;
	background: url("http://design.cms-db.de/images/top.php") center #aecde5; /* was #aecde5 */
}
#topinner {
	margin: auto;
	height: 150px;
	min-width: 40em;
	max-width: 64em;
}

h1 {
	margin: 0;
	height: 135px;
	font-size: 1em;
	padding: 15px 0 0 0;
	z-index: 100;
}
h1 #top_cmsdb {
	display: block;
	height: 100px;
	width: 350px;
	background: url("http://design.cms-db.de/images/logo.png") top left no-repeat;
	text-indent: -1000em;
	overflow: hidden;
	position: relative; /* make the logo clickable */
}
h1 #top_section {
	position: relative;
	top: -82px;
	left: 335px;
	height: 64px;
}
h1 #top_section img {
	border: none;
	height: 64px;
}

#right {
	text-align: right;
	margin-top: -150px;
	height: 150px;
	z-index: 101;
}
#search {
	margin-top: 50px;
}
#search input {
	line-height: 1em;
	font-family: "Bitstream Vera Sans", "DejaVu Sans", Arial, Helvetica, sans-serif;
	font-size: .8em;
	border: 1px solid #0075b0;
	opacity: .5;
}
#search input:hover {
	opacity: 1;
}
#search input[type=text] {
	width: 95px;
	background: url("http://design.cms-db.de/images/de.png") no-repeat 2px center #dcebf2;
	color: #333;
	padding: 2px 2px 2px 24px;
}
#search.en input[type=text] {
	background-image: url("http://design.cms-db.de/images/en.png");
}
#search input[type=text]:focus {
	color: #0075b0;
	opacity: 1;
}
#search input[type=submit] {
	background: #ddd;
	color: #000;
	cursor: pointer;
	padding: 1px;
}
#search input[type=submit]:hover {
	color: #0075b0;
	background: #eee;
}

#main {
	margin: auto;
	min-width: 40em;
	max-width: 64em;
	margin-top: -1.8em;
	padding: 0 .5em 0 .5em;
	margin-bottom: 2em;
}

#topmenu {
	line-height: 1.8em;
	background: url("http://design.cms-db.de/images/menu.png");
}
#topmenu ul {
	margin: 0;
	padding: 0;
}
#topmenu li {
	display: block;
	list-style-type: none;
	float: left;
}
#topmenu .topactive, #topmenu .topinactive {
	display: block;
	height: 1.8em;
	line-height: 1.8em;
	padding: 0 .4em 0 .4em;
	color: #25456b;
	text-decoration: none;
	background: transparent;
}
#topmenu .topactive {
	background: #eee;
	color: #000;
	z-index: 100;
}
#topmenu .topinactive:hover, #topmenu .menu0 > li:hover .topinactive {
	background: #cdf;
	color: #000;
	z-index: 99;
}

#submenu {
	float: right;
	margin: .7em 0 .7em 0;
	width: 12.5em;
	text-align: left;
	overflow: hidden;
}
#submenu ul {
	list-style-type: none;
	margin: 0;
}
#submenu > .menu0 {
	padding: 0;
}
/* Start Untermenü-Einträge (ALTE VERSION) */
#submenu > .menu0 .inactive0:link, #submenu > .menu0 .inactive0:visited, #submenu > .menu0 .inactive0:active,
#submenu > .menu0 .active0:link, #submenu > .menu0 .active0:visited, #submenu > .menu0 .active0:active {
	display: block;
	color: #14293b;
	text-decoration: none;
	padding: 2px 10px 2px 12px;
	border-left: none;
}
#submenu > .menu0 .inactive0:hover, #submenu > .menu0 .active0:hover {
	display: block;
	color: #31648f;
	text-decoration: none;
	padding: 2px 10px 2px 10px;
	border-left: 2px solid #14293b;
}
/* Ende Untermenü-Einträge (ALTE VERSION) */
/* Start Untergeordnete Untermenü-Einträge (ALTE VERSION) */
#submenu > .menu0 ul {
	padding: 0 0 0 10px;
}
#submenu  > .menu0 .menu1 a:link, #submenu > .menu0 .menu1 a:visited, #submenu > .menu0 .menu1 a:active {
	display: block;
	text-decoration: none;
	color: #31648f;
	font-size: 0.9em;
	padding: 2px 2px 2px 12px;
	border-left: none;
}
#submenu > .menu0 .menu1 a:hover {
	display: block;
	text-decoration: none;
	color: #14293b;
	font-size: 0.9em;
	padding: 2px 2px 2px 10px;
	border-left: 2px solid #31648f;
}
/* Ende Untergeordnete Untermenü-Einträge (ALTE VERSION) */

/* Start Sidebar */
.sidebar ul {
	padding: .3em 0;
}
.sidebar li {
	list-style-type: none;
}
.sidebar ul a:link, .sidebar ul a:visited, .sidebar ul a:active, .sidebar ul a:hover {
	color: #31648f;
	text-decoration: none;
	padding: .2em;
	display: block;
	line-height: 1.3em;
}
.sidebar ul a:hover {
	color: #1b374f;
	background: #dce5ef;
}
.sidebar ul a span.date {
	color: #444;
	border-bottom: 1px solid #ddd;
}
.sidebar ul a:hover span.date {
	color: #222;
	border-bottom: 1px solid #ccc;
}
.tagcloud a:link,
.tagcloud a:visited,
.tagcloud a:active,
.tagcloud a:hover {
	text-decoration: none;
	color: #aaa;
}
.tagcloud a:hover {
	color: #222;
}
.banner a:link,
.banner a:visited,
.banner a:active,
.banner a:hover {
	display: block;
	margin-top: 0.5em;
	padding: .2em;
}
.banner a:hover {
	background: #dce5ef;
}
.banner a:link img,
.banner a:visited img,
.banner a:active img,
.banner a:hover img {
	vertical-align: middle;
	width: 100%;
	opacity: .75;
}
.banner a:hover img {
	opacity: 1;
}
/* Ende Sidebar */

#body {
	background: #eee;
	padding: .1em 1em;
}

#content {
	margin: 0 13.5em 0 0;
	color: #000;
	line-height: 1.6em;
}

#content pre {
	display: block;
	border: 1px solid #aaa;
	background: #e0e0e0;
	overflow: auto;
	max-height: 30em;
	padding: .5em;
	font-size: 10pt;
}
#content code {
	border: 1px solid #ddd;
	background: #eaeaea;
}
#content pre code {
	border: none;
	background: transparent;
}

#content a:link, #content a:active, #content a:visited, #footer a:link, #footer a:active, #footer a:visited {
	color: #31648f;
	background-color: transparent;
	border-bottom: 1px solid #31648f;
	text-decoration: none;
	padding-right: 0;
}
#content a:hover, #footer a:hover {
	color: #1b374f;
	background-color: #d8e4f2;
	border-bottom: 1px solid #1b374f;
	text-decoration: none;
	padding-right: 0;
}

img {
	border: none;
}

#content #herunterladen, #content #funktionen, #content #neuigkeiten {
	float: left;
	display: block;
	width: 150px;
	height: 60px;
	text-indent: -1000em;
	overflow: hidden;
	border: none;
}
#content #herunterladen {
	background: url("http://design.cms-db.de/images/herunterladen.png") top;
}
#content #herunterladen:hover {
	background-position: bottom;
}
#content #funktionen {
	background: url("http://design.cms-db.de/images/funktionen.png") top;
}
#content #funktionen:hover {
	background-position: bottom;
}
#content #neuigkeiten {
	background: url("http://design.cms-db.de/images/neuigkeiten.png") top;
}
#content #neuigkeiten:hover {
	background-position: bottom;
}

h6, h5, h4 {
	font-size: 1.0em;
	font-weight: normal;
	border-bottom: 1px solid #aaaaaa;
}
h3 {
	font-size: 1.2em;
	font-weight: normal;
	border-bottom: 1px solid #aaaaaa;
}
h2 {
	font-size: 1.5em;
	font-weight: normal;
	border-bottom: 1px solid #aaaaaa;
}

table {
	border-collapse: collapse;
	border: 1px dashed #ccc;
}
td, th {
	padding: .1em .5em .1em .5em;
}
th {
	border: 1px solid #bbb;
	color: #555;
	background: #eee;
	font-weight: bold;
	text-align: center;
}
td {
	border: 1px dotted #ccc;
}
td.dark {
	background: #f0f0f0;
}
td.bright {
	background: #f8f8f8;
}

.sidebar h2 {
	border-bottom: 1px dotted #ddd;
	font-size: 1.1em;
	font-weight: normal;
	color: #444;
	margin-bottom: 0;
}
.sidebar h2:after {
	content: ":";
}
.sidebar p {
	margin: 0;
}

.sidebar ul a span.explanation {
	display: block;
	color: #444;
	font-size: .8em;
	line-height: 1.1em;
}
.sidebar ul a:hover span.explanation {
	color: #222;
}

#footer {
	clear: both;
	font-size: .8em;
	color: #666;
	text-align: center;
	margin: 2em 1em 1em 1em;
}

#navbg {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #eee;
	z-index: 1000;
}
#navpopup {
	position: absolute;
	background: #ccc;
	border: 1px solid #31648f;
	font-size: 10pt !important;
	z-index: 1001;
	padding: 0;
	padding-top: 42px;
	margin-top: 16px;
	margin-left: -1px;
}
#navpopup p, #navpopup ul {
	padding: 0;
	margin: 0;
	font-size: 10pt;
}
#navpopup p {
	background: #31648f;
	padding: .3em .5em;
	font-weight: bold;
	color: #fff;
}
#navpopup img {
	border: 1px solid #fff;
	float: right;
}
#navpopup li {
	list-style-type: none;
}
#navpopup li a:link,
#navpopup li a:visited,
#navpopup li a:hover,
#navpopup li a:active {
	display: block;
	background: #fff;
	color: #31648f;
	padding: .2em .5em;
	text-decoration: none;
}
#navpopup li a:hover {
	background: #d8e4f2;
	color: #1b374f;
}

