html, body {
	padding: 0;
	margin: 0;
	height: 100%;
}

body {
	background-color: #f6c082;
	
	font: 10pt Verdana, Arial;
	color: #757984;
	position: relative;
}

/* general element formats */
h1 {
	font-size: 12pt;
	color: #b7504b;
	margin-top: 10px; margin-bottom: 15px;
}
h2 {
	color: #b7504b;
	font-size: 10pt;
	font-weight: bold;
	margin-top: 10px; margin-bottom: 10px;
}

h3, h4, h5, p {
	margin-top: 5px; margin-bottom: 5px;
}

a[href^="http://"]:after {
	content: " "url("/images/external.png");
}
a[href^="http://www.leibniz-gymnasium.de"]:after {
	content: "";
}
a[href^="http://contenido.leibniz-gymnasium.de"]:after {
	content: "";
}
a[href^="http://www.potsdam-abc.de"]:after {
	content: "";
}

a, a:link, a:visited, a:active {
	color: #b7504b;
	text-decoration: none;
}
a:hover {
	color: #757984;
	border-bottom: 1px solid #b7504b;
}

input {
	color: #757984;
	background-image:url(/images/input_bg.png);
	background-repeat: repeat-x;
	border: 1px solid rgb(112,120,128);
}
textarea {
	border: 1px solid rgb(112,120,128);
	color: #757984;
}

.pagination { list-style: none; }
.pagination li { display: inline; margin-right: 5px; }

#content table { border: none; }
#content table td {
	font: 10pt Verdana, Arial;
	color: #757984;
	border: none;
	border-spacing: 0px;
}

#content.cat_termine table {
	border: 1px solid #757984;
}
#content.cat_termine table td {
	background-color: rgb(245, 245, 245);
}

#content table.styled, #ajaxform table.styled {
	border: 1px solid #757984;
}
#content table.styled td, #ajaxform table.styled td {
	background-color: rgb(245, 245, 245);
	border-spacing: 4px; padding: 4px;
}

#ibrowser {
	margin: 0 auto;
	width: 900px;
	height: 700px;
	overflow: auto;
	border: none;
	background-color: white;
}
div.blockMsg {
	border: 10px dashed #757984;
}

/***************************/

#page {
	margin: 0 auto;
	border-left: 20px solid #f5835f;
	border-right: 20px solid #f5835f;
	background-color: white;
	width: 1024px;
	min-height: 100%;
}

* html #page {  /* Korrektur fuer den IE 5 und 6 */
	height: 100%;
}

#content {
	min-height: 100%;
	margin-left: 171px;
	margin-right: 171px;
	padding: 10px;
	background-color: white;
	position: relative;
}
* html #content {  /* Korrektur fuer den IE 5 und 6 */
	padding: 5px;
}

#content #loginbox {
	width: 200px;
	margin: 20px auto;
}
#content .location {
	font-size: 12px;
	margin-bottom: 10px;
}
#content .location a, #content .location a:link, #content .location a:visited, #content .location a:active {
	color: #757984;
	font-style: italic;
}

.onsitelist { width: 95%; margin-top: 10px; margin-bottom: 10px; margin: 10px auto; }
.onsitelist h1 { border-bottom: 1px solid #757984; }
.onsitelist a, .onsitelist a:link, .onsitelist a:active, .onsitelist a:visited, .onsitelist a:hover { font-size: 12px; }
.onsitelist .h { position:  relative; height: 2px; border: none !important; line-height: 2px; }
.onsitelist .h img, .onsitelist .f img { top: 0px; position: absolute; left: 0px; width: 41px; height: 2px; }
.onsitelist .h td { background-image: url(/images/panel_grey_head.png); background-repeat: repeat-x; height: 2px; width: 100%; padding: 0px; background-color: transparent !important; }
.onsitelist .h .l { background-image: url(/images/panel_grey_head_l.png); background-repeat: no-repeat; width: 41px; height: 2px; }
.onsitelist .h .r { background-image: url(/images/panel_grey_head_r.png); background-repeat: no-repeat; width: 41px; height: 2px; }
.onsitelist .b { position:  relative; border: none !important; }
.onsitelist .b td { height: 100%; width: 100%; background-color: transparent !important; }
.onsitelist .b td div { background-color: rgb(245,245,245); padding: 5px; }
.onsitelist .b .l { background-image: url(/images/panel_grey_body_l.png); background-repeat: repeat-y; width: 41px; }
.onsitelist .b .r { background-image: url(/images/panel_grey_body_r.png); background-repeat: repeat-y; width: 41px; }
.onsitelist .f { position:  relative; height: 2px; border: none !important; line-height: 2px; }
.onsitelist .f td { background-image: url(/images/panel_grey_foot.png); background-repeat: repeat-x; height: 2px; width: 100%; background-color: transparent !important; }
.onsitelist .f .l { background-image: url(/images/panel_grey_foot_l.png); background-repeat: no-repeat; width: 41px; height: 2px; }
.onsitelist .f .r { background-image: url(/images/panel_grey_foot_r.png); background-repeat: no-repeat; width: 41px; height: 2px; }

.onsitebox { width: 46%; float: left; min-height: 150px; margin: 20px 10px 0px 15px; }
.onsitebox a, .onsitebox a:link, .onsitebox a:active, .onsitebox a:visited, .onsitebox a:hover { font-size: 12px; }
.onsitebox .h { position:  relative; height: 27px; border: none !important; line-height: 2px; }
.onsitebox .h td { background-image: url(/images/box_grey_head.png); background-repeat: repeat-x; height: 100%; width: 100%; padding: 0px; background-color: transparent !important; }
.onsitebox .h .l { background-image: url(/images/box_grey_head_l.png); background-repeat: no-repeat; width: 4px; }
.onsitebox .h .r { background-image: url(/images/box_grey_head_r.png); background-repeat: no-repeat; width: 4px; }
.onsitebox .b { position:  relative; border: none !important; }
.onsitebox .b td { background-color: rgb(245,245,245); height: 100%; width: 100%; vertical-align: top; }
.onsitebox .b td div { padding: 5px; }
.onsitebox .b .l { background-image: url(/images/box_grey_body_l.png); background-repeat: repeat-y; width: 2px; }
.onsitebox .b .r { background-image: url(/images/box_grey_body_r.png); background-repeat: repeat-y; width: 2px; }
.onsitebox .f { position:  relative; height: 5px; border: none !important; line-height: 2px; }
.onsitebox .f td { background-image: url(/images/box_grey_foot.png); background-repeat: repeat-x; height: 100%; width: 100%; background-color: transparent !important; }
.onsitebox .f .l { background-image: url(/images/box_grey_foot_l.png); background-repeat: no-repeat; width: 5px; height: 5px; }
.onsitebox .f .r { background-image: url(/images/box_grey_foot_r.png); background-repeat: no-repeat; width: 5px; height: 5px; }

.onsitebox h1 {
	font-size: 12px;
	color: #b7504b;
	margin: 0 0 0 5px;
}

* html .onsitebox { /* Korrektur fuer den IE 5 und 6 */
	margin: 20px 10px 00px 10px;
	padding-bottom: 10px;
/*	margin-left: 10px; margin-right: 10px; margin-bottom: 10px;*/
}

#artikelliste {
	position: relative;
}
#artikelliste .navigation { border: 1px solid #3d5e89; }
#artikelliste .item {
	padding: 0;
	margin-bottom: 3px;
	font-size: 10pt;
}
#artikelliste .item img { float: left; }
#artikelliste .item h2 { font-size: 12pt; }
#artikelliste .item p { display: block; }

#artikelliste .item .contentlinks { float: right; }
#artikelliste .item .contentlinks a img { margin: -10px 10px 0 0; border: none; }

#artikelliste.media .item img { float: none; }

#footer {
	border-top: 1px dotted rgb(112,120,128);
	clear: both;
	height: 85px;
	text-align: center;
	background-color: white;
	margin-bottom: 0px; margin-top: auto;
}

#footer img {
	float: left;
	margin-left: 10px; margin-top: 10px;
}

#footer ul {
	list-style: none;
	padding: 0;
	margin: 10px 0 10px 250px;
}

#footer ul li {
	float: left;
	font-size: 9pt;
	color: #757984;
}

#footer ul li a {
	font-style: italic;
	margin-right: 10px;
}

/* sidebar elements and panels */
.panelbox {
	background-color: white;
	position: relative;
	width: 100%; max-width: 100%;
	margin-bottom: 10px;
}
.panelbox a, .panelbox a:link, .panelbox a:active, .panelbox a:visited, .panelbox a:hover { font-size: 12px; }
.panelbox .h { position:  relative; height: 27px; border: none; }
.panelbox .h td { background-position: bottom; background-image: url(/images/box_grey_head.png); background-repeat: repeat-x; height: 100%; width: 100%; }
.panelbox .h .l { background-image: url(/images/box_grey_head_l.png); background-repeat: no-repeat; width: 4px; }
.panelbox .h .r { background-image: url(/images/box_grey_head_r.png); background-repeat: no-repeat; width: 4px; }
.panelbox .b { position:  relative; border: none; }
.panelbox .b td { background-color: rgb(245,245,245); height: 100%; width: 100%; }
.panelbox .b td div { padding: 5px; }
.panelbox .b .l { background-image: url(/images/box_grey_body_l.png); background-repeat: repeat-y; width: 2px; }
.panelbox .b .r { background-image: url(/images/box_grey_body_r.png); background-repeat: repeat-y; width: 2px; }
.panelbox .f { position:  relative; height: 5px; border: none; line-height: 2px; }
.panelbox .f td { background-image: url(/images/box_grey_foot.png); background-repeat: repeat-x; height: 100%; width: 100%; }
.panelbox .f .l { background-image: url(/images/box_grey_foot_l.png); background-repeat: no-repeat; width: 5px; height: 5px; }
.panelbox .f .r { background-image: url(/images/box_grey_foot_r.png); background-repeat: no-repeat; width: 5px; height: 5px; }

.panelbox h1 {
	font-size: 12px;
	color: #b7504b;
	margin: 0 0 0 5px;
}

#panel_left {
	float: left;
	border-right: 1px dotted rgb(112,120,128);
	background-color: white;
	width: 160px; height: 100%;
	padding-left: 5px; padding-right: 5px;
}

#panel_right {
	float: right;
	border-left: 1px dotted rgb(112,120,128);
	padding-left: 5px; padding-right: 5px;
	background-color: white;	
	height: 100%; width: 160px;
}

#loginbox form { margin: 0; }
#loginbox input { width: 82%; }
#loginbox label { font-size: 12px; }
#loginbox .h .headline {
	height: 37px;
}
#loginbox .h .icon {
	background-repeat: no-repeat;
	background-image: url(/upload/images/users32.png);
	width: 32px; height: 32px;
	float: right;
	margin-right: 5px; margin-bottom: 5px;
	margin-top: -37px;
}
* html #loginbox .h .icon {  /* Korrektur fuer den IE 5 und 6 */
	margin-right: 3px;
}
#loginbox .h .headline h1 { padding-top: 16px; }

/*********************************/

.float-left { float: left; padding: 5px; }
.float-right { float: right; padding: 5px; }



#banner {
	width: 100%;
	color: #907f10;
	padding-top: 5px; padding-bottom: 5px;
	background-color: white;
}
#banner a, #banner a:link, #banner a:visited, #banner a:active, #banner a:hover { border: none; margin: 0; padding: 0; }
#banner img { border: none; margin: 0; padding: 0; }

/* top navigation */

#navigation {
	color: #b7504b;
	border-bottom: 1px solid rgb(112,120,128);
	margin-bottom: 5px;
	position: relative;
	width: 100%; height: 26px;
	background-color: #eff0f1;
	background-image: url(/images/box_grey_head.png);
	background-repeat: repeat-x;
}

#navigation ul.nav {
	height: 100%; padding: 0px; margin: 0px;
}

#navigation ul.nav li {
	list-style: none;
	float: left;  /* ohne width - nach CSS 2.1 erlaubt */
	margin-top: 5px; margin-left: 20px;
}
#navigation ul.nav {
	margin-left: 160px;
}

#navigation ul.nav li a, #navigation ul.nav li a:link, #navigation ul.nav li a:visited {
	position: relative;
	font-size: 12px;
	text-align: center;
	text-decoration: none;
	color:  #b7504b;
	display: block;
}
#navigation ul.nav li a:hover {
	border-bottom: 1px solid #b7504b;
}

* html #navigation ul.nav li {  /* Korrektur fuer den IE 5 und 6 */
	margin-bottom: -0.4em;
}

/* panel navigation */
#panel_left ul.nav {
	list-style: none;
	padding: 0;
	margin: 5px 0 20px 0;
	width: 100%;
	border-top: 1px dotted #3d5e89;
}

#panel_left ul.nav li, #panel_left ul.nav ul.nav li {
	border-bottom: 1px dotted rgb(112,120,128);
	padding: 0px;
	position: relative;
}

* html #panel_left ul.nav li, * html #panel_left ul.nav ul.nav li {  /* Korrektur fuer den IE 5 und 6 */
/*	overflow: hidden;*/
}



#panel_left ul.nav li a, #panel_left ul.nav li a:visited, #panel_left ul.nav li a:link {
	padding-top: 2px;
	padding-bottom: 2px;
	text-decoration: none;
	font-size: 12px;
	color: #757984;
	border-bottom: none;
	display: block;
}
* html #panel_left ul.nav li a,
* html #panel_left ul.nav li a:visited,
* html #panel_left ul.nav li a:link {  /* Korrektur fuer den IE 5 und 6 */
	margin-left: 9px; margin-top: -15px;
	position: relative;
	display: inline;
}
*:first-child+html #panel_left ul.nav li a,
*:first-child+html #panel_left ul.nav li a:visited,
*:first-child+html #panel_left ul.nav li a:link {  /* Korrektur fuer den IE 7 */
	margin-left: 1px; margin-top: -15px;
	display: inline;
}

#panel_left ul.nav li:hover, #panel_left ul.nav ul.nav li:hover {
	background-image: url(/images/input_bg.png);
	background-repeat: repeat-x;
}

#panel_left ul.nav ul.nav {
	border: none;
	padding: 0px;
	margin-left 10px;
	width: 150px;
}
#panel_left ul.nav li.off div.bullet {
	background-image: url("/images/nav_pfeil_rechts.png");
	height: 8px; width: 8px; float: left; margin-top: 5px;
}
* html #panel_left ul.nav li.off div.bullet {  /* Korrektur fuer den IE 5 und 6 */
	height: 8px; /*line-height: 8px;*/
	position: absolute;
	left: -10px; top: 5px; margin-top: 0px; margin-left: 0px;
	/*background-repeat: no-repeat;*/
}
#panel_left ul.nav li.open div.bullet {
	background-image: url("/images/nav_pfeil_unten.png");
	height: 8px; width: 8px; float: left; margin-top: 5px;
}
* html #panel_left ul.nav li.open div.bullet {  /* Korrektur fuer den IE 5 und 6 */
	height: 8px; /*line-height: 8px;*/
	position: absolute;
	left: -10px; top: 5px; margin-top: 0px; margin-left: 0px;
	/*background-repeat: no-repeat;*/
}


/* messages */
#message {
	text-align: left;
	padding: 0 10px 10px 10px;
	min-height: 100px;
}
* html #message { height: 100px; }

#message h1 {
	display: block;
	border-bottom: 1px solid rgb(112, 120, 128);
}

#message div {
	margin-left: 84px;
	min-height: 80px;
}
* html #message div { height: 80px; }

#message input[type=button], #message #buttons {
	margin-top: 10px;
	float:right;
}
#message #buttons > * { text-align:right; }

#message.info {
	background-image: url("/images/symbols/bg/info.png");
	background-repeat: no-repeat;
	background-position: 10px 40px;
}
#message.error {
	background-image: url("/images/symbols/bg/error.png");
	background-repeat: no-repeat;
	background-position: 10px 40px;
}
#message.restricted {
	background-image: url("/images/symbols/bg/restricted.png");
	background-repeat: no-repeat;
	background-position: 10px 40px;
}

/*#panel_left ul.nav {
	list-style: none;
	padding: 0;
	margin: 5px 0 10px 0;
	width: 100%;
	border-top: 1px dotted #3d5e89;
}

#panel_left ul.nav li, #panel_left ul.nav ul.nav li {
	border-bottom: 1px dotted rgb(112,120,128);
}

#panel_left ul.nav li a, #panel_left ul.nav li a:visited, #panel_left ul.nav li a:link {
	padding-top: 2px;
	padding-bottom: 2px;
	display: block;
	text-decoration: none;
	font-size: 12px;
	color: #757984;
	border-bottom: none;
}

#panel_left ul.nav li a:hover, #panel_left ul.nav ul.nav li a:hover {
	background-image: url(/images/input_bg.png);
	background-repeat: repeat-x;
	border-bottom: none;
}

#panel_left ul.nav ul.nav {
	border: none;
	padding: 0px;
	margin-left 10px;
	width: 150px;
}

#panel_left ul.nav li.off a:before {
	list-style: url("/images/nav_pfeil_rechts.png");
	content: url("/images/nav_pfeil_rechts.png");
}
#panel_left ul.nav li.open a:before {
	content: url("/images/nav_pfeil_unten.png");
}*/