@media (max-width:1250px){
	.nr-1 .header .csc-textpic-text {
		bottom: 35px !important;
	}

	.nr-1 .header .csc-textpic-text h3:first-child {
		font-size: 40px;
	}

	.nr-1 .header .csc-textpic-text h3:last-child {
		font-size: 26px;
	}

	.leistungsblock:nth-child(3) {
		margin-top: 20px;
	}

	.farbe2::after {
		width: 80%;
		margin: 0 10%;
	}
}

@media (max-width:1130px){
	.bildslider {
		padding-bottom: 60px;
	}

	.owlslider .owl-dots, .bildslider .owl-dots, .news-latest-container .owl-dots, .thumbgalerie  .owl-dots, .news-single-imagebox  .owl-dots  {
		display: inline-block !important;
		float: none;
		clear: none;
		position: relative;
		top: -5px;
	}
	
	.sync2 .owl-controls {
		display: none;
	}
	
	.sync2 {
		margin-top: 0;
	}
	
	.owlslider .owl-dot.active, .bildslider .owl-dot.active, .news-latest-container .owl-dot.active, .thumbgalerie  .owl-dots.active, .news-single-imagebox  .owl-dots.active  {
		background: #126eb2;
	}
	
	.news-latest-container .owl-dot {
		background: #FFFFFF;
	}
	
	.owlslider .owl-controls, .bildslider .owl-controls, .news-latest-container .owl-controls, .thumbgalerie   .owl-controls, .news-single-imagebox  .owl-controls  {
		width: 100%;
		float: left;
		clear: both;
		margin: 15px 0 ;
		text-align: center;
	}
	
	.owlslider .owl-nav, .bildslider .owl-nav, .news-latest-container .owl-nav, .thumbgalerie  .owl-nav, .news-single-imagebox .owl-nav {
		float: none;
		clear: none;
		display: inline-block;
		margin: 0 10px 0 0;
		padding: 3px 0;
		border-right: 1px dotted #FFFFFF;
		position: relative;
	}
	
	.owl-nav div {
		float: left;
		margin: 0 5px 0 0;
		display: block;
		width: 16px;
		height: 19px;
		overflow: hidden;
		text-indent: -999px;
	}
	
	.owlslider .owl-next, .bildslider .owl-next, .news-latest-container .owl-next, .thumbgalerie   .owl-next, .news-single-imagebox .owl-next  {
		margin: 0 10px 0 0;
	}
	
	.owlslider .owl-prev, .bildslider .owl-prev, .news-latest-container .owl-prev, .thumbgalerie   .owl-prev, .news-single-imagebox .owl-prev, .owlslider .owl-next, .bildslider .owl-next, .news-latest-container .owl-next, .thumbgalerie   .owl-next, .news-single-imagebox .owl-next  {
		position: static;
		left: auto;
		right: auto;
		bottom: auto;
		top: auto;
		margin-bottom: 0;
		width: 12px;
		height: 20px;
		display: block;
		text-indent: 999px;
		overflow: hidden;
		background: url(../images/owl-resp-left.png) left top no-repeat;	
	}
	
	.owlslider .owl-next, .bildslider .owl-next, .news-latest-container .owl-next, .thumbgalerie   .owl-next, .news-single-imagebox .owl-next   {
		background: url(../images/owl-resp-right.png) left top no-repeat;	
	 }
}

@media (max-width:1040px){
	.zentriert {
		width: 90%;
	}
	
	.oben .zentriert {
		width: 95%;
	}
	
	.nr-1 .header .csc-textpic-text {
		bottom: 100px;
	}
	
	.bildslider .zentriert {
		max-width: 90%;
	}
}

@media (max-width:960px){
	.zentriert {
		width: 88%;
	}

	.logo {
		width: 80px !important;
	}

	.button_mobil {
		display: block;
		width: 24px;
		height: 24px;
		background: url(../images/button_mobil.png) top left no-repeat;
		cursor: pointer;
		display: block;
		margin-top: 15px;
		margin-bottom: 20px;
	}	
	
	#hauptnavi {
		display: none;
	}
	
	.navibox_mob {
		width: 100%;
		float: left;
		clear: both;
		display: block;
	}
	
	.navibox_mob #hauptnavi {
		display: none;
		float: left;
		clear: both;
		width: 100%;
		margin: 0 0 20px 0;		
	}
	
	.navibox_mob #hauptnavi #navigation {
		width: 95%;
		margin: 0 auto;
	}
	
	.navibox_mob #hauptnavi #navigation  li {
		width: 100%;
		float: left;
		clear: both;
		margin: 3px 0 0 0;
		padding: 0;
	}
	
	#hauptnavi #navigation li:hover::before, #hauptnavi #navigation li.act::before, #hauptnavi #navigation li:hover::after, #hauptnavi #navigation li.act::after {
		display: none;
	}
	
	.navibox_mob #hauptnavi #navigation  li a {
		padding: 8px 0;
		text-align: center;
		background: #126eb2;
		color: #FFFFFF;
	}
	
	.navibox_mob #hauptnavi #navigation  li.act a, .navibox_mob #hauptnavi #navigation  li:hover a {
		background: #031725;
	}
	
	.fixedheader {
		background-attachment: scroll;
		background-position: center center;
	}
	
	.c20l, .c20r {
		width: 50%;
		float: left;
		margin: 0 0 10px 0;
	}
	
	.c25l, .c25r {
		width: 50%;
		margin: 0 0 10px 0;
	}
	
	.pagenotfound .c25l, .pagenotfound  .c25r {
		margin: 0;
		width: 100%;
		background: none;
		height: 0 !important;
		overflow: hidden;
		float: left;
		clear: both;
	}

	
	.pagenotfound .c50l {
		width: 100%;
		float: left;
		clear: both;	
		background: none
	}
	
	.gleichehoehe {
		background: none;
		padding: 0;
	}
	
	#footerinhalt .subcolumns > div {
		max-width: 33%;
	}
	
	#footerinhalt .subcolumns > div:last-child {
		text-align: right;
		float: right;
	}

	.farbe2 .zentriert {
		max-width: 680px;
	}

	.farbe2 .inhalt_normal {
		width: 330px;
	}

	.farbe2::after {
		width: 70%;
		margin: 0 15%;
	}

	/*.bildslider {
		margin-bottom: 240px;
	}*/

	.nr-2 {
		margin-bottom: 240px;
	}

	.unterseite_inhalt {
		margin: 200px 0;
	}
}

@media (max-width:910px){
	.leistungen-trenner {
		display: none;
	}

	.leistungsblock {
		display: block;
		width: 100%;
		max-width: 329px;
		margin: 0 auto 20px auto !important;
		vertical-align: unset;
		height: auto;
		min-height: 100px;
	}

	.leistungsblock:last-child {
		margin-bottom: 0 !important;
	}
}

@media (max-width:850px){
	.zentriert {
		width: 87%;
	}
	
	.c16l, .c20l, .c25l, .c33l, .c40l, .c38l, .c50l, .c60l, .c62l, .c66l, .c75l, .c80l, .c16r, .c20r, .c25r, .c33r, .c40r, .c38r, .c50r, .c60r, .c66r, .c62r, .c75r, .c80r {
		width: 100%;
		float: left;
		clear: both;
		margin: 0 0 10px 0;
	}

	.subcl, .subc, .subcr {
		margin: 0;
		padding: 0;
	}

	.farbe1 .subcolumns .c50l, .farbe1 .subcolumns .c50r {
		margin: 0;
	}

	.farbe1 .subcolumns .c50r .subcr {
		margin-top: 70px;
		text-align: center;
	}

	.farbe1 h3::after {
		position: relative;
		margin: 0 auto;
	}

	.gleichehoehe {
		height: auto !important;
	}
	
	.powermail_label {
		text-align: left; 
	}
	
	#footerinhalt .subcolumns > div { 
		width: 100%;
		float: left;
		clear: both;
		margin: 0;
		padding: 0;
	}
	
	#footerinhalt .subcolumns > div:last-child {
		text-align: left;
		float: left;
		clear: both;
		width: 100%;
		max-width: 100%;
		border-top: 1px dashed #999999;
		padding-top: 20px;
		margin-top: 20px;
	}

	#footerinhalt .subcolumns > div {
		max-width: 100%;
	}

	#footer .csc-sitemap {
		text-align: left;
	}
	
	.pagenotfound .unterseite_inhalt {
		margin: 150px 0;
	}
}

@media (max-width:800px){
	.farbe2 .zentriert {
		max-width: 400px;
	}

	.farbe2 .inhalt_normal {
		width: 100%;
		margin: 0 0 20px 0;
	}

	.farbe2 .inhalt_normal:last-child {
		margin: 0;
	}

	.farbe2::after {
		width: 100%;
		margin: 0;
	}
}

@media (max-width:730px){
	h1 {
		font-size: 22px;
	}

	h2, h3, .farbe2 a {
		font-size: 18px;
	}

	.slidebox_mob h4 {
		text-align: center;
		font-size: 22px;
		margin: 0 0 40px 0;
	}

	.nr-1 .header .csc-textpic-text {
		bottom: 20px !important;
	}

	.nr-1 .header .csc-textpic-text h3:first-child {
		font-size: 30px;
	}

	.nr-1 .header .csc-textpic-text h3:last-child {
		font-size: 20px;
	}

	.nr-1 .header .divider {
		max-height: 250px;
	}

	.farbe1:last-child {
		padding-bottom: 10px;
	}

	.farbe1:first-child {
		padding-top: 80px;
	}

	#slidebox {
		display: none !important;
	}

	.slidebox_mob {
		display: block !important;
		width: 100%;
		float: left;
		clear: both;
		background: #FFFFFF;
		background-size: cover !important;
		text-align: center;
	}

	.slidebox_mob .csc-default {
		width: 87%; 
		margin: 60px auto 70px auto;
	}
}

@media (max-width:700px){
	#tx_cookies {
		top: 10vh;
		max-height: 80vh;
		overflow: auto;
	}
}

@media (max-width:650px){
	.zentriert {
		width: 84%;
	}

	.buttons {
		padding: 10px 4px;
		border-radius: 10px 0 0px 10px;
		right: 0px;
	}
}

@media (max-width:620px){
	.header img {
		width: auto !important;
		height: 120px !important;
		max-width: none;
	}
}

@media (max-width:600px){
	.nr-1 .header {
		margin-top: 52px;
	}

	.nr-1 .header .csc-textpic-text h2{
		margin-bottom: 10px;
	}

	.powermail_label {
		width: 100%;
		float: left;
		clear: both;
		margin: 0 0 5px;
	}

	.powermail_field.powermail_input, .powermail_field.powermail_textarea, .powermail_field.powermail_submit {
		width: 95%;
		float: left;
		clear: both;
	}

	.powermail_field.powermail_submit {
		width: 99.5%;
	}

	/*.bildslider {
		margin-bottom: 120px;
	}*/

	.nr-2 {
		margin-bottom: 120px;
	}
}

@media (max-width:500px){
	.nr-1 .header .csc-textpic-text {
		display: none;
	}

	.nr-1 .header .owl-dots {
		display: none !important;
	}

	.nr-1 .header .divider {
		max-height: 200px;
	}

	.nr-1 .header {
		height: auto !important;
	}

	.oben {
		background: #FFFFFF;
	}

	.leistungsblock {
		padding: 5%;
		width: 88%;
	}

	.leistungsblock div.csc-textpic-intext-right .csc-textpic-text, .leistungsblock div.csc-textpic-intext-right-nowrap .csc-textpic-text {
		width: 100%;
	}

	.leistungsblock div.csc-textpic-intext-right .csc-textpic-imagewrap, .leistungsblock div.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap {
		position: static;
		margin: 0;
	}

	.leistungsblock div.csc-textpic-intext-right .csc-textpic-imagewrap .csc-textpic-image, .leistungsblock div.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap .csc-textpic-image {
		float: right;
	}

	.leistungsblock ul {
		margin: 0 0 10px 0;
	}

	/* Neben dem Text */
	.bereiche .csc-textpic.csc-textpic-intext-right-nowrap, .bereiche .csc-textpic.csc-textpic-intext-left-nowrap {
		width: 100%;
		float: left;
		clear: both;
		margin: 0;
	}

	.bereiche .csc-textpic-intext-right-nowrap .csc-textpic-text, .bereiche .csc-textpic-intext-left-nowrap .csc-textpic-text {
		width: 100%;
		float: left;
		clear: both;
		margin: 0;
	}

	.bereiche div.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap, .bereiche div.csc-textpic-intext-left-nowrap .csc-textpic-imagewrap {
		width: 100%;
		float: left;
		clear: both;
		margin: 10px 0 0 0;
		padding: 0;
		opacity: 0;
	}

	/* Im Text */
	.bereiche .csc-textpic.csc-textpic-intext-right, .bereiche .csc-textpic.csc-textpic-intext-left {
		width: 100%;
		float: left;
		clear: both;
		margin: 0;
	}

	.bereiche .csc-textpic-intext-right .csc-textpic-text, .bereiche .csc-textpic-intext-left .csc-textpic-text {
		width: 100%;
		float: left;
		clear: both;
		margin: 0;
	}

	.bereiche div.csc-textpic-intext-right .csc-textpic-imagewrap, .bereiche div.csc-textpic-intext-left .csc-textpic-imagewrap {
		width: 100%;
		float: left;
		clear: both;
		margin: 10px 0 0 0;
		padding: 0;
		opacity: 0;
	}

	.rahmen #footer {
		position: static !important;
	}
}

@media (max-width:430px){
	.parsley-errors-list {
		top: -16px;
	}

	.powermail_fieldwrap {
		margin: 18px 0 0 0 !important;
	}
}

@media (max-width:400px){
	.logo {
		width: 70px !important;
	}

	.button_mobil {
		margin-bottom: 14px;
	}
}

@media (max-width:350px){
	.farbe2 .csc-textpic-text .bodytext {
		background-position: right 20px top 14px;
		background-size: 18px;
	}
}

@media (max-width:280px){
	.parsley-errors-list {
		font-size: 11px;
		right: 5px;
	}
}

/* -- iPad -- */
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
 	.fixedbg {
		top: auto;
		bottom: 0;
		width: 150%;
	}

	.header.fixedheader {
		background-attachment: scroll;
		background-size: 100% auto;	
		background-position: center center;
	}
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
	.fixedbg {
		top: auto;
		bottom: 0;
		width: 150%;
	}

	.header.fixedheader {
		background-attachment: scroll;
		background-size: 100% auto;
		background-position: center center;
	}
}

@media only screen and (min-device-width: 300px) and (max-device-width: 736px) and (orientation: landscape) { 
	.buttons {
		top: 40%;
	}
}