* {
  margin:0;
  padding:0;
  border: 0;
  }

html, body {
  height:100%;
  }

body {
  background-color: #BBA7C0;
  font:100.01%/1.4 sans-serif;
  text-align:center; /* horizontal centering for IE Win quirks */
  font-family: verdana, frutiger, arial, sans-serif;
  }

#distance { 
  width:1px;
  height:50%;
  margin-bottom:-400px; /* half of container's height */
  float:left;
  }

#container {
  margin: 0 auto;
  position:relative; /* puts container in front of distance */
  text-align:center;
  vertical-align: top;
  height:auto;
  width:1000px;
  clear:left;
  /*border: 1px #fff solid;*/
  }
  
#margin_top{
  min-height: 5px;
  max-height: 5px;
}

#line_top{
  height: 10px;
  min-height: 10px;
  width:  1000px;
  background:url(images/line_top.gif);
  font-size: 0.75em;
  margin-top: 15px;
}

#line_bottom{
  height: 20px;
  width:  1000px;
  background:url(images/line_bottom.gif);
  font-size: 0.70em;
  vertical-align: bottom;
  line-height: 19px;
}

#line_top a:link,#line_top a:hover,#line_top a:visited{
  color: #CC3300;
  text-decoration: none;
  padding-bottom: 1em;
}

#line_top a:hover{
  text-decoration: underline;
}

#line_bottom a:link,#line_bottom a:hover,#line_bottom a:visited{
  color: #999999;
  text-decoration: none;
  padding-bottom: 1em;
}

#line_bottom a:hover{
  text-decoration: underline;
}
  
#header {
  position:relative; /* puts header in front of distance */
  text-align:center;
  height:74px;
  width:1000px;
  clear:left;
  background:url(images/logo_bg.gif);
  }

#page_cont{
  color: #2E2E2E;
  font-size: 0.75em;
  font-family: verdana, frutiger, Arial, Sans-Serif;
  font-weight: 500;
  width: 1000px;
  min-height: 300px;
  height: auto !important;  /* gute Browser */
  height: 300px;            /* dumme Browser */
  text-align:left;
  background:url(images/cont_bg.gif);
  padding-bottom: 1em;
}

#creme {
  background:url(images/cont_bg.gif);
  padding-bottom: 20px;
  }

#p_float{
  margin-right: 370px;
}

#p_float_gal, #p_float_sub {
  width: 603px;
  min-height: 603px;
  height: auto !important;  /* gute Browser */
  height: 603px;            /* dumme Browser */
  border: 1px solid #5C0173;
  margin-left: 21px;
  margin-bottom: 3px;
  text-align: center;
  float: left;
  }
  
#p_float_sub {
  border: 0;
  }
  
#p_float_gal img {
  display: inline;
  border: 1px solid #5C0173;
  }
  
#p_float_sub img {
  display: inline;
  border: 1px solid #5C0173;
  }
  
table {
  margin-right: 370px;
  width: 603px;
  margin: 0 5px 0 23px;
  }
  
th, td {
  padding: 0 5px 0 5px;
  border: 1px dotted #5C0173;
  }
  
td.termin {
  vertical-align: top;
  }
  
table.feedback {
  width: 957px;
  margin: 0 5px 0 22px;
  }
  
td.feedback {
  padding: 5px;
  width: 50%;
  vertical-align: top;
  }
  
cite {
  float: right;
  }
  
img.feedback_l {
  float: left;
  border: 0;
  margin-right: 5px;
  }
  
img.feedback_r {
  float: right;
  border: 0;
  margin-left: 5px;
  }

#thumbs {
  width: 200px;
  min-height: 603px;
  height: auto !important;  /* gute Browser */
  height: 603px;            /* dumme Browser */
  border: 1px solid #5C0173;
  margin-left: 640px;
  margin-bottom: 8px;
  text-align: center;
  }
  
#thumbs img {
  border: 1px solid #5C0173;
  }
  
#text {
  text-align: left;
  margin-left: 5px;
  padding-bottom: 0px;
  font-weight: bold;
  border: 0;
  }

#cont_img{
  width: 321px;
  margin-right: 38px;
  float: right;
  display: inline; /* IE double float margin bug */
  border: 0;
}

#gal_nav {
  width: 100px;
  margin-right: 20px;
  float: right;
  }

#page_cont a:link, #page_cont a:hover, #page_cont a:visited, #page_cont a:active{
  color: #5C0173;
  text-decoration:none;
}

#page_cont a:hover{
  text-decoration: underline;
}

p {
  margin: 0 5px 0 23px;
  padding: 5px 0 5px 0;
  border-top: 1px dotted #5C0173;
}

h1.logo {
  text-align: left;
  margin-left: 215px;
  }

h2, h3 {
  margin-left: 23px;
  }
  
h2 {
  color: #5C0173;
  margin-bottom: 15px;
  }
  
table.picline, table.picAll {
  border: 0;
  margin: 0;
  width: 603px;
  }
  
table.picAll {
  height: 603px;
  }

td.drei {
  width: 33%;
  text-align: center;
  vertical-align: middle;
  }
  
td.zwei {
  width: 50%;
  text-align: center;
  vertical-align: middle;
  }
  
td.eins {
  width: 100%;
  text-align: center;
  vertical-align: middle;
  }
  
tr.drei {
  height: 33%
  }

tr.zwei {
  height: 50%
  }
  
tr.eins {
  height: 100%
  }
  
table.thumb {
  width: 200px;
  margin: 0;
  }
  
td.thumb1, td.thumb2 {
  width: 50%;
  padding: 15px 5px 0px 5px;
  }
  
td.eins, td.zwei, td.drei, td.thumb1, td.thumb2, td.aussen {
  border: 0;
  }

td.thumb1 {
  text-align: left;
  }
  
td.thumb2 {
  text-align: right;
  }

#nav_topline {
  width: 817px;
  height: 10px;
  float: left;
}

#nav_bottomline {
  width: 842px;
  line-height: 1px;
  float: left;
  border-top: 1px solid #5C0173;
}

#nav{
  height: 19px;
}

#nav ul, #gal_nav ul{
  list-style-type: none;
}

#gal_nav ul {
  }

#nav li{
  padding-left: 22px;
  padding-right: 22px;
  font-size: 0.75em;
  height: 19px;
  float: left;
  display: block;
  line-height: 19px;
  vertical-align: bottom;
  font-weight: bold;
  background: url(images/nana-kopf.gif);
  background-repeat: no-repeat;
}

#nav li:hover {
  background: url(images/nana-kopf-r.gif);
  background-repeat: no-repeat;
  }

#nav li.first{
  margin-left: 23px;;
}

li.clear{
  clear: both;
}

#nav a:link,#nav a:hover,#nav a:active,#nav a:visited{
  float:left;
  text-decoration: none;
  color: #2E2E2E;
  height: 19px;
  display: block;
}

#nav a:hover {
  color: #ee3300;
}

#gal_nav {
  margin-right: 45px;
  }

#gal_nav li {
  margin-bottom: 8px;
  padding-left: 10px;
  width: 130px;
  height: 25px;
  font-size: 1em;
  float: left;
  display: block;
  line-height: 23px;
  vertical-align: bottom;
  font-weight: bold;
  }
  
#gal_nav li.sub {
  padding-left: 20px;
  line-height: 18px;
  margin-bottom: 4px;
  }
  
#gal_nav a:link, #gal_nav a:visited, #gal_nav a:active {
  color: #2E2E2E;
  padding-left: 12px;
  width: 130px;
  height: 23px;
  display: block;
  background-image: url(images/gal-nav_sqr.gif);
  background-repeat: no-repeat;
  text-decoration: none;
  }
  
#gal_nav a:hover {
  /*background-image: url(images/gal-nav-r.gif);*/
  color: #ee3300;
  }

#gal_nav a.sub:link, #gal_nav a.sub:visited, #gal_nav a.sub:active  {
  background: url(images/gal-nav-sub-bg.gif);
  background-repeat: no-repeat;
  height: 20px;
  }
  
#gal_nav a.sub:active {
  color: #ee3300;
  }
  
#line_bottom {
  color: #999999;
  font-weight: bold;
  font-size: 0.6em;
  }
  
#line_bottom a:link, #line_bottom a:visited, #line_bottom a:active, #line_bottom a:hover {
  color: #2E2E2E;
  text-decoration: none;
  }
  
#line_bottom a:hover {
  color: #ee3300;
  }