/* general stuff */

* {
   border: 0;
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   }

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

.nowrap {
   white-space:nowrap;
   }

body {
   background-color: #fff;
   font-family: Montserrat,"Open Sans",Arial,Helvetica,sans-serif;
   margin-top: 20px;
   }

#title {
   margin: auto;
   width: 800px;
   }

#inhalt {
   width: 1040px;
   padding: 30px 40px;
   margin: auto;
   }
   
.left, .right {
   width: calc(50% - 20px);
   clear: both;
   padding: 3px;
   border: 1px solid #ccc;
   margin-bottom: 0.5em;
   }
   
.leftklein, .rightklein {
   width: calc(25% - 20px);
   clear: none;
   padding: 0;
   border: 0;
   margin-bottom: 0.5em;
   }

.leftportrait, .rightportrait {
   width: calc(20% - 20px);
   clear: none;
   padding: 3px;
   border: 1px solid #ccc;
   margin-bottom: 0.5em;
   }    
    
.left, .leftklein, .leftportrait {
   float: left;
   margin-right: 20px;
   }   	
	
.right, .rightklein, .rightportrait {
   float: right;
   margin-left: 20px;
   }   
   
.left img, .right img, .leftklein img, .rightklein img, .leftportrait img, .rightportrait img {
   width: 100%;
   height: auto;
   } 

.left p, .right p {
   text-align: center;
   font-size: 0.8em;
   }     
   
div#navigation1, .txt-button a:link, input.submit, button.btn {
   background-color: #0a3919; /* Farbe 1 */
   }
a:link {
   color: #0a3919; /* Farbe 1 */
   font-weight: 500;
   text-decoration: none;
   border-bottom: 1px dotted #0a3919; /* Farbe 1 */
   }
a:visited {
   color: #0a3919; /* Farbe 1 */
   }
a:hover {
   color: #fff;
   background-color: #939a85; /* Farbe 2 */
   border-bottom: 1px dotted #fff;
   transition: all 0.4s linear 0s;
   }

h1,h2,h3,h4 {
   font-family: Montserrat,"Open Sans",Arial,Helvetica,sans-serif;
   font-weight: 500;
   }

#site-title {
   text-align: center;
   margin-bottom: 20px;
   }

strong {
   font-weight: bold;
   }

h1 {
   color: #333;
   text-transform: none;
   font-size: 2em;
   margin-top: 0.5em;
   margin-bottom:10px;
   }
   
h2, summary {
   font-size: 1.5em;
   text-transform: none;
   color: #333;
   margin-top: 1.3em;
   margin-bottom:10px;
   padding-bottom: 3px;
   }
   
td {
	vertical-align:top;
	padding-bottom: 2px;
	font-variant-numeric: tabular-nums;
	}   
td:nth-child(1) { 
   white-space: nowrap;
   padding-right: 5px;
}  
  

/* Andere Rechtsgebiete - Akkordeon */

summary {
   color: #C20003;
   padding-left: 1px;
   }

details > p {
	overflow: hidden;
}

details[open] > p {
	animation: sliding 1s forwards;
}

@keyframes sliding {
	0% {
		height: 0;
	}
	100% {
		height: 10em;
	}
}

details {
	height: min-content;
	transition: all .5s;
}

/* // Andere Rechtsgebiete - Akkordeon */

h3 {
   font-size: 1.25em;
   margin-top: 0.75em;
   margin-top: 0.75em;
   }

h4 {
   /* font-style: italic; */
   margin-bottom: 3px;
   }

img.right {
   float: right;
   margin-left: 18px;
   margin-bottom: 18px;
   border-right: 30px solid #171C20;
   margin-right: -30px;
   }

p,ul,li, input.submit, button.btn {
   font-weight: normal;
   font-size: 16px;
   line-height: 1.65em;
   color: #111;
   }

p,ul, div.form-group {
   margin-bottom:10px;
   }

ul,ol {
   list-style-position:outside;
   margin-left: 2em;
   }

li {
   margin-bottom:0.3em;
   }

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

h1 a:link, h1 a:visited {
   font-weight: normal;
   color: #0092bc;
   border-bottom: 0;
   }

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

.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: 1px solid #005f7a;
   border-radius: 4px;
   box-shadow: 0 3px 10px #aaa;
   }

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

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

#navigation1 .rex-article-8, #navigation1 .rex-article-19 {
   display: none;
   }

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

div#navigation1 {
   box-shadow: 0 3px 10px #aaa, 0 -1px 3px #ccc;
   text-align: center;
   width: 100%;
   line-height: 0;
   }     

#navigation1 ul {
   display: inline-block;
   padding: 0;
   margin: 0;
   line-height: 1em;
   margin-bottom: 0;
   }
#navigation ul#langswitch {
   display: inline;
   }   
#navigation1 ul li, ul#langswitch li {
   position: relative;
   float: left;
   list-style: none;
   margin-bottom: 0;
   }
   
#navigation1 ul li a:link, #navigation1 ul li a:visited, #navigation1 ul li a:visited.active {
   color: #fff;
   }
#navigation1 a:link, #navigation1 a:visited {
   display: block;
   font-weight: 400;
   border-bottom: none;
   text-decoration: none;
   }
#navigation1 li a:hover, .txt-button a:hover, input.submit:hover, button.btn:hover {
   background-color: #939a85; /* Farbe 2 */
   transition: all 0.4s linear 0s;
   }
#navigation1 ul li .rex-current {
   background-color: #939a85; /* Farbe 2 */
   }
#navigation1 ul li a.rex-current {
   /* font-style: italic; */
   }
#navigation1 ul li a {
   font-size: 18px;
   padding: 15px 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: 12px;
}

#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: #0a3919; /* Farbe 1 */
   }
#navigation1 ul ul li a:hover, #navigation1 ul ul li a.active:hover {
   background: #939a85; /* Farbe 2 */
   color: #fff;
   }

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

#navigation1 ul ul ul {
  display: none; 
}

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

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-article-6, #navigation2 .rex-article-7, #navigation2 .rex-current {
   display: none;
   }

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

#footer2 {
   margin-top: 70px;
   padding: 40px;
   width: 100%;
   background-color: #939a85; /* Farbe 2 */
   box-shadow: 0 5px 10px #aaa, 0 -3px 5px #ccc;
   }
#footer2text {
   width: 960px;
   margin: auto;
   }

#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: bold;
   border-bottom: 1px dotted #fff;
   text-decoration:none;
   }
#footer2 a:hover {
   color: #0a3919; /* Farbe 1 */
   font-weight: bold;
   border-bottom: 1px dotted #0a3919; /* Farbe 1 */
   text-decoration:none;
   }   

/* --- /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.rand img {
   border: 1px solid #555;
   border-radius: 1px;
   }   

div.rand img {
   width: 100%;
   height: auto;
   }

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