* { margin: 0; padding: 0; font-size:15px; font-weight: 400;font-family: Arial,sans-serif; }

html { 
  height: 100.1%; 
  margin-bottom: 1px;
  padding: 0; 
  color: #666666; 
  background: #ffffff;
}

#seite {
  margin: 8px auto 0;
  width: 890px;
  line-height:130%;
}

#headertop { 
  width: 890px; 
  height: 98px;
  margin-bottom: 13px;
  color: #000;
  background: #ffffff url('../img/logo.jpg') no-repeat center bottom;;
}

.headlink {
  width: 250px; 
  height: 98px;
  margin-left: 320px;
  position: absolute;
  display: block; 
}

#header { 
  width: 890px; 
  height: 166px; 
  background: #ffffff url('../img/header.jpg') no-repeat center bottom;
  text-align: center; 
}

#navigation {
  padding-top: 27px;
  height: 21px;
  background: #ffffff url('../img/navbg.jpg') no-repeat center bottom;
}

#main { 
  padding: 0;
  margin: 0 auto 0; 
  color: #4f4f4f; 
  background: #fff; 
  overflow: hidden;
  border: none;
}

#li {
  float: left;
  width: 220px;
  padding: 0;
  margin: 77px 0 0 0;  
  background: #fff;
}

#content {
  float: right;
  padding: 0 50px 0 0;
  margin: 40px 0 0 80px;  
  width: 540px;
  float: left;
  min-height: 502px;
}

#footer {
  width: 890px;
  height: 30px;
  background: #ffffff url('../img/footbg.jpg') no-repeat center top;
  text-align: right;
}

a {
  color:#666666;
  text-decoration: underline;
  cursor: pointer;
  outline: none;
}

a:active,
a:hover {
  color: #003c73;
}

.slink {
  margin-top: 85px;
  float: left;
}

.slink a {
  font-size: 13px;
  color: #999999;
  text-decoration: none;
}

.btm {
  margin-top: 10px;
}

.right {
  float: right;
}

.hide {
	display: none;
}

.tugium {
  font-family: Times, serif; 
  font-variant: small-caps;
  font-weight: bold;
  color: #003c73; 
}

img { 
  border: none;
  outline: none;
}

#content .image_fade_wrapper,
#content img {
  display: block;
  padding-bottom: 20px;
}

#gallery { 
  margin: 12px auto 0;
  display: block;
}

h1 {
  font-size: 17px;
  font-weight: bold;
  color: #003c73;
  padding-bottom: 18px;
}

p,
.tinymcewysiwyg {
  color: #666666;
  line-height: 18px;
  font-size: 15px;
  padding-bottom: .7em;
}

strong {
  font-weight: bold;
}

li {
  margin-left: 15px;
  list-style-type:square;
}

/* NAV Test */ 

.nav {
   float:left;
   width:100%;
   background: none;
   position:relative;
}
.nav ul {
   clear:left;
   float:right;
   list-style:none;
   margin:0;
   padding:0;
   position:relative;
   right:50%;
   text-align:center;
}
.nav ul li {
   display:block;
   float:left;
   list-style:none;
   margin:0;
   padding: 0 15px 0 15px;
   position:relative;
   left:50%;
   white-space: nowrap;
}
.nav ul li a {
   display:block;
   margin: 0;
   padding: 0;
   color:#666;
   text-decoration:none;
   line-height: 21px;
}
.nav ul li.active a,
.nav ul li:hover,
.nav ul li:hover a {
   color:#003c73;
}

.nav ul li.active {
   background:#fff;
}

.nav ul li span {
  position: absolute;
  width: 7px;
  height: 20px;
  background: none;
}

.nav ul li span.splil {
  background: transparent url('../img/navtr.jpg') no-repeat left top;
  left: 0px; 
}

.nav ul li span.notr,
.nav ul li span.splir,
.nav ul li.first span.splil {
  background: none;
}

.nav ul li.active span.splil {
  background: transparent url('../img/navactl.jpg') no-repeat left bottom;
  left: -6px;
  height: 21px;
}


.nav ul li.active span.splir {
  background: transparent url('../img/navactr.jpg') no-repeat left top;
  right: -7px;
  top: 0;
}

.nav ul ul {
   display:none; /* Sub menus are hiden by default */
   position:absolute;
   left: 0;
   right: auto; /*resets the right:50% on the parent ul */
   width: auto; /* width of the drop-down menus */
   border: 1px solid #bbb;
   border-top: none;
}
.nav ul ul li {
   left:auto;  /*resets the left:50% on the parent li */
   margin: 0; /* Reset the 1px margin from the top menu */
   padding: 0 15px;
   clear:left;
   line-height: 21px;
}
.nav ul ul li a,
.nav ul li.active li a,
.nav ul li:hover ul li a,
.nav ul li.hover ul li a { /* This line is required for IE 6 and below */
   font-size: 14px;
   background:#fff;
   color:#666;
   line-height: 21px; /* overwrite line-height value from top menu */
}
.nav ul ul li a:hover,
.nav ul li ul li:hover,
.nav ul li ul li.active,
.nav ul li ul li.active a,
.nav ul li ul li a:hover,
.nav ul li:hover ul li a:hover,
.nav ul li.hover ul li a:hover { /* This line is required for IE 6 and below */
   background:#e7f4fc; /* Sub menu items background colour */
   color:#003c73;
}

/* Flip the last submenu so it stays within the page */
.nav ul ul.last {
   left:auto; /* reset left:0; value */
   right:0; /* Set right value instead */
}

/* Make the sub menus appear on hover */
.nav ul li:hover ul,
.nav ul li.hover ul { /* This line is required for IE 6 and below */
   display:block; /* Show the sub menus */
}

/* gallery */

.imggal {
	margin: 8px auto;
	text-align: center;
}

.imggal img {
  margin: 12px 0;
}

.clear{
	clear: both;
}

/* mailform */

.formgen_form {
  background: #DEDCDD;
  border: none;
  padding: 15px;
  margin-bottom: 20px;
}

legend {
  font-size: 14px;
  margin-bottom: 40px;
}

.formgen_block {
  margin-bottom: 10px;
}

fieldset {
  border: none;
}

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

/* imgfade */

.image_fade_wrapper {
	float: left;
	padding: 0;
}

.image_fade {
	position: relative;
	float: left;
	width: 350px;
	height: 350px;
	border: none;
}
.image_fade img {
	position: absolute;
	top: 0;
	left: 0;
	border: none;
	margin: 0;
	padding: 0;
}
.clear{
	clear: both;
}
                             
                             
                             
/**
 * Modul WYSIWYGImage, Wysiwyg-Text mit Bild/Bildergalerie
 */
div.wysiwygimg {}
/* ----- Hack only for IE 7 ----- */
*+html div.wysiwygimg {overflow:hidden;}

.wysiwygimg .wysiwygimgclear {clear:both; display:block; font-size:1px; line-height:0px; margin:0; padding:0; position:relative;}

/* Text */
.wysiwygimg .wysiwygimgtext {}

/* Bild und Link */
.wysiwygimg img.wysiwygimg {border:0; margin:1px;}
/*.wysiwygimg img.wysiwygimg {border:solid 5px #f5f5f5; padding:1px;}*/
.wysiwygimg a.wysiwygimg img {border:0;padding:0px;vertical-align:top; margin:1px;}

/*.wysiwygimg a.wysiwygimg, .wysiwygimg a.wysiwygimg:link {border:solid 5px #f6f6f6; display:table; display:inline-block; line-height:0.0em;}
.wysiwygimg a.wysiwygimg:visited {}
.wysiwygimg a.wysiwygimg:hover {border:solid 5px #e4e4e4;}
.wysiwygimg a.wysiwygimg:focus {border:solid 5px #e4e4e4;}
.wysiwygimg a.wysiwygimg:active {border:solid 5px #e4e4e4;}*/

/* Bildunterschrift */
.wysiwygimg .wysiwygimgtitle {color:#666; font-size:0.8em; font-style:italic; margin:2px 0px;}

/* Wrapper-Classe um Bild und Bildunterschrift*/
.wysiwygimg .wysiwygimgwrap {}

/* Bild links im Text (Textumfluss) */
.wysiwygimg .wysiwygimgleft {float:left; margin:0 1.0em 0 0;}

/* Bild rechts im Text (Textumfluss) */
.wysiwygimg .wysiwygimgright {float: right; margin:0 0 0 1.0em;}

/* Bild oben links */
.wysiwygimg .wysiwygimgtopleft {float:left; margin-bottom:0.5em;}

/* Bild oben rechts */
.wysiwygimg .wysiwygimgtopright {float:right; margin-bottom:0.5em;}

/* Bild oben mittig */
.wysiwygimg .wysiwygimgtopcenter {margin-bottom:0.5em; text-align:center;}
.wysiwygimg .wysiwygimgtopcenter a.wysiwygimg {margin:0 auto;}

/* Bild unten links */
.wysiwygimg .wysiwygimgbottomleft {float:left; margin-top:0.5em;}

/* Bild unten rechts */
.wysiwygimg .wysiwygimgbottomright {float:right; margin-top:0.5em;}

/* Bild unten mittig */
.wysiwygimg .wysiwygimgbottomcenter {margin-top:0.5em; text-align:center;}
.wysiwygimg .wysiwygimgbottomcenter a.wysiwygimg {margin:0 auto;}
.wysiwygimg .wysiwygimgbottomcenter img.wysiwygimg {margin:0 auto;}

/* Für Bilder links/rechts vom Text  */
.wysiwygimg table {border-spacing: 0px; font-size:1.0em;}
.wysiwygimg td {vertical-align:top; font-size:1.0em;}

/* Bild links vom Text */
.wysiwygimg td.wysiwygimgleftcol {padding-right:1.0em;}

/* Bild rechts vom Text */
.wysiwygimg td.wysiwygimgrightcol {padding-left:1.0em;}