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

div, ul {
-webkit-box-sizing: border-box;
-o-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
  
#header, #footer {
width: 90%;
}
  
#fixed1 {
position: absolute;
}
  
#fixed2 {
position: fixed;
left: center;
bottom:0;
width: 100%;
height: 80px;
margin:0;
padding:0;
border:0;
z-index: 10;
background: #eeeeee;
text-align: center;
}
 
  
/* Logo */

#header .moduletable.logo {
position: relative;
left: 0;
width: 240px !important;
height: auto;
text-align: left;
margin: 0 auto 0 0;
padding:0;
border:0;
}
  
  
/* Amazon-Banner */

#header .moduletable.amazon {
display: none;
}
 
  
/* Hauptmenue */

#header > div.moduletable.menu {
display: none;
}
  
#header .dj-megamenu-wrapper div button {
float: right;
margin: -50px 0 20px 0;
}
  
#header .dj-megamenu-wrapper div button:hover, #header .dj-megamenu-wrapper div button.active {
background: none !important;
border:none !important;
}
  
#header .dj-megamenu-wrapper div button span {
background: none !important;
border:none !important;
color: #fff;
}
 
#header .dj-megamenu-wrapper div button:hover span {
background: none !important;
border:none !important;
color: #fff;
}
  
#header div.dj-accordion {
position: absolute !important;
z-index: 100 !important;
}
  
#header .dj-megamenu-wrapper div > ul {
border: 1px solid #fff !important;
}
  
#header .dj-megamenu-wrapper div > ul > li {
border:0;
border-bottom: 1px solid #fff !important;
margin:0;
}
  
#header .dj-megamenu-wrapper div > ul > li:last-of-type {
border-bottom: 0;
}
  
#header .dj-megamenu-wrapper div > ul > li ul li {
border:0;
border-bottom: 1px solid #ab5c5d !important;
}
  
#header .dj-megamenu-wrapper div ul li.current > a {
background: #ab5c5d;
}
  
#header .dj-megamenu-wrapper ul li a {
font-family: "Amatic SC", cursive;
text-transform: uppercase;
font-size: 24px;
border:0;
color:#fff;
}

  
/* SECTION */

#section .item-image {
width: 100%;
height: auto;
overflow: hidden;
padding:0;
margin: 0 0 auto 0;
text-align: center;
}
  
#section .item-image img {
width: 100%;
height: auto;
padding: 0;
margin: 0 auto;
}
  
#section div.blog div.text, #section div.item-page_home div.text, #section div.item-page div.text, #section > div.blog > div.category-desc, #section > div.blog > div.category-desc, .profile, div#akeeba-renderjoomla {
width: 90% !important;
max-width: 90% !important;
overflow: visible;
height: auto;
padding: 0;
margin: 0 auto;
}
  
/* home */
  
#section .item-page_home video {
width: 90%;
height: auto;
margin: 70px auto 0 auto;
}
  
/* stiftung */

iframe.breit {
width: 100% !important;
height: 700px !important;
border:1px solid #8b0000;
padding:0;
margin: 0;
text-align: left;
}
  
/* werkstaetten */
  
a#W1,a#W2,a#W3,a#W4,a#W5,a#W6,a#W7,a#W8,a#W9,a#W10 {
position: relative;
top: -440px;
}
  
  
/* FOOTER ----------------------------------------------*/
  

/* Fussinfo */

#footer .moduletable, #footer .moduletable div.custom, #footer .moduletable div.custom p {
width: 100%;
text-align: center;
margin:0;
padding:0;
border:0;
}

#footer .moduletable div.custom p {
font-size: 0.8em;
line-height: 1.3em;
}

/* Fussmenue */

#footer .moduletable.menu {
width: 100%;
text-align: center;
margin: 0;
padding:0;
border:0;
}

#footer > div.moduletable.menu > ul.nav {
list-style-type:none;
width: 100%;
text-align: center;
margin:6px 0 0 0;
padding:0;
border:0;
line-height: 18px;
}

#footer > div.moduletable.menu > ul.nav li{
font-size: 14px;
line-height: 18px;
display: inline-block;
list-style-type:none;
margin:0;
padding: 0 5px;
border:0;
color: #333;
border-right: 1px solid #333;
}

#footer ul li:first-child {
padding-left: 0;
}

#footer ul li:last-child {
border-right: 0;
}

#footer a {
text-decoration: none;
margin:0;
padding:0;
border:0;
}

  
  
}