body
{
	background-color: black;
	margin: 0;
	padding: 0;
}

body.popup
{
	background-color: white;
}

#header, #mainmenu, #frame
{
	width: 800px;
	margin: 0 auto;
}

#header
{
	border-top: solid black 1px;
	height: 150px;
	background: black url(../img/template/bg_header.jpg) top left no-repeat;
	position: relative;
}

#header h1
{
	border: none;
}

#header h1 a
{
	display: block;
	width: 380px;
	height: 65px;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 30px;
	left: 75px;
	color: white;
	text-decoration: none;
}

#header h1 a span
{
	display: none;
}

#mainmenu
{
	padding: 0;
	height: 35px;
	background: #5a0000 url(../img/template/bg_menu.gif) top left repeat-x;
}

#mainmenu li
{
	float: left;
}

#mainmenu li,
#mainmenu li a
{
	display: block;
	height: 35px;
	line-height: 35px;
	margin: 0;
	padding: 0;
}

#mainmenu li a
{
	background-position: top left;
	background-repeat: no-repeat;
	color: white;
}

body.admin #mainmenu li a
{
	padding: 0.1em 1em;
}


#mainmenu li a span
{
	display: none;
}


#mainmenu li.home a
{
	background-image: url(../img/template/hm_home.gif);
	width: 68px;
}

#mainmenu li.home a:hover,
#mainmenu li.home a:focus
{
	background-image: url(../img/template/hm_home_hl.gif);
	outline: none;
}

#mainmenu li.themen a
{
	background-image: url(../img/template/hm_themen.gif);
	width: 78px;
}

#mainmenu li.themen a:hover,
#mainmenu li.themen a:focus
{
	background-image: url(../img/template/hm_themen_hl.gif);
	outline: none;
}

#mainmenu li.archiv a
{
	background-image: url(../img/template/hm_archiv.gif);
	width: 71px;
}

#mainmenu li.archiv a:hover,
#mainmenu li.archiv a:focus
{
	background-image: url(../img/template/hm_archiv_hl.gif);
	outline: none;
}

#mainmenu li.bilder a
{
	background-image: url(../img/template/hm_bilder.gif);
	width: 66px;
}

#mainmenu li.bilder a:hover,
#mainmenu li.bilder a:focus
{
	background-image: url(../img/template/hm_bilder_hl.gif);
	outline: none;
}

#mainmenu li.software a
{
	background-image: url(../img/template/hm_software.gif);
	width: 86px;
}

#mainmenu li.software a:hover,
#mainmenu li.software a:focus
{
	background-image: url(../img/template/hm_software_hl.gif);
	outline: none;
}

#mainmenu li.gaestebuch a
{
	background-image: url(../img/template/hm_gaestebuch.gif);
	width: 96px;
}

#mainmenu li.gaestebuch a:hover,
#mainmenu li.gaestebuch a:focus
{
	background-image: url(../img/template/hm_gaestebuch_hl.gif);
	outline: none;
}

#mainmenu li.suche a
{
	background-image: url(../img/template/hm_suche.gif);
	width: 63px;
}

#mainmenu li.suche a:hover,
#mainmenu li.suche a:focus
{
	background-image: url(../img/template/hm_suche_hl.gif);
	outline: none;
}

#mainmenu li ul
{
	display: none;
}

#mainmenu li.expanded ul
{
	display: block;
}

#mainmenu li ul
{
	position: absolute;
	padding: 0;
	margin: 0 0 0 -1px;
	border-color: #531719;
	border-style: solid;
	border-width: 1px 1px 0 1px;
}

#mainmenu li ul li
{
	width: 140px;
	height: auto;
	float: none;
	border-bottom: solid #531719 1px;
}

#mainmenu li ul li a
{
	background-image: none !important;
	background-color: #730000;
	width: auto !important;
	padding: 0 1em;
	font-size: 0.9em;
	font-weight: normal;
	line-height: 2em;
	height: auto;
	text-decoration: none;
	text-shadow: #2c3134 0 -1px 2px;
}

#mainmenu li ul li a:hover
{
	background-color: #840300;
}

#mainmenu li ul li a span
{
	display: inline;
}

/* Metanavigation */
#metanav
{
	margin: 0;
	padding: 0;
	position: absolute;
	top: 10px;
	right: 10px;
	list-style: none;
}

#metanav li
{
	float: left;
}

#metanav li.first
{
	padding-left: 0;
	background: none;
}

#metanav li a
{
	color: #cccccc;
	font-size: 10px;
	font-weight: bold;
	text-decoration: none;
}

#frame
{
	min-height: 200px;
	background: white url(../img/template/bg_frame.gif) top left repeat-y;
}

body.popup #frame,
body.wide #frame
{
	min-height: 0;
	background: white;
	width: auto;
}

body.admin #frame
{
	width: 800px;
}

#bg_top
{
	background-image: url(../img/template/bg_content_top3.jpg);
	background-position: top left;
	background-repeat: no-repeat;
}

#bg_bottom
{
	background-image: url(../img/template/bg_content_bottom.jpg);
	background-position: bottom left;
	background-repeat: no-repeat;
}

#content
{
	margin: 0 225px 0 0;
	min-height: 1000px;
	padding: 54px 46px 160px 46px;
	width: 483px;
	overflow: auto;	/* Erzeugt im IE einen separaten "Formatting Context" für die Content-Spalte */
}

body.popup #content,
body.wide #content
{
	margin: 0;
	padding: 1em;
	width: auto;
	overflow: visible;
	min-height: 0;
}

body.wide #content
{
	overflow: auto;
	padding: 1em 3em;
}

#sidebar
{
	float: right;
	width: 200px;
	padding: 40px 10px 5em 15px;
}

#footer
{
	/*border: solid purple 1px;*/
	clear: both;
	color: white;
	letter-spacing: 0.1em;
	text-align: center;
	background-color: black;
	padding-bottom: 1em;
}

#footer p
{
	font-size: 9px;
	margin: 0;
	padding: 0;
	text-align: center;
	line-height: 2em;
}

#footer a
{
	color: white;
	text-decoration: none;
}

#banner_top
{
	margin-bottom: 2em;
}
