/* ################## RESPONSIVE ################## */

@media only screen and (max-width: 1040px) {
#header img.logo {
	margin-left:20px;
	}
}

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

.schutzraum {
	padding: 0 20px;
}

#header {
	display: none;
	}
#headermobil {
	display: block;
	height:125px;
	background-color: #8cc55a;
	}
#headermobil img.logo {
	height:90px;
	margin-left:5px;
	margin-top:0px;
	}
#menu {
	display:none;
	position: absolute;
	right:0;
	top:75px;
	bottom:auto;
	margin: 0px;
	left:auto;
	min-width:287px;
	margin-bottom:0px;
	}
#headermobil .sprache {
	right:70px;
	top: 85px;
	font-size: 12px;
	left: 45px;
	right:auto;
}	
#menu.mobilmenu {
	display:block;
	position: absolute !important;
	right: 50px;
	top: 125px  !important;
	width: 287px;
	z-index: 9999;
	background-color: #8cc55a;
	height:auto;
	}
#right-menu {
	display:block;
	position:absolute;
	right:40px;
	top:40px;
	background-color:#8cc55a;;
	color:#fff;
	width:50px;
	height:50px;
	text-align:center;
	text-decoration:none;
	z-index: 10000;
	}
	
#right-menu:hover {
	/*background-color:rgba(0,68,114,1);
	color:#000;*/
	}
#right-menu img {
	width:50px; height:50px;
	}
	
#footer {
	background-color: #8cc55a;
}
.schutzraum {
	padding:0;
}

nav ul {
	padding: 0;
}
nav ul li {
	margin-top: 0;
}

}

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


	
#main {
	flex-direction: column-reverse;
	}
#extra {
	margin: auto;
	width:100%;
	text-align: center;
	padding-right: 25px;
	}

#footermain {
	flex-direction: row;
	align-items: center;
	flex-wrap: wrap;
	min-height: auto;
}
#footermain div {
	padding: 0;
	text-align: center;
	width:50%;
}
#footermain div p {
	padding: 0;
	margin: 0;
}

h1, h2, h3, h4, h5, h6 {
	-moz-hyphens: auto;
	-o-hyphens: auto;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
	hyphenate-limit-chars: auto 5;
	hyphenate-limit-lines: 2;
}

.tinymcewysiwyg.limit {
	padding: 0 20px;
}
dl {
	margin: 10px 20px;
}
h1, h2 {
	margin-left: 20px;
}
.projekt-referenz {
	padding: 0 20px;
}
}



@media only screen and (max-width: 500px) {
	
#menu.mobilmenu {
	top: 125px !important;
}
#footermain {
	flex-direction: column;
	align-items: center;
}
#footermain div {
	padding: 0;
	text-align: center;
	width:100%;
}

#headermobil img.logo {
	height:auto;
	margin-left:5px;
	margin-top:0px;
	max-width: 100%;
	}
#footer .limit {
	background-image: url(/resources/footer-small.png);
}

}

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

.rsMinW .rsBullets {
	display:none;
}

#headermobil {
	height: 110px;
}
#headermobil .sprache {
	top: 74px;
}
#headermobil .sprache img {
	height: 18px;
	width: auto;
}

#nachoben {
	display: block;
}
#right-menu {
	right:10px;
}
#menu.mobilmenu {
	right:10px;
	left:10px;
	width:auto;
	box-sizing: border-box;
	top: 110px !important;
}
#header .sprache {
	top:60px;
	right:50px;
}
.tinymcewysiwyg table tbody, 
.tinymcewysiwyg table tbody tr {
width: 100%;
display: block;
}
.tinymcewysiwyg table td,
.tinymcewysiwyg table td:first-of-type {
	width: 100%;
	display: block;
	padding-left: 0;
}

.tinymcewysiwyg table td:first-of-type {
	border-bottom: 0;
}

#extra, #wichtigmobil {
	width:auto;
	padding: 5px 10px;
}
#pfad span {
	display:none;
}
.fotos {
	flex-direction: column;
}
#footer .limit {
	background-image: url(/resources/footer-small.png);
	padding: 10px;
}


.schutzraum {padding: 0; }
#headermobil .limit {
	width:100%;
	padding: 10px;
}
#headermobil {
	height: 130px;
}
#headermobil .sprache {
	top: 94px;
}
#right-menu {
	top:70px;
}
#menu.mobilmenu {
	top: 129px !important;
}
	

}