
body {
  font-family: "Fira Sans", 'system-ui', sans-serif;
  color: #0A305F;
  font-size: 1.125rem;
  margin: 0;
  padding: 0 2em; /* Seitenabstand von 2em links und rechts */
  display: flex;
  flex-direction: column;
  align-items: center; /* Zentriert den Inhalt horizontal */
  /* background-color: #f3f8fb; */
  }

.header {
  background-color: #ffffff;
  padding: 10px;
  color: #FFF;
  justify-content: space-between;
  display: flex;
  width: 100%;
  max-width:1140px;
}

.header-images {
  position: relative;
}

.all-images {
  display: flex;
  align-items: center;
  margin-bottom: 1em;
}

.left-image {
  max-width: 100%;
  width: auto;
  height: auto;
}

.absolute-image {
  width:  45px;  
  height: 45px;  
}

.right-image {
  max-width: 100%;
  width: auto;
  height: auto;
  margin-left: auto;
 }

/* .body-above-hero {
  background-color: #ffffff; Hintergrundfarbe für den Bereich oberhalb des Hero-Bereichs (Weiß)
  width: 100%;
  max-width: 1140px;
} */

/* Stil für den Hero-Bereich */
.hero-section {
  width: 100%;
  height: 32px; /* Höhe des Hero-Bereichs */
  background-color: #AEB3B7
 }

.main-content {
  max-width: 1140px; /* Maximale Breite für den Hauptinhalt */
  width: 100%;
  padding: 20px;
  box-sizing: border-box; /* Berücksichtigt Padding in der Breite */
 /*  background-color:#f3f8fb; */
}

a.link-mit-hintergrund {
   color:rgb(255, 255, 255);
   text-decoration:none;
   font-size: 16px;
   padding: 0 19px 0 19px;
}

a.link-mit-hintergrund:hover {
   color:rgb(255, 255, 255);
   text-decoration:underline solid rgb(255, 255, 255)
}

a.link-ohne-hintergrund {
    font-size: 1.125rem;
    color:#0A305F;
    font-weight: bold;
}

h1 {
   text-align:center; 
   border: solid #193d87 1px; border-radius: 5px;
   background-color: #d1d8e2; 
}

h2 {
   font-size: larger;
  /* -border: solid #193d87 1px; border-radius: 5px; 
     -background-color: #d1d8e2;  */
   padding:3px;
}

h3 {
   margin-top:0;
}

h4 {
   margin:0;
   margin-bottom:0.4em;
   font-weight:normal;
}

footer {
   margin-top:2em;
   padding: 30px 0 30px 0;
   border-top:solid #0A305F 1px;
   background-color:#0A305F;
   color:#FFFF;
   text-align:center;
   height: 100px;
 /*  position: absolute;*/
   bottom: 0;
   width: calc(100% - 4px); /* Berücksichtigt den Seitenabstand */
   margin: 50px 2px; /* Seitenabstand von 2 Pixeln links und rechts und oben 50*/
   }

footer form {
   display:inline;
}

footer span,  footer input {
   margin-right:2em;
   font-size: 10px;
   display:block;
   padding: 30px 0 0 0 ;
}

div.feedback {
   color:red;
}

.floatleft   { float:left; }
.floatright  { float:right; }
.hidden      { display:none; }
.break       { clear:both; }
.number      { text-align:right; }
.forcecenter { display:block; margin-left:auto; margin-right:auto; }

/* --] Bericht-Seite [------------------------------------------------------------------------------------------- */

ul#menu { padding:0; margin-left:0; margin-bottom:1em; float:left; }
ul#menu li, ul#menu2 li {
   display:inline-block;
   background-color: #0A305F;
   border: solid #0A305F 1px; border-radius: 5px;
   padding:0.5em;
   color:white;
   margin-right:1em;
   font-weight:bold;
}
ul#menu2 { padding:0; margin-left:0; margin-bottom:1em; float:right; }



section div table {
   margin-bottom:1em;
}

section#decke {
  position:absolute;
   top:0;
   right:0;
   z-index:10;
   width:100%;
   height:100%;
   display: none; 

   background-color:black;
   opacity: 0.5;
}


section#glossar {
   z-index:20;
   position:absolute;
   top:5%;
   right:5%;
   margin-left:5%;
   padding:2%;
   width:60%;
   height:80%;
   overflow:hidden;
   
   background-color:white;
   box-shadow:0px 0px 10px grey;
   border: solid #193d87 1px;
   border-radius:5px;
    
}


section#glossar div {
   overflow:auto;
   height:90%;
   padding-right:1em; 
   }

section#glossar button {
   display:block; margin-left:auto; margin-right:auto;
   margin-top:1em;
}

section#glossar dt {
   font-weight:bold;
}

section#glossar dd {
   padding-bottom:1em;
}

div.berSuche {
   margin-bottom:1em;
}
div.berSucheWrk{
	margin-inline: 10px;
	}

input[type="text"] {
	width: 400px;
    height: 20px;
	font-size: 16px;
    /* border-radius: 5px; Einstellen der runden Ecken */
    /* box-shadow: 1px 4px 9px 0px #0A305F; Einstellen des Schattens */
    box-shadow: 0px 0px 10px grey;
    margin-inline: 10px;
    margin:10px
}
input[type="submit"] {
	/* font-weight:bold;  */
	height:2.5em;
	font-family: "Fira Sans", sans-serif !important;
	font-size:16px;
	background-color:#FFF;
	box-shadow: 0px 0px 10px grey;
	}

.fl[name="selBerichtJahr"] {
    font-size: 16px;
    color:#0A305F;
    box-shadow:0px 0px 10px grey;
    padding:9px;	
}

div.wicket-aa {
   font-size: 14px;
   background-color: white;
   border: solid #193d87 1px;
   padding: 2px;
   margin: 1px 0 0 0;
   text-align:left;
}
div.wicket-aa ul             { list-style:none; padding: 2px; margin:0; font-size: 14px; }
div.wicket-aa ul li.selected { background-color: #f3f8fc; color:#0A305F; padding: 2px; margin:0; font-size: 14px; }

ul.auswertung {  margin:0; padding:0; }
ul.auswertung li {
   display:inline-block;
   background-color:#0a305f; 
   border: solid #193d87 1px;  border-radius: 5px;
   padding: 0.5em; 
   text-align:center;
   -w-idth:10em;
   color:white;
}

ul.spaltenauswahl   { margin:0; padding:0; }
ul.spaltenauswahl li {
   display:inline-block;
   background-color:#0a305f; 
   border: solid #193d87 1px;  border-radius: 5px;
   padding: 0.5em; 
   text-align:center;
   color:white; 
}

ul#menu li, ul.spaltenauswahl li, ul.auswertung li {
   background-color:#f3f8fc;
   color:#193d87;
   font-weight:normal;
}

ul#menu li.selected, ul.spaltenauswahl li.selected, ul.auswertung li.selected {
   background-color:#0a305f !important;
   color:white;
   font-weight:bold;
}

ul#menu li:hover, ul.auswertung li:hover, ul.spaltenauswahl li:hover {
   outline:2px solid #193d87;
   outline-offset:2px;
   cursor:pointer;
}

ul#menu2 li:hover {
   border-color:#193d87;
   background-color:#f3f8fc;
   cursor:pointer;
   color:black;
}

ul.spaltenauswahl li input {
   margin-top:0.5em;
}

#suche span      { display:inline-block; width:10em; color:black; margin-left:50px; margin-top:1.5em; }
#newsletter span { display:inline-block; width:10em; color:black; margin-left:50px; margin-top:1.5em; }

table {
   border-collapse:collapse;
   empty-cells:show;
   margin-top:1em;
   font-size:smaller;
}

td, th {
   border: solid #193d87 1px;
   margin:0;
   padding-left:3px; padding-right:3px;
}

tbody th {
   background-color:#d1d8e2; 
   text-align:left;
}

tfoot td, thead th {
   background-color:#d1d8e2;
   vertical-align:top;
}

span.hinweis { font-weight:bold; display:block; }


#impressum
 {
   margin-left:auto; margin-right:auto;
   padding:2em;
   width:70%;
   border: solid #d1d8e2 1px; border-radius:4px;   
}

#impressum:first-child {
/*   margin-top:0;*/
}
/* AJA 20230829 - Decke für die Leichte Sprache */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Hintergrundfarbe mit Transparenz  */
  display: none; 
  
}

.overlay-content {
  max-height: 90vh; /* Begrenzt die maximale Höhe des Inhalts auf 90% der Bildschirmhöhe */
  width: 80%;
  overflow-y: auto; /* Aktiviert die vertikale Scrollbar, wenn der Inhalt zu groß ist */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

#close-overlay {
  display: block;
  text-align: center;
  margin-top: 10px;
  color: #d1d8e2;
}

.overlay dt {
   font-weight:bold;
}

.overlay dd {
   padding-bottom:1em;
}

.download-butt-video {
    margin-top: 20px; /* Abstand zum Video */
    display: block; /* Button wird als Blockelement angezeigt */
    color: #0A305F;
}

/* Allgemeines Styling für die Navigationsleiste */
.navbar {
    background-color: #FFFFFF;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1140px; 
    align-items: center;
}

/* Stil für den ausgewählten Link im Navigationsmenü */
.navbar a.selected {
      position: relative;
      text-decoration: none;
}

/* Navbar Hover */
.navbar a:hover {
      color: #5168a1;
}

/* Linie unter dem Link */
.navbar a.selected::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -3px; 
    left: 0;
    width: 100%;
    height: 2px; 
    background-color: #0A305F; 
    border-radius: 2px; 
}

/* Styling für die rechten Links im Navbar */
.navbar-left a {
    color: #0A305F;
    text-decoration: none;
    margin-left: 20px;
    font-size: 120%; 
 }

/* Styling für die rechten Links im Navbar */
.navbar-right a {
    color: #0A305F;
    text-decoration: none;
    margin-left: 20px;
    font-size: 120%; 
 }
.navbar-image {
    width: 25px; 
    height: auto; 
    margin-left: 5px; 
}

/* CSS für den E-Mail-Link */
.email {
    color: #0A305F; /* Farbe des Links */
    text-decoration: underline; 
    font-weight: bold; 
    
}

/* CSS für den E-Mail-Link bei Hover */
.email:hover {
    color: #0055aa; 
  }

/* CSS für den Telefon-Link */
.telefon {
    color: #0A305F; 
    text-decoration: none; 
    font-weight: bold; 
   }

/* CSS für den Telefon-Link bei Hover */
.telefon:hover {
    color: #0055aa; 
   }
