@charset "utf-8";
/* CSS Document for mobile */

@media screen and (max-width:1100px){
	a.slider_nav { left: 75px; margin-left: 0px; }
	a.slider_next { left: auto; right: 75px; margin-left: 0px; }
}

@media screen and (max-width:1047px){
	a.slider_nav { left: 50px; }
	a.slider_next { left: auto; right: 50px; }
	.footer_line { padding-left: 60px; padding-right: 60px; width: auto; }
}

@media screen and (max-width:995px){
	.shadow { display: none; }

	a.slider_nav { left: 25px; }
	a.slider_next { left: auto; right: 25px; }
	
	.footer { padding-left: 25px; padding-right: 25px; }
	.header, .slider, .content, .footer, .footer_line { width: auto; margin: 0px auto; }
	.header { padding-left: 15px; padding-right: 15px; }
	.header .logo { padding-top: 15px; height: 50px; width: 182px; }
	.header .logo a { background-image: url(logo-mobile.png); width: 100%; height: 100%; }
	.header .nav li { padding-top: 35px; }
	
	.bg_header, .tmp_slider .bg_header { height: 85px; }
	.bg_slider, .tmp_slider .bg_slider { margin-top: 0px; 					height: auto; }
	.tmp_slider .slider { height: auto; /*max-height: 400px;*/ margin: 0px; width: 100%; border: none; position: relative; top: auto; left: auto; border-bottom: solid 3px #AFCB1E; background-color: #FFF; }
	.tmp_slider .content,.tmp_slider .infoblock { padding-top: 20px; }
	
	.tmp_2col .content-wrapper { width: auto; padding-bottom: 80px; }
	.content { width: auto !important; float: none !important; padding: 25px !important; }	
	.tmp_2col .infoblock { float: none; width: auto; overflow: visible; padding: 0px 25px; font-size: 15px; line-height: 1.4em; }
	
	.infoblock .form-objektanfrage { margin-top: 10px; }
	.infoblock .infotext { font-size: 15px; line-height: 1.4em; }
	.infoblock .form-objektanfrage h3 { font-size: 22px; }
	
	.infoblock input, .infoblock textarea { width: 99%; }
	.infoblock select { width: 100%; }
	.infoblock span.as-label { display: block; }
	.infoblock p.formsubmit { text-align: center; }
	.infoblock input.submit { margin: 20px 0px 0px 0px; height: auto; width: 219px; }
	.infoblock .alert ul { margin-bottom: 15px; }
	
	.infoblock .form-captcha, .infoblock .form-captcha label, .infoblock .form-captcha span { text-align: left; }
	

	.min_bgslider, .sitetitle { height: 85px !important; }
	.sitetitle { width: 100%; left: auto; right: 0px; margin: 0px; }
	.sitetitle span { right: 0px; }
}

@media screen and (max-width:970px){
	.footer .footerlogo { display: none !important; }
	
	.footer { text-align: center; }
	.footer .block { float: none; display: inline-block; }
	.footer .footernav { border-right: none; }
	
	.bg_footerline { height: auto; }
	.footer_line { padding: 12px 25px; }
	.footer_line ul { text-align: center; }
	.footer_line .gototop { float: none; text-align: center; margin-bottom: 10px; }
	
	.three-buttons { margin-bottom: 45px; }
	.three-buttons img { max-width: 33%; margin: 0px auto 15px; }
}

@media screen and (max-width:940px){
	/* 3er Bild/Text-Block */
	.three-textbuttons > div { margin: 0px 8px 20px; }
}

@media screen and (max-width:900px){
	.tmp_slider .slider, .tmp_slider .bg_slider { /*max-height: 315px;*/ }
	
	#mobheader {
		position: fixed;
		top: 0px;
		left: 0px;
		z-index: 100;
		-webkit-box-shadow: 0 2px 3px 0 #666;
		box-shadow: 0 2px 3px 0 #666;
		right: 0px;
		background-color: #FFF;
		height: auto;
		padding-bottom: 20px;
		min-height: 64px;
	}
	#mobheader .opener {
		display: inline-block;
		color: #999;
		cursor: pointer;
		font-size: 20px;
		background-image: url(mob-opener.png);
		background-repeat: no-repeat;
		background-position: right center;
		padding: 3px 35px 0px 5px;
		position: absolute;
		top: 30px;
		right: 20px;
	}
	#mobheader .logo { position: absolute; top: 0px; }
	#mobheader .nav { display: none; float: none; }
	#mobheader .nav ul { margin-top: 75px; }
	#mobheader .nav li { float: none; display: block; width: auto; margin: 0px 0px 7px 0px; padding: 0px; }
	#mobheader .nav li.selected { background: none; }

	.bg_slider { margin-top: 88px !important; }
	
	/* Std.form */
	.yform { float: none; margin: 0px; margin-bottom: 65px; }
	.content-wrapper form { max-width: none; }
	.content-wrapper input, textarea, select { width: 400px; }
	.content-wrapper select { width: auto; }
}

@media screen and (max-width:700px){
	.tmp_slider .slider, .tmp_slider .bg_slider { /*max-height: 300px;*/ }
	
	/* Wohneinheiten */
	.we-line > div { display: block; padding: 0px; text-align: left; width: auto !important; }
	.we-line span { display: inline-block; width: 100px; }
	.we-line .we-cnt { position: relative; padding-left: 100px; }
		.we-line .we-cnt span { position: absolute; top: 0px; left: 0px; }
	.we-line .we-img { padding-left: 100px; }
	.we-line .we-st { padding: 0px; }
		.we-line .we-st span { color: #333; }
	.we-header { display: none; }	
}

@media screen and (max-width:670px){	
	.bg_footer { height: auto; }
	.footer { padding-bottom: 20px; }
	.footer .footernav { border: none; margin-top: 20px; border-top: 1px dashed #A0AFB9; padding-top: 20px; }
	.tmp_slider .slider, .tmp_slider .bg_slider { /*max-height: 250px;*/ }
	
	/*
	.referenzblock { display: block; margin-left: auto; margin-right: auto; height: auto; padding-bottom:20px; width: 95%; }
	.referenzblock h3 { text-align: left; }
	.referenzblock .refimg { display: inline-block; margin-left: 20px; vertical-align: top; max-width: 40%; height: auto; }
		.referenzblock .refimg img { width: 100%; }
	.referenzblock .reftxt { display: inline-block; padding: 0px; padding-bottom: 25px; margin: 0px 10px; vertical-align: top; max-width: 45%; }
	*/
	
	.referenzblock { display: block; margin-left: auto; margin-right: auto; }
	.referenzblock, .referenzblock .reftxt { height: auto; }
	.referenzblock .reftxt { padding-bottom: 30px; }
	
	/* Std.form */
	.yform { margin-left: 0px; float: none; }
	.content-wrapper label { float: none; display: block; width: auto; }
	.content-wrapper input, .content-wrapper textarea, .content-wrapper select, .content-wrapper button { width: 99%; }
	.content-wrapper select { width: auto; }
	p.formsubmit { padding-left: 0px; margin-top: 15px; }
	span.as-label { display: inline-block; vertical-align: top; }
	p.radio label { display: inline; }
	
	.content-wrapper button[type=submit] { margin-left: 15px; }
	
	div.form-captcha { margin-top: 0px; }
	div.form-captcha input { display: inline-block; margin-left: 0px; vertical-align: top; }
	div.form-captcha span { display: block; text-align: left; }
	div.form-captcha img { display: inline; }
	
		
	#cookienote { padding: 12px 14px; }
	#cookienote a.cookienoteCloser { position: static; display: table; margin: 15px 0px 0px; }

}

@media screen and (max-width:600px){
	.tmp_slider .slider, .tmp_slider .bg_slider { /*max-height: 230px;*/ }
	.three-buttons img { display: block; margin: 0px auto 15px; max-width: none; }
	
	h1, h2, h3, h4, h5, h6 { line-height: 1.45em; }
}

@media screen and (max-width:500px){
	.tmp_slider .slider, .tmp_slider .bg_slider { /*max-height: 200px;*/ }
}

@media screen and (max-width:450px){
	.tmp_slider .slider, .tmp_slider .bg_slider { /*max-height: 170px;*/ }
	#mobheader .logo { height: 39px; width: 143px; top: 5px; }	
	.header .logo a { background-image: url(logo-phone.png); height: 39px; width: 143x; }
	.sitetitle span { font-size: 40px; }
	.footer .block { width: auto; display: block; }
	
	.lbGalerie { text-align: center !important; }
}

@media screen and (max-width:400px){
	.tmp_slider .slider, .tmp_slider .bg_slider { /*max-height: 150px;*/ }
	
	h1 { font-size: 24px; }
	h2 { font-size: 21px; }
	
	/* Wohneinheiten */
	.we-line .we-cnt, .we-line .we-img { padding-left: 0px; }
		.we-line .we-cnt span { position: relative; top: auto; left: auto; display: block; }

	/* 3er Bild/Text-Block */
	.three-textbuttons { text-align: center; margin-bottom: 25px; }
	.three-textbuttons > div { width: 250px; display: block; margin: 0px auto 20px; }
	.three-textbuttons .tb-img { width: 250px; height: 122px; }
}