* {
  margin: 0;
  padding: 0;
}

body {
  font-family: tahoma, arial, sans-serif;
}

body, table {
  font-size: 14px;
}

a {
  color: #33c;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: black;
}

h1 {
  background-color: #99c;
  color: white;
  font-weight: bold;
  font-style: normal;
  font-size: 1.3em;
  padding: .2em 10px;
}

h2 {
  clear: left;
  font-size: 1.2em;
  font-weight: bold;
  font-style: normal;
  margin-top: .5em;
  margin-bottom: 1em;
}

h3 {
  clear: left;
  font-size: 1.1em;
  font-weight: bold;
  font-style: normal;
  margin-top: 2em;
  border-bottom: 1px solid #ccc;
}

h4 {
  clear: left;
  font-size: 1em;
  font-weight: bold;
  font-style: normal;
  margin-top: 1em;
}

h5 {
  clear: left;
  font-size: 1em;
  font-weight: bold;
  font-style: normal;
  margin-top: 1em;
}

h6 {
  clear: left;
  font-size: 1em;
  font-weight: bold;
  font-style: normal;
  margin-top: 1em;
}

#content {
  margin-left: 15.5em;
}

.floater {
  float: left;
}

#content p {
  margin-top: .5em;
  margin-bottom: 1em;
}

#stand {
  font-size: .9em;
  padding: .2em 10px;
  border-bottom: 2px solid #ccc;
}

#menu {
  float: left;
  font-size: .8em;
  border-right: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
  margin: 0 1em 1em 0;
}

#menu ul, #menu li {
  list-style-type: none;
}

#menu ul {
  margin-top: -2px;
  padding: .3em 0;
  border-top: 2px solid #ccc;
}

#menu a {
  padding: 0 10px;
  display: block;
  text-decoration: none;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
}

#menu a:hover {
  background-color: #eef;
  border-color: #99c;
}

#menu a.active {
  background-color: #99c;
  color: white;
}

.testfall-details dt {
  float: left;
  clear: left;
  margin-top: .5em;
}

.testfall-details dd {
  margin-left: 10em;
  margin-top: .5em;
}

.referenznachricht, .person, .wohnung {
  float: left;
  font-size: .9em;
  margin: 1em 1em 0 0;
  background-color: #eef;
  padding: 2px 2px .5em 2px;
}

.referenznachricht h4, .person h6 {
 border-bottom: 2px solid white;
 padding: .2em .5em;
 margin-bottom: .2em;
 margin-top: 0;
}

.referenznachricht dt, .person dt {
  float: left;
  clear: left;
  margin-left: .5em;
}

.referenznachricht dd, .person dd {
  margin-left: 8em;
  margin-right: .5em;
}

.verband {
  border: 2px solid #99c;
  padding-bottom: 1em;
  float: left;
  margin-right: 1em;
  margin-top: .5em;
}

.verband h5 {
  margin: 0;
  background-color: #99c;
  padding: .1em .5em;
  color: white;
}

.verband .person {
  margin-left: 1em;
}

.wohnung {
  background-color: white;
  margin: .5em;
  padding: 0;
  border: none;
}

#content .wohnung p {
  margin: 0;
  padding: .2em .5em;
}

.wohnung p.wohnung-status {
  font-weight: bold;
  border-bottom: 2px solid #eef;
}

.wohnung p.wohnung-type {
  color: #33c;
}

.refmessages th {
  font-weight: normal;
  text-align: left;
  vertical-align: top;
}

.refmessages th,
.refmessages td {
  padding: .5em;
  border-top: 1px solid #eef;
}

.refmessages {
  border-bottom: 1px solid #eef;
}
