
@media only screen and (max-width: 768px) {

#mainnav {
	display: none;
}

#wrapper {
  width: 100%;
	max-width: 100%;
  margin: 0 auto;
}

#main {
  line-height:1.4em;
}

#main .inside {
	margin: 0 10px;
}

#container {
  margin-top:10px;
}

#header {
  height: auto;
}

#footer {
	height: auto;
}

#logo {
  float:left;
  margin: 25px 0 20px 10px;
  width:200px;
}


.ce_youtube {
 position: relative;
 padding-bottom: 56.25%;
 width: 100%;
 height: auto;
}
 
.ce_youtube iframe {
 position: absolute;
 top: 0; left: 0; right: 0; bottom: 0;
 width: 100% !important;
 height: 100% !important;
}


.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  margin-top: 30px;
}

.video-container iframe, .video-container object, .video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}





#main .ce_text.greenbox, #main .ce_text.greenboxabrechnung, #main .ce_text.greenboxtarife {
	width: 100%;
	margin: 0 0 10px 0;
	padding: 10px 20px;
	box-sizing: border-box;
	float: none;
	height: auto !important;

}

#footer .inside {
	width: 100%;
	margin: 0;
}

#footer .footerleft, #footer .footermiddle, #footer .footerright {
	width: 100%;
	max-width: 100%;
	float: none;
	margin-bottom: 5px;
	box-sizing: border-box;
	height:auto;
}

#footer .footerleft {
	margin-top: 20px;
}

#beba {
	margin: 0 0 0 10px;
	padding: 0;
}

#footer .slogan {
	margin: 0 10px;
}

h1 {
	line-height:1.2;
}

#kontaktform label {
    width:100%;
    color:#00843e;
    display:block;
    padding:0;
}



#kontaktform .widget-text {
	width:100%;
}

div.ce_text.team.block {
	width:50%;
	float:left;
}


}



















@media only screen and (max-width: 1035px) {

#mainnav {
	display: none;
}

#header {
	width: 100%;
	height:auto;
}

#header .mod_randomImage {
	max-width: 100%;
	width: 100%;
	height: auto;
}

.startseite #header .mod_randomImage img {
	float: right;
	max-width: inherit;
	height: 490px;
}

#header .mod_randomImage img {
	max-width: 100%;
	height: auto;
}

#footer .slogan {
	margin: 0 10px 20px 10px;
}

#main .inside {
	margin: 0 10px;
}




/* mobiles Menue */
.mod_mobile_menu {
	position: absolute;
	top: 40px;
	right: 0;
	text-align: center;
	margin-top: 0;
	padding:5px 0;
	color: #444A4A;
	cursor: pointer;
	display: block;
	z-index: 20;
}

.mobile_menu_trigger {
	font-size: 24px;
	/*padding: 5px 5px 4px 5px;*/
	padding:35px 15px;
	text-transform:uppercase;
	display:inline;
	text-align:center;
	background-color:rgba(0,132,62,0.6);
	color:#fff;
	font-family: 'FFDINWebProRegular', Verdana, sans-serif;
}

/* mobile menue */
.mobile_menu .inner {
	background-color: #00843e;
	overflow: auto;
}

/* mobile Navigation */
#mobilenav {
	padding: 50px 0 0 0;
	text-transform:uppercase;
}

#mobilenav ul {
margin:0;
padding:0;
list-style-type:none;
}

#mobilenav li {
margin:0;
padding: 5px 0;
float: none;
text-align: left;
}

#mobilenav a {
margin:0;
padding: 5px 0 5px 20px;
display: block;
text-decoration: none;
color: #fff;
font-family: 'FFDINWebProRegular', Verdana, sans-serif;
font-weight: 300;
font-size: 18px;
border-bottom:1px dotted #efefef;
}



#mobilenav strong.active {
font-weight: 300;
/*color: rgba(21,79,144,0.8);*/
color:#fff;
background-color:#154f90;
padding:5px 0 5px 20px;
display: block;
font-size: 18px;
border-bottom:1px dotted #efefef;
}

#mobilenav a:focus, #mobilenav a:hover {
/*color: rgba(21,79,144,0.8);*/
color:#fff;
text-decoration: none;
background-color:#154f90;
}

#footer .inside {
	width: 100%;
}



}


@media only screen and (max-width: 440px) {
	
	
.kampagne img {
	margin-right:0px;
	margin-top:0px;
	border:1px solid #00843e;
	width:99%;
	height:auto;
	float:none;
}
	
	
	
}
