@media (max-width: 1280px) and (min-width: 768px) {
	
	
.home_buttoms {
    display: block !important;
    position: absolute;
    right: -120%;
	transform: scale(.75);
}	
	
.grid-container {
   
    max-width: 880px;	
}	
	

 #main {
    max-width: 628px !important;
    
}


	
.site-logo, .separate-containers .inside-left-sidebar {
    margin-left: 20px !important;
}




div#right-sidebar {
    width: 80%;
    left: 20% !important;
    position: relative;
    margin-top: -30px;
}


#left-sidebar.pull-80,#left-sidebar.pull-50 {
	width:240px !important;
	left: calc(240px - 100%);
}

div#primary {
    width: calc(100% - 240px) !important;
	left: 240px !important;
}


div#right-sidebar {
    width: calc(100% - 240px) !important;
	left: 240px !important;
} 





	
.page-id-42393 div#primary {
    width: 100%;
    float: left;
}
.home-items .grid-33 {
    width: 50%;
   float: left; 
}

.grid-container {
   /* max-width: 820px; 
    margin-left:0;*/
}
div#primary {
    width: 65%;
    float: left;
    }
 div#right-sidebar {
    width: 35%;
    float:left;
    padding: 0 20px 0 0;

}  
    
#main {
    padding: 0 6px 20px 20px !important;
}

.home #main {
    padding: 0 15px !important;
}    

.tickets-soldout, .tickets-icon {
    margin-top: 0px;
}  

/*
    
    #Calendar {width:238px !important;}
    #Calendar table {width:180px !important;}
    #Calendar .table-container {
    padding: 4px;
}
 #Events {
    width: 238px;
    color: #fff;
}   
.calendar-event {
  padding: 5px 30px 5px 5px;
}
.inside-footer-widgets>div {
    margin-bottom: 50px;
}
#Calendar td {
    padding:5px;
}
 */
 
    
    .site-footer_ .grid-25 {
        width: 25% !important;
        float:left;
    }
  aside#text-6 {
    padding-left: 0px;
}   

    aside#text-6 {
    padding-left: 40px;
}
       
.home .grid-33 .box-content,.home .grid-66 .box-content {
    height: initial;
    }
.home .grid-33 {
     width:50%;
     float:left;
}


.grid-33.termine-home.text-bilder {
    width: 100%;
}


}




@media (max-width:1280px) and (min-width:950px) {
    
div#primary {
    width: 66.666%;
 }   
div#right-sidebar {
    width: 33.333%;
} 
}


@media (max-width: 1280px) {
.karten-on-mobil, .event-karten {display:none;}
    
    nav#site-navigation {
    height: 110px;
    background: #ccc;
}
    nav#sticky-navigation {
    background: #999;
        height: 110px;
}
   
  
.grid-66 {
    width: 100% !important;
}
.tablet-grid-50 {
    float: left;
    width: 66.666%;
}
.tablet-push-20 {
    left: 20%;
}
#main {
   padding: 0 20px;
}
.both-sidebars.separate-containers .site-main {
    margin: 0px;
}



}





/*@media (max-width: 768px) {*/

@media (max-width: 1280px) {
    
   
div#right-sidebar {
    padding: 0 20px;
}    
    
 #main {
    padding: 0 20px 20px 20px;
}
.home #main, .page-id-42393 #main, .page-id-49574 #main {
    padding: 0 15px;
} 
    
    
    
.footer-widgets-container.grid-container.grid-parent {
  padding: 20px;
}   
.home .grid-33 
    {width:50%;float:left;}
    

   /* #left-sidebar {display:none;}*/
    #generate-slideout-menu  #left-sidebar {display:block;}
.termine-home {
        float:none !important;
        height:initial  !important;
 }
.home_buttoms {display:none;}
.programm-home {position:relative !important;}
       
.grid-66 .box-content, .grid-33 .box-content {
    height:initial;
}  
 
   .footer-widgets {
    padding: 0;
}    
div#footer-widgets {
    width: 100%;
    margin-left: 0;
} 
.inside-footer-widgets {
    padding-bottom: 45px;
}
footer.site-info_ {
    display: none;
}

 
 .gen-sidebar-nav, .main-navigation ul {
   display: block; 
}


      
#generate-slideout-menu {
    background: #fff;
  }
    
#generate-slideout-menu .menu-haupt-container li  {
    float: none;
    clear: both;
}   
    
#generate-slideout-menu .menu-haupt-container li a {
text-transform: uppercase;
padding-left: 20px;
}       
    
    
 


.main-navigation.offside {
    position: fixed;
    width:285px;
    height: 100%;
    height: calc(100vh - 110px);
    top: 110px; 
}
 .offside, .offside--left {
    left: -285px;
}   
    

.kachel-top {
 right: 40px;
   left: 40px;
}
}
 @media (max-width: 600px) {
    
.home .grid-33 
    {width:100%;float:left;}
.kachel-top {right:20px; left: 20px; bottom: 20px;}

}

@media (max-width:500px) {
.entry-content img {
        max-width:100%;
    }
.entry-content .slick-slider img {
    width:initial;
}
    .mitarbeiter {
   width:100%;
   height: auto;
}
    
 .slider-arrow.slick-arrow {
    top: 30% !important;
}   
    
    body {
     /*  -webkit-hyphens: auto;
   -moz-hyphens: auto;
   hyphens: auto;    */

  padding-top: 0;  
}
.grid-66 {hyphens: none;}
}



@media (max-width:767px) {
	
 .lsi-social-icons.icon-set-lsi_widget-2 {
    padding-left: 20px !important;
}   
 	
	
    aside#text-6 {
    padding-left: 40px;
}
    #main {margin-bottom:0;}
	
#primary.mobile-grid-100 {
    clear: both;
    width: 100% !important;
}
#right-sidebar {
    margin-top:0px;
}
#left-sidebar {
	display:none !important;
}
.tickets-soldout, .tickets-icon {
    margin-top: 0px;
} 
.event-karten {display:block !important;}  
    
    
.both-sidebars.separate-containers .site-main {
    margin: 0px;
}
body { padding-bottom:  0;}
    
}



@media (max-width:400px) {
.news-title, .news-subtitle {font-size: 1rem;}
    .alignleft, .alignright {float:none; display: block;}
}












@media (max-width: 767px) {
	
	header#masthead {
    background: #fff;
    height: 110px;
}
.menu-haupt-container {
    margin-top: 20px;
}
	
 .home .karten-on-mobil {display:block;}
 .grid-33.termine-home, .bilder-intro {
     width:100% !important;
    }
    .site-logo img {width:72px;padding-left:20px;}    
    
#main.site-main , .blog #main.site-main {
    margin-top: 110px !important;
}
 #masthead.site-header {
    position: fixed;
    width: 100%;
    z-index: 1001;
    top:0;
    left:0;
}   
    
#masthead.headroom--pinned {
    display: block;
}
#masthead.headroom--unpinned__ {
    display: none;
}
header#masthead.headroom {
   will-change: transform;
   transition: transform .3s ease-in-out;
  

    }
header#masthead.headroom--pinned {
    transform: translateY(0%);
}
header#masthead.headroom--unpinned {
    transform: translateY(-100%);
}

 
    
#masthead {
    position: fixed;
    z-index: 10;
    right: 0;
    left: 0;
    top: 0;
    z-index: 1000;
}
}

@media (max-width: 1024px) and (min-width: 1024px) {
     .home .grid-33, .page-id-42393 .grid-33
    {width:50%;float:left;}
}  


@media (min-width: 768px) {
    
   
.karten-on-mobil, .event-karten {display:none;}   
.main-navigation .navigation-logo img {
    height: 88px;
    padding:0px;
   
}
  .slideout-toggle {
    display: none;
}  
#sticky-navigation {display:-none !important;text-indend :-9999px;}
}





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

#left-sidebar.pull-80,#left-sidebar.pull-50 {
	width:200px !important;	left: calc(200px - 100%);
}

div#primary {
    width: calc(100% - 200px) !important;
	left: 200px !important;
}
div#right-sidebar {
    width: calc(100% - 200px) !important;
    left: 200px !important;
}
.news-subtitle {
    font-size: 18px;
	line-height: 17px;
}
.news-title {
    font-size: 1rem;
line-height: 15px;	
}





}
@media (max-width:1280px) {
.site-footer .grid-25 {
        width: 25% !important;
        float:left;
    }
	
.home .grid-66 {
  float: none !important;
}
#main .home-items .grid-66 {
    float: none !important;
}
}

@media (max-width:1024px) {
.site-footer .grid-25 {
        width: 50% !important;
        float:left;
    }

}



@media (max-width: 767px) {
#left-sidebar {
    height: 0 !important;
    visibility: hidden;
    display: block !important;
}
	.site-footer .grid-25 {
        width: 100% !important;
        float:left;
    }
}

