* {margin:0;padding:0}
/* commented backslash hack v2 \*/ 
html, body{height:100%;} 
/* end hack */ 
p {margin:0 0 1em 0;padding:2px}

td {
	vertical-align:top;
}

fieldset {
	margin:5px;
	padding:5px;
}
	
table.noborder tr th {
	border-style:none;
	text-align:left;
}

body {
	background:#ff0 repeat-y left top;
	color: #000;
	font-family:Verdana, sans-serif;
	font-size:1em;
	position:relative;/* for ie7*/
}
#outer{
	min-height:100%;
	margin:0 150px;
	background:#fff;
	border-left:1px solid #000;
	border-right:1px solid #000;
}

* html #outer{height:100%;} /*IE treats height as min-height anyway*/

#header{
	color: #fff;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	background: #fff url(pics/back_banner.jpg) repeat-x;
	height:100px;
	border-bottom:1px solid black;
	overflow:hidden;
	text-align:center;
	color:#f00;
}

#title {
	vertical-align:100%;
}

#linklist {
	text-align:center;
}

#left {
	position:relative;/*ie needs this to show float */
	width:150px;
	float:left;
	margin-left:-149px;/*must be 1px less than width otherwise won't push footer down in some browsers */
	left:-2px;
	padding-bottom:83px;/* clear footer*/
	background: #ff0 url(pics/backleft.jpg) no-repeat;
	min-height:495px;
}

#right {
	position:relative;/*ie needs this to show float */
	width:150px;
	float:right;
	margin-right:-149px;/*must be 1px less than width otherwise won't push footer down in some browsers */
	padding-top:101px;/* to clear header*/
	left:2px;
	padding-bottom:83px;/* clear footer*/
	background: #ff0 url(pics/backright.jpg) no-repeat;
	min-height:550px;
}
 
#footer {
	width:100%;
	clear:both;
	background: #fff;
	text-align:center;
	position:relative;
	height:80px;
	margin-top:-81px;/*drag footer from below the fold*/
	border-top:1px solid #000;	
	font-size:0.8em;
}
#centrecontent {
	float:right;
	width:100%;
	position:relative;
	padding-bottom:102px;/* clear footer*/
 	margin-left:-1px;
	background:url(pics/emblem.png) no-repeat center top;
	min-height:580px;
}

#menu {
	padding-left:5px;
}

.outerwrap {
	float: left;	
	width: 100%;
	padding-top:101px;/* to clear header*/
	margin-right:-3px;/* to stop columns dropping*/
}

.clearer{
	height:1px;
	overflow:hidden;
	margin-top:-1px;
	clear:both;
}

a.nav {
  font-size:0.8em;
  font-weight:bold;
  text-decoration:none;
}

a.nav:link {
  color:#00f;
}

a.nav:visited {
  color:#00f;
}

a.nav:hover {
  color:#f00;
}

a.nav:active {
  color:#00f;
}

img {
	border:none;
}

#picturelayer {
	border:1px solid black;
	position:absolute;
	top:0px;
	left:0px;
	display:none;
}

/**********
 calendar
***********/

#calendar {
	font-size:0.6em;
}

table.cal {
	border:1px solid black;
	width:150px;
}

tr.calmonth th {
	text-align:center;
}

tr.calweek {

}

tr.calhead {
	background-color:#e0e0e0;
}

th {
	border:1px solid black;
}

td.calday {
	border:1px solid black;
	text-align:center;
}

td.caltoday {
	border:2px solid red;
	text-align:center;
}

/**********
 login
***********/

label {
	font-size:0.8em;
}

#loggedin {
	font-size:0.8em;
	margin:5px;
}

span.login {
	color:#00f;
	font-weight:bold;
}

/**********
 news
***********/

.smalltitle {
	font-weight: bold;
	font-size: 0.8em;
}

#latestnews ul {
	list-style-type:none;
	margin-left:2px;
}

#latestnews ul li {
	padding-bottom: 5px;
	border-bottom: 1px solid black;
}

/**********
 history
***********/

.quelle {
  color:#888;
  font-size:0.8em;
}

.zitat {
  font-style:italic;
  text-align:justify;
}

.thumbnail {
	float:left;
	padding:5px;
}

.thumbnail2 {
	float:right;
	padding:5px;
}

.spalte {
  vertical-align:top;
  white-space:nowrap;
  padding-right:5px;
}

.titel {
	text-align:center;
	font-size:1.3em;
	font-weight:bold;
}

.bmlist {
	padding-left:20px;
	padding-bottom:20px;
	list-style-type:none;
}

/**********
 assignment
***********/

#selectyear {
	text-align:center;
}

#tabelle {
	text-align:center;
}

#tabelle table {
	margin-left:auto;
	margin-right:auto;
}

#tabelle td {
	padding:5px;
	text-align:center;
	border-style:solid;
	border-width:1px;
}

#tabelle td.eintraglink {
/*	background-color:#f00;*/
	color:#00f;
}

#tabelle td.eintraglink:hover {
	background-color:#ff0;
	cursor:pointer;
}

/**********
 contact
***********/

#kontakt {
	text-align:center;
}

#kontakt table {
	text-align:left;
	margin-left:auto;
	margin-right:auto;
}

#kontakt p {
	text-align:left;
	margin-left:auto;
	margin-right:auto;
}

#map {
	width:500px;
	height:300px;
	border:1px solid black;
	margin-left:auto;
	margin-right:auto;
}

div.gaestebuch {
	color:#0000FF;
	background-color:#FFFF00;
	background-image:url(pics/karo.jpg);
	border:1px solid black;
	margin-bottom:2px;
	margin-right:5px;
	padding:5px;
	text-align:left;
}

/**********
 intern
***********/

.formtable th {
	border:none;
	text-align:left;
}

.islink:hover {
	cursor:pointer;
}

/**********
 gallery
***********/

ul.gallery {
	margin-left:10px;
	list-style-type:none;
}

li.open:before { 
	content:url(pics/folder_open.png)" ";
}

li.close:before { 
	content:url(pics/folder_close.png)" ";
}

ul#gallery, #gallery ul{
/*Remove all spacings and bullets*/
	list-style-type: none;
	margin: 0;
	padding: 0;
}

ul#gallery>li{
	float: left;
	padding: 10px;
	margin: 10px;
	width: auto;
	height: auto;
	border: 1px solid transparent;
}

ul#gallery>li ul{
	padding: .8em;
	border: 1px solid #000;
	background-color: #fff;
	color: #000;
	font-size: 90%;
	max-width: 40%; /*prevent the popups from being too wide*/
	display: none;
	position: absolute;
	z-index:999;
}

ul#gallery>li ul li{
	margin-top: 2px; /*some spacing between the image data*/
}

ul#gallery>li:hover{
/*of course, the colors are customizable*/
	color: #369;
	background-color: transparent;
	border-color: #369;
}

ul#gallery>li:hover ul{
	display: block;
	list-style-type: none;
}

ul#gallery ul:before{
/*display the 'Image Information' at the top of the popups*/
	content: "Bildeigenschaften";
	font-size: 130%;
	font-weight: bold;
	border-bottom: 1px solid #999;
	display: block;
}

ul#gallery ul:after{
/*display the '(click to view the larger version of this image)' at the bottom of the popups*/
	content: "(klicken für größeres Bild)";
	font-size: 90%;
	text-align: right;
	border-top: 1px solid #999;
	display: block;
	margin-top: 1em;
}

ul#gallery img{
/*width and height may be adjusted according to the dimension size of the thumbnail images*/
	width: 100px;
	height: 75px;
	display: block;
}

ul#gallery:after{
	content: ".";
	display: block;
	height: 0;
	overflow: hidden;
	clear: both;
	visibility:hidden;
}

/**********
 quiz
***********/

#quiz {
	margin: 10px;
	padding: 5px;
	background: url(pics/quiz.jpg);
	border: 1px solid black;
	font-weight: bold;
}

table.highscore {
	text-align:center;
	margin-left:auto;
	margin-right:auto;
}

table.highscore tr td {
	padding:2px;
	border:1px solid black;
	text-align:center;
}

/**********
 termin
***********/

.termin {
	background-color:#00f0ff;
}

.termin a {
  font-size:0.8em;
  font-weight:bold;
  text-decoration:none;
}

.termin a:link {
  color:#00f;
}

.termin a:visited {
  color:#00f;
}

.termin a:hover {
  color:#f00;
}

.termin a:active {
  color:#00f;
}

/**********
 login
***********/

#login {
	margin:5px;
}

/**********
 abteilung
***********/

#abteilung {
	text-align:center;
}

#abteilung table {
	text-align:left;
	margin-left:auto;
	margin-right:auto;
}

#abteilung p {
	text-align:left;
	margin-left:auto;
	margin-right:auto;
}

/**********
 technik
***********/

#technik {
	padding:5px;
}

/**********
 videos
***********/

.video {
	text-align:center;
	margin-top:10px;
}
