
/* responsive */

@media only screen and (max-width: 1024px) {



div#savethedate {
	margin: 0 auto;
	text-align:center;
}


.fotali .image_container {
	width:300px;
	height:auto;	
}


.fotali img {
	float:left;
	margin-right:20px;
	width:300px;
	height:auto;
	
}

  .mod_mobile_menu {
  	text-align: center;
  	margin: 0;
  	padding: 0;
  	box-sizing: border-box;
  	color: #fff;
  	cursor: pointer;
  	display: block;
  	z-index: 20;
    background-color:#2A837D;
  }

  .mobile_menu_trigger {
  	margin: 0 10px 0 0;
  	padding: 10px 0;
  	box-sizing: border-box;
  	color: #fff;
  	font-size: 36px;
  	text-transform:uppercase;
  	letter-spacing:0.1px;
  	text-align: center;
  	display: block !important;
}

.mobile_menu .inner {
  background:#2A837D;
  overflow: scroll;
}

/* mobile Navigationsmenue */
#mobilnav ul {
  margin-left:0;
  padding-left: 10px;
  list-style-type: none;
}

#mobilnav li {
  padding:10px 0;
}

#mobilnav a {
  color:#fff;
  text-decoration: none;
  display: block;
}

#mobilnav strong.active, #mobilnav .submenu.trail {
  font-weight: bold;
  color:#000;
}
#mobilnav .submenu.active {
  color: #fff;
}
#mobilnav ul.level_1 li {
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

#mobilnav ul.level_2 li {
  font-weight: normal;
  border:none;
}

#mobilnav ul.level_2 {
  margin-left:10px;
  padding:0;
}

#mobilnav ul.level_3 {
  margin-left:10px;
  padding:0;
}

/* Mobil Subnavigation */

#mobilsubnav {
  margin:-30px 0 0 0;
}

#mobilsubnav ul {
  margin-left:0;
  padding-left: 10px;
  list-style-type: none;
}

#mobilsubnav li {
  padding:10px 0;
}

#mobilsubnav a {
  color:#fff;
  text-decoration: none;
  display: block;
}

#mobilsubnav strong.active, #mobilsubnav .submenu.trail {
  font-weight: bold;
  color:#000;
}
#mobilsubnav .submenu.active {
  color: #fff;
}
#mobilsubnav ul.level_1 li {
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

#mobilsubnav ul.level_2 li {
  font-weight: normal;
  border:none;
}

#mobilsubnav ul.level_2 {
  margin-left:10px;
  padding:0;
}

#mobilsubnav ul.level_3 {
  margin-left:10px;
  padding:0;
}

/* Content **/

/* Sticky Footer */
#container {
  min-height: calc(100vh - 400px);
}

#footer {
  height: 400px;
}

#wrapper {
width: 100%;
margin: 0;
}

#header {
	width:100%;
  height:auto;
}

#header .inside {
	width: 100%;
}

#container {
	width: 100%;
  margin-top: 260px;
}


div#logo {
	float:none;
	margin-top:30px;
	margin-bottom:10px;
	text-align:center;
	margin-right:auto;
	margin-left: auto;
}





#main {
  width:100%;
  float: none;
  padding:0;
}

#main .inside {
  margin: 0;
	width: 100%;
	max-width: 100%;
}

#main .inside .ce_text,
#main .ce_headline,
#main .ce_image {
	margin: 0 10px;
}

#mainnav, #subnav {
  display: none;
}

#main .slogancenter {
  width: 100%;
}


#main .aussteller {
	width: 30.8% !important;
	height:240px;
  margin-bottom: 1px !important;
}


#main .ausstellersonderschau {
	width: 47% !important;
	height:240px;
  margin-bottom: 1px !important;
}



#main .ausstellersonderschauklein {
	width: 22% !important;
	height:120px;
  margin-bottom: 1px !important;
}




#footer {
	background-image:none;
	background-color:#6CAEA9;
}

#footer .inside {
  width: 100%;
  height:auto;
  margin:0;
  padding-top:50px;
}

#footer .textlinks {
  margin-left: 10px;
}

#footer .textlinks, #footer .textmitte, #footer .textrechts {
	width:30%;
	margin-right:15px;
	float:left;
  text-align: left;
}

#footer .textrechts {
	margin-right: 0;
}

#footer .beba a {
	margin-top:30px;
	color:#fff;
}

#main .mod_article.inside {
	width: inherit;
	margin: 0;
}

#main .textlinks, #main .textrechts {
	width:100%;
	float:none;
}

#main .mod_cfg_instagram img {
	width:49%;
}

#main .float_right {
	float: none;
	width:150px;
}

#main .mod_newslist h2,
#main .mod_newslist .more a {
  margin: 0 10px;
}

#main .mod_newslist.newsfolge .layout_latest {
	width:47.5%;
	height:600px;
  margin: 9px;
}

#main .mod_newslist.news .even, #main .mod_newslist.news .odd {
  margin-right: 15px;
}

#main .mod_newslist.news .even:nth-child(2n),
#main .mod_newslist.news .odd:nth-child(2n) {
  margin-right: 0;
}

.beba {
	background-color:#6CAEA9;
	width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.beba a, .beba a:link, .beba a:visited {
	color:#fff;
	display: block;
}

#main .ce_gallery ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#main .ce_gallery ul li {
  margin-right: 20px;
}

#main .ce_gallery ul li:nth-child(3n) {
  margin-right: 0;
}

#kontaktform {
  margin: 20px 10px 0 10px;
}

div.ce_image.sponsoren_goenner {
  margin-bottom: 20px !important
}

}












@media only screen and (max-width: 768px) {



#logo img {
  	max-width: 100px;
  	height: auto;
  }

#main .ce_gallery ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#main .ce_gallery ul li {
  margin-right: 20px;
}

#main .ce_gallery ul li:nth-child(2n) {
  margin-right: 0;
}


#main .ce_gallery .image_container {
  margin-right: 0 !important;
}

#main .aussteller {
	width: 30% !important;
	height:240px;
  margin-bottom: 1px !important;
}

#main .ausstellersonderschau {
	width: 45% !important;
	height:240px;
  margin-bottom: 1px !important;
}


#main .ausstellersonderschauklein {
	width: 45% !important;
	height:120px;
	margin-bottom: 1px !important;
}


#main .ausstellersonderschau h4 {
	font-size:2.2em;
}


.ausstellersonderschauklein h4 {
	font-size:1.4em;
}

#main .ausstellersonderschaustand {
	width: 45% !important;
	height:120px;
	margin-bottom: 10px !important;
}


}





@media only screen and (max-width: 520px) {




#header {
    /*top:0px;*/
    /*position:fixed !important;*/
    position:relative !important;
    width:100%;
    background-color:rgba(255,255,255,0.98);
    border-bottom:1px solid #6CAEA9;
    height:230px;
    -moz-box-shadow:0px 0px 0px #7b7b7b;
    -webkit-box-shadow:0px 0px 0px #7b7b7b;
    box-shadow:0px 0px 0px #7b7b7b;
    z-index:10;
}




#container {
	width: 100%;
	margin-top: 70px;
}

#main .aussteller {
	width:100% !important;
	height:auto;
}


#main .ausstellersonderschau,
#main .ausstellersonderschauklein,
#main .ausstellersonderschaustand {
	width:100% !important;
	height:auto;
}

div#logo {
	padding:10px 0 10px 0;	
}

#logo img {
	max-width: 100px;
	height: auto;
}

#main .slogancenter {
  font-size: 24px;
}

#footer {
  height: auto;
}

#footer .textlinks {
  margin-left: 10px;
}

#footer .textlinks, #footer .textmitte, #footer .textrechts {
	width: 100%;
	margin: 0;
	float: none;
  text-align: center;
}

#main .mod_newslist.news {
  display: block;
}

#main .mod_newslist.news .layout_latest {
  width: 100%;
}

#main .mod_newslist .even {
  padding: 0;
}

#main .mod_newslist .even img {
  float: none;
  margin: 0;
}

#main .mod_newslist h2,
#main .mod_newslist .more a {
  margin: 0 10px;
}

#main .mod_newslist.newsfolge .layout_latest {
  width: 100%;
  height: auto;
}

#main .ce_text.aussteller {
  margin: 0 0 1px 0;
}

#main .ce_text.ausstellersonderschau {
  margin: 0 0 1px 0;
}

#main .ce_gallery ul li {
  text-align: center;
  float: none;
}

#main .ce_gallery .image_container {
  margin-right: 0 !important;
}

}
