/*Bottom-Zusatz*/

  /* Fokus-Styling nur für bestimmte IDs */
  #InfoBoxDIV a:focus, 
  #InfoBoxUebersDIV a:focus, 
  #InfoBoxSubUebersDIV a:focus, 
  #InfoBoxAdresseli a:focus, 
  #InfoBoxTextRe a:focus, 
  #SucheButton a:focus, 
  #ScrollerBottom:focus {
    background-color: rgba(0, 0, 0, 0.4)!important;
    color: rgba(255,255,255,1)!important; /* Weißer Text auf dunklem Hintergrund */
  }


/* Verstecke den ursprünglichen Tooltip */
.sitemap-button {
  position: relative; /* Position für den benutzerdefinierten Tooltip */
  cursor: pointer; /* Zeigt den Cursor als Hand bei Hover */
}

/* Benutzerdefinierter Tooltip */
.sitemap-button:hover::after {
  content: attr(data-tooltip); /* Tooltip-Text kommt vom data-tooltip-Attribut */
  position: absolute;
  top: -25px; /* Position über dem Button */
  left: 50%;
  transform: translateX(-50%);
  background-color: black;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  white-space: nowrap; /* Verhindert Umbruch des Textes */
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}

/* Verstecke den Tooltip standardmäßig */
.sitemap-button::after {
  content: '';
  visibility: hidden;
  opacity: 0;
}

/* Optional: Für verbesserte Zugänglichkeit */
.sitemap-button:hover {
  cursor: pointer;
}



/*Bottom-Zusatz ENDE*/



/*Schriftgroesse aendern*/

html {
font-size:1em;
}
body{
font-size:1em;
}
/*Button Styling*/
#Schriftgroesse {
  z-index: 10000;
  position: fixed;
  top: auto;
  bottom: 100px;
  right: auto;
  left: 0%;
  width: 45px;
}
@media only screen and (max-width: 800px) {
  #Schriftgroesse {  
   display:none;
}
  
}


#Schriftgroesse button {
    position: relative;
  float: none;
  margin-right: 5px;
}

#Schriftgroesse button {
 all: unset;
border:0px solid white;
outline:0px dotted white;
outline-offset: -2px;
background-color: rgba(0,0,0,1.0);
color: white;
font-weight: bold;
  font-size: 1em;
padding:5px;
cursor:pointer;
  height: 30px;
  width: 30px;
  text-align: center;
  vertical-align: middle;

}
#Schriftgroesse button:focus {
  outline: 1px solid white;
  outline-offset: -3px;
}
#Schriftgroesse .SchriftKleiner {
font-size:14px;
}
#Schriftgroesse .SchriftGroesser {
font-size:20px;
}
#Schriftgroesse .SchriftReset {
font-size:16px;
}
/*Navigation-Schrift und Button max Groesse aendern*/
ul.FM_CSS_navigationV4 li a {
  max-height: 60px;
  font-size: 18px;
}

/*Schriftgroesse ENDE*/


/*Accesskeys*/
/* Skip-Link-Styling */
.skip-link {
  position: absolute;
  top: -320px;
  left: 2%;
min-width:200px;
  background-color: #000;       /* Schwarz */
  color: #fff;                  /* Weiß */
  padding: 10px 16px;
  font-size: 18px;              /* Maximale Schriftgröße */
  text-decoration: none;
  z-index: 1000;
  border: none;
  outline: none;
  transition: top 0.5s ease;
}

/* Wenn der Skip-Link fokussiert ist */
.skip-link:focus {
  color: white;
  font-weight: bold;
  top: 10px;
  left: 2%;
}

/* Wenn der Skip-Link fokussiert und sichtbar ist */
.skip-link:focus-visible {
  outline: 1px dotted white;
  outline-offset: -3px;
}


/*Accesskeys ENDE*/

/*TOPLOGO*/
#TopLogo {
  max-height: 130px;
  display: inline-block;
  outline: none; /* Wichtig für eigenes Focus-Styling */
}

#TopLogo a {
  display: inline-block; /* Stellt sicher, dass der Link um das Bild herum einen Fokusrahmen hat */
  outline: none; /* entfernt Standardfokus */
}

#TopLogo a:focus {
  outline: 0px dotted rgba(0, 0, 0, 1); /* Sichtbarer gepunkteter Rahmen bei Fokus */
  outline-offset: 2px; /* Abstand zum Bild */
background-color:rgba(0,0,0,0.1);
}

#TopLogo img {
margin-left:auto;
margin-right:auto;
  width: 100%;
  height: auto;
  display: block; /* Verhindert zusätzliche Abstände unter dem Bild */
}

@media screen and (max-width: 959px) {
  #TopLogo img {
max-width: 90%;
}
}

/*TOPLOGO ENDE*/

/*Navigation Umstyling*/
ul.FM_CSS_navigationV4 li span {
font-family:"ubuntu-condensed",Arial,sans-serif!important;
}

ul.FM_CSS_navigationV4 li ul {
font-family:"ubuntu-condensed",Arial,sans-serif!important;
     background-color: rgba(255,255,255,1.0); /*Ebene 2 + 3 UL-Hintergrund*/
}

ul.FM_CSS_navigationV4 ul li a {
  background-color: rgba(33,90,134,1.0);      /*2. EBENE Button Hintergrundfarbe */
}

ul.FM_CSS_navigationV4 ul li a:hover {
  background-color: rgba(33,90,134,0.3);      /*2. EBENE Button Hintergrundfarbe Hover */
}

#NavipunktContainer li {
  border-bottom: 0px!important;
    outline: 0px dotted rgba(0,0,0,0.5);
    outline-offset: -4px;
  border-radius: 7px!important;
  -moz-border-radius: 7px!important;
  -webkit-border-radius: 7px!important;
}

#NavipunktContainer.fixed li {
  background-color: rgba(255,255,255,0.8);
  border-bottom: 0px;
}


/*Hintergrundfarbe für Navileiste fixed*/
#NavipunktContainer.fixed {
 background-color: rgba(255,255,255,1.0);
  border-bottom: 0px;
}

#navactive {
  background-color: rgba(33,90,134,0.3);
  border-radius: 7px!important;
  -moz-border-radius: 7px!important;
  -webkit-border-radius: 7px!important;
}
#navactive:hover {
  background-color: rgba(33,90,134,0.3)!important;
  border-radius: 7px!important;
  -moz-border-radius: 7px!important;
  -webkit-border-radius: 7px!important;
}
#navactive font:hover {
  background-color: rgba(33,90,134,0)!important;
}



/*Navigation Umstyling Ende*/



/*SITEMAP MIT LIGHTBOX */ 

/* Container, der sich nur an den Inhalt (Button) anpasst */
  .lightbox-container {
    position: relative;
    top: auto;
    bottom: 50%;
    left: auto;
    right: 0;
    width:auto;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
  }

  /* Wrapper für den Button (zentriert im Container) */
  .button-wrapper {
    display: flex;
    text-align: center;
    color: white;
    justify-content: center; /* Zentriert den Button horizontal */
  }

  /* Button-Styling */
  .sitemap-button {
    background-color: black; /* schwarzer Hintergrund */
    color: white; /* weiße Schrift */
    border: 2px solid white; /* weißer Rand */
    min-height: 60px; 
    width: 100%;
    min-width: 250px;
    max-width: 250px;
    padding: 2% 2%; /* Horizontale Innenabstände */
    font-size: 1.3em; /* Textgröße */
    cursor: pointer; /* Zeiger-Cursor */
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    transition: background-color 0.3s ease, border-color 0.3s ease; /* Übergangseffekte */
  }
.sitemap-button:focus {
  outline: 3px solid yellow;
}

@media screen and (max-width: 959px) {
  .sitemap-button {
    width: 100%;
    
  }
}

  /* Button-Hover-Effekt */
  .sitemap-button:hover {
    background-color: white;
    color: black;
    border-color: black;
  }


/*ALTEN SITEMAP-BUTTON AUSBLENDEN*/
#sitemapDiv {
display:none;
}

/*SITEMAP MIT LIGHTBOX ENDE*/

#copyDiv {
  display: none;
}

/*adSimple änderungen*/
.cc-modal div, #cookieDetails label span  {
  color: black;
}
.cc-banner {
  background-color: rgba(255,255,255,1)!important;
}
#content-hinweis a, .cc-footer__links a {
    color: #990000!important;;
  font-weight: bold;
  text-decoration: underline;
  font-size: 1.2em;
}



#PFADnav a:focus {
  outline: 1px solid black;
  outline-offset: -3px;
  background-color: yellow;
}




/*Eigener BannerStyle*/
#BannerContainer1 {
background-image: url("../ms04Pics/bannerhint.svg");
  background-position:
100% 50%;
  background-size: 40%;
  background-repeat: no-repeat no-repeat;
  text-align: center;
  cursor: pointer;
  }
#BannerContainer1:hover,
#BannerContainer1:focus {
  left:0px;
  cursor:pointer;
  max-height:600px;
  overflow:hidden;
  background-image:url("../ms04Pics/bannerhintLi.svg");
  background-position:100% 50%;
  background-size:40%;
  background-repeat:no-repeat no-repeat
}
@media screen and (max-width: 959px) {
  
  #BannerContainer1 {
background-image: url("#");
  cursor: inherit;
  }
  
}

/*Eigener BannerStyle ENDE*/

/*Schriftfamilie eigene*/
body {
  font-family:"Raleway-Regular",Arial,sans-serif;
}
h1, h2, h3, h4, h5, h6, h2 a, strong, strong a, b, #ContLay6DetDiv a {
    font-family:"Raleway-Bold",Arial,sans-serif!important;
}
#ContLay6DetDiv a {
  font-size: 0.9em!important;
}
div, p, p a, span, select, textarea, li, ul {
      font-family:"Raleway-Regular",Arial,sans-serif!important;
    line-height: 1.5em;

}
.tab-content li {
  line-height: 1.5em;
}
.nav-item {
   font-family:"Raleway-Bold",Arial,sans-serif;
}


/*lay24 änderung*/
#ContLay24TextDiv p, 
#ContLay24TextDiv li, 
#ContLay24TextDiv span, 
#ContLay24TextDiv div, 
#ContLay24TextDiv h2, 
#ContLay24TextDiv h3,
#ContLay24TextDiv a
{
  background-color: rgba(255,255,255,0);
  color: rgba(230,230,230,1);
}
#ContLay24TextDiv a:hover {
  background-color: white!important;
}

#navactive {
  background-color: rgba(255,255,255,1);
  outline: 1px solid rgba(0,0,0,0.5);
    outline-offset: -4px;
  background-position: 50% 2px;
}
#navactive span:hover {
  background-color: rgba(255,255,255,0)!important;
  
}

#NavipunktContainer ul a:focus {
  outline:1px solid black !important;
     outline-offset: -4px;
}

a:focus {
  outline:1px dotted black;
     outline-offset: 2px;
}

/*############################################# 1190 */
@media screen and (max-width: 1190px) {
  
  #ContLay24TextDiv p, 
#ContLay24TextDiv li, 
#ContLay24TextDiv span, 
#ContLay24TextDiv div, 
#ContLay24TextDiv h2, 
#ContLay24TextDiv h3,
#ContLay24TextDiv a
{
  background-color: rgba(255,255,255,0);
  color: rgba(0,0,0,1);
}
#ContLay24TextDiv a:hover {
  background-color: rgba(230,230,230,1);
}
  
}


#TOP {
  background-color: rgba(255,255,255,1);
}

/*Überschreiben den StartseitenHTMLDiv für Portal*/
#ContStartseiteHTMLDiv {
    background-color: rgba(255,255,255,0)!important;
    width: 100%;
    margin-top: 0%;
    padding-top: 3%;
    padding-left: 7%;
    padding-right: 7%;
}
#ContStartseiteHTMLDiv h1 {
    width: 70%;
}
#ContStartseiteHTMLDiv .tab-content {
padding-left: 2%;
    padding-right: 2%;
    margin-bottom: 3%;
}
    

#ContentContainerLay2 {
    background-color: rgba(240,240,240,0);
}

#BottContHtmlDiv {
  /*  z-index: 0;
    width: 80%;
 position:relative;
    height:auto;
	position: relative;
	margin-left: auto;
	margin-right: auto;
    margin-top: 1%;*/
	padding: 0%;
    background-color: rgba(255,255,255,0);
 border-radius: 3px;
    -moz-border-radius:3px;
    -webkit-border-radius: 3px;
}

#prim2 {
   background-color: rgba(255,255,255,0.6);
}

/*HINTERGRUENDE */
.primaryContainer0,
.primaryContainer2,
.primaryContainer3,
.primaryContainer21,
.primaryContainer6,
.primaryContainer10,
.primaryContainer99
{
  
	background: url("../ms04Pics/hint2.webp") no-repeat center center fixed;
  -webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-attachment: fixed;
    position: relative;
    
  
}

/* ############# NEWS-IFRAME-TEIL ####### */
#NEWS {
  z-index: 20000;
  display: visible;
  position: relative;
  float: none;
  width: 100%;
  height: 125px;
  min-height: 125px;
  margin-bottom: 3%;
  overflow-x: hidden;
  overflow-y: hidden;
  overflow: hidden;
  padding: 0%;
}

#NEWS:hover {
  overflow-y: hidden;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

#NEWS iframe {
  border: 0px;
  margin: 0px;
  min-height: 125px;
  height: 125px;
  width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  border-radius: 0px;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
}

/*############################################# 959 */
@media screen and (max-width: 959px) {
  #NEWS {
    margin-left: auto;
    margin-right: auto;
    float: none;
    clear: both;
    width: 100%;
    height: 320px;
    box-shadow: 0px 0px 0px 0px #e3e3e3;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
  }
  #NEWS iframe {
    border: 0px;
    margin: 0px;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    height:310px;
  }
  /*Startseite News iframe */
  #NEWSStart {
    height: inherit;
    border: 0px;
    margin: 0px;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    width: 100%;
    overflow-x: inherit;
    overflow-y: inherit;
    -webkit-overflow-scrolling: touch;
  }
}
/* ############# NEWS-IFRAME-TEIL ENDE ####### */



/*HINTERGRUENDE ENDE */

/* STARTSEITENCONTENT*/
#ContStartseiteHTMLDiv {
background-color: rgba(255,255,255,0);
        -webkit-transition: all 0.7s ease-in-out;
  -moz-transition: all 0.7s ease-in-out;
  -o-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
	
}

#StartLinks {
    position: relative;
    float: left;
    clear: left;
    width: 50%;
    height: auto;
    min-height: 290px;
    background-color: rgba(0,0,0,1);
    padding: 0%;
        -webkit-transition: all 0.7s ease-in-out;
  -moz-transition: all 0.7s ease-in-out;
  -o-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
}
#StartRechts {
  overflow:hidden;
    position: relative;
    float: right;
    clear: none;
    width: 45%;
    padding: 0%;
  min-height: 290px;

        -webkit-transition: all 0.7s ease-in-out;
  -moz-transition: all 0.7s ease-in-out;
  -o-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
   
}

/*############################################# StartRechts 959 */
@media screen and (max-width: 959px) {
#StartRechts {
    float: none;
    clear: both;
    width: 100%;
    margin-top: 2%;
  min-height: inherit;
        -webkit-transition: all 0.7s ease-in-out;
  -moz-transition: all 0.7s ease-in-out;
  -o-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
   
}
    
#StartLinks {
    float: none;
    clear: both;
    width: 100%;
  min-height: inherit;
  height: inherit;
     padding-top: 2%;
        -webkit-transition: all 0.7s ease-in-out;
  -moz-transition: all 0.7s ease-in-out;
  -o-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
}
    
}
/*############################################# StartRechts 959 ENDE */

#StartRechts h4 {
        line-height: 1.6em;
    font-size: 1.3em;
    font-weight: 300;
    
}

#StartUnten {
    width:100%; 
    padding:2%; 
    position:relative;
    float:none; 
    clear:both; 
    margin-left:auto; 
    margin-right:auto; 
    text-align:center;
}
#StartUnten h2 {

}

/* STARTSEITENCONTENT ENDE*/

#OverTopHtmlContDIV img {
  width: 80%!important;
    
     -webkit-transition: all 0.7s ease-in-out;
  -moz-transition: all 0.7s ease-in-out;
  -o-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
}

/*Logo fixed Korrektur-Position*/
#OverTopHtmlContDIV.fixed {
  position:fixed;
  margin-top:0px;
  min-width: 200px;
    
}
#OverTopHtmlContDIV.fixed #TopLogo {
    display: unset;
  margin-top:0px;
    
}
#OverTopHtmlContDIV.fixed #TopLogo a {
    display: unset;
  margin-top:0px;
    
}

@media screen and (max-width: 959px) {
 #OverTopHtmlContDIV, #OverTopHtmlContDIV.fixed {
    width: 100%;
   min-height: 130px!important;
  position:inherit;
  margin-top:100px;
        margin-left: auto!important;
        margin-right: auto!important;
    
}
    #OverTopHtmlContDIV img, #OverTopHtmlContDIV.fixed img {
        margin-left: auto;
        margin-right: auto;
    
} 
}

/*Logo fixed Korrektur-Position ENDE*/



/*############################################# 959 */
/*mobile HINTERGRÜNDE, sonst Ändrungen Mobil */
@media screen and (max-width: 959px) {

  #ContLay6Div {
    outline: 1px dotted rgba(0,0,0,0.6);
  outline-offset: -0px;
  }
  
  

   
    #OverTopHtmlContDIV img {
    width:inherit!important;
    
    
     -webkit-transition: all 0.7s ease-in-out;
  -moz-transition: all 0.7s ease-in-out;
  -o-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
}
    
    
	body {
		background-color: white;
        overflow: scroll;
	}
    
    
   .primaryContainer0,
.primaryContainer2,
.primaryContainer3,
.primaryContainer21,
.primaryContainer6,
.primaryContainer10,
.primaryContainer99 {
   
	background:inherit;
  background-color: white; 
}


	
}

/*mobile HINTERGRUENDE ENDE */
    
    