/* general stuff */

* {
   border: 0;
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   }
/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/open-sans-v34-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/assets/fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/assets/fonts/open-sans-v34-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/assets/fonts/open-sans-v34-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('/assets/fonts/open-sans-v34-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/assets/fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-700 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('/assets/fonts/open-sans-v34-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/assets/fonts/open-sans-v34-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/assets/fonts/open-sans-v34-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('/assets/fonts/open-sans-v34-latin-700.woff') format('woff'), /* Modern Browsers */
       url('/assets/fonts/open-sans-v34-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/assets/fonts/open-sans-v34-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}

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

.nowrap {
   white-space:nowrap;
   }

body {
   font-family: "Open Sans",Arial,Helvetica,sans-serif;
   font-size: 17px;
   margin-top: 0;
   background-color: #bc8872;
   }
   
/* --- header --------------------------------------------- */


.clearfix:after {
   content: "";
   display: table;
   clear: both;
}

img {
   border: 1px solid #552f25;
   width: 100%;
   height: auto;
   }

#logo {
   float: left;
   position: relative;
   width: 50%;
   padding: 3% 4% 4% 15%;
   }
  
#logo img {
   width: 100%;
   height: auto;
   border: 0;
}

#navigation1 {
   padding: calc(5% - 5px);
   line-height: 0;
   }   
   

/* --- inhalt --------------------------------------------- */


.inhalt {
   width: 90%;
   max-width: 1024px;
   /* padding: 4% 6%; */
   padding: 40px 85px;
   margin: 0 auto 5%;
   background: #fff;
   border: 1px solid #552f25;
   }
   
.inhalt img {
   max-width: 640px;   
   }
   
.start {
   padding: 0;
   background: transparent;
   border: 0;
   }
   
.blau {
   background: #adc5d8;
   }   

h1,h2 {
   font-weight: normal;
   }

h1 {
   text-align: center;
   /* color: #402c26; */
   color: #552f25;
   margin-bottom: 0.8em;
   font-size: 2.45em;
   line-height: 1.2em;
   }

strong {
   font-weight: bold;
   /* color: #154063; */
   }

h2 {
   text-align: center;
   /* color: #154063; */
   color: #552f25;
   font-size: 1.5em;
   margin-top: 1em;
   margin-bottom: 0.6em;
   }

h3  {
   font-size: 1.1em;
   font-weight: bold;
   /* color: #154063; */
   color: #552f25;
   margin-top: 0.7em;
   margin-bottom:10px;
   }
   
h4  {
   font-size: 1em;
   font-weight: bold;
   /* color: #154063; */
   color: #552f25;
   margin-top: 0.7em;margin-bottom:10px;
   }
   
.floatLeft, .floatRight {
   margin-top: 2em;
   margin-bottom: 2em;
   }
.floatLeft img {
   float: left;
   width:30%;
   height: auto;
   margin-right:5%;
   margin-bottom: 4%;
   }

.floatRight img {
   float: right;
   width:30%;
   height: auto;
   margin-left:5%;
   margin-bottom: 4%;
   }
 
.text-container {
   width: 65%;
   display: inline-block;
   vertical-align: top;
   } 

img#bafm, img#qvm { height: 21px;
   width: auto;
   float: none;
   margin-right: 0;
   margin-bottom: 1px;
   vertical-align: middle;
   }     
   
p, ul, li, td, input.submit, button.btn {
   font-weight: normal;
   font-size: 1em;
   line-height: 1.35em;
   /* color: #154063; */
   color: #552f25;
   }

p, ul, ol, div.form-group {
   margin-bottom:10px;
   }
   
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-type: square;
   margin-left: 1em;
   }
ol {
   margin-left: 1em;
   }
li {
   margin-bottom:0.3em;
   list-style-position: outside;
   }

/* --- ctype2 --------------------------------------------- */

.full {
   background-color: #fff;
   /* border-bottom: 1px solid #154063; */
   }

.full img {
   width: 100%;
   height: auto;
   border-right: 0;
   border-left: 0;
   }
   
.full h1 {
   margin-top: 0.7em;
   color: #7d5b4c;
   }
   
.full h1 strong {
   color: #402c26;
   }
   
.full h2 {
   color: #7d5b4c;
   padding-bottom: 0.8em;
   border-bottom: 1px solid #154063;
   }
   
/* --- links --------------------------------.------------- */
/* Achtung Reihenfolge: :link :visited :hover :active  */

a:link {
   /* color: #54728a; */
   color: #154063;
   font-weight: normal;
   text-decoration:none;
   border-bottom: 1px solid #154063;
   transition: all .8s;
   }
a:visited {
   /* color: #dd280f; */
   color: #154063;
   }
a:hover {
   background: #eee;
   }
a.logo, a.logo:hover {
   border-bottom: none;
   background: none;
   }

h3 a:link {
   font-weight: bold;	
   }

a:visited { text-decoration:none; }
a.an:hover { color:#6B5682;text-decoration:none; }

.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: normal;
   padding: 15px 25px;
   border-radius: 4px;
   box-shadow: 0 3px 10px #aaa;
   }

/* --- blassblau, weiss ----------------------------------- */

.blassblau, .weiss {
   margin: 70px 0;
   border: 1px solid #552f25;
   padding: 20px 85px 40px;
   }

.blassblau {
   background: #adc5d8;
}
.weiss {
   background: #fff;
   } 

.blassblau h4, .weiss h4 {
   text-align: center;
   margin-top: 2em;
   margin-bottom: 2em;
   }

.blassblau h4 a, .weiss h4 a {
   color: #fff;
   padding: 12px 70px;
   background-color: #54728a;
   border-bottom: 0;
   border: 1px solid #154063;
   border-radius: 3px;
   transition: all .8s;
   }
   
.blassblau h4 a:visited, .weiss h4 a:visited {
   color: #fff;
   }  
   
.blassblau h4 a:hover, .weiss h4 a:hover  {
   background-color: #154063;
   }


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

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

#navigation1 .rex-article-1, #navigation1 .rex-article-6, #navigation1 .rex-article-7 {
   display: none;
   }

/* -------------- Navigation 1 -------------------- */

#navigation1 ul {
   display: inline;
   padding: 0;
   margin: 0;
   line-height: 1em;
   margin-bottom: 0;
   }
#navigation1 ul li {
   position: relative;
   float: left;
   list-style: none;
   margin-bottom: 0;
   margin-left: 0;
   }

#navigation1 ul li a:link, #navigation1 ul li a:visited, #navigation1 ul li a:visited.active {
   color: #1f2736;   
   /* color: #000; */
   }
#navigation1 a:link, #navigation1 a:visited {
   display: block;
   font-weight: normal;
   border-bottom: none;
   text-decoration: none;
   }
#navigation1 li a:hover, .txt-button a:hover, input.submit:hover, button.btn:hover {
   background-color: #fff;
   /* transition: all 0.4s linear 0s; */
   transition: all .8s;
   }
#navigation1 ul li .rex-current {
   background-color: #ddd;
   }
#navigation1 ul li a.rex-current {
   font-style: normal;
   }
#navigation1 ul li a {
   font-size: 18px;
   line-height: 1.2em;
   padding: 12px 20px;
   }
#navigation1 ul ul {
   z-index: 200;
   position: absolute;
   top: -9999px;
   left: -9999px;
   background: #fff;
   box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.6);
}

#navigation1 ul ul li {
   float: none;
   width: 240px;
   text-align: left;
   }

/* Links in den unteren Ebenen... */

#navigation1 ul ul li a {
   font-size: 14px;
   padding: 10px;
}

#navigation1 ul ul li a:link, #navigation1 ul ul li a:visited, #navigation1 ul ul li a:active, #navigation1 ul ul li a:visited.active {
   background: #fff;
   color: #5c7a94;
   }
#navigation1 ul ul li a:hover, #navigation1 ul ul li a.active:hover {
   background: #808080;
   color: #fff;
   }

#navigation1 ul li:hover > ul {
  top: 100%;
  left: 0;
}

#langswitch {
  margin-left: 30px !important;
   }

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

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

/* --------------------- Navigation2 ------------------ */

#navigation2 {
   float: right;
   width: calc(50% - 20px);
   }

#navigation2 ul.rex-navi1 {
   list-style-image: none;
   list-style-type: none;
   list-style-position:outside;
   margin-left: 0px;
   }
#navigation2 .rex-article-1, #navigation2 .rex-article-2, #navigation2 .rex-article-3, #navigation2 .rex-article-4, #navigation2 .rex-article-5, #navigation2 .rex-current {
   display: none;
   }

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

#footer2 {
   width: 100%;
   background-color: #6c5e59;
   box-shadow: inset 0 1px 2px #ddd, 1px -3px 7px #808080;
   }
#footer2text {
   width: 90%;	
   max-width: 1024px;
   margin: auto;
   padding: 40px 85px;
   }

#footer2 p, #footer2 li, #footer2 a {
   color: #eee;
   font-size: 14px;
   }

#footer2 strong {
   font-weight: bold;
/*   text-transform: uppercase;   */
   }

#footer2 a:link, #footer2 a:visited {
   color: #fff;
   font-weight: normal;
   border-bottom: 1px dotted #fff;
   text-decoration:none;
   transition: all .8s;
   }
   
#footer2 a:hover {
   background: #868998;
   }

/* --- /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;
}

/* --- 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.zweidrittel {
   width: 66%;
   height: auto;
   margin: auto;
   }

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;
}

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;
   }