/*****************
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 {
   color: #444;
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   _font-size: 65.01%;	
   >font-size: 65.01%;
   line-height: 1.4em;
   background: url(./images/bg.png);
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link,
a:active, 
div#footer p {
   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: #001c53; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
   color: #001c53;                /* a different color can be used for visited links */
}

/* begin Form Builder Forms */

form {
	width: 500px;
	}

label {
	width: 250px;
	display: block;
	float: left;
	}

div.checkbox input, div.break label { display: block; clear: both; }

div.tarif { z-index: 1; }

/* begin Form Builder Forms */

/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   color: #01379f;
}

h1 {
	font-size: 1.5em; 
	margin-bottom: 15px; 
}
h2 {
	font-size: 1.4em; 
	margin-bottom: 15px; 
}
h3, h4, h5, h6 { 
	font-size: 1em;
	font-weight: bold;
}


div#content img {
	background-color: #fafdff;
	border: 1px solid #a3cddc;
	padding: 4px;
	margin: 5px 5px 5px 0;
}

div#menu_wrapper {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 150px;
	margin-bottom: 10px;
	background: url(./images/top_bg.png) repeat-x top;
	}

div#menu {
	margin: 0 auto;
	width: 900px;
	}

div#logo {
	width: 121px;
	height: 90px;
	float: left;
	background: url(./images/logo.png) top left no-repeat;
	}

div#slogan_box {
	float: left;
	width: 499px;
	height: 100px;
	text-align: center;
	}
	
div#top_box {
	color: #fff;
	width: 270px;
	height: 82px;
	padding: 5px;
	float: left;
	background: url(./images/top_box.png) top left no-repeat;
	}

div#content_wrapper {
	width: 900px;
	margin: 0 auto;
	overflow:auto;
	}

div#content {
	width: 620px;
	_width: 645px;
	padding-bottom: 20px;
	float: left;
	margin-right: 20px;
	min-height: 500px; /* so the news boxes won't snap under the content */
	_height: 500px; /* IE hack for min-height */
	}

div#news {
	float: right;
	width: 210px;
	height: 164px;
	overflow: hidden;
	padding: 10px;
	margin-bottom: 20px;
	background: url(./images/news_box.png) top left no-repeat;
	}

img#quader { margin: 0 0 0 130px; }

div#bottom {
	width: 900px;
	margin: 0 auto;
	margin-top: 20px;
	margin-bottom: 20px;
	text-align: center;
	padding: 10px 0;
	border-top: 1px solid #305DA6;
	}

/* NAVI - DONT EVER FUCKIN TOUCH THIS! ;-)

div#navi {
	width: 900px;
	height: 35px;
	z-index: 900;
	display: block;
	margin: 0 auto;
	clear: both;
	}

div#navi a, .sectionheader {
	margin: 0 6px;
	color: #fff;
	text-decoration: none;
	}

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

#navi ul {
	margin: 0;
	list-style: none;
	line-height: 1.5em;
	padding: 1px 1px 1px 5px;
	}
	
div#navi ul li ul {
	margin: 0;
	width: 200px;
	display: none;
	z-index: 1000;
	position: absolute;
	padding: 0 0 20px 0;
	background: #19315A;
	padding: 5px 15px 5px 15px;
	border-top: 1px solid #305DA6;
	border-left: 1px solid #305DA6;
	border-right: 1px solid #305DA6;
	border-bottom: 3px solid #305DA6;
	}

div#navi li {
	float: left;
	position: relative;
	margin-right: 20px;
	}

div#navi li a:hover { text-decoration: underline; }
	
div#navi li li {
	margin: 0;
	width: 170px;
	}

div#navi li > ul {
	top: auto;
	left: auto;
	}
	
div#navi li:hover ul, #navi li.over ul { display: block; }

NAVI - DONT EVER FUCKIN TOUCH THIS! ;-) */

/* TESTNAVI */

/* Horizontal menu for the CMS CSS Menu Module */
/* by Alexander Endresen */

#menu_vert {
   margin-left: 1px;
   margin-right: 1px;
}

/* The wrapper clears the floating elements of the menu */

div#navi { z-index: 900; }

/* Fix for Opera 8 */
.clearb { clear: both; }
#menuwrapper { 
   /* Fix for Opera 8 */ 
   /*   overflow: hidden;  */ 
   clear: both;
   width: 100%;
   padding-top: 6px;
}

/* Set the width of the menu elements at second level. Leaving first level flexible. */
#primary-nav li li { 
   width: 200px; 
}


/* Unless you know what you do, do not touch this */ 
#primary-nav, #primary-nav ul { 
   list-style: none; 
   margin: 0px; 
   padding: 0px; 
}
#primary-nav ul { 
   position: absolute; 
   top: auto; 
   display: none; 
}
#primary-nav ul ul { 
   margin-top: 1px;
   margin-left: -1px;
   left: 100%; 
   top: 0px; 
}
	
#primary-nav li { 
   margin-left: -1px;
   float: left; 
}
#primary-nav li li { 
   margin-left: 0px;
   margin-top: -1px;
   float: none; 
   position: relative; 
}

/* Styling the basic apperance of the menu elements */
ul#primary-nav li ul li { background: #19315a; }

#primary-nav a { 
   display: block; 
   margin: 0px; 
   padding: 5px 10px; 
   text-decoration: none; 
   color: #fff;
}
#primary-nav li a { 
}
#primary-nav li li a { 
   border: 1px solid #254883;
}	
#primary-nav li, #primary-nav li.menuparent { 

}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */

#primary-nav li.menuactive { 
}


/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav ul li.menuparent, 
#primary-nav ul li.menuparent:hover, 
#primary-nav ul li.menuparenth { 
/* arrow for menuparents */
   background-image: url(images/cms/arrow.gif); 
   background-position: center right; 
   background-repeat: no-repeat; 
}


/* Styling the apperance of menu items on hover */

#primary-nav li:hover, 
#primary-nav li.menuh, 
#primary-nav li.menuparenth, 
#primary-nav li.menuactiveh { 
   background-color: #254883; 
}

/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

/* 
just add 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul ul ul,
for fourth level 
*/
#primary-nav ul, 
#primary-nav li:hover ul, 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul, 
#primary-nav li.menuparenth ul ul { 
   display: none; 
}

/* add 
#primary-nav ul ul ul li:hover ul, 
#primary-nav ul ul ul li.menuparenth ul,
for fourth level
*/
#primary-nav li:hover ul, 
#primary-nav ul li:hover ul, 
#primary-nav ul ul li:hover ul, 
#primary-nav li.menuparenth ul, 
#primary-nav ul li.menuparenth ul, 
#primary-nav ul ul li.menuparenth ul { 
   display: block; 
}


/* IE Hacks */
#primary-nav li li { 
   float: left; 
   clear: both; 
}
#primary-nav li li a { 
   height: 1%; 
}

/* TESTNAVI */

/* Veröffentlichungspflichten */
.inline {
	width: 700px;
	height: 1000px;
	border: 0;
	overflow: auto;
	}

div#navistat ul { list-style-type: square;}

div#navistat ul li ul li { margin-left: 20px; }

div#inhalt { margin-top: 30px; }
	
div#inhalt h1, div#inhalt h1 {
	margin-bottom: 20px;
	}

div#inhalt table {
	font-size: 1em;
	}

/* NEWS */

div#news h3 {
   line-height: 1.6em;
}

	
#NewsPostDetailContent {
  margin: 10px 0;
  line-height: 150%;
  }

/* Tarifrechner */
iframe { border: 0; }

body#rechner p, body#rechner table { margin-bottom: 20px; }

body#rechner th, body#rechner td {
	font-size: 0.75em;
	font-weight: normal;
	}