/* browsers interpret margin and padding a little differently, we'll remove all default padding and margins and set them later on */
* {
	margin: 0;
	padding: 0;
}
/*Set initial font styles*/
body {
	text-align: left;
	font-family:Tahoma, Geneva, sans-serif;
	font-size: 75.01%;
	line-height: 1em;
}
div#main p,
div#main ul,
div#main ol,
div#main dl {
	font-family:Arial, Helvetica, sans-serif;
	font-size:13px;
}
/*set font size for all divs, this overrides some body rules*/
div {
	font-size: 1em;
}
/*if img is inside "a" it would have borders, we don't want that*/
img {
	border: 0;
}
/*default link styles*/
/* set all links to have underline and bluish color */
a, a:link a:active {
	text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
	background-color: inherit;
	color: #9d001e;
}
a:visited {
	text-decoration: underline;
	background-color: inherit;
	color: #9d001e;
/* a different color can be used for visited links */
}
/* remove underline on hover and change color */
a:hover {
	text-decoration: none;
	background-color: inherit;
	color: #000;
}
/*****************basic layout *****************/
body {
	margin: 0;
	padding: 0;
	color: #333;
	background: #fff;
}
div#pagewrapper {
	width:998px;
	margin: 6px auto;
	background-color: #fefefe;
	color: black;
}
/* header, we will hide h1 a text and replace it with an image, we assign a height for it so the image wont cut off */
div#header {
	height: 182px;
	margin: 0;
	padding: 0;
	background: #f4f4f4 url(../images/layout/header-home.jpg) no-repeat left top;
	border-bottom: 1px solid #D9E2E6;
}
div#header h1 a {
	background: transparent;
	display: block;
	height: 100px;
	text-indent: -999em;
	text-decoration: none;
}
div#header h1 {
	margin: 0;
	padding: 0;
	line-height: 0;
	font-size: 0;
	background: transparent;
}
div#header h2 {
/* this is where the site name is */
	float: right;
	line-height: 1.2em;
/* this keeps IE6 from not showing the whole text */
	font-size: 1.5em;
/* keeps the size uniform */
	margin: 35px 65px 0px 0px;
/* adjust according your text size */
	color: #f4f4f4;
}
div#logo {
	/*
	position:fixed; 
	bottom:75px; 
	left:50%; 
	height:200px; 
	width:180px; 
	margin-left:275px; 
	background:url(../images/layout/logo.png) no-repeat;
	*/
	display:none;
}
div#content {
/* some air above and under menu and content */
	margin: 1.5em auto 2em 0;
	padding: 0px;
	overflow:visible;
	background:url(../images/layout/logo.png) no-repeat 780px 165px;
}
/* this gets all the outside calls that were used on the div#main before  */
div#main {
	width:496px;
	margin-left: 22%;
	margin-right: 2%;
	padding: 10px 15px;
	overflow:visible;
}
div#main_top_cap {
	width:496px;
	height:17px;
	background: url(../images/layout/bg-main.gif) no-repeat 0 0;
}
div#main_content {
	background:#F1F1EF;
	padding:0 20px;
	min-height:310px;
	overflow:visible;
}
div#main_bottom_cap {
	width:496px;
	height:18px;
	background: url(../images/layout/bg-main-bottom.gif) no-repeat 0 0;
}
div#sidebar {
	float: left;
	width: 22%;
	display: inline;
/* the 20px is on the bottom, insures space above footer if longer than content */
	margin: 0px 0px 20px;
	padding: 0px;
}
div#sidebarb {
	padding: 10px 15px 10px 20px;
}
div#sidebarb div#news {
/* less margin surrounding the news, sidebarb has enough */
	margin: 2em 0 1em 0em;
}
div#sidebara {
	padding: 10px 15px 15px 0px;
}
div.footback {
	height:37px;
	clear: both;
	padding: 0px 0px 0px 0px;
	background: url(../images/layout/bg-footer.gif) no-repeat left top;
}
div#footer {
	color: #232222;
}
div#footer p {
	font-size: 13px;
	padding:6px 0 0 0;
	text-align: center;
	margin: 0;
}
div#footer p a {
/* footer link would be same color as default we want it same as footer text */
	color: #000;
}
/* as we hid all hr for accessibility we create new hr with div class="hr" element */
div.hr {
	height: 1px;
	padding: 1em;
	border-bottom: 1px dotted black;
	margin: 1em;
}
/* relational links under content */
div.left49 {
/* combined percentages of left+right equaling 100%  might lead to rounding error on some browser */
	width: 70%;
}
div.right49 {
	float: right;
	width: 29%;
/* set right to keep text on right */
	text-align: right;
}
/********************CONTENT STYLING*********************/
/* HEADINGS */
div#content h1 {
	font-size: 18px;
	line-height: 24px;
	margin: 0;
	font-weight:bold;
}
div#content h2 {
	color: #9d001e;
	font-size: 18px;
	text-align: left;
	line-height: 24px;
	margin: 0 0 0.5em 0;
	font-weight:bold;
}
div#content h3 {
	color: #9d001e;
	font-size: 15px;
	line-height: 1.3em;
	margin: 0 0 0.5em 0;
}
div#content h4 {
	color: #9d001e;
	font-size: 1.2em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
div#content h5 {
	color: #9d001e;
	font-size: 1.1em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
h6 {
	color: #9d001e;
	font-size: 1em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
/* END HEADINGS */
/* TEXT */
p {
	font-size: 1em;
	margin: 0 0 1.5em 0;
	line-height: 1.4em;
	padding: 0;
}
blockquote {
	border-left: 10px solid #ddd;
	margin-left: 10px;
}
strong, b {
/* explicit setting for these */
	font-weight: bold;
}
em, i {
/* explicit setting for these */
	font-style: italic;
}
/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
/* css-3 */
	white-space: pre-wrap;
/* Mozilla, since 1999 */
	white-space: -moz-pre-wrap;
/* Opera 4-6 */
	white-space: -pre-wrap;
/* Opera 7 */
	white-space: -o-pre-wrap;
/* Internet Explorer 5.5+ */
	word-wrap: break-word;
	font-family: "Courier New", Courier, monospace;
	font-size: 1em;
}
pre {
/* black border for pre blocks */
	border: 1px solid #000;
/* set different from surroundings to stand out */
	background-color: #ddd;
	margin: 0 1em 1em 1em;
	padding: 0.5em;
	line-height: 1.5em;
	font-size: 90%;
}
/* Separating the divs on the template explanation page */
div.templatecode {
	margin: 0 0 2.5em;
}
/* END TEXT */
/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
	font-size: 1.0em;
	line-height: 1.4em;
	margin: 0 0 1.5em 0;
}
div#main ul li,
div#main ol li {
	margin: 0 0 0.25em 3em;
}
/* definition lists topics on bold */
div#main dl {
	margin-bottom: 2em;
	padding-bottom: 1em;
	border-bottom: 1px solid #c0c0c0;
}
div#main dl dt {
	font-weight: bold;
	margin: 0 0 0 1em;
}
div#main dl dd {
	margin: 0 0 1em 1em;
}
/* END LISTS */

/* Forms */
.hidden {
	display:none !important;
}
input, textarea {
	font-family:Arial, Helvetica, sans-serif;
	font-size:13px;
	padding:3px;
	color:#52614a;
	border:1px solid #52614a;
	width:310px;
	background:#fff;
}
input:hover, textarea:hover {
	border:1px solid #efefe7;
}
input.fbsubmit {
	width:150px;
	height:35px;
	margin:4px 0 0 4px;
	cursor:pointer;
	border:0;
	font-size:1em;
	font-weight:bold;
	color:#fff;
	text-align:center;
	vertical-align:middle;	
	background:url('../images/layout/btn-link.png') no-repeat transparent;
	margin-left:125px;
}
input.fbsubmit:hover {
	border:0;
	color:#fff;
	text-align:center;
	vertical-align:middle;	
	background:url('../images/layout/btn-hover.png') no-repeat transparent;
}
form {
	padding:0;
}
div.kontaktformular label {
	cursor:pointer;
	float:left;
	width:125px;
	display:block;
}
div.kontaktformular div {
	clear:left;
	font-size:13px;
	margin-bottom:6px;
}

/* Navigation Horizontal */
/********************MENU*********************/
/* hack for IE6 */
* html div#menu_horiz {
/* hide ie/mac \*/
	height: 1%;
/* end hide */
}
div#menu_horiz {
	background: url(../images/layout/bg-navi.gif) no-repeat 0 0;
	width: 100%;
	height: 27px;
	margin: 0;
}
div#menu_horiz ul {
	list-style-type: none;
	margin: 0;
	/*padding-top: 10px;*/
	padding-left: 20px;
}
/* menu list items */
div#menu_horiz li {
	float: left;
	list-style: none;
	margin: 0;
}
/* the links, that is each list item */
div#menu_horiz a, div#menu_horiz h3 {
/* pushes li out from the text, sort of like making links a certain size, if you give them a set width and/or height you may limit you ability to have as much text as you need */
	/*padding: 12px 15px 15px 0px;*/
	font-family:Tahoma, Geneva, sans-serif !important;
	padding: 6px 60px 0px 0px;
	margin: 0;
	text-decoration: none;
	color: #fff;
	font-size:14px !important;
	display: block;
}
/* hover state for links */
div#menu_horiz li a:hover {;
	/*background:  url(uploads/ngrey/nav.png) repeat-x left -50px;*/
}
div#menu_horiz a span {
/* compensates for no left padding on the "a" */
	padding-left: 15px;
}
div#menu_horiz li.parent a span,
div#menu_horiz li.parent a:hover span,
div#menu_horiz li.menuactive a span
{
	padding-left: 20px;
}
div#menu_horiz li.currentpage a span,
div#menu_horiz li.menuactive a span
{
	font-weight:bold;
}
/* active parent, that is the first level parent of a child page that is the current page */
div#menu_horiz li.menuactive, div#menu_horiz li.menuactive a:hover {
	/* set your image here, light image with #000/black text set below*/
	/*background:  url(uploads/ngrey/nav.png) repeat-x left 0px;*/
	color: #fff;
}
/* Menu Vertikal */
/******************** MENU *********************/
#menu_vert {
	margin: 0;
	padding: 0;
}
#menu_vert ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
}
#menu_vert ul ul {
	margin: 0;
	padding: 0px 5px 0px 0px;
	/*background: transparent url(uploads/ngrey/liup.gif) no-repeat right -4px;*/
}
#menu_vert li {
	list-style: none;
	margin: 0px 0px -1px;
	padding: 0px 0px 4px 0px;
	font-size:13px;
	font-weight:bold;
	/*background: transparent url(uploads/ngrey/liup.gif) no-repeat right bottom;*/
}
#menu_vert li.currentpage {
	padding: 0px 0px 3px 0px;
}
#menu_vert li.menuactive {
	margin: 0;
	padding: 0px;
/* replaced by image in ul ul */
	background: none;
}
#menu_vert li.menuactive ul {
	margin: 0;
}
#menu_vert li.activeparent {
	margin: 0;
	padding: 0px;
}
/* fix stupid IE6 bug with display:block; */
* html #menu_vert li {
	height: 1%;
}
* html #menu_vert li a {
	height: 1%;
}
* html #menu_vert li hr {
	height: 1%;
}
/** end fix **/
/* first level links */
div#menu_vert a {
/* IE6 has problems with this, fixed above */
	display: block;
	padding: 0.8em 0.3em 0.5em 1.5em;
	color: #535353;
	min-height: 1em;
	text-decoration: none;
	/*background: transparent url(uploads/ngrey/libk.gif) no-repeat right top;*/
}
/* next level links, more padding and smaller font */
div#menu_vert ul ul a {
	font-size: 90%;
	padding: 0.8em 0.3em 0.5em 2.8em;
}
/* third level links, more padding */
div#menu_vert ul ul ul a {
	padding: 0.5em 0.3em 0.3em 3em;
}
/* hover state for all links */
div#menu_vert a:hover,
div#menu_vert a.currentpage {
background-color: transparent;
	color: #161616;
	text-decoration: underline;
}
div#menu_vert a.activeparent:hover {
	color: #161616;
}
/* active parent, that is the first level parent of a child page that is the current page */
div#menu_vert li.activeparent {
	/*background: transparent url(uploads/ngrey/liup.gif) no-repeat right -65px;*/
	/*color: #fff;*/
}
div#menu_vert li.activeparent a.activeparent {
	/*background: transparent url(uploads/ngrey/libk.gif) no-repeat right top;*/
	color: #161616;
}
div#menu_vert li a.parent {
/* takes left padding out so span image has room on left */
	padding-left: 0em;
}
div#menu_vert ul ul li a.parent {
/* increased padding on left offsets it from one above */
	padding-left: 0.9em;
}
div#menu_vert li a.parent span {
	display: block;
	margin: 0;
	padding-left: 1.5em;
	/*background: transparent url(uploads/ngrey/active.png) no-repeat 2px center;*/
}
div#menu_vert li a.parent:hover {
/* removes underline hover effect */
	text-decoration: none;
}
div#menu_vert li a.parent:hover span {
	display: block;
	margin: 0;
	padding-left: 1.5em;
/* arrow on left for pages with children, points right for hover, you can set your own image here */
	background: transparent url(uploads/ngrey/parent.png) no-repeat 2px center;
}
div#menu_vert li a.menuactive.menuparent {
/* sets it in a little more than a.parent */
	padding-left: 0.35em;
}
div#menu_vert ul ul li a.menuactive.menuparent {
/* sets it in a little more on next level */
	padding-left: 0.99em;
}
div#menu_vert li a.menuactive.menuparent span {
	display: block;
	margin: 0;
	font-weight: bold;
	padding-left: 1.5em;
	/*background: transparent url(uploads/ngrey/parent.png) no-repeat 2px center;*/
}
div#menu_vert li a.menuactive.menuparent:hover {
	text-decoration: none;
	color: #18507C;
}
div#menu_vert ul ul li a.activeparent {
	color: #fff;
}
/* current pages in the default Menu Manager template are unclickable. This is for current page on first level */
div#menu_vert ul h3 {
	display: block;
	padding: 0.8em 0.5em 0.5em 1.5em;
	color: #161616;
	font-size: 1em;
	margin: 0;
	background: transparent url(uploads/ngrey/libk.gif) no-repeat right top;
}
/* next level current pages, more padding, smaller font and no background color or bottom border */
div#menu_vert ul ul h3 {
	font-size: 90%;
	padding: 0.8em 0.5em 0.5em 2.8em;
/* you can set your own image here, same as "a" */
	background: transparent url(uploads/ngrey/libk.gif) no-repeat right top;
	color: #161616;
}
/* current page on third level, more padding */
div#menu_vert ul ul ul h3 {
	padding: 0.6em 0.5em 0.2em 3em;
}
/* BIG NOTE: I didn't do anything to these, never tested */
/* section header */
div#menu_vert li.sectionheader {
	border-right: none;
	font-size: 130%;
	font-weight: bold;
	padding: 1.5em 0 0.8em 0;
	background-color: #fff;
	line-height: 1em;
	margin: 0;
	text-align: center;
}
/* separator */
div#menu_vert li.separator {
	height: 1px !important;
	margin-top: -1px;
	margin-bottom: 0;
	padding: 2px 0 2px 0;
	background-color: #000;
	overflow: hidden !important;
	line-height: 1px !important;
	font-size: 1px;
/* for ie */
}
div#menu_vert li.separator hr {
	display: none;
/* this is for accessibility */
}