/* general stuff */

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

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

.nowrap {
   white-space:nowrap;
   }

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

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

#inhalt {
   width: 800px;
   padding: 30px 40px;
   margin: auto;
   }

div#navigation1, .txt-button a:link, input.submit, button.btn {
   background-color: /* #0092bc; #005e00; #78283d; #E3000F; */ #C20003;
   }
a:link {
   color: /* #0092bc; #005e00; #78283d; #E3000F; */ #C20003;
   font-weight: bold;
   text-decoration:none;
   }
a:visited {
   color: /* #0092bc; #005e00; #78283d; #E3000F; */ #C20003;
   }
a:hover {
   color: /* #0190bc #228a22; */ #b31414;
   border-bottom: 1px dotted /* #0190bc #228a22; */ #b31414;
   }

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

#site-title {
   color: #333;
   text-align: center;
   margin-bottom: 20px;
   font-size: 2.45em; /* 39px; */
   line-height: 41px;
   }

strong {
   font-weight: bold;
   }

#site-title small {
   color: /* #707070; */ #555;
   font-size: 19px;
   line-height: 19px;
   text-transform: none;
   }

h1 {
   color: /* #707070; */ #333;
   text-transform: /* uppercase; */ none;
   font-size: 1.5em; /* 24px; */
   margin-top: 0.5em;
   margin-bottom:10px;
   }
   
h2, summary {
   font-size: 1.2em; /* 19px; */
   text-transform: none;
   color: /* #707070; */ #333;
   margin-top: 1.3em;
   margin-bottom:10px;
   padding-bottom: 3px;
   border-bottom: 1px solid #333;
   }

/* Andere Rechtsgebiete - Akkordeon */

summary {
   color: /* #0092bc; #005e00; #78283d; #E3000F; */ #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.1em;
   margin-bottom: 8px;
   }

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

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

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-21, #navigation1 .rex-article-27, #navigation1 .rex-article-31 {
   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: normal;
   border-bottom: none;
   text-decoration: none;
   }
#navigation1 li a:hover, .txt-button a:hover, input.submit:hover, button.btn:hover {
   background-color: /* #0190bc #228a22; */ #b31414;
   transition: all 0.4s linear 0s;
   }
#navigation1 ul li .rex-current {
   background-color: /* #555 */ #777;
   }
#navigation1 ul li a.rex-current {
   font-style: italic;
   }
#navigation1 ul li a {
   font-size: 14px;
   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: 18px;
}

#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: /* #0190bc #228a22; */ #b31414;
   }
#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;
}

#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-22, #navigation2 .rex-article-23, #navigation2 .rex-article-23, #navigation2 .rex-article-39, #navigation2 .rex-article-41, #navigation2 .rex-article-45, #navigation2 .rex-article-46, #navigation2 .rex-article-52, #navigation2 .rex-current {
   display: none;
   }

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

#footer2 {
   margin-top: 70px;
   padding: 40px;
   width: 100%;
   background-color: #555;
   box-shadow: 0 5px 10px #aaa, 0 -3px 5px #ccc;
   }
#footer2text {
   width: 720px;
   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;
   }

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