body {
	font-family: "Liberation Sans", Arial, Helvetica, "Bitstream Vera Sans", "DejaVu Sans", sans-serif;
	margin: 0;
	background: #eee;
	font-size: 10pt;
}
a:link, a:visited, a:active, a:hover {
	color: #00f;
	text-decoration: underline;
}
img {
	border: none;
}
#search input {
	max-width: 50%;
}
#top, #content, #cms-db_top, #phpbb {
	padding: 1em;
}
#top, #cms-db_top { /* removed #topmenu to avoid space under menu */
	background: #aecde5;
}
#top {
	background: url("http://design.cms-db.de/images/top-mobile.jpg") top right no-repeat #aecde5;
}
#phpbb #top {
	background: transparent;
}
h1, #cms-db_heading, #topmenu ul {
	margin: 0;
}
h1, #cms-db_heading {
	font-size: 1em;
	display: block;
}
h1 #top_cmsdb, #cms-db_heading #top_cmsdb {
	display: block;
	float: left;
	height: 36px;
	width: 160px;
	background: url("http://design.cms-db.de/images/logo-handheld.png") top left no-repeat;
	text-indent: -1000em;
	overflow: hidden;
	position: relative;
}
h1 #top_section, #cms-db_heading #top_section {
	display: block;
	float: left;
	position: relative;
	top: -10px;
	left: 0;
	height: 48px;
}
h1 #top_section img, #cms-db_heading #top_section img {
	height: 48px;
	border: none;
}
#search {
	clear: both;
	padding: .5em;
}
#topmenu ul, #topmenu li {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#topmenu a {
	text-decoration: none;
	display: block;
	padding: .5em 1em;
	border-top: 1px solid #cdf;
	border-bottom: 1px solid #cdf;
	margin-bottom: -1px;
	background: #aecde5;
}
#topmenu a:hover, #topmenu a:active {
	background: #cdf;
}
#submenu ul  {
	margin: 0;
	padding-left: 0;
}
#submenu > .menu0 {
	margin-top: 1em;
}
#submenu > .menu0 ul ul {
	padding-left: 1em;
}
#submenu > .menu0 ul a {
	padding: .4em 0;
	display: block;
}
.sidebar {
	padding: 0 1em 0 1em;
}
.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: .4em;
	display: block;
	line-height: 1.3em;
}
.sidebar ul a:hover {
	color: #1b374f;
	background: #dce5ef;
}
.sidebar ul a span.explanation {
	display: block;
	color: #444;
	font-size: .8em;
	line-height: 1.1em;
}
.sidebar ul a:hover span.explanation {
	color: #222;
}
.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;
}
#phpbb dl.icon {
	padding-left: 32px;
}
a:link, a:active, a:visited, a:hover {
	color: #31648f;
	text-decoration: underline;
}
#footer {
	padding: 1em;
}

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;
}
td, th {
	border: 1px solid #aaa;
	padding: .1em .5em .1em .5em;
}
th {
	font-weight: bold;
	text-align: center;
	background: #e0e0e0;
}
td.dark {
	background: #f0f0f0;
}
td.bright {
	background: #f8f8f8;
}

#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: 31px;
	margin-top: 12px;
	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;
}

