/* general stuff */

* {
   border: 0;
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}
strong { font-weight: bold;
   }

/* ---------------------------------------------- */

.nowrap {
   white-space:nowrap;
   }

body {
  color: #000000;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  background-image: url(/media/bg.jpg);
  background-repeat: repeat-x;
  background-color: #eeeeee;
}

#inhalt {
  width: 971px;
  margin: 0 auto;
}

#header {
   line-height: 0;	
}

#site-title1 {
  width: 100%;
  height: auto;
}
#site-title2 {
   display: none;
}

a:link {
   color: #888;
   font-weight: bold;
   text-decoration:none;
   }
a:visited {
   color: #888;
   }
a:hover {
   color: #008347;
   border-bottom: 1px solid #008347;
   }

#pos {
  font-size: 1px;
  font-weight: bold;
  background-image: url(/media/pos.jpg);
  height: 27px;
  padding: 0px 0px 0px 40px;
}

ul.rex-breadcrumb {
  float: left;
  margin: 6px 0 0 0;
}
ul.rex-breadcrumb li a {
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}
ul.rex-breadcrumb li a::before {
  content: '» ';
}

#langswitch {
  padding: 0 32px 0 30px;
  text-align: right;
}
#langswitch a {
  padding-left: 2px;
}

#content_bg {
  float: left;
  background-image: url(/media/content_bg.jpg);
  background-repeat: repeat-y;
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
}

#navigation {
  float: left;
  list-style-type: none;
  background-image: url(/media/navigation.jpg);
  height: auto;
  width: 222px;
  line-height:0;
}
   
ul.rex-navi1 {
  background: transparent;
  width: 200px;
  max-width: 200px;
  padding: 10px 10px 10px 21px;
  list-style-image: none;
  list-style-type: none;
  list-style-position: outside;
}

.rex-navi1 li a:link, .rex-navi1 li a:visited {
  font-size: 12px;
  line-height: 1em;
  font-weight: bold;
  color: #888888;
  text-decoration: none;
  display: inline;
  width: 222px;
}
.rex-navi1 li a:hover, .rex-navi1 li a.rex-current, .rex-navi1 li a.rex-current:visited {
  color: #008347;
  border-bottom: 0;
}
.rex-navi1 li.rex-article-21 {
  padding-top: 1em;	
}

.rex-navi1 li {
text-indent: -13px;
}
.rex-navi1 li a::before {
  content: '» ';
}

#text {
  margin: 0 35px 0 235px;	
  text-align: justify;
}

h1 {
   text-align: left;
   color: #008347;
   font-size: 1.5em;
   font-weight: bold;
   margin-top: 9px;
   margin-bottom: 1em;
   }

h2 {
   text-align: left;
   font-size: 1.3em;
   color: #333;
   margin-top: 1em;
   margin-bottom:10px;
   }

h3 {
   font-size: 1.15em;
   font-weight: bold;
   color: #333;
   background: #eee;
   padding: 2px 2px 3px 0;
   margin-top: 1em;
   margin-bottom: 2px;
   }
   
h4 {
   color: #333;
   font-size: 1em;
   font-weight: bold;
   margin-bottom: 2px;   
}   

.floatLeft {
   float: left;
   margin: 3px 18px 10px 0;
   }
   
a.visitenkarte img {
  border:0;
  width:0;
  height:0;
  }
  
 a.visitenkarte:hover img {
  position:absolute;
  margin-top: 20px;
  width:600px;  /* Originalgröße */
  height:388px;
  }
  
 a.visitenkartea:hover {
  background:none; /* IE */
  }

p, ul, div.form-group {
   margin-bottom:10px;
   }
   
hr { 
   width: 60%;
   margin-left: auto;
   margin-right: auto;
   border-top: 1px solid #999;
   margin-top: 1.25em;
}     
   
table {
   border-collapse: collapse;
   margin-bottom:10px;
   }

td:nth-of-type(1) {
   padding-right: 1em;
   }
td:nth-of-type(2) {
   text-align: right;
   }

ul {
   list-style-position:outside;
   margin-left: 1em;
   }

li {
   margin-bottom:0.3em;
   }

/* Achtung Reihenfolge: :link :visited :hover :active  */

.txt-button p, input.submit {
   margin-top: 2.1em;
   margin-bottom: 2.1em;
   }
   
.txt-button a:link, .txt-button a:hover, .txt-button a:visited, .txt-button a:active, input.submit, button.btn {
   color: #fff;
   font-weight: bold;
   padding: 15px 25px;
   border: 1px solid #555;
   border-radius: 1px;
   }

/* -------------- Responsive Dropdown ------------------- */

input#responsive-nav, label.responsive-nav-label {
   display: none;
   }

#navigation1 .rex-article-21, #navigation1 .rex-article-27 {
   display: none;
   }

/* ------------------------------------------------ */

a:active, a:focus {
   color: #555;
   }

/* --- footer neu --------------------------------------------- */

#footer {
  float: left;
  font-size: 10px;
  text-align: center;
  background-image: url(/media/footer.jpg);
  width: 100%;
  height: 141px;
  padding: 119px 0px 0px 0px;
  margin: 0px 0px 10px 0px;
}

#footer p {
	color: #fff;
}

/* --- /footer neu -------------------------------------------- */

div.bild {
   float: right;
   margin-left: 18px;
   margin-bottom: 18px;
   margin-right: -30px;
   }

div.bild img {
   display: block;
   border-top: 1px solid #171C20;
   border-right: 35px solid #171C20;
   border-bottom: 0;
   border-left: 1px solid #171C20;
   }

div.bild p {
/* entweder
   margin-top: -5px;
   oder display: block (s.o.)
   oder line-height: 0;   */

   width: 206px;
   padding: 10px;
   font-size: 10px;
   line-height: 15px;
   color: #171C20;
   background-color: #ccc;
   }

sup {
   vertical-align: super;
   font-size: smaller;
}

img.left {
   float: left;
   margin-right:20px;
   margin-bottom:10px;
   }

/* --- Container -------------------------------------------- */

.top-container {
   float: right;
   width: calc(50% - 20px);
   line-height: 0;
   border: 1px solid #ddd;
   padding: 4px;
   margin: 0 0 1em 20px;
   }
.embed-container2 {
   position: relative;
   padding-bottom: 100%; /* ratio 1x1 */
   height: 0;
   overflow: hidden;
   width: 100%;
   border: 1px solid #555;
   border-radius: 1px;
   }
#googlemap {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   }

/* ---------------------------------------------------------------- */

.rand img {
/*   padding: 3px;   */
/*   border: 1px solid #ccc;   */
   margin-bottom: 0.5em;
   }

div.floatRight {
   width: calc(50% - 20px);
   line-height: 0;
   border: 1px solid #999;
   padding: 4px;
   margin-top: 0;
   float: right;
   margin-left:20px;
   margin-bottom:10px;
   }

div.floatRight img {
   border: 1px solid #555;
   border-radius: 1px;
   }

div.floatRight p {
   text-align: right;
   margin-right: 2px;
   margin-top: 0;
   font-size: 0.65em;
   line-height: 100%;
   color: #808080;
   }

div.floatRight img, div.rand img, div.zweidrittel img {
   width: 100%;
   height: auto;
   }
   
div.floatRight h3 {
   margin-top: 0;
   }

/* ------------------- Formulare --------------------- */

form {
   width: calc(50% - 20px);
   padding: 0;
   }

p.formselect, p.formtext {
   }

form h4 {
   margin: 20px 0 0 0;
   }

select {
   background: #fff;
   border: 1px solid #555;
   border-radius: 1px;
   margin: 5px 0 0 0;
   padding: 3px;
   width: 100%;
}

label.text, label.select, label.textarea, label.control-label {
   margin: 10px 0 0 0;
   width: 100%;
   }

input {
   display: block;
   background: #fff;
   border: 1px solid #555;
   border-radius: 1px;
   margin: 5px 0 0 0;
   padding: 3px;
   width: 100%;
}

button.btn {
   display: block;
   margin-top: 25px;
   color: #fff;
   background: #888a;
}
button.btn:hover { background: #008347;
transition: 1s;}


input:focus {
   background: #eee;
}
textarea {
   display: block;
   border: 1px solid #555;
   border-radius: 1px;
   height: 140px;
   margin: 5px 0 5px 0;
   padding: 3px;
   vertical-align: baseline;
   width: 100%;
}
input.submit, button.btn {
   width: 100%;
   cursor: pointer;
   }

input.submit:hover, button.btn:hover {
   color: #fff;
   font-weight: bold;
   text-decoration: none;
   }
#rex-yform ul.form_warning li {
   color: #dd0000;
   }