<!--Design42-->
#inhalt {} /* muss aus unbekanntem Grund stehen bleiben, weil sonst die nachfolgende Anweisung nicht funktioniert */

:root {
  --hauptfarbe: #8f101e; /* mediamor rot */
  --hauptfarbe_alternativ: #ab313f; /* hellere Version des mediamor rot */
  --hauptfarbe_hellhinterg: #f6edee; /* leicht gefärbtes hellgrau in Richtung Hauptfarbe */
  --hauptfarbe_dunkelhinterg: #efdadd; /* leicht gefärbtes dunkleres grau in Richtung Hauptfarbe */
  --zweitfarbe: #003068; /* dunkelblau */
  
  --borderradius: 0; /* Standard Border Radius */
  
  --fontfam_h: serif; /* ausgewählte Hauptschriftart Überschriften */
  --fontfam_t: sans-serif; /* ausgewählte Hauptschriftart Texte */
  --fontfam_auszeichnung: monospace; /* ausgewählte Schriftart Highlights */
  
  
  color-scheme: auto !important;
}


/* Works on Firefox */
* {scrollbar-width: thin; scrollbar-color: var(--hauptfarbe) var(--hellgrau);}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {width: 12px;}
*::-webkit-scrollbar-track {background: var(--hauptfarbe);}
*::-webkit-scrollbar-thumb {background-color: var(--hellgrau); border-radius: 20px; border: 3px solid var(--hauptfarbe);}


button:hover {cursor: pointer;}
input[type="submit"]:hover {cursor: pointer;}



html, body {scroll-behavior: smooth;}
html {font-size: 12pt; line-height: 16pt;}
body {width: 100%; margin: 0;}



/*-- Allgemein --*/

h1, h2, h3 {font-family: var(--fontfam_h);}
h4, h5, h6, h7, h8, p, li, a, td, div {font-family: var(--fontfam_t);}

a {text-decoration: none;}
#inhalt p a {border-bottom: 0px solid var(--hauptfarbe); color: var(--hauptfarbe); font-weight: 500;}
#inhalt p a:hover {border-bottom: 2px solid var(--hauptfarbe);}


#inhalt {width: 100%;}
.bstb_standard {width: 100%; display: flex; justify-content: center; align-items: center; flex-direction: column;}
.bstb_intuitiv {width: 100%;}

#rahmen {display: flex; flex-wrap: wrap; flex-direction: column; width: 100%; align-items: center; min-height: 100vh;}











/*-- Navigation Mobil --*/

#navi_mobile_2020 {display: none; flex-wrap: wrap; width: 100%; position: sticky; top: 0; z-index: 100; background-color: var(--hauptfarbe); overflow-y: auto; max-height: 100vh;}

#navi_mobile_2020 #navi_mobile_2020_burgermenu {width: 100%; display: flex; flex-wrap: wrap; align-items: center; height: 100%; height: 5vh; min-height: 30px;}
#navi_mobile_2020 #navi_mobile_2020_burgermenu:hover {cursor: pointer;}

#navi_mobile_2020 #navi_mobile_2020_burgermenu #burgermenu_button {height: 80%; background-image: url(/bilder/button_mobil/burgermenu_symbol_rgb255.svg); width: 45px; background-size: contain; background-repeat: no-repeat; background-position: center;}
#navi_mobile_2020 #navi_mobile_2020_burgermenu #burgermenu_menu_text {color: var(--hell_transparent); text-transform: uppercase; letter-spacing: 1px; padding-left: 2vw; font-weight: 600; font-size: 1rem;}

#navi_mobile_2020 #navi_mobile_2020_inhalt {display: none; width: 100%;}
#navi_mobile_2020 #navi_mobile_2020_inhalt ul {width: 100%; padding: 0; margin: 0;}
#navi_mobile_2020 #navi_mobile_2020_inhalt ul li {width: 92%; padding: 4%; border-bottom: 2px dotted var(--hell_transparent);}
#navi_mobile_2020 #navi_mobile_2020_inhalt ul li:last-of-type {border-bottom: none;}
#navi_mobile_2020 #navi_mobile_2020_inhalt ul li a {list-style-type: none; display: flex; flex-wrap: wrap; color: var(--hell); align-items: center; font-size: 1rem;}
#navi_mobile_2020 #navi_mobile_2020_inhalt ul li a.aktiv {color: var(--hell); font-weight: 600; border-left: 5px solid var(--hell); padding-left: 10px;}
#navi_mobile_2020 #navi_mobile_2020_inhalt ul li .navi_mobil_e1_flexbox {width: 100%; display: flex;}
#navi_mobile_2020 #navi_mobile_2020_inhalt ul li .navi_mobil_e1_flexbox a {flex: 1; color: var(--hell); align-items: center;}
#navi_mobile_2020 #navi_mobile_2020_inhalt ul li .navi_mobil_e1_flexbox a.aktiv {color: var(--hell); font-weight: 600; border-left: 5px solid var(--hell); padding-left: 10px;}
#navi_mobile_2020 #navi_mobile_2020_inhalt ul li .navi_mobil_e1_flexbox .auf_zu_mobilenavi_btn {height: 2vh; width: 20%; display: flex; justify-content: flex-end;}
#navi_mobile_2020 #navi_mobile_2020_inhalt ul li .navi_mobil_e1_flexbox .auf_zu_mobilenavi_btn span.navi_unterebene_aufklappen {height: 100%; background-image: url(/bilder/button_mobil/burgermenu_symbol_aufklappen_rgb255.svg); width: 30px; background-size: contain; background-repeat: no-repeat; background-position: center;}
#navi_mobile_2020 #navi_mobile_2020_inhalt ul li .navi_mobil_e1_flexbox .auf_zu_mobilenavi_btn span.navi_unterebene_zuklappen {height: 100%; background-image: url(/bilder/button_mobil/burgermenu_symbol_einklappen_rgb255.svg); width: 30px; background-size: contain; background-repeat: no-repeat; background-position: center;}
#navi_mobile_2020 #navi_mobile_2020_inhalt ul li .navi_mobil_e1_flexbox .auf_zu_mobilenavi_btn .navi_unterebene_zuklappen {display: none;}
#navi_mobile_2020 #navi_mobile_2020_inhalt ul li .mobile_navi_unterebene {display: none;}
#navi_mobile_2020 #navi_mobile_2020_inhalt ul li ul {list-style-type: none; background-color: #124279;}
#navi_mobile_2020 #navi_mobile_2020_inhalt ul li ul li:first-of-type {margin-top: 10px;}








/*-- Navigation Desktop/Tablet --*/

#navigation {position: sticky; top: 0; order: -2; width: 66%; padding: 0 17%; display: flex; justify-content: space-between; align-items: center; background-color: var(--hell); height: 80px; z-index: 20; transition: height 0.2s; border-bottom: 3px solid var(--hauptfarbe);}
#navigation ul {display: inline-flex; justify-content: space-around; align-items: center; width: auto; padding: 0; margin: 0; height: 100%;}
#navigation ul li {justify-content: center; height: 100%; align-items: center; display: flex; position: relative; flex-wrap: wrap; width: auto;}
#navigation ul li a {font-size: 1rem; text-decoration: none; color: var(--hauptfarbe);  display: flex; justify-content: center; align-items: center; transition: 0.2s; position: relative; letter-spacing: 1px; text-align: center; font-weight: 500; width: auto; margin: 10px 15px; padding-bottom: 4px;}
#navigation ul li a:hover {color: var(--zweitfarbe);}
#navigation ul li a.aktiv {text-transform: uppercase;}
#navigation ul li a.aktiv:hover {color: var(--zweitfarbe);}
#navigation ul li a:before {content: ""; position: absolute; left: 51%; right: 51%; bottom: 0; background: var(--hauptfarbe); height: 5px; -webkit-transition-property: left, right; transition-property: left, right; -webkit-transition-duration: 0.2s; transition-duration: 0.2s; -webkit-transition-timing-function: ease-out; transition-timing-function: ease-out;}
#navigation ul li a:hover:before {left: 0; right: 0;}
#navigation ul li a.aktiv:before {left: 0; right: 0;}


#navigation ul li ul {width: auto; background-color: var(--hell); height: auto; overflow-y: auto; max-height: 600px; display: flex; flex-direction: column; position: absolute; top: 80px; padding: 5px 10px; box-shadow: 0 5px 15px -10px gray;}
#navigation ul li ul li {min-width: 250px;}
#navigation ul li ul li a {font-size: 0.85rem; text-align: center; line-height: 1.2rem; padding: 3px 0 8px 0; height: auto; }
#navigation ul li ul li a:hover {}


#navigation .subebene_eintraege {display: none; width: auto; background-color: var(--hell); height: auto; overflow-y: auto; max-height: 600px; position: static;}
#navigation .subebene_eintraege li {display: block; width: auto; background-color: var(--hell); height: auto; max-height: 600px; padding: 1%}
#navigation .subebene_eintraege li a {height: 3vh; min-height: 35px; font-size: 0.85rem; text-align: center; line-height: 1.2rem; padding: 8px 10px;}
#navigation .subebene_eintraege li a:hover {}
#navigation .navi_unter_eintrag_steuerung {position: relative; display: flex; flex-wrap: wrap; width: 100%; justify-content: center;}
#navigation .navi_unter_eintrag_steuerung .beschriftung {display: inline-block; width: auto;}
#navigation .navi_unter_eintrag_steuerung .steuerung-btn {display: inline-block; position: absolute; right: 0; background-color: transparent; background-image: url("/bilder/button_mobil/burgermenu_symbol_aufklappen_rgb80.svg"); background-repeat: no-repeat; border: none; top: calc(50% - 10px); bottom: 50%; background-size: contain; padding: 0; height: 20px; width: 20px; transform: rotate(270deg); background-position: center;}
#navigation .navi_unter_eintrag_steuerung .steuerung-btn.offen {transform: rotate(0deg);}
#navigation .navi_unter_eintrag_steuerung .steuerung-btn:hover {opacity: 0.5; cursor: pointer;}
#navigation .subebene_3 {max-height: unset; margin-bottom: 20px; box-shadow: none;}
#navigation .subebene_3 li {min-width: unset; padding: 0 13px; background-color: var(--hauptfarbe_hellhinterg); display: flex; margin-bottom: 5px; max-height: unset;}
#navigation .subebene_3 li a {padding: 3px 0 8px 0; margin: 0;}




#logo_in_navi {width: auto; min-width: 10vw; max-width: 15vw; height: 100%; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; margin: 0 10px;}
#logo_in_navi img {width: 100%; height: 75%; object-fit: contain;}



#navigation.scrolled_down {height: 60px;}
#navigation.scrolled_down ul li ul {top: 60px;}
#navigation.scrolled_down #logo_in_navi img {height: 65%;}















/*----------- Kopfleiste ------------*/


#bilderleiste {display: flex; flex-wrap: wrap; justify-content: center; align-items: center; width: 100%; order: -1; height: 20vh; background-color: var(--hell);}
#bilderleiste a {height: 65%;}
#bilderleiste a img {height: 100%; max-width: 100%;}









/*----------- Seitenvorlage ------------*/

.indiv_seitenvorlage {justify-content: center;}

#vorlage115.news_system {display: flex; flex-wrap: wrap;}
#vorlage115.news_system #news_einstellungen_formular {width: 100%;}
#vorlage115.news_system #news_ausgabe_hinweise {width: 100%;}








/*----------- Multibox News Ausgabe Baustein -----------*/

.news_ausgabe {z-index: 1;}
.news_ausgabe .bst_multibox {display: flex; flex-wrap: wrap; justify-content: center; align-items: center;}
.news_ausgabe .bst_multibox .bst_multibox_info {justify-content: center; align-items: center; order: -1;}
.news_ausgabe .bst_multibox .bst_multibox_bilder_leiste {max-width: 120px; margin-right: unset; margin-bottom: 20px;}
.news_ausgabe .bst_multibox .bst_multibox_titel {justify-content: center; align-items: center; text-align: center;}
.news_ausgabe .bst_multibox .bst_multibox_untertitel {justify-content: center; align-items: center; text-align: center;}
.news_ausgabe .bst_multibox .bst_multibox_inhalt {display: flex; flex-wrap: wrap; justify-content: center; align-items: center; text-align: center; flex-direction: unset;}
.news_ausgabe .bst_multibox .bst_multibox_inhalt p {justify-content: center; align-items: center; text-align: center;}
.news_ausgabe .bst_multibox .bst_multibox_inhalt .multibox_text_div_mehr_zeigen_umschalten, .news_ausgabe .bst_multibox .bst_multibox_inhalt .multibox_text_div_mehr_zeigen {margin-top: 10px;}




.news_system .bausteinbereich {width: 100%;}
#news_ausgabekasten {width: 100%;}
#news_ausgabe_weitere {display: block; width: 100%;}








/*----------- Kontaktformular -----------*/

.kontaktformular_aktiv {width: auto; min-width: 30vw; max-width: 600px; font-family: var(--fontfam); font-size: 1rem; line-height: 1.6rem;}
.kontaktformular_aktiv .kontakt_form_versteckte_felder_toggle {border-radius: var(--borderradius); font-family: var(--fontfam); font-size: 1rem; line-height: 1.6rem; padding: 5px 15px; transition: 0.2s; top: 30px; right: 30px;}
.kontaktformular_aktiv .kontakt_form_versteckte_felder_toggle:hover {background-color: var(--hauptfarbe_alternativ); cursor: pointer;}
.kontaktformular_aktiv fieldset {border-radius: var(--borderradius); padding: 15px 15px 15px 30px; background-color: var(--hauptfarbe_hellhinterg);}
.kontaktformular_aktiv fieldset legend {border-radius: var(--borderradius); padding: 5px 15px; font-size: 1rem; line-height: 1.6rem; letter-spacing: 1px; text-transform: uppercase;}
.kontaktformular_aktiv fieldset label {width: 100% !important; margin-top: 15px; flex: 1;}
.kontaktformular_aktiv input[type="text"], .kontaktformular_aktiv textarea, .kontaktformular_aktiv select {width: calc(100% - 30px) !important; max-width: 100% !important; border-radius: var(--borderradius); padding: 10px 15px; font-family: var(--fontfam); font-size: 1rem; line-height: 1.6rem; font-weight: 500; border: none; margin: 0 0 0 -15px;}
.kontaktformular_aktiv select {width: 100% !important;}
.kontaktformular_aktiv div {width: 97%; display: flex;}
.kontaktformular_aktiv div input:first-of-type {flex: 1; margin-right: 20px;}
.kontaktformular_aktiv div input:last-of-type {flex: 3;}
.kontaktformular_aktiv #spam_schutz_kontaktformular {display: flex; flex-direction: column;}
.kontaktformular_aktiv input[value="Anfrage senden"] {border-radius: var(--borderradius); font-family: var(--fontfam); font-size: 1rem; line-height: 1.6rem; transition: 0.2s; display: flex; justify-self: center; margin: 25px 0 5px 0 !important; width: auto !important; padding: 10px 30px;}
.kontaktformular_aktiv input[value="Anfrage senden"]:hover {background-color: var(--zweitfarbe); cursor: pointer;}








/*----------- Ausklappbare Infobox, Bearbeitungsmodus ------------*/

.bst_ausklappbare_infobox {background-color: var(--hauptfarbe_hellhinterg); margin: 25px 0;}
.bst_ausklappbare_infobox h3 {background-color: var(--hauptfarbe); padding: 15px 45px 15px 20px; color: var(--hell); letter-spacing: 1px; margin: 0; position: relative; transition: 0.2s;}
.bst_ausklappbare_infobox h3:hover {cursor: pointer; background-color: var(--hauptfarbe_alternativ);}
.bst_ausklappbare_infobox h3::after {content: ""; background-image: url(/bilder/button_mobil/burgermenu_symbol_aufklappen_rgb255.svg); height: 20px; width: 20px; position: absolute; right: 20px; background-position: center; background-repeat: no-repeat; background-size: contain; transform: rotate(-90deg); transition: 0.3s;}
.bst_ausklappbare_infobox.ausgeklappt h3::after {transform: rotate(0deg);}
.bst_ausklappbare_infobox .bst_ausklappbare_infobox_details {padding: 0 20px; max-height: 0; overflow: hidden; transition: 0.3s;}
.bst_ausklappbare_infobox .bst_ausklappbare_infobox_details.ausgeklappt {padding: 15px 20px; max-height: 50vh; overflow: auto;}
.bst_ausklappbare_infobox .bst_ausklappbare_infobox_details p:first-of-type {margin-top: 0;}
.bst_ausklappbare_infobox .bst_ausklappbare_infobox_details p:last-of-type {margin-bottom: 0;}
.bst_ausklappbare_infobox .bst_ausklappbare_infobox_details p a {color: var(--hauptfarbe); font-weight: bold;}
.bst_ausklappbare_infobox .bst_ausklappbare_infobox_details p a:hover {border-bottom: 2px solid var(--hauptfarbe);}



/*----------- Ausklappbare Infobox, Farbe ------------*/

.bst_ausklappbare_infobox h3.hauptfarbe {background-color: var(--hauptfarbe);}
.bst_ausklappbare_infobox h3.zweitfarbe {background-color: var(--zweitfarbe);}
.bst_ausklappbare_infobox h3.rot {background-color: #bd1a1a;}
.bst_ausklappbare_infobox h3.blau {background-color: #264084;}
.bst_ausklappbare_infobox h3.gruen {background-color: #147814;}
.bst_ausklappbare_infobox h3.orange {background-color: #e38224;}
.bst_ausklappbare_infobox h3.petrol {background-color: #008791;}


/*----------- Ausklappbare Infobox, Bearbeitungsmodus ------------*/

.baustein_bearb_zindex.bst_ausklappbare_infobox .baustein_bearbeiten .baustein_bearbeiten_inhalt .eine_zeile {margin-bottom: 10px;}
.baustein_bearb_zindex.bst_ausklappbare_infobox .baustein_bearbeiten .baustein_bearbeiten_inhalt .eine_zeile #ausklappbare_infobox_ueberschrift {width: 98%;}
.baustein_bearb_zindex.bst_ausklappbare_infobox .baustein_bearbeiten .baustein_bearbeiten_inhalt .eine_zeile #ausklappbare_infobox_details_tbl {width: 100% !important;}
.baustein_bearb_zindex.bst_ausklappbare_infobox .baustein_bearbeiten .baustein_bearbeiten_inhalt .eine_zeile #ausklappbare_infobox_details_tbl #ausklappbare_infobox_details_ifr {padding: 10px; box-sizing: border-box;}







/*----------- Slider ------------*/

.el_slider {}
.slidertemplate_1 .ausgabe_slidertitel {max-width: 50vw;}
.slidertemplate_1 .ausgabe_slidertitel h2 {font-size: 3vw; line-height: 3vw;}
.slidertemplate_1 .ausgabe_slidertitel .ausgabe_slidertext_unter_titel {font-size: 1.5vw; line-height: 1.7vw;}
.slidertemplate_1 .ausgabe_sliderlink {font-size: 1.5vw; line-height: 1.7vw;}






/*----------- Download -----------*/

.datei_download_multi {margin: 0 auto 3vh auto; border-bottom: 3px solid var(--hellgrau); padding: 2vh 0; display: flex; flex-wrap: wrap; max-width: 960px;}
.datei_download_multi:last-of-type {border-bottom: none;}
.datei_download_multi h3 {width: 100%; margin: 0 0 1vh 0; font-family: var(--fontfam_h); color: var(--zweitfarbe); font-size: 1.2rem; line-height: 1.8rem;}
.datei_download_multi .download_beschreibung {width: 100%; padding: 0 !important; font-family: var(--fontfam_t); color: var(--dunkelgrau); font-size: 1rem; line-height: 1.6rem;}
.datei_download_multi .download_beschreibung p {margin: 0 0 1vh 0; font-family: var(--fontfam_t); color: var(--dunkelgrau); font-size: 1rem; line-height: 1.6rem; width: 100%;}
.datei_download_multi .download_bildundlink {display: flex; flex-wrap: wrap;}
.datei_download_multi .download_bildundlink a {color: var(--hauptfarbe);}
.datei_download_multi .download_bildundlink .download_beschreibung {flex: 1;}














/*-- Ausgabe ein Baustein --*/

#vorlage642 {display: flex; flex-wrap: wrap; justify-content: center; align-items: center;}
#vorlage642 hr {width: 100%; border: none;}
#vorlage642 #vorlage642_zurueck_button {display: flex; flex-wrap: wrap; justify-content: center; align-items: center; width: 100%;}
#vorlage642 #vorlage642_zurueck_button input, #vorlage642 #vorlage642_zurueck_button a {background-color: var(--hauptfarbe); padding: 8px 15px; color: var(--hell); font-size: 1rem; line-height: 1.3rem; border: none; margin: 5px; font-family: var(--fontfam_t); transition: 0.2s;}
#vorlage642 #vorlage642_zurueck_button input:hover, #vorlage642 #vorlage642_zurueck_button a:hover {background-color: var(--zweitfarbe);}
#vorlage642 #vorlage642_zurueck_button a {text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600;}

















/*-- Media Querries --*/

@media screen and (max-width: 1600px) {

 #navigation {width: 84%; padding: 0 8%;}

}



@media screen and (max-width: 768px) {

 #navi_mobile_2020 {display: flex;}
 #navigation {display: none;}
 #logo_in_navi {display: none;}

}



