@media (max-width:640px) {
  
html, body, main, header, section, div#banner, footer, aside {
max-width: 100% !important;
}
  
section {
overflow-x: hidden;
}
  
header {
height: 150px;
padding: 0 5% 0 5%;
margin:0 auto 0 0;
width:80%;
}

nav {
height: 110px;
padding: 0 5% 0 5%;
margin:0;
text-align: center;
}
  
div#hinweis {
display: none;
}
  
div#banner {
position: relative;
top:110px;
height: auto;
width: 100%;
margin: 0;
padding: 0 0 50px 0;
overflow: hidden;
}

article, aside {
height: auto;
padding-bottom: 0px;
}
  
section {
position: relative;
top: 70px;
height: auto;
margin: 0;
padding-top: 50px;
padding-right: 5%;
padding-bottom: 0;
padding-left: 5%;
width: 100%;
height: auto;
}
  
footer {
padding:50px 0 50px 0;
}
  
  
/* --- Figure --- */
  
/* figure.item-image und figure.image im Beitragstext */
  
article div.item-page figure.left.item-image, article div.blog-item figure.left.item-image, article div.com-content-article__body figure.image.left {
float: left;
width: 45%;
height: auto;
margin: 0 4% 2% 0;
padding:0;
}
  
article div.item-page figure.right.item-image, article div.blog-item figure.right.item-image, article div.com-content-article__body figure.image.right {
float: right;
width: 45%;
height: auto;
margin: 0 0 2% 4%;
padding:0;
}
  
article .item-page div.com-content-article__body figure.image.left, article .item-page div.com-content-article__body p img.left, article .item-page div.com-content-article__body figure.image.right, article .item-page div.com-content-article__body p img.right {
width: 45%;
}

figure.anzeige img {
width: 45%;
}

figure.anzeige figcaption {
max-width: 50%;
}

/*----------------------------------- header --------------------------------------*/
  
div.logo {
position: absolute;
top: -5px;
left: 5px;
width: 80px;
margin: 0;
z-index:8;
}
  
div.socialmedia {
position: fixed;
left: 50%;
width: 200px;
height: 50px;
margin: 0 auto 0 -100px;
padding:10px 0 0 0;
text-align: center;
background:#cc0000;
}
  
div.socialmedia p {
text-align: center !important;
}
  
.socialmedia img {
width: 30px;
height: 30px;
padding:0;
margin: 0 7px 0 7px;
}
  
/* links mittig
  
div.spendenbutton {
position: fixed;
left:0;
top: 50%;
height: 100px;
z-index:5;
margin-top: -50px;
}
  
div.spendenbutton div {
position: absolute;
left:-220px;
width: 300px;
height:120px;
border-radius: 0;
transition: 0.3s;
}
  
div.spendenbutton div:hover {
left:0;
transition: 0.3s;
}
  
div.spendenbutton p#spendentitel {
position:relative;
left:188px;
top:32px;
margin: 0;
padding:0 auto;
width: 120px;
height: 57px;
transform: rotate(270deg);
text-align: center;
font-size:20px;
text-transform: uppercase;
background: url('../images/spenden_button_bg.png') no-repeat;
background-size:100% 100%;
}
  
div.spendenbutton p#spendentext {
position: absolute;
top:0;
left:0;
width:220px;
height:120px;
text-align: center;
padding: 20px 10px 10px 10px;
background:#cc0000;
color:#fff;
line-height:1.20em;
}
  
*/
  
/* oben mittig */
  
div.spendenbutton {
position: fixed;
left:50%;
top: 55px;
width: 160px;
z-index:-100 !important;
margin-left: -80px;
}
  
div.spendenbutton div {
position: absolute;
top:-130px;
width: 160px;
height:180px;
border-radius: 0;
z-index:-100 !important;
color:#cc0000;
}
  
div.spendenbutton p#spendentitel {
position:relative;
left:0;
top:113px;
margin:0;
padding:0 auto;
width: 160px;
height: 57px;
text-align: center;
font-size:1.2em;
line-height: 60px !important;
text-transform: uppercase;
background: url('../images/spenden_button_bg.png') no-repeat;
background-size:100% 100%;
z-index:-100 !important;
}
  
div.spendenbutton p#spendentext {
visibility: hidden;
}
  
div.kontakt {
display:none;
}
  
div.kontakt a {
margin: 0 10px 0 10px;
padding:0;
}

/*------------------------------------- nav ----------------------------------------*/
  
nav div#dj-megamenu113mobile button {
position: fixed !important;
top:6px;
right: 10px;
margin:0;
z-index: 11 !important;
}
  
aside#dj-megamenu113offcanvas, div.dj-offcanvas-content {
margin:0 !important;
padding:0 !important;
}
  
ul.hauptmenue {
margin:0 !important;
padding:0;
background:0;
width: 100%!important;
float: left;
}
  
  
/* Level 1 */
  
ul.hauptmenue > li {
margin:0;
padding:0;
background:0;
}
  
ul.hauptmenue > li > a.dj-up_a {
font-size: 1.1em !important;
}
  
ul.hauptmenue > li a span.arrow {
position: absolute;
right: 10px;
}
  
/* Level 2 */
  
ul.hauptmenue ul {
position: relative;
left:0 !important;
margin:0;
padding:0;
text-align: left;
}
  
ul.hauptmenue ul li {
margin:0;
padding:0;
text-align: left;
}
  
ul.hauptmenue ul li a {
margin:0;
padding:auto;
text-align: left;
font-size: 1.0em !important;
line-height:1.2em !important;
}
  
  
/* Warenkorb */
  
div.warenkorb {
height: auto;
width: max-content;
margin: 75px auto 0 auto;
padding:0;
}
  
div.warenkorb h3 {
width: max-content;
margin: 0 10px 0 auto;
padding:0;
font-size: 1.0em;
line-height: 1.4em;
float: left;
}
  
div.warenkorb div.ph-cart-module-box.warenkorb {
float: right;
width: auto;
margin: 0 0 0 auto;
padding:0;
height: auto;
}
  
div.warenkorb div.ph-cart-module-box.warenkorb button {
height: 26px;
background: #cc0000;
vertical-align: middle;
color: #fff;
border:0;
padding: 4px 5px 5px 5px;
}
  
div.warenkorb div.ph-cart-module-box.warenkorb button:hover {
background: #f8b02c;
}
  
div.warenkorb div.ph-cart-module-box.warenkorb button sup#phItemCartBoxCount.ph-cart-count-sup.phItemCartBoxCount {
font-size: 1.0em;
line-height: 1.4em;
vertical-align: middle;
padding: 4px 2px 5px 2px;
display: block;
height: 100%;
}

  
/*----------------------------------- banner --------------------------------------*/
  
#banner div.homeslider, #banner div.bannerbild {
display: none;
}
  
#banner > div {
height: 202px !important;
overflow: hidden;
}
  
#banner div div.djslider-loader, #banner div div div.djslider-loader div.djslider, #banner div div div.djslider-loader div.djslider div.slider-container, #banner div div div.djslider-loader div.djslider div.slider-container ul.djslider-in, #banner div div div.djslider-loader div.djslider div.slider-container ul.djslider-in li {
height: 200px !important;
}
  
#banner ul.djslider-in li div.slide-desc div.slide-desc-in div.slide-text {
position: relative;
top: -10px;
background: #f8b02c;
color: #000;
padding: 6px 14px;
margin: 0 auto 0 auto;
width: max-content;
max-width: 90%;
height: auto;
border-radius: 5px;
}
  
#banner ul.djslider-in li div.slide-desc div.slide-desc-in div.slide-text * {
padding: 0;
margin: 0;
width: auto;
height: auto;
}
  
#banner ul.djslider-in li div.slide-desc div.slide-desc-in div.slide-desc-text div.slide-text {
font-family: 'crud', monospace;
font-size: 1.5em;
line-height:1.1em;
}
  
/* Homeslider */

#banner div.homeslider_mobil div div.djslider-loader div.djslider div.slider-container ul.djslider-in li {
margin: 0;
padding:0 auto 0 auto !important;
border:0;
height: 100%;
width: 100%;
text-align: center !important;
}
 
  
/* Shopslider */
  
#banner div.shopslider div div.djslider-loader div.djslider div.slider-container ul.djslider-in li > img {
position: static !important;
margin: 0 auto 0 auto !important;
padding:0;
border:0;
height: 200px !important;
}
  
#banner div.shopslider div div.djslider-loader div.djslider div.slider-container ul.djslider-in li div.slide-desc p {
font-size: 1.4em !important;
}
  
/* Bannerbilder */
  
#banner div.bannerbild_mobil, #banner div.bannerbild_mobil .custom, #banner div.bannerbild_mobil .custom p {
height: 200px;
width:100%;
text-align: center;
}
  
#banner div.bannerbild_mobil .custom p img {
width: 100%;
height: auto;
vertical-align: middle;
object-fit: cover !important;
}
  
/* Einsatzorte */
  
#banner div.moduletable.osmap {
height:400px !important;
}

/* -------------------------------- presection ------------------------------------ */

body section > .moduletable div.jtcs_item_wrapper div.slide div.jt-inner div.jt-imagecover {
width: 80% !important;
margin:0 8% 10px 8% !important;
border: 5px dotted #cc0000 !important;
border-radius: 50%;
overflow: hidden;
}
  
  
/* ---------------------------------- section -------------------------------------- */
  
section > .moduletable div.owl-nav {
position: relative !important;
top: -280px !important;
} 

/*----------------------------------- article --------------------------------------*/
  
/* Ueberschriften */
  
.item-page .page-header h1, .item-pageclownportraet .page-header h1, article div.blog div.page-header h1, section > .moduletable > h3, article div.blog > h1, article div.com-contact.contact div.page-header h1  span.contact-name, article div.com-contact-category div.contact-category h1 {
font-size: 1.85em;
line-height: 1.1em;
font-weight: bold;
margin:0 auto 1.0em 0;
padding:0;
font-family: 'crud', monospace;
color: #000;
}
  
.page-header h2 {
font-size: 1.5em;
line-height: 1.1em;
font-weight: bold;
margin:0 auto 1.0em 0;
padding:0;
}
  
div.com-content-article__body h2 {
font-size: 1.5em;
}
  
article div h4 {
font-size: 1.4em;
line-height: 1.1em;
margin:2.6em auto 1.0em 0;
padding:0;
}

.item-pagehome .page-header h1 {
font-size: 1.85em;
line-height: 1.1em;
font-weight: bold;
margin:0 auto 1.0em 0;
padding:0 0 0 5px;
font-family: 'crud', monospace;
color: #000000;
border-bottom: 7px dotted #cc0000;
width: max-content;
}
  
/* --- BLOG --- */
  
.news .blog-item div.item-content figure.item-image {
float: none;
width: 100%;
height: auto;
}
  
 
/* --- Home --- */

article div.com-content-article__body figure.bildteaser:nth-of-type(odd) {
float: left;
width:47%;
margin: 0 2% 4% 0;
}
  
article div.com-content-article__body figure.bildteaser:nth-of-type(even) {
float: right;
width:47%;
margin: 0 0 4% 2%;
}
  
article div.com-content-article__body figure.bildteaser figcaption {
font-size:0.9em;
}
  
/* JT Content Slider */

.item-pagehome div.jtcs_item_wrapper div.jt-inner, div.moduletable.aktuelles div.jtcs_item_wrapper div.jt-inner {
height: auto;
}

.item-pagehome div.jtcs_item_wrapper div.jt-inner div.jt-imagecover, div.moduletable.aktuelles div.jtcs_item_wrapper div.jt-inner div.jt-imagecover {
height: 200px !important;
}
  

/* --- Team --- */
  
div#contactlist div.listcontact {
float:left;
width: 100%;
margin:0 0 10% 0;
height: auto;
}

div#contactlist div.listcontact div.listcontactimage img.contact-thumbnail.img-thumbnail {
margin:0 auto 0 0;
padding:0;
border:0;
width: 200px;
height: auto;
}
  
/* Wichtige Links */
  
section p.wichtigelinks a {
width: 45%; !important;
margin-bottom:5% !important;
}
  
section p.wichtigelinks a:nth-of-type(odd) {
float: left;
}
  
section p.wichtigelinks a:nth-of-type(even) {
float: right;
}  
  
  
/* Shop */
  
article div#phItemsBox div.ph-items.grid div.row.grid div.row-item {
width: 50% !important;
min-width: 280px;
max-width: 380px;
margin: 0 auto 5% auto;
padding:0;
border-radius: 8px !important;
background: #eee;
overflow: hidden;
}
  

/*------------------------------------ aside ---------------------------------------*/

aside div.moduletable {
margin:-10px 0 50px 0;
padding:10px 0 0 0;
width: 100%;
overflow: none;
}
  
aside div.fragezeichen, aside div.ausrufezeichen , aside div.info, aside div.zitat {
background-repeat: no-repeat;
background-position: center top;
background-size: 67px 60px;
margin:-10px 0 50px 0;
padding:80px 0 0 0;
word-break:break-word;
}
  
aside div.moduletable img.teamfoto {
width: 45%;
height: auto;
margin:0 auto 1.0em 0;
padding:0;
}
  
article p.zitat, article p.zitatquelle, aside p.zitat, aside p.zitatquelle {
padding-right: 0 !important;
}

  
/*----------------------------------- footer --------------------------------------*/


  



}


@media (min-width:481px) AND (max-width:640px) {
  
article div.item-pagehome div.frb:nth-of-type(odd) {
float: left !important;
width:48% !important;
margin: 4% auto 0 0 !important;
}
  
article div.item-pagehome div.frb:nth-of-type(even) {
float: right !important;
width:48% !important;
margin: 4% 0 0 auto !important;
}
  
.clear0 {
clear: both;
height:1px;
margin:0;
padding:0;
}  
}

@media (max-width:480px) {
  
article div.item-pagehome div.frb {
width:100% !important;
height: auto;
margin: 4% 0 0 0 !important;
}
  
.clear0 {
display: none;
}
  
  
}