#wrapper {
	margin: 0 auto;
	width: 960px;
	background-color: #fed300;
}

@media screen {
#header {
	height: 120px;
	border-style: solid;
	border-width: 0 1px 1px 1px;
	border-left-color: #9d060f;
	border-right-color: #9d060f;
	border-bottom-color: #9d060f;
	background-color: #9d060f;
}
}

@media print {
#header {
	display: none;
}
}

#header-logo {
	position: relative;
	top: 20px;
	right: 0;
	float: right;
	height: 85px;
	background-position: right 0px;
	background-image: url(../img/teufelskerle-logo-header.gif);
	background-repeat: no-repeat;
	width: 360px;
	padding: 0;
	margin: 0;
	margin-right: 10px;
}
#header-logo a {height: 45px; width: 360px;	text-indent: -9000px; display: block;}

#content {
	border-right: 1px solid #9d060f;
	border-bottom: 1px solid #9d060f;
	border-left: 1px solid #9d060f;
	padding: 0 20px 20px;
	height: 100%;
	background: #FFFFFF url(../img/flammenbad.jpg) repeat-x left bottom;
}

#page_name {
	padding-top: 3em;
	padding-bottom: 2em;
	background-color: #FFFFFF;
}

.clearing {clear: both;}

#footer {
	padding: .1em 0;
	color: #b29400;
	vertical-align: top;
	width: 100%;
}

#footer p {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 7pt;
	margin: 0;
	padding: 0;
}

#footer a {
	color: #b29400;
	border: 0;
}

/*** navigation menus
 
css-based solution stolen and adapted from 
http://www.alistapart.com/articles/horizdropdowns/
and
http://htmldog.com/articles/suckerfish/dropdowns/
***/

@media screen {
#navbox {
	position: relative;
	top: 0;
	left: 0;
	margin: 0px;
	display: block;
	width: 100%;
	clear: both;
	border-style: solid;
	border-width: 1px 0 1px 0;
	border-color: #71050b;
	letter-spacing: 0.15em;
	height: 2.1em;
	background-color: #fed300;
	overflow: hidden;
}
}

@media print
{
#navbox {
	display: none;
}
}

/* navigation level 1 */
#navbox ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* navigation menu item level 1 */
#navbox li {
	font-weight: bold;
	font-size: 1em;
	float: left;
	border-style: solid;
	border-width: 0 1px 0 0;
	border-color: #71050b;
	background: #fef77f /* url(/img/menuicon.gif) no-repeat left center*/; 
	width: auto;
	min-width: 9em; _width: 9em; /* i.e. min-width for IE (underscore hack) */
	line-height: 2.1em;
	position: relative; /* position level 2 menu box on left border of level 1 list items! */
}

#navbox li#navhome {
	width: 30px; min-width: 30px; 
	height: 100%; /* persuade IE to paint background */
}


#navbox li#navhome img {
	margin-top: .4em;
}

/* navigation level 2 */
#navbox li ul {
	position: absolute;
	top: 2.1em; /* top menu height! position level 2 menu box below border of level 1 list items */
	left: 0px; /* position level 2 menu box on left border of level 1 list items! */
	display: none;
	width: 15em;
	border-color: #71050b;
	border-style: solid ;
	border-width: 1px;
}

#navbox ul li a {
	display: block;
	text-decoration: none;
	color: #a90710;
	text-align: center;
}

/* Fix IE. Hide from IE Mac. http://www.positioniseverything.net/articles/hollyhack.html \*/
* html #navbox ul li { float: left; height: 1%; }
* html #navbox ul li a { height: 1%; }
/* End */

#navbox ul li:hover, #navbox ul li.sfhover { background: #E10915; } /* Hover Styles */		
#navbox ul li:hover a, #navbox ul li.sfhover a {color: #fef77f; } /* Hover Styles */		
#navbox ul li:hover ul li a, #navbox ul li.sfhover ul li a {color: #a90710; } /* Hover Styles */		
#navbox ul li ul li:hover a, #navbox ul li ul li.sfhover a {color: #fef77f;  } /* Hover Styles */		
	
#navbox li:hover ul ul, #navbox li.sfhover ul ul { display:none; } /* The magic */
#navbox li:hover ul, #navbox li li:hover ul, #navbox li.sfhover ul, #navbox li li.sfhover ul {
	display:block;
}

#navbottom {
	clear: both;
	padding-left: 10px;
	padding-top: 70px;
}

#navbottom a#totop {
	display: none;
	font-size: 8pt;
	background: url(../img/arrow-to-top.gif) no-repeat left top;
	height: 25px;
	width: 25px;
	text-indent: -9000px;
}

#adsense, .adsense {
	margin:auto;
	width: auto; 
	text-align: center;
}

#adsense img, .adsense img {
	margin:auto;
}

/* navigation "you are here" */
body#p-home div#navbox ul li#navhome {display: none;}
body#p-contact div#navbox ul li#navcontact {background: #fed300;}
body#p-gbook div#navbox ul li#navgbook {background: #fed300;}
body#p-fotos div#navbox ul li#navfotos {background: #fed300;}
body#p-shop div#navbox ul li#navshop {background: #fed300;}
body#p-links div#navbox ul li#navlinks {background: #fed300;}

