@media only screen and (min-width : 981px) {
	.link,
	#footer_responsive,
	a#pull {
		display: none;
	}
	/*body {overflow-x: hidden;}*/
	/*.content {
		position: absolute;
		top: 162px;
		left: 9px;
		height: 600px;
		width: 980px;
	}*/
	#footer {
	 	width: 968px;
		z-index: 999;
	}
	#end {
	 	width: 968px;
	}
	.images {
		position: relative;
		float: left;
		padding: 0 28px 54px 0;
		margin: 0;
		top: 0;
		left: 0;
		width: 168px;
		height: 168px;
	}
	.images img {
		padding: 0;
		margin: 0;
		width: 168px;
		height: 168px;
	}
	.text {
		float: left;
		padding: 6px 0 0 0;
		margin: 0;
		font-size: 10px;
		width: 100%;
		color: #666;
		line-height: 15px;
	}
	.fancybox-wrap iframe {
		width: 815px;
		height: 429px;
	}
	.fancybox-inner {
		height: auto !important;
	}
	a[href^="tel"]:link,
	a[href^="tel"]:visited,
	a[href^="tel"]:hover {
		text-decoration: none;
		color: #666;
	}
}

@media only screen and (min-width : 800px) and (max-width : 980px) {
	/*#main {margin: 270px 0 0 0 !important;}*/
	#imagegalerie.imagegalerie {padding: 0 0 25px 0 !important;}
}

@media only screen and (max-width : 980px) {
	/*html, body {width: 100%;}
	html, body, .layer {height: 100%;}
	body > .layer {height: auto; min-height: 100%;}*/
	body { 
		/*overflow: auto;*/
		margin: 0;
		padding: 0;
		/*overflow-x: hidden;*/
	}
	a[href^="tel"]:link,
	a[href^="tel"]:visited,
	a[href^="tel"]:hover {
		text-decoration: underline;
		color: #49c2cb;
	}
	.cd-top {bottom: 45px; right: 50px}
	.text-left {width: 100%; margin: 10px 0 10px 0;}
	.text-right {width: 100%; float: left;}
	#footer {
	 	/*width: 100%;
		z-index: 9;*/
		display: none;
	}
	#footer_responsive {
		position: relative;
		margin: -130px auto 0 auto;
		/*margin-top: -60px;*/
		height: 130px;
		clear: both;
		padding: 20px 0 0 0;
		width: 86%;
		left: 0;
		display: block;
		z-index: 99;
	}
	#end {
	 	width: 86%;
	}
	.cross{
		background-image: url(../basics/cross.jpg);
		background-repeat: no-repeat;
		background-size: 90% 90%;
		height: 25px;
		width: 25px;
		position: relative;
		left: -10px;
		float: left;
	}
	.fb {
		left: 0px;
		top: 0;
		float: left;
		position: relative;
		margin-left: 10px;
	}
	.ig {
		left: 0px;
		top: 0;
		float: left;
		position: relative;
		margin-left: 15px;
	}
	.fb img, .ig img {width: 25px; height: 25px;}
	.q {
		left: 50px;
		top: 0;
		float: left;
		position: relative;
	}
	.text-big,
	.crossleft,
	.crossright,
	#link_bullet,
	#link_name,
	.facebook,
	.qype {
		display: none;
	}
	#wrap {
		position: relative;
		top: 0;
		left: 0;
		/*width: 86%;*/
		margin: 0;
		/*margin-left: auto;*/
		padding: 0;
		z-index: 3;
	}
	#main {
		/*padding: 0 0 60px 0;
		margin: 0;*/
		/*float: left;*/
		position: relative;
		/*width: 86%;*/
		/*top: 50px;*/
		z-index: 4;
		width: 100%
		/*margin: 0 0 80px 0;*/
	}
	#main_images {
		padding: 0 0 60px 0;
		margin: 70px 0 0 0;
		float: left;
		position: relative;
	}
	#main_images .images.last {padding: 0 4% 0 0;}
	#main_imagegalerie {
		padding: 0 0 60px 0;
		margin: 70px 0 0 0;
		float: left;
		position: relative;
	}
	.content_wrapper {width: 86%;}
	/*.clearfix:before {  
		content: " ";  
		display: block;  
	} */
	/*.clearfix:after {
		content: " ";
		display: block;
		height: 0;
		clear: both;
		visibility: hidden;
	}*/
	/*.clearfix {display: inline-block;}*/
	
	/* Bereich nicht für IE-mac Anfang \*/
	/** html .clearfix {height: 1%;}
	.clearfix {display: block;}*/
	/* Bereich nicht für IE-mac Ende */

	/*.clearfix {  
		*zoom: 1;  
	}*/
	
    nav > ul > li > ul > li > ul {display: block !important;}
    
	nav > ul, #nav > ul > li {
	  	float: none;
		position: absolute;
	}
	nav > ul > li {
	  	display: block;
		float: none;
	}
	nav li > a:after {content: "";}
	nav li > a:only-child:after {content: "";}
	ul.nav li ul li a {margin: 0 68px 0 100px;}
	nav > ul > li a {border-bottom: 1px solid #a4d5d9;}
	nav > ul:hover li {
	  	display: block;
		float: none;
	}
	nav > ul > li > ul, nav > ul > li:hover > ul {
	  	position: relative;
	}
	nav > ul > li:hover > ul {
		background-color: none;
		background: none;
	}
	ul.nav li.right {float: none; border-bottom: 1px solid #a4d5d9 !important; margin: 0 54px;}
	nav > ul > li > ul {display: block !important;}
	
	/*nav > ul > li > ul, nav > ul > li:hover > ul {
	  	position: relative;
	}
	nav > ul > li > ul > li:hover > ul {
	  	position: relative;
	  	left: 0;
	}
	nav > ul > li > ul > li > ul > li > a {
	  	font-style: inherit;
	}
	nav > ul > li {
	  	display: none;
	}
	nav > ul:hover li {
	  	display: block;
		float: none;
	}*/
	/*ul.nav::before {
	  	display: block;
	  	content: "Navigation";
	  	padding: 0 0 0 80px;
	  	background: url('../basics/cross_w.png') no-repeat 42px 5px;
		height: 30px;
		line-height: 30px;
	}
	ul.right::before {
	  	display: block;
	  	content: "";
	  	padding: 0;
	  	background: none;
	}*/
	
	ul.nav li.right {padding-left: 0px;}
	
	ul.nav {
		background-color: none;
		background: rgba(73, 194, 203, 0.93);
		width: 100%;
		/*position: absolute;*/
		padding: 30px 0px 35px 0px;
		height: 261px !important;
		overflow-y: scroll;
	}
	nav#menu ul.right {
		float: left;
		top: 390px;
		padding: 0px 22px 35px 22px;
	}
	nav#menu ul.right li a {text-align: left;}
	nav > ul.right > li:last-child a {float: left;}
	
	
	nav#menu {
		border-bottom: 0;
		position: relative;
		top: -2px;
		left: 0;
		margin: 0;
		z-index: 999;
		color: #84ced1;
		padding: 0;
		height: auto;
		width: 100%;
		background-color:rgba(73, 194, 203, 0.9);
    } 
	nav#menu ul#menu_hidden {  
        display: none;  
        height: auto;
		margin: 0;
		padding: 0;
		background-color:rgba(73, 194, 203, 0.9);
    }
	nav#menu ul#menu_hidden:first-child {
		padding-top: 0px;
	}
	nav#menu ul#menu_hidden:last-child {
		padding-bottom: 0px;
	}
    nav#menu ul {  
        /*display: none; */ 
        height: auto;
		margin: 0;
		/*padding: 0;*/
    }
	nav#menu ul.nav li ul {padding: 0;}
	nav#menu ul:first-child {
		/*padding-top: 30px;*/
	}
	/*nav#menu ul:last-child {
		padding-bottom: 35px;
	}*/
	/*nav#menu ul li.untermenu {  
		margin: 0;
		padding: 0 0 0 20px;
    }
	nav#menu ul li.untermenu_first {  
		padding: 0;
		margin: 0 0 0 20px;
    }*/
	nav#menu li a {
		/*margin: 0;
		padding: 0;*/
		/*list-style-type: none;*/
		font-size: 16px;
		line-height: 24px;
		font-weight: 300;
		padding: 2px 0;
    }
	nav > ul a {padding: 0; margin: 0 68px;}
	nav > ul a.last {padding: 0; margin: 0;}
	ul.nav li.right ul li a {margin: 0 0 0 32px;}
	nav ul li a {border-top: 1px solid #a4d5d9; border-bottom: none !important;}
	nav ul li ul li:last-child a {border-top: 1px solid #a4d5d9; border-bottom: none !important;}
	nav ul li:last-child a {border-top: 1px solid #a4d5d9; border-bottom: 0px solid #a4d5d9 !important;}
	nav#menu a, 
	nav#menu a:link {
		list-style-type: none;
		text-decoration: none;
		/*text-align: left;
		display: block;
		margin: 0px;
		padding: 0;*/
		/*border: none;*/
		/*width: 86%;*/
		color: #fff;
	}
	nav#menu a:hover, nav#menu a:active {
		color: #666;
	}
	nav#menu li a.active {
		color: #666;
	}
    nav#menu a#pull {  
        display: block;  
        background-color: #49c2cb; 
		background: linear-gradient(#49c2cb, #a1dfe2);
		background: -moz-linear-gradient(#49c2cb, #a1dfe2);
		background: -ms-linear-gradient(#49c2cb, #a1dfe2);
		background: -webkit-gradient(linear, left top, left bottom, from(#49c2cb), to(#a1dfe2));
		background: -webkit-linear-gradient(#49c2cb, #a1dfe2);
		background: -o-linear-gradient(#49c2cb, #a1dfe2);
        width: 100%;  
        position: relative;  
		padding: 0;
		height: 30px;
		line-height: 30px;
		color: #fff;
		text-indent: 100px;
		border: none;
		font-size: 1.1em;
    }  
    nav#menu a#pull:after {  
        content:"";  
        background: url('../basics/cross_w.png') no-repeat;  
        width: 20px;  
        height: 20px;  
        display: inline-block;  
        position: absolute;  
        left: 5.5%;  
        top: 5px;  
    }
	nav#menu li.headline,
	nav#menu li.headline_aktiv {
		text-transform: uppercase;
		color: #fff;
	}
	nav#menu li.headline a:link{
		text-transform: uppercase;
		color: #fff;
	}
	nav#menu li.headline a:visited{
		text-transform: uppercase;
		color: #fff;
	}
	nav#menu li.headline a:hover{
		text-transform: uppercase;
		color: #a12052;
	}
	nav#menu li.headline_aktiv a:link{
		text-transform: uppercase;
		color: #a12052;
	}
	nav#menu li.headline_aktiv a:visited{
		text-transform: uppercase;
		color: #a12052;
	}
	nav#menu li.headline_aktiv a:hover{
		text-transform: uppercase;
		color: #7e0735;
	}
	.logo {
		position: relative;
		height: 110px;
		width: 100%;
		margin: 0 auto;
		/*margin-left: auto !important;*/
		overflow: auto;
		background-image: url(../basics/logo_768.jpg);
		background-repeat: no-repeat;
		background-position: center center;
		left: 0;
		top: 0;
		z-index: 1;
	}
	.head {
		position: absolute;
		overflow: hidden;
		height: 110px;
		width: 100%;
		margin: 0;
		padding: 0;
		background-image: url(../basics/logo_bg.jpg);
		background-repeat: no-repeat;
		background-position: center center;
		left: 0;
		top: 0;
		z-index: 0;
		border: none;
		background-size: cover;
	}
	#slideshow,
	.image {
		width: 100% !important;
		left: 0px;
		padding: 0;
		overflow: hidden;
		height: 100px;
	}
	div#slideshow2, div#slideshow2 div, #slideshow3 {
		width: 100% !important;
	}
	div#slideshow2 div#img_1_1,
	div#slideshow2 div#img_1_2,
	div#slideshow2 div#img_1_3,
	div#slideshow2 div#img_1_4,
	div#slideshow2 div#img_1_5,
	div#slideshow2 div#img_1_6,
	div#slideshow2 div#img_1_7,
	div#slideshow2 div#img_1_8,
	div#slideshow2 div#img_1_9,
	div#slideshow2 div#img_1_10 {
		width: 100% !important;
		background-color: #fff !important;
	}
	div#slideshow2 img, .image img {width: 100% !important;}
	
	#slideshow3 {margin: 36px 0 0 0 !important;}
	#slideshow4 div, #slideshow4 div img {height: 420px !important; width: auto !important;}
	
	.image img {height: auto !important;}
	.text-head {
		position: relative;
		left: 0px;
		top: 0;
		height: 20px;
		width: 100%;
		z-index: 3;
	}
	.text-left {
		position: relative;
		left: 0px;
		/*top: 15px;*/
		width: 100%;
		height: auto;
		z-index: 5;
		/*margin: 0 0 16px 0;*/
		margin: 0;
	}
	.text-right {
		position: relative;
		float: left;
		left: 0px;
		/*top: 33px;*/
		width: 100%;
		height: auto;
		z-index: 5;
		margin: -16px 0 60px 0;
		padding: 0;
	}
	.text-head.ig {
		top: 145px;
	}
	.text-left.ig {
		top: 160px;
	}
	.text-right.ig {
		top: 178px;
	}
	table {
		margin: 0;
		padding: 0;
		width: 100% !important;
		display: none;
	}
	.text-right/*, .text-right table*/ {margin: 0 0 30px 0;}
	/*.text-right ul.list {
		margin: 0;
		padding: 0;
		display: block;
		width: 50%;
		float: left;
	}
	.text-right ul.list li {
		margin: 0;
		padding: 0;
		display: list-item;
		list-style-image: none;
		list-style-type: disc;
		list-style-position: inside;
		width: 100%;
		height: 18px;
		color: #128289;
	}
	.text-right ul.list li a, #text-right ul.list li a:link, #text-right ul.list li a:hover, #text-right ul.list li a:active {
		margin: 0;
		padding: 0;
		line-height: 12px;
	}
	.text-left ul.list_grey {
		margin: 0;
		padding: 0;
		display: block;
		width: 50%;
		float: left;
	}
	.text-left ul.list_grey li {
		margin: 0;
		padding: 0;
		display: list-item;
		list-style-image: none;
		list-style-type: none;
		list-style-position: inside;
		width: 100%;
		height: 18px;
		color: #666;
	}
	.text-left ul.list li a, .text-right ul.list_grey li a:link, .text-right ul.list_grey li a:hover, .text-right ul.list_grey li a:active {
		margin: 0;
		padding: 0;
		line-height: 12px;
	}
	.text-left ul.list {
		display: block;
		padding: 0 0 0 17px;
		margin: 0 0 2px 0;
		width: 100%;
		float: left;
	}
	.text-left ul.list li {
		margin: 0;
		padding: 0 0 11px 0;
		display: list-item;
		list-style-position: outside;
		list-style-type: disc;
		width: 90%;
		line-height: 16px;
		color: #666;
	}
	.text-left ul.list li a, #text-left ul.list li a:link, .text-left ul.list li a:hover, #text-left ul.list li a:active {
		margin: 0;
		padding: 0;
		line-height: 16px;
	}*/
	.imagegalerie {
		width: 100%;
		left: 0;
		position: relative;
		top: 0;
		height: auto;
		padding: 0 0 35px 0;
	}
	.imagegalerie.empty {
		padding: 0;
	}
	#image-a.image-a,
	#image-b.image-b,
	#image-c.image-c,
	#image-d.image-d,
	#image-e.image-e,
	#image-f.image-f,
	#image-g.image-g,
	#image-h.image-h,
	#image-i.image-i,
	#image-j.image-j
	#text-a.text-a,
	#text-b.text-b,
	#text-c.text-c,
	#text-d.text-d,
	#text-e.text-e,
	#text-f.text-f,
	#text-g.text-g,
	#text-h.text-h,
	#text-i.text-i,
	#text-j.text-j {
		display: none;
	}
	.images {
		position: relative;
		float: left;
		left: 0;
		padding: 0 30px 30px 0;
		margin: 0;
		top: 0px;
		width: 28%;
		height: 198px;
	}
	.images img {
		padding: 0;
		margin: 0;
		width: 168px;
		height: 168px;
	}
	.text {
		float: left;
		padding: 8px 0 0 0;
		margin: 0;
		font-size: 10px;
		width: 100%;
		color: #666;
	}
	#OverlayContainer {
		z-index: 5 !important;
		height: 100% !important;
	}
	.content {
		padding: 0;
		margin: 0;
	}
	#main_images .images {width: 28%; padding: 0 4% 80px 0;}
	#main_images .images.high {min-height: 350px;}
	#main_images .images.low {min-height: 280px;}
	/*#main .image {height: 140px;}*/
	#main_images {margin: 0;}
}
@media only screen and (max-width : 768px) {
	nav#menu a#pull {text-indent: 80px;}
	/*.fb {left: 70px;}
	.q {left: 95px;}*/
	#slideshow4 div, #slideshow4 div img {height: 400px !important; width: auto !important;}
	#main_images .images {width: 28%; padding: 0 4% 80px 0;}
	#main_images .images.high {min-height: 320px;}
	#main_images .images.low {min-height: 270px;}
	#main .image {height: 140px;}
	#main_images {margin: 0;}
	nav > ul a {padding: 0; margin: 0 52px;}
	ul.nav li ul li a {margin: 0 52px 0 80px;}
    ul.nav li ul li ul li a {margin: 0 52px 0 100px;}
}
@media only screen and (max-width : 768px) and (orientation : landscape) {
	nav#menu li {font-size: 16px; line-height: 20px;}
}
@media only screen and (max-width : 640px) {
	/*#main {margin: 0;}*/
	.text-head {top: 0px;}
	/*.images {width: 36%; padding: 0 40px 30px 0;}*/
	#main_images .images {width: 28%; padding: 0 4% 40px 0;}
	#main_images .images.high {min-height: 280px;}
	#main .image {height: 120px;}
	#main_images {margin: 0;}
	#main_images .images.low {min-height: 250px;}
	nav#menu a#pull {text-indent: 72px;}
	/*.fb {left: 65px;}
	.q {left: 85px;}*/
	#slideshow4 div, #slideshow4 div img {height: 340px !important; width: auto !important;}
	ul.nav li ul li a {margin: 0 45px 0 70px;}
	nav > ul a {margin: 0 45px;}
	ul.nav li.right {margin: 0 34px;}
}
@media only screen and (max-width : 480px) {
	.text-left, .text-right {font-size: 16px; line-height: 20px;}
	#slideshow4 div, #slideshow4 div img {height: 265px !important; width: auto !important;}
	#main_images .images, #main_images .images.high.last {width: 100%; height: auto; padding: 0 0 30px 0;}
	#main {/*margin: 0;*/ /*top: 40px;*/}
	#main .image {height: 120px; margin: 0 auto;}
	#main_images {margin: 0;}
}
@media only screen and (max-width : 480px) and (orientation : portrait) {
	nav#menu a#pull {text-indent: 65px;}
	.imagegalerie {height: 480px;}
	.text-left ul.list_grey {width: 100%;}
	/*#main {margin: 0;}*/
	.text-head {top: 0px;}
	.text-head.ig {top: 245px;}
	.text-left.text-left.ig {top: 260px;}
	.text-right.text-right.ig {top: 278px;}
	#footer_responsive {margin: -130px auto 0 auto; height: 130px;}
	#main {padding: 0 0 130px 0;}
	.box {padding-top: 70px;}
	ul.nav li ul li a {margin: 0 30px 0 50px;}
	ul.nav li ul li ul li a {margin: 0 30px 0 70px;}
	nav > ul a {margin: 0 30px;}
	.cd-top {bottom: 34px; right: 34px;}
	ul.nav li.right {margin: 0 34px;}
	/*.fb {left: 50px;}
	.q {left: 71px;}*/
}

@media only screen and (max-width : 414px) and (orientation : portrait) {
	ul.nav li.right {margin: 0 33px;}
}

@media only screen and (max-width : 375px) and (orientation : portrait) {
	ul.nav li.right {margin: 0 32px;}
	.cd-top {height: 40px; width: 40px;}
}

@media only screen and (max-width : 320px) {
	.text-left, .text-right {font-size: 15px; line-height: 20px; -moz-hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; -o-hyphens: auto; hyphens: auto;}
	.text-right {min-height: 260px;}
	#imagegalerie.imagegalerie {height: auto;}
	.balken {display: none;}
	nav#menu {top: -24px;}
	nav#menu a#pull {text-indent: 20%;}
	nav#menu ul {padding: 30px 0 30px 0;}
	nav#menu li {font-size: 17px; line-height: 21px;}
	nav#menu a, nav#menu a:link {/*width: 82%;*/}
	ul.nav li ul li a {margin: 0 28px 0 45px;}
	nav#menu a#pull {text-indent: 45px;}
	nav#menu a#pull:after {left: 4.0%;}
	/*ul.nav li ul li a {padding-left: 40px;}*/
	nav#menu ul.right {padding: 35px 0 35px 0;}
	nav > ul a {margin: 0 28px;}
	ul.nav li.right {margin: 0 30px;}
	
	#footer_responsive {width: 84%;}
	#end {width: 84%;}
	.logo {/*height: 110px;*/ background-image: none;}
	.head {height: 110px; background-image: url(../basics/logo_768.jpg); background-repeat: no-repeat; background-position: center 0; background-size: 615px 88px;}

	#main {/*margin: 0; top: 30px; margin: 0 auto 50px auto;*/ padding: 0 0 100px 0;}
	.content_wrapper {width: 84%; top: 20px;}
	#footer_responsive {margin: -100px auto 0 auto; height: 100px;}
	.cd-top {bottom: 36px; right: 24px;}
	.text-head {top: 0px;}

	.text-head.ig {top: 145px;}
	.text-left.ig {top: 160px;}
	.text-right.ig {top: 178px;}
	.text-left {margin: 0;}
	.text-right ul.list, .text-left ul.list_grey {width: 100%;}
	#slideshow, .image {height: 65px; margin: 0 auto 24px auto;}
	#slideshow4 div, #slideshow4 div img {height: 160px !important; width: auto !important;}
	/*#slideshow3 {margin: 36px 0 34px 0 !important;}*/
	#main .image {height: 90px; margin: 0 auto;}
	#main_images {margin: 0;}
	#main_images img {padding: 0;}
	#main_images .images, #main_images .images.high.last {width: 100%; height: auto; padding: 0 0 30px 0;}
	.q {left: 0px;}
	/*.fb {left: 15px;}*/
	.box {padding-top: 35px;}
	h1 {font-size: 22px; line-height: 28px;}
	text1 a, a.text1 {font-size: 15px; line-height: 20px;}
	.cd-top {height: 40px; width: 40px;}
	
	.bx-wrapper .bx-pager {bottom: -56px !important;}
	.bx-wrapper .bx-controls-auto  {bottom: -81px !important;}
}