html {
	margin:0px;
	padding:0px;
/*	background:rgb(242, 220, 183) url(/data/layout/default/back.gif);*/
	background:rgb(242, 220, 183);
	background-image:url(/data/layout/default/header.png);
	background-position:top center;
	background-repeat:no-repeat;
}
body {
	font-family: Verdana,sans-serif;
	margin:79px 8px 10px 8px;
	padding:0px;
	font-size:0.8em;
}
			
button {
	background-color:rgb(253, 250, 235);
	border:1px solid rgb(0, 0, 0);
	width:100px;
	cursor:pointer;
	letter-spacing:3px;
	font-weight:bold;
	font-size:0.8em;
}
button, input[type="text"], input[type="password"], textarea, input[type="file"] {
	background-color:rgb(253, 250, 235);
	border:1px solid rgb(0, 0, 0);
	padding:2px;
}
textarea:focus, button:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="file"]:focus{
	background-color:#FFDEB2;
	color:black;
	border:1px solid rgb(80, 80, 80);
}

img {
	border-style:none;
	border-width:0px;
}

a, a:link, a:visited, a:focus {
	color:#C21D00;
	text-decoration:none;
	cursor:pointer;
}

a:active, a:hover {
	color:#FF2600;
	text-decoration:underline;
	/*
	position:relative;
	bottom:1px;
	right:1px;
	*/
}

/*
a.no_move:active, a.no_move:hover {
	position:static;
}
*/

.box a {
	color:rgb(253, 250, 235);
}
.box .boxcontent a {
	color:#C21D00;
}
.box .boxcontent .box a {
	color:rgb(253, 250, 235);
}
.box .boxcontent .box .boxcontent a, .box .boxcontent .box .signatur a {
	color:#C21D00;
}

a.klammern, a.klammern:link, a.klammern:focus {
	text-decoration:none;
}
/* IE ignores before and after, but who cares */
.klammern:before {
	content:"[";
}
.klammern:after {
	content:"]";
}

/* displaying quotes a bit nicer */
blockquote {
	padding:0.5em;
	margin-left:2em;
	margin-right:2em;
	background-color:#FFFDF0;
	margin-bottom:-0.7em;
}

#navi {
	position:relative;
	width:100%;
	height:3em;
	width:70em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
	padding-left:0.5em;
}

#navi #primary {
	margin:0px;
	padding:0px;
	position:absolute;
	bottom:-1px;
	width:70em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#navi #primary li  {
	display:inline;
	list-style:none;
}

#navi #primary a, #navi #primary span, #navi #primary a.current {
	display:block;
	float:left;
	padding:4px 1em;
	margin:1px 2px 0px 0px;
	text-align:center;
	font-size:95%;
	text-decoration:none;
	color:black;
	position:static;
	-moz-border-radius-topleft:10px;
	-moz-border-radius-topright:10px;
}
#navi #primary a.current, #navi #primary a:hover {
	color:rgb(242, 220, 183);
}

#navi #primary span, #navi #primary a.current, #navi #primary a.current:hover {
	border:1px solid rgb(134, 110, 74);
	border-bottom:none;
	background-color:#9E130E;
	padding-bottom:6px;
	margin-top:0px;
	font-weight:bold;
}

#navi #primary a {
	background-color:rgb(253, 250, 235);
	border:1px solid #C7B599;
	border-bottom:none;
}

#navi #primary a:hover {
	margin-top:0px;
	border-color:rgb(134, 110, 74);
	background-color:#BE2E2C;
	padding-bottom:5px;
}

/* outer div of boxes, e.g. navigation */
.box {
	background-color:#9E130E;
	color:rgb(242, 220, 183);
	border:1px solid rgb(134, 110, 74);
	padding:0px;
	margin-bottom:5px;
	text-align:center;
	cursor:pointer;
}

/* the red label of every box */
.box .label {
	margin:5px;
	display:block;
	font-size:x-small;
	font-weight:bold;
	letter-spacing:3px;
	text-transform:uppercase;
}

/* the inner div with content of boxes */
.boxcontent {
	background-color:#F5EAD4;
	color:black;
	padding:5px;
	font-weight:normal;
	letter-spacing:0px;
	text-align:left;
	cursor:auto;
	font-size:small;
}

.boxcontent .boxcontent {
	background-color:rgb(242, 220, 183);
}

/* unset, for content */
.boxcontent span {
	margin:0px;
	display:inline;
}

.signatur {
	padding:4px;
	color:rgb(65, 65, 65);
	background-color:#FFFDF0;
}

#bannerbox {
	text-align:center;
	padding-bottom:26px;
}

/* special formattings for main div */
#mainbox {
/*	margin-right:183px;*/
	margin-right:173px;
	text-align:left;
	cursor:default;
	padding:0;
}
#title {
	display:block;
	margin:0;
	min-height:43px;
	padding-top:20px;
	padding-right:10px;
	padding-bottom:5px;
	background-image:url(/data/layout/default/boxtitel.png);
	background-position:bottom left;
	background-repeat:no-repeat;
	background-color:#FFFFFF;
}
#mainboxcontent {
	padding:0px;
}
#maincontent {
	padding:10px;
}
#mainbox .label {
	cursor:default;
}

#title {
	text-align:right;
	margin-bottom:10px;
	font-size:1.8em;
	cursor:default;
}
#mainboxcontent .box {
	cursor:default;
}

#footer {
	text-align:left;
	font-size:smaller;
	cursor:auto;
	clear:both;
}
#footer span {
	display:block;
	margin:3px;
}
/* exec-time in footer */
#executiontime {
	float:right;
}

/* the right boxes */
#navigation {
	float:right;
/*	width:175px;*/
	width:165px;
	clear:both;
}

/* the headline in the main div */
#MC {
	float:right;
}

em {
	font-variant:small-caps;
}

span.help, abbr {
	border-bottom:dashed 1px rgb(0, 0, 110);
	cursor:help;
}

.admin {
/*	color:rgb(0, 0, 0);*/
	color:rgb(255, 70, 0);
	border:1px solid rgb(175, 125, 0);
	background-color:rgb(255, 255, 200);
	padding:5px;
	text-align:center;
	margin:0px auto;
}
.admin a {
	color:rgb(175, 125, 0) !important;
}
.admin ul {
	margin:0px;
	padding:0px;
	text-align:center;
}
.admin li {
	display:inline;
	margin-right:10px;
	margin-left:10px;
}

h1 {
	font-size:1.8em;
}
h2 {
	font-size:1.4em;
}

/* cool boxes ^^ */
.error, .ok {
	padding:8px;
	margin:10px auto;
	width:60%;
	color:black;
}
.error {
	border:1px solid rgb(255, 0, 0);
	background-color:rgb(255, 200, 200);
}
.ok {
	border:1px solid rgb(0, 255, 0);
	background-color:rgb(200, 255, 200);
}

/* debbuging print for webdevs */
.query-debug .query {
	white-space:pre;
	background-color:#D3D3D3;
	text-align:left !important;
}
.query-debug td {
	text-align:left !important;
}
.query-debug .header {
	background-color:#FFE2A8;
	color:#FF4600;
}
.query-debug .values {
	background-color:#A8FFAE;
}

.php-source {
	padding-left:2em;
	margin:1em 0px;
	border:3px dashed rgb(242, 220, 183);
	background-color:#FAFAFA;
}
