@media (min-width:840px) AND (max-width:1199px){
  
#alles {
background: url("../images/bg_header1.jpg") repeat-x;
background-position-y: 0px;
}
  
#container {
width:90%;
margin:0 5% 0 5%;
padding:0;
}

header {
height: 111px;
margin: 0;
width: 90%;
float: left;
}

nav {
height: 150px;
margin: 0;
width:10%;
float: right;
}

section {
clear: both;
padding: 5rem 0 10rem 0;
margin:0;
}


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

header div.custom {
width: auto;
margin: 0;
padding: 0;
}

header div.custom h1 {
width: auto;
height: auto;
margin: auto;
padding:44px 0 0 0;
text-align: left;
font-size: 2rem;
} 

/* Sprachwahl */

div.mod-languages {
position: absolute;
left: 55%;
top: 50px;
margin: auto;
padding:0;
width: max-content;
}


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

/* HAUPTMENUE */

button.dj-mobile-open-btn.dj-fa-5, button.dj-mobile-open-btn.dj-fa-5:hover, button.dj-mobile-open-btn.dj-fa-5.active {
position: absolute;
top: 47px;
right: 0;
z-index: 10;
background: none;
color: #fff;
}

span.dj-mobile-open-icon, button.dj-mobile-open-btn.dj-fa-5:hover span.dj-mobile-open-icon, button.dj-mobile-open-btn.dj-fa-5.active span.dj-mobile-open-icon {
background: none;
color: #fff;
}
  
nav div.dj-megamenu-wrapper {
position: absolute;
left: 5%;
height:auto;
width: 90%;
padding: 0;
margin: 0;
}
  
nav div.dj-megamenu-wrapper ul.dj-mobile-nav li.dj-mobileitem a {
height:auto;
width: auto;
border:0;
padding: 0.8rem 3.0rem 0.8rem 1.0rem;
margin:0;
font-size: 1.0rem;
line-height: 1.4em;
font-weight: light !important;
border: 1px solid #000;
}

nav div.dj-accordion-in {
position: relative;
top: 50px;
width: 100% !important;
max-width: 100%;
border-top: 1px solid #000;
}

nav div.dj-megamenu-accordion, nav div.dj-accordion, nav div.dj-accordion-in {
width: 100% !important;
max-width: 100%;
}


/* Level 2 */

nav div.dj-megamenu-wrapper ul.dj-mobile-nav li.dj-mobileitem ul.dj-mobile-nav-child a {
padding-left: 2.0rem;
}

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

section h1 {
font-size: 2.0rem;
margin: auto auto 2em auto;
}

section h2 {
font-size: 1.6rem;
margin: 3em auto 1em auto;
}

section h3 {
font-size: 1.3rem;
margin: 2em auto 0.75em auto;
}


  
/* ------------------------------ FOOTER -------------------------------- */

footer > div.mod-custom p a.expolink {
display: inline-block;
width: max-content;
padding:0;
text-align: left;
margin: 0 5rem 0 5rem !important;
white-space: nowrap;
}

footer > div.mod-custom p a.expolink:first-of-type {
float: left;
}

footer > div.mod-custom p a.expolink:last-of-type {
float: right;
}
  
}