/* alles auf 0 */
* { margin: 0; padding: 0; }
ul {
	list-style: none;
}
/* Elementselektoren */
body {
	font-size: 100.1%;
	font-family: Georgia, Times, 'Times New Roman', serif;
	color: black;
	background: url(img/bg.png) repeat;
}
address, p, li, blockquote {
	font-size: 0.85em;
	margin: 8px 0;
}
#content-box p, #content-box li, #content-box blockquote, #content-box address { font-size: 1em; }
#content-wrapper { background: transparent }
address {
	margin: 10px 0;
}
ul {
	margin: 5px 0px;
	padding: 0 0 0 10px;
	list-style: circle;
}
ul ul { list-style: disc; }
li {
	margin: 3px 0 3px 5px;
}
address {
	font-weight: 500;
	font-style: normal;
	line-height: 1.3em;
}
h1, h1 span {
	color: black;
	font-variant: small-caps;
	font-weight: normal;
}
h1 {
	font-size: 1.6em;
}
h1 span.next {
	display: block;
	font-size: 0.7em;
}
h2 {
	color: black;
	font-size: 1.4em;
	margin: 10px 0;
}
h3 {
	font-size: 1.1em;
	font-style: italic;
}
h2, h3 {
	font-weight: normal;
}
#content-box a {
	color: #5F5F5F;
	background: #EAEAEA url(img/arrow-right.gif) no-repeat right;
	padding-right: 14px;
}
#content-box a:hover {
	color: black;
	background-color: white;
	background-image: url(img/arrow-right_hover.gif);
	/*outline: 1px solid black;*/
}

#content-box h2, #content-box h3, #content-box h4, 
#content-box p, #content-box ul, 
#content-box fieldset, #content-box blockquote, #content-box address { margin-left: 12px; margin-right: 12px; }

#wrapper {
	width: 910px;
	margin: 1em auto 2em;
	padding-left: 6px;
}
#wrapper1 {
	width: 720px;
  border: 2px solid #444;
  border-radius: 3px;
  background: white;
}

/* Navi */
#navi-wrapper {
  border-radius: 0 3px 3px 0;
  margin-top: 2px;
  right: -4px;
	float: right;
	width: 189px;
	top: 130px;
	position: relative;
	background: rgba(255,255,255,0.5);
	border: 2px solid #004290;
	border-left-width: 0;
}
#navi-wrapper ul {
	text-align: right;
	margin: 0; padding: 0;
}
#navi-wrapper li {
	font-variant: small-caps;
	display: inline;
}
#navi-wrapper a {
	text-decoration: none;
	color: black;
	width: 176px;
	display: block;
	font-size: 1.5em;
	margin: 5px 0;
	padding: 3px;
	padding-right: 0.5em;
	background: transparent;
}
#navi-wrapper a:hover {
	background: rgba(255,255,255,0.5);
}
#navi-wrapper a.selected {
	background: #004290;
	color: white;
}

/* content-box */
#content-box {
	background: white;
}

/* footer */
#footer {
    border-top: 1px solid #c1c1c1;
    color: #555;
    font-size: 0.8em;
    margin-top: 4em;
    padding: 4px 0.5em;
}


/* header */
#header {
  padding: 20px 2em;
	text-align: right;
	background: url("img/header.gif") no-repeat scroll 0.5em center white;
	border-bottom: 3px solid black;
	height: 90px;
}
#header p {
	font-size: 1.2em;
	font-variant: small-caps;
}

.invisible {
	display: none;
}
input, select, textarea {
	display: block;
	float: left;
	width: 250px;
	margin: 3px;
	padding: 2px;
}
label { 	display: block;
	float: left;
width: 150px; }
textarea {
	font-size: 0.9em;
	height: 20em;
}
input.error.text, select.error, textarea.error {padding-right: 16px; border: 1px solid red; background-color: #FFFCE2; background-image: url(img/warning_obj.gif); background-position: right; background-repeat: no-repeat;}
form br { clear: left;}
input.button {
/*  float: left;
  margin: 8px auto;
  display: block;*/
}
fieldset {
  border: thin solid #bbb;
  margin-top: 18px;
  margin-bottom: 18px; 
  padding: .5em;
}
legend { font-weight: bold; }
label {
 text-align: right; 
 padding-right: 1em; 
}

p.success {
	color: #040;
	background: #CFC;
	border: 1px solid #090;
	padding: 4px;
}

a.arrow span {
	visibility: hidden;
}
a.arrow {
	background: url(img/arrow-right.gif) transparent no-repeat center;
	text-decoration: none;
}
a.arrow:hover {
	background-image: url(img/arrow-right_hover.gif);
	outline: 1px solid black;
}

img.allover { width: 720px; margin: 1em 0; }

p.note {
	font-size: 0.6em;
	text-align: center;
}
span.more, span.less {
	padding-left: 12px;
	background: no-repeat left bottom transparent;
	cursor: pointer;
}
span.more {
	background-image: url(img/arrow-down.gif);
}
span.less {
	background-image: url(img/arrow-up.gif);
}
p.note span.more:hover span,
p.note span.less:hover span {
	text-decoration: underline;
}

#feedback {
	border: 1px solid gray;
	background: #FFFDE2;
	border: 1px solid red;
}

.mysql {
	background: rgba(255,0,0,0.1);
	padding: 4px;
	border: 1px solid black;
}

p.error {
	border: 1px solid red;
	background: #FEB4B6;
	color: black;
	padding: 4px;
}
div.portrait_pic {
	float: right;
	position: relative;
	line-height: 0;
	margin: 2em 0;
	margin-right: 0.5em;
}
div.portrait_pic img {
	border: 1px solid black;
}


/* screen dependent styles */

@media (min-width: 700px) and (max-width: 991px) {
	/* large tablet styles */
	#navi-wrapper a {
		font-size: 1.1em;
		font-family: sans-serif;
		width: auto;
		display: inline;
	}
	#navi-wrapper a:hover {
		text-decoration: underline;
	}
	#navi-wrapper li { 
		display: block;
		float: left; 
		margin: 5px 0 0px 0;
		padding: 0 1.5em 0 0;
		font-variant: normal;
	}
	#navi-wrapper {
		width: 600px;
		top: 120px;
		position: absolute;
		padding-left: 12px;
		background: white;
		border: none;
	}
	#content-box {
		margin-top: 33px;
		border-top: 1px solid black;
	}
	#content-box h2, #content-box h3, #content-box h4, #content-box p, #content-box ul, #content-box fieldset, #content-box blockquote, #content-box address {
		margin-top: 0;
	}
	#wrapper2 {
		background: white;
	}

}


@media (max-width: 700px) {
	/* medium tablet styles (in source: 767px, changed because of design of this website) */
	body { background: white; }
	#navi-wrapper a {
		font-size: 1.1em;
		font-family: sans-serif;
		width: auto;
		display: inline;
	}
	#navi-wrapper a:hover {
		text-decoration: underline;
	}
	#navi-wrapper li { 
		display: block;
		float: left; 
		margin: 6px 6px 6px 0;
		padding: 2px;
		font-variant: normal;
	}
	#navi-wrapper {
		width: 100%;
		top: 95px;
		position: fixed;
		padding-left: 12px;
		padding-bottom: 4px;
		background: white;
		border: 0px;
		border-bottom: 2px solid black;
		border-radius: 0;
		z-index: 100;
	}
	#content-box {
		margin-top: 150px;
		border-top: 0px;
	}
	#content-box h2, #content-box h3, #content-box h4, #content-box p, #content-box ul, #content-box fieldset, #content-box blockquote, #content-box address {
		margin-top: 0;
	}
	
	#header {
	    position: fixed;
		top: 0;
		z-index: 100;
		background-size: 120px auto;
		background-position: 0px center;
		font-size: 0.9em;
		width: 100%;
		margin: 0;
		padding: 0 0 5px 0;
    }

	#wrapper {
		width: auto;
		margin: 0;
		padding-left: 0;
	}
	#wrapper1 {
		width: auto;
		box-shadow: unset;
	}
	#wrapper2 {
		background: white;
	}

}



@media screen and (max-width: 479px) {
	/* phone styles */

}

#footer a { background: none; padding-right: 0; }
#footer a:hover { background: none; }