/*  ==========================
    CSS by Patrick Beeli
    www.patrickbeeli.ch  
    ==========================  */

body {
	background-color: #ececec;
	background-image: url(../img/noten.jpg);
	font-size: 12px;
	font-family: Arial, Helvetica, Sans-Serif;
	color: #000000;
	padding: 0px;
	margin :0px;
	}

a, a:visited {
	color: #fe0019;
	text-decoration: underline;
	}

a:hover, a:active {
	color: #7DB5F6;
	text-decoration: underline;
	}

h1 {
	font-size: 24px;
	padding: 10px 0 0 0;
	margin: 0;
	}

h2 {
	font-size: 18px;
	font-weight: normal;
	padding: 5px 0 10px 0; 
	margin: 0;
	}
	
p {
	padding: 5px 0 5px 0; 
	margin: 0;
	}

/*  ==========================
    Container
    ==========================  */
#container {
	width: 950px;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	background-color: #ececec;
	}

/*  ==========================
    Head
    ==========================  */
#head {
	background-color: #ffffff;
	text-align: left;
	padding: 0;
	margin: 0;
	height: 113px;
	}

#head img {
	float: left;
	}

#head h1 {
	color:#333333;
	font-size: 16px;
	margin: 0 0 0 240px;
	}

/*  ==========================
    Content
    ==========================  */
#content {
	padding: 8px;
	margin: 0 135px;
	background-color: #ffffff;
	}

div#content { 
	min-height: 600px;
	height:expression(this.scrollHeight > 600 ? "auto":"600px"); 
	}
	
p {
	margin: 0;
	}

img {
	border: 0;
	}

/*  ==========================
    Navigation  
    ==========================  */
#nav {
	float: left;
	width: 135px;
	margin: 0;
	padding: 0;
	background-color: #fe0019;
	}	

#nav a, #nav a:visited {
	color: #ffffff;
	background-color: #fe0019;
	text-decoration: none;
	display: block;
	width: 135px;
	padding: 2px;
	border: 0;
	}

#nav a:hover, #nav a:active {
	color: #000000;
	background-color: #7DB5F6;
	border: 0;
	}

#nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
}

#nav li { /* all list items */
	float: left;
	width: 135px; /* width needed or else Opera goes nuts */
}

#nav li ul { /* second-level lists */
	position: absolute;
	background: ffffff;
	width: 135px;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

#nav li ul ul { /* third-and-above-level lists */
	margin: -16px 0 0 135px;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul { /* third-level lists nested under list items */
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
	margin: -30px 0 0 135px;
}

#nav li li:hover ul, #nav li li.sfhover ul { /* third-level lists nested under hovered list items */
	left: auto;
	margin: -16px 0 0 139px;
}


#nav a.nav, #nav a.nav:visited {
	background-image: url("../img/nav1.gif");
	background-repeat: no-repeat;
	padding: 5px 0 0 5px;
	width: 125px;
	height: 25px;
	color: #000000;
	text-decoration: none;
	font-size: 11px;
	border: 0;
}

#nav a.nav:hover, #nav a.nav:active {
	background-image: url("../img/nav2.gif");
	background-repeat: no-repeat;
	padding: 5px 0 0 5px;
	width: 125px;
	height: 25px;
	color: #000000;
	text-decoration: none;
	font-size: 11px;
	border: 0;
}

/*  ==========================
    Right
    ==========================  */
#right {
	float: right;
	width: 135px;
	margin: 0;
	padding: 0;
	background-color: #ececec;
	}	
#right p {
	margin: 8px 2px 2px 2px;
	}	

/*  ==========================
    Footer
    ==========================  */
#footer {
	clear: both;
	margin: 0;
	padding: 8px;
	text-align: center;
	background-color: #ffffff;
	}
#footer p {
	font-size: 10px;
	}