/* Allgemein */

body
{
	font: 12px arial;
	vertical-align: middle;
	background: url('http://img.wiprecht-gymnasium.de/bg.gif') repeat;
   margin: 0;
}

a
{
	text-decoration: none;
}

br.clear
{
	clear: both;
}

img
{
	border: 0;
}

ul
{
	list-style: none;
	margin: 0;
	padding: 0;
}

input[type="submit"]
{
	border: 1px #000 solid;
	background: #ffa500;
	font-weight: bold;
	cursor: pointer;
}

div.seitenwechsel
{
	text-align: center;
}

div.seitenwechsel > a
{
	font-weight: bold;
	color: #1f3c4d;
	margin: 0 3px;
}

div.seitenwechsel > a:hover
{
	color: #ffa500;
}

div.seitenwechsel > span
{
	font-weight: bold;
	color: #ffa500;
	margin: 0 3px;
}

/* Header */

div#logo
{
	position: relative;
	width: 800px;
	height: 100px;
	background: url('http://img.wiprecht-gymnasium.de/logo_oben.png') left top no-repeat;
   border: 1px #ffa500 solid;
}

div#logo > div:first-child
{
	position: absolute;
	left: 0;
	top: 0;
	color: #1f3c4d;
	font-weight: bold;
	background: url('http://img.wiprecht-gymnasium.de/counter.png') right bottom no-repeat;
	padding: 2px 6px 2px 2px;
	border-right: 0;
	border-bottom: 0;
}

div#logo > div + div
{
	position: absolute;
	right: 25px;
	top: 75px;
	line-height: 20px;
	vertical-align: middle;
	font-weight: bold;
}

/* Allgemeinformatierung für Seiten */

div#startseite,
div#adressverzeichnis,
div#kategorien,
div#gaestebuch,
div#speiseplan
{
	border: 3px #e0e0e0 solid;
	border-bottom: 0;
	padding: 4px;
}

/* Navigation */

div#navigation
{
	position: relative;
	font-weight: bold;
	color: #ff8c00;
	font-size: 12px;
	background: #f6f6ff;
	padding: 1px 0 2px 3px;
	border: 2px #ffa500 solid;

}

div#navigation > a,
div#navigation > span
{
	color: #1f3c4d;
	font-size: 13px;
	font-weight: bold;
}

div#navigation > a:hover
{
	color: #ffa500;
}

div#navigation > a > img
{
	z-index: 2;
	position: absolute;
	right: 2px;
	top: 2px;
}

/* Hauptteil */

div#main
{
	width: 800px;
	margin: 0 auto;
	overflow: visible;
}

div#menu
{
	position: relative;
	width: 120px;
	float: left;
	background: #ececec;
   border: 1px #ffa500 solid;
   border-right: 0;
   border-top: 0;
}

div#content
{
	width: 671px;
	float: left;
	padding: 4px;
	min-height: 300px;
   background: #fff9ee;
}

div#hinweise
{
	clear: left;
	text-align: center;
	padding: 3px 0;
	margin-left: 120px;
	font-weight: bold;
	color: #aeaeae;
	background: url('http://img.wiprecht-gymnasium.de/hinweise.png') no-repeat;
}

div#hinweise a
{
	color: #aeaeae;
}

div#hinweise a:hover
{
	text-decoration: underline;
}

/* Menu */

div#menu > ul
{
	padding: 0;
	margin: 0;
	list-style: none;
}

div#menu > ul > li
{
	text-indent: 10px;
	position: relative;
	padding: 2px;
	height: 21px;
	z-index: 3;
}

div#menu > ul > li:hover
{
	padding: 1px;
	border: 1px #000 solid;
	background: #fffdf8;
}

div#menu > ul > li > a
{
	display: block;
	position: relative;
	margin: 1px;
	font-weight: bold;
	color: #06202f;
	padding: 2px;
}

div#menu > ul > li > a.aktiv
{
	color: #00086b;
}

div#menu > ul > li > a:hover,
div#menu > ul > li:hover > a
{
   color: #000;
}

div#menu > ul > li > a > img
{
	position: absolute;
	right: 3px;
	top: 3px;
}

div#menu > ul > li > ul
{
	list-style: none;
	position: absolute;
	padding: 0;
	margin: 0;
	left: 117px;
	width: 200px;
	top: -1px;
	display: none;
	background: #fffdf8;
	border: 1px #000 solid;
	border-left: 0;
	z-index: 3;
}

div#menu > ul > li > ul > li
{
	padding: 2px 2px 2px 0;
	border-left: 1px #000 solid;
}

div#menu > ul > li > ul > li:first-child
{
	margin: 4px 0 0 0;
	border-left: 0;
}

div#menu > ul > li > ul > li > a
{
	display: block;
	color: #000;
	white-space: nowrap;
	overflow: hidden;
}

div#menu > ul > li > ul > li > a:hover
{
	color: #ffa500;
}

div#menu > ul > li:hover > ul
{
	display: block;
}

div#menu > img
{
	position: absolute;
	bottom: -10px;
	right: 0;
}

/* Meldungen */

div#pro_failed
{
	border: 2px #f00 solid;
	color:  #f00;
	font-weight: bold;
	padding: 4px 2px;
	text-align: center;
	margin-bottom: 2px;
	background-color: #ffe8e8;
}

div#pro_ok
{
	border: 2px #008000 solid;
	color:  #008000;
	font-weight: bold;
	padding: 4px 2px;
	text-align: center;
	margin-bottom: 2px;
	background-color: #e9ffe8;
}

/* Startseite */

div#startseite > div
{
	margin: 5px 0 0 0;
	background-color: #e3e3e3;
	border: 1px #dbdbdb solid;
	padding: 5px;
}

div#startseite > div + div
{
	padding-left: 10px;
	overflow: hidden;
	background: #fff4e0;
}

div#startseite > div + div span
{
	font-weight: bold;
}

div#startseite > div + div > ul
{
	margin: 0;
	padding: 0 35px;
	list-style-image: url('http://img.wiprecht-gymnasium.de/aktual.gif');
}

div#startseite > div + div > ul > li
{
   padding: 5px 0;
}

div#startseite > div + div > ul a
{
	color: #1f3c4d;
	font-weight: bold;
}

div#startseite > div + div > ul a:hover
{
	color: #ffa500;
}

/* Kategorien */

div#kategorien > div:first-child > p,
div#adressverzeichnis > div:first-child > p
{
	float: left;
	margin: 1px 2px;
	text-align: center;
	width: 78px;
	height: 50px;
	background: no-repeat center;
}

div#kategorien > div:first-child > p > a,
div#adressverzeichnis > div:first-child > p > a
{
	color: #06202f;
	font-size: 10px;
	display: block;
	height: 38px;
	vertical-align: middle;
	border: 1px #808080 solid;
	padding: 5px 0;
}

div#kategorien > div:first-child > p > a:hover,
div#kategorien > div:first-child > p > a.aktiv,
div#adressverzeichnis > div:first-child > p > a:hover,
div#adressverzeichnis > div:first-child > p > a.aktiv
{
	color: #000;
	border-color: #000;
   background: #fffdf8;
}

div#kategorien > ul li,
div#adressverzeichnis > div:first-child > ul li
{
	width: 127px;
	float: left;
	margin: 2px;
	text-align: center;
}

div#kategorien > ul li a,
div#adressverzeichnis > div:first-child > ul li a
{
	padding: 2px;
	color: #06202f;
	font-weight: bold;
	display: block;
	border: 2px #e0e0e0 solid;
	background: #ececec;
}

div#kategorien > ul li a:hover,
div#kategorien > ul li a.aktiv,
div#adressverzeichnis > div:first-child > ul li a:hover,
div#adressverzeichnis > div:first-child > ul li a.aktiv
{
	color: #000;
	border: 1px #000 solid;
	padding: 3px 1px;
   background: #fffdf8;
}


/* Regexanzeigefeld */

div#anzeige_regex
{
	margin: 5px 0 0 0;
	border: 1px #dbdbdb solid;
	padding: 5px;
	text-align: justify;
	background: url('http://img.wiprecht-gymnasium.de/regex_bg.jpg') repeat;
}

div#anzeige_regex > *
{
	color: inherit;
	font-weight: inherit;
	font-family: inherit;
	font-size: inherit
}

div#anzeige_regex > textarea
{
	width: 645px;
}

div#anzeige_regex ul
{
	list-style-image: none !important;
	list-style-type: disc !important;
	margin-left: 20px !important;
	padding: 0 !important;
}

div#anzeige_regex ul > li
{
	padding: 5px !important;
}

div#anzeige_regex a
{
	color: #00f;
	font-weight: bold;
	text-decoration: underline;
}

div#anzeige_regex a:hover
{
	text-decoration: none;
}

div#anzeige_regex div.vorlage1,
div#anzeige_regex div.vorlage2
{
	border: 1px #dbdbdb solid;
	background: #ececec;
	padding: 0;
}

div#anzeige_regex div.vorlage1 > p,
div#anzeige_regex div.vorlage2 > p
{
	width: 309px;
	border: 1px #000 solid;
	float: left;
	margin: 2px;
	background: #d7d7d7;
	padding: 3px;
}

div#anzeige_regex div.vorlage2 > p:first-child
{
	font-weight: bold;
	font-size: 18px;
	text-align: center;
	float: none;
	width: 638px;
	padding: 2px 0;
	background: #c5cdd5;
}

/* Gästebuch */

div#gaestebuch > p
{
	margin: 0;
	padding: 2px 5px;
	color: #1f3c4d;
	background: #e0e0e0;
	border: 1px #dbdbdb solid;
}

div#gaestebuch > p:first-child
{
	margin-bottom: 10px;
}

div#gaestebuch > p > a
{
	font-weight: bold;
	color: #1f3c4d;
}

div#gaestebuch > p > a:hover
{
	color: #034900;
}

div#gaestebuch > div
{
	padding: 5px;
	margin-bottom: 10px;
	border: 1px #dbdbdb solid;
	background: #fff;
}

div#gaestebuch > div.l1
{
	background-color: #ececec;
}

div#gaestebuch > div > p
{
	float: left;
	margin: 0;
	padding: 0;
}

div#gaestebuch > div > p:first-child
{
	font-weight: bold;
	color: #1f3c4d;
	width: 538px;
	line-height: 16px;
}

div#gaestebuch > div > p:first-child + p
{
	width: 100px;
	text-align: right;
}

div#gaestebuch > div > p:first-child + p > a > img
{
	margin: 0 5px;
}

div#gaestebuch > div > p:first-child + p + p
{
	padding: 5px 10px;
}

div#gaestebuch > div > p + p + p + p
{
	border: 1px #dbdbdb solid;
	padding: 5px 25px 5px 5px;
	float: none;
	clear: left;
	background: #ffffde;
	position: relative;
}

div#gaestebuch > div > p + p + p + p > span > input
{
	width: 530px;
	line-height: 15px;
	border: 1px #808080 dotted;
}

div#gaestebuch > div > p + p + p + p > a > img,
div#gaestebuch > div > p + p + p + p > img
{
	position: absolute;
	right: 5px;
	top: 5px;
}

div#gaestebuch > div > p + p + p + p > a + a > img,
div#gaestebuch > div > p + p + p + p > img + img
{
	position: absolute;
	right: 25px;
	top: 5px;
}

/* Adressverzeichnis */

div#adressverzeichnis > div.begin,
div#adressverzeichnis > table,
div#adressverzeichnis fieldset
{
	background-color: #ececec;
	border: 1px #dbdbdb solid;
	padding: 3px;
   text-align: center;
}

div#adressverzeichnis > div.begin a
{
   font-weight: bold;
   color: #000;
}

div#adressverzeichnis > div.begin a:hover
{
   color: #ffa500;
}

div#adressverzeichnis > table
{
   width: 100%;
   margin-top: 2px;
}

div#adressverzeichnis > table td
{
   width: 33%;
   vertical-align: top;
   text-align: left;
   white-space: nowrap;
   overflow: hidden;
   letter-spacing: 1px;
   line-height: 12px;
}


div#adressverzeichnis > table td img
{
   display: inline;
   vertical-align: middle;
}

div#adressverzeichnis > table td p
{
   text-align: center;
   font-weight: bold;
   font-size: 16px;
   margin: 5px;
   color: #ffa500;
}

div#adressverzeichnis > table td a
{
   display: block;
   font-weight: bold;
   color: #000;
   margin: 1px 0;
   padding: 2px;
   font-size: 10px;
}

div#adressverzeichnis > table td a:hover
{
   color: #ffa500;
}

div#adressverzeichnis > table td a:first-child
{
   margin-top: 25px;
}

div#adressverzeichnis fieldset
{
   padding: 11px;
   font-weight: bold;
   position: relative;
   margin: 0 0 2px 0;
}

div#adressverzeichnis fieldset a
{
   font-weight: bold;
   color: #06202f;
   position: absolute;
   right: 15px
   ;
   top: -5px;
}

div#adressverzeichnis fieldset a + a
{
   top: 12px;
}

div#adressverzeichnis fieldset a:hover
{
   color: #000;
}

/* Layer */

div#wartefenster_out,
div#blockfenster
{
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 50;
	background: url('http://img.wiprecht-gymnasium.de/layer/blockfenster.png') repeat;
	overflow: visible;
}

div#wartefenster_out
{
	z-index: 51;
	background: url('http://img.wiprecht-gymnasium.de/layer/wartefenster.png') repeat;
}

div#wartefenster
{
	position: absolute;
	z-index: 51;
	width: 75px;
	padding: 5px;
	background-color: #e0e0e0;
	color: #000;
	font-weight: bold;
	text-align: center;
	border: 1px #fff solid;
}

div#tooltipbox
{
	width: 0;
	height: 0;
}

div#tooltipbox > div
{
	position: absolute;
	z-index: 100;
	padding: 2px;
	background-color: #fff;
	border: 1px #808080 solid;
	font-size: 10px;
	background-color: #ffffe0;
}

fieldset#layer_class1,
fieldset#layer_class2
{
	width: 450px;
   border: 0;
}

fieldset#layer_class1 > p
{
	margin: 0;
	padding: 5px 0;
	font-weight: bold;
}

fieldset#layer_class1 a
{
 	font-weight: bold;
 	margin: 0 1px;
 	color: #008;
}

fieldset#layer_class1 a:hover
{
	color: #000;
}

fieldset#layer_class1 > a
{
	margin-left: 270px;
}

fieldset#layer_class1 > label
{
	display: block;
	width: 150px;
	line-height: 10px;
	height: 22px;
	float: left;
	padding: 5px 0 1px 0;
	font-style: italic;
	font-size: 10px;
	overflow: visible;
}

fieldset#layer_class1 > label:first-line
{
	font-size: 12px;
	font-style: normal;
	font-weight: bold;
	line-height: 12px;
}

fieldset#layer_class1 > input,
fieldset#layer_class1 > select,
fieldset#layer_class1 > textarea
{
	border: 1px #7f9db9 solid;
	width: 200px;
	float: left;
	margin: 5px 0;
}

fieldset#layer_class1 > textarea
{
	width: 290px;
}

fieldset#layer_class1 > input:focus,
fieldset#layer_class1 > select:focus,
fieldset#layer_class1 > textarea:focus
{
	border: 1px #000 solid;
	background: #ffe970;
}

fieldset#layer_class1 > hr
{
	clear: both;
	margin: 0 0 10px 0;
	position: relative;
	top: 5px;
}

fieldset#layer_class1 > p.rem > a
{
	margin-left: 150px;
}

fieldset#layer_class1> p.rem > a:first-child
{
	margin: 0;
	color: #808080;
}

fieldset#layer_class1 > p.del > a
{
	color: #c30000;
}

fieldset#layer_class2> p
{
	margin: 0;
	padding: 5px 0;
}

fieldset#layer_class2 > p > span
{
	display: block;
	padding: 3px 0;
}

fieldset#layer_class2 > p > span > a
{
	color: #820000;
	font-weight: bold;
}

/* Layer-Layout */

div#layer
{
	position: absolute;
	padding-right: 23px;
	background: url('http://img.wiprecht-gymnasium.de/layer/mitte_rechts.png') right repeat-y;
	margin: 0 auto;
	z-index: 51;
}

div#layer > div.content
{
	position: relative;
	overflow: hidden;
	min-height: 23px;
	top: -23px;
	margin-bottom: -46px;
	border: 1px #000 solid;
	border-left: 2px #000 solid;
	border-top: 2px #000 solid;
	padding: 8px 15px;
	background: #fffcec;
}

div#layer > img
{
	position: absolute;
}

div#layer > img.or
{
	right: 0;
	top: -23px;
}

div#layer > img.ur
{
	right: 0;
	bottom: -23px;
}

div#layer > img.ul
{
	left: 0;
	bottom: -23px;
}

div#layer > img.close
{
	top: -40px;
	right: 5px;
	z-index: 52;
   cursor: pointer;
}

div#layer > div.footer
{
	position: relative;
	width: 100%;
	margin-left: 23px;
	bottom: -23px;
	overflow: hidden;
}

div#layer > div.footer div
{
	position: relative;
	left: -23px;
	width: 100%;
	height: 23px;
	background: url('http://img.wiprecht-gymnasium.de/layer/unten_mitte.png') repeat-x;
}


div#verzeichnis_editmail
{
	background: #fff;
	border: 1px #000 solid;
	padding: 5px;
	font-weight: bold;
}

div#verzeichnis_editmail > a
{
	font-weight: bold;
	color: #044;
}

div#verzeichnis_editmail > a:hover
{
	color: #f00;
}

/* Nur deutsch */

div#onlygerman
{
	border: 2px #ffa500 solid;
	padding: 2px;
	background: #ffebc3;
	font-weight: bold;
	text-align: center;
}

/* Impressum */

div#impressum > div
{
	margin: 5px 0 0 0;
	border: 1px #dbdbdb solid;
	padding: 5px;
	text-align: justify;
}

div#impressum > div > h1
{
	font-size: 20px;
	font-weight: bold;
}

/* Galerien */

div#galerien > div
{
	margin: 5px 0 0 0;
	background-color: #ececec;
	border: 1px #dbdbdb solid;
	padding: 5px;
}

div#galerien > div div.g_prev
{
	width: 200px;
	height: 211px;
	padding: 60px 0 2px 0;
	float: left;
	text-align: center;
	margin: 7px;
	line-height: 152px;
	background: url('http://img.wiprecht-gymnasium.de/gal_bg.png') top left no-repeat;
}

div#galerien > div div.g_prev:hover
{
	background-image: url('http://img.wiprecht-gymnasium.de/gal_bg_2.png');
}

div#galerien > div div img
{
	vertical-align: middle;
	display: inline;
}

div#galerien > div div.g_prev img
{
	border: 1px #fff solid;
}

div#galerien > div div.g_prev > p
{
	margin: 0;
	height: 40px;
	line-height: 20px;
	color: #000;
	font-weight: bold;
	font-size: 11px;
}

div#galerien > div div.g_prev:hover > p
{
	color: #1f3c4d;
}

div#galerien > div > p:first-child
{
	font-weight: bold;
	text-align: center;
	font-size: 14px;
	background: url('http://img.wiprecht-gymnasium.de/galerie.png') no-repeat center;
	height: 54px;
}

div#galerien > div > p:first-child:first-line
{
	line-height: 34px;
}

div#galerien > div > p > span,
div#galerien > div > p > a
{
	color: #1f3c4d;
}

div#galerien > div > p > a:hover
{
	color: #ffa500;
}

div#galerien > div div.b_prev
{
	width: 150px;
	height: 170px;
	float: left;
	padding: 2px 2px;
	margin: 0 7px 7px 0;
	text-align: center;
	background: url('http://img.wiprecht-gymnasium.de/gal_bild_bg.png') no-repeat;
}

div#galerien > div div.b_prev:hover
{
	background-image: url('http://img.wiprecht-gymnasium.de/gal_bild_bg2.png');
}

div#galerien > div div.b_prev:first-line
{
	line-height: 150px;
}

div#galerien > div div.b_prev > a,
div#galerien > div div.g_prev > a
{
	font-weight: bold;
	color: #1f3c4d;
}

div#galerien > div + div
{
	background: #ece2d6;
	border: 1px #ffc800 solid;
}

div#gal_layer
{
	width: 450px;
	height: 468px;
	line-height: 404px;
	text-align: center;
}

div#gal_layer > p
{
	margin: 2px;
	line-height: 20px;
}

div#gal_layer > p:first-child
{
	font-weight: bold;
	font-size: 14px;
}

div#gal_layer > p:first-child + p + p
{
	font-weight: bold;
}

div#gal_layer > p + p
{
	width: 145px;
	float: left;
}

div#gal_layer > img
{
	clear: left;
	display: inline;
	vertical-align: middle;
	border: 2px #000 solid;
}

div#gal_layer a
{
	font-weight: bold;
	color: #1f3c4d;
}

div#gal_layer a:hover
{
	color: #ffa500;
}

/* Passwortschutz */

div#passphrase fieldset
{
	border: 2px #8b0000 solid;
	background: #ffefef;
	padding: 20px;
}

div#passphrase fieldset > legend
{
	font-weight: bold;
	color: #8b0000;
}

div#passphrase fieldset > label
{
	display: block;
	float: left;
	width: 150px;
	font-weight: bold;
	font-size: 14px;
}

div#passphrase fieldset > input[type="password"]
{
	float: left;
	width: 150px;
	margin-right: 40px;
}

div#passphrase fieldset > input[type="submit"]
{
	float: left;
	width: 100px;
}

/* Speiseplan */

div#speiseplan table
{
   border: 2px #dbdbdb solid;
}

div#speiseplan table td
{
   padding: 5px;
   background: #fff;
   border: 1px #dbdbdb solid;
}

div#speiseplan table tr > td:first-child,
div#speiseplan table tr th
{
   font-weight: bold;
   background: #dbdbdb;
}

div#speiseplan table td div
{
   position: relative;
   padding-bottom: 12px;
   height: 100%;
}

div#speiseplan table td div span
{
   position: absolute;
   right: 0px;
   bottom: 0px;
   font-size: 10px;
}

div#speiseplan > p
{
   background: #dbdbdb;
   font-size: 10px;
   padding: 1px 3px;
}

div#speiseplan > h1
{
   background: #dbdbdb;
   text-align: center;
   padding: 5px;
   margin: 0px 0px 10px 0px;
}