html, body {
background:#fff;
padding:0 !important;
margin:0;
border:0;
z-index:0;
width:100%;
height:100%;
font-family: 'droidserif', sans-serif;
font-size: 18px;
line-height: 1.5em;
}

#alles {
width:100%;
min-height:100%;
height:auto;
margin:0 !important;
padding:0;
border:0;
text-align: center;
}

#container {
height:auto;
padding:0;
height:auto;
overflow-y: hidden;
}

header {
width:100%;
border:0;
}

nav {
width:100%;
border:0;
padding: 0;
}

section {
width:100%;
height:auto;
overflow-y: hidden;
border:0;
}

footer {
width:100%;
padding: 2% auto 2% auto !important;
margin: 0;
height:auto;
text-align:center !important;
background: #333;
color:#fff;
overflow-y: hidden;
clear:both;
}

/* Links */

header a {
text-decoration: none;
}

section a{
text-decoration:none;
color:#3c96af;
}

footer a{
text-decoration:none;
color:#fff;
text-decoration:none;
}

footer a:hover {
text-decoration:underline;
}

/* Buttons */

section button, section a.btn {
width: auto !important;
background: #3c96af !important;
color: #fff !important;
font-size: 14px;
padding:5px 8px;
margin: 10px auto 10px 0 !important;
border-radius: 3px;
border:0;
clear: both;
}

/* Box-sizing */

nav, header, section, footer, aside, div, p, span, a, ul, ol, li, input, form, button, h1, h2, h3, h4, h5, h6 {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
-o-box-sizing: border-box;
box-sizing: border-box;
}

section h4 {
font-size: 1.2rem;
margin: 2em auto 0.75em auto;
}

section h5 {
font-size: 1.1rem;
margin: 2em auto 0.75em auto;
}

section h6 {
font-size: 1.0rem;
margin: 2em auto 0.75em auto;
font-family: 'droidserif_bold';
}

p.klein, span.klein {
font-size: 16px !important;
}


/* ---------------------------------- Header --------------------------------------*/

/* Logo+Titel */

div.custom {
width: max-content;
float: left;
}

div.custom h1 {
padding: 0;
margin: 0;
}

div.custom a {
color: #fff;
}

/* Sprachwahl */

ul.mod-languages__list.lang-inline {
margin: 0;
padding:0;
}

ul.mod-languages__list.lang-inline li {
margin: 0;
padding:0;
}

ul.mod-languages__list.lang-inline li a {
margin: 0;
padding: 0.3rem 0.5rem;
border:0;
background-color: none !important;
color:#fff;
}

ul.mod-languages__list.lang-inline li.lang-active {
background: none !important;
}

ul.mod-languages__list.lang-inline li.lang-active a {
border-bottom:4px solid #fff;
background: none !important;
display: inline-block;
}

  
/* ----------------------------------------- NAV -------------------------------------- */

/* --- Hauptmenue --- */

nav div.dj-megamenu-wrapper, nav div.dj-megamenu-wrapper ul.dj-megamenu {
width: 100%;
margin: 0;
padding: 0;
}

nav a {
font-family: 'droidserif', sans-serif;
text-transform: none !important;
font-weight: 200 !important;
letter-spacing:0.05em;
}

nav a span.arrow {
display: none !important;
}

/* Level 1 */
  
nav div.dj-megamenu-wrapper ul.dj-megamenu li.dj-up {
height:auto;
width: auto;
padding: 0;
}

nav div.dj-megamenu-wrapper ul.dj-megamenu li.dj-up a.dj-up_a {
background: url('../images/linkpfeil.png') no-repeat;
background-position: left center;
padding-left: 1.0rem;
}

nav div.dj-megamenu-wrapper ul.dj-megamenu li.dj-up a.dj-up_a span {
line-height: 1.0em !important;
height:auto !important;
width: auto !important;
}

nav a.dj-up_a span.dj-drop {
padding-right: 0 !important;
}

  
/* Level 2 */
  
nav div.dj-megamenu-wrapper ul.dj-megamenu li.dj-up ul.dj-submenu {
margin:0;
padding: 0;
box-shadow:0 !important;
text-align: left;
}
  
nav div.dj-megamenu-wrapper ul.dj-megamenu li.dj-up ul.dj-submenu li {
height:auto;
width: auto;
padding: 0;
text-align: left;
}
  
nav div.dj-megamenu-wrapper ul.dj-megamenu li.dj-up ul.dj-submenu li a {
height:auto;
width: 100%;
display: block;
border:0;
padding: 0.6rem auto 0.6rem 0.6rem;
margin:0;
font-size: 1.0em;
font-weight: light !important;
}
  
nav div.dj-megamenu-wrapper ul.dj-megamenu li.dj-up ul.dj-submenu li a span {
line-height: 1.2em !important;
height:auto !important;
width: auto !important;
}

div.dj-megamenu.dj-megamenu-sticky {
height: 40px !important;
background: #fff !important;
border-bottom: 1px solid #000;
}

/* --------------------------- MAIN ---------------------------- */

section img {
max-width: 100%;
height: auto;
}

/* BLOG */

section div.blog {
width: 100%;
margin:0;
padding:0 !important;
}

section div.blog .blog-items {
display: grid;
gap: 5.0em;
grid-template-columns: repeat(auto-fill, minmax(20em, 1fr));
margin: 0 0 5em 0 !important;
padding:0 !important;
text-align: center !important;
}

section .blog-item figure {
width: 100%;
height: auto;
}

section .blog-item figure img {
width: 100%;
height: auto;
}

section div.blog div.category-desc {
margin: 0 auto 10rem auto;
max-width: 45rem;
}

section div.blog div.blog-item div.item-content > * {
display: none;
}

section div.blog div.blog-item div.item-content div.page-header {
display: block !important;
margin: 0 auto 0 auto;
padding:0;
}

section div.blog div.blog-item div.item-content div.page-header h2 {
display: block !important;
margin: 0 auto 0 auto;
padding:0;
}


/* Einzelbeitrag */

.item-page div.com-content-article__body, .item-page .page-header {
max-width: 800px !important;
height: auto;
overflow-y: hidden;
margin: 0 auto 0 auto;
text-align: center;
}

/* Nach oben Button */

a.cd-top {
width: 2.5rem;
height: 2.5rem;
border-radius: 50%;
background-position: center center !important;
}


/*--------------------------- Footer ---------------------------*/

footer ul.nav {
width: max-content !important;
max-width: 100%;
text-align: center !important;
padding: auto;
margin: 1rem auto 1rem auto !important;
}

footer ul.nav li {
display: inline-block;
padding:0rem;
margin:0.5rem;
}

footer ul.nav a {
padding:0.5rem;
margin:0;
}

/* Exponierte Links */

footer > div.mod-custom.custom {
width: 100% !important;
clear: both !important;
width: max-content;
margin: 1.5rem 0 1.5rem 0;
padding:0 auto 0 auto;
}

footer > div.mod-custom p {
width: max-content;
margin: auto !important;
padding:0;
}

footer > div.mod-custom a.expolink img {
float: left;
height: 2.5em;
width: auto;
margin: 0.3em 0.6em 0.4em 0 !important;
}

/* Letzte Aktualisierung */

footer ul.db8sitelastmodified {
clear: both !important;;
display: block !important;;
list-style-type: none;
font-size: 0.8rem;
padding-top: 2rem !important;
height: auto;
overflow: hidden;
}


/* Copyright-Zeile */

footer div.mod-footer {
width: 100%;
padding: auto;
text-align: center;
margin: 2rem auto 2rem auto !important;
font-size: 0.8rem;
}

footer div.mod-footer divfooter1 {
max-width: 800px;
padding: 0 5% 0 5%;
text-align: center;
margin: 0 auto 0 auto !important;
}

footer div.mod-footer div.footer2 {
display: none;
}


/* Modul Cookie-Hinweis */

div.jb-cookie div.jb-accept {
white-space: nowrap;
width: auto !important;
margin: 10px auto 10px auto !important;
padding: 3px 6px !important;
}

div.jb-cookie p a {
clear: both;
width: auto !important;
font-family: 'droidserif_bold';
margin-left: 5px;
}
