/*Startseite*/

.page-home .main	{
	background-color: #eee;
	max-width: 1300px;
}

.page-home .main .content, .page-home .link_weitere_informationen a {
    color: #323232;
}

.page-home .main h1, .page-home .main h2, .page-home .main h3 {
	color:#291884;
	font-weight: bold;
}

h1, .h1, h2, .h3, h3 {
	color:#291884;
	font-weight: bold;
}


/*Main größer*/

.headertop, .topnav, .navigation, .slider.headerimage, .flexslider, .main, .social-buttons-inner {
    max-width: 1200px;
	background-color: #eee;
}

header, nav {
	background-color: #eee;
}

.topnav li.active > a {
    color: #fff;
}
.topnav li.active a {
    color: #291884;
	/*text-transform: uppercase;	*/
}


/*Sliderbilder Unterseiten größer*/

.slider.headerimage .flexslider .slides li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slider.headerimage, .slider.headerimage, .slider.headerimage .flexslider, .slider.headerimage .flexslider .slides, .slider.headerimage .flexslider .slides li, .slider.headerimage .flexslider .slides li img {
    max-height: calc(90vh - 165px); /*90 Standard*/
}



/* add custom styles*/

	.logoright .haus h1 {
		font-size: 2.8em;
	}

	
/*//navigation */

	.navigation {
		max-width: 1300px;
		margin: 10px auto 0 auto;
		clear: left;
		z-index: 500;
}	

/*//logo galerie####################################################*/

	.box-logo{
		width: 25%;
		padding: 5px;
	}

	.div-logo{
		background: #fff;
		border: 1px solid #eee;
		border-bottom: 2px solid #e3e3e3;
		text-align: center;
		height: 150px;
		margin: auto;
		position: relative;

	}

	.div-logo  img{
	   position: absolute;
		top: 50%;
		left: 50%;
		margin-right: -50%;
		transform: translate(-50%, -50%);
		backface-visibility: hidden;
		max-height: 90%;
		max-width: 90%;
	}
/*//bilder galerie####################################################*/
	.box-galerie{
		width: 33%;
		padding: 5px;
		height: fit-content;
	}

	.div-galerie{
		box-shadow: 0 0 2px 0 rgba(1, 1, 1, 0.2);
		position: relative;
		height: fit-content;
	}

	.box-galerie .div-galerie img {
		height: 100%;
		object-fit: cover;
		width: 100%;
	}

	.box-galerie .div-galerie .text{
	  background: rgba(50, 50, 50, 0.8);
		bottom:-17px;
		color: #eee;
		display: block;
		padding: 10px;
		position: absolute;
		/*transition: padding 0.3s ease 0s;*/
		width: 100%;
	}

/* Home Overlay  ####################################################*/
	.home-overlay{
		z-index: 90;
		position: absolute;
		width: 90%;
		top:-80px;
	}

	.home-overlay .image{
		width: 0%;
		float: left;
		padding: 10px;

	}
	.home-overlay .text{
		width: 100%;
		float: left;
		padding: 20px;
	}

	.home-overlay-container{
		width: 350px;
		/*position #################*/
		margin: 250px auto;
		/*color overlay #############*/
		background: rgba(245, 245, 245);
}

	/* hide on small screens*/
			
	@media only screen and (max-width: 767px) {
		.home-overlay{
			display: none
		}	
}

/*//video reponsive######################################################*/

	.responsive-video {
    	position: relative;
    	padding-bottom: 56.25%;
    	padding-top: 30px;
    	height: 0;
    	overflow: hidden;
	}

	.responsive-video video,
	.responsive-video iframe
	.responsive-video object,
	.responsive-video embed {
   	 position: absolute;
    	top: 0;
    	left: 0;
    	width: 100%;
   	 height: 100%;
	}

/* responsive IFrame Darstellung############################################*/
.embed-container {
	position: relative; 
	padding-bottom: 100% /*56.25%;*/ /* ratio 16x9 */;
	height: 0; 
	overflow: hidden; 
	width: 100%;
	height: auto;
	}
	
	.embed-container iframe {
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; 
	}
	
	/* ratio 4x3 */
	.embed-container.ratio4x3 {
	  padding-bottom: 75%;
	}
	


/*//ueber-uns######################################################*/

	.p-ueber-uns .col{
		padding: 10px;

	}
	.p-ueber-uns .col .mod{
		min-height: 430px;
		border: 1px solid #eee;
		border-bottom: 2px solid #e3e3e3;
		padding: 10px 10px 0 10px;
		background: #F2F2F2;
		font-size: 0.8em;
	}

	.p-ueber-uns .col .mod .text{

	}
	img.service{
	margin-top: 15px;
	}

	.gmapcontent2{
	float: right;
	margin: -130px 125px 0 0;
	}


	@media only screen and (max-width: 959px) {

		.headertop .haus h1{
			font-size: 1.8em;
			padding: 0 0 30px 10px;
		}

		.headertop .haus .h1{
			font-size: 1.8em;
			padding: 0 0 30px 10px;
		}

	}


/*wohnbereiche custom image-boxen*/
.page-wohnbereiche .pcustom .space{
	margin-top: 30px;
	
 }
/*wohnbereiche custom zusätzliche bilder*/
.col-moreimages{
margin-top: 20px;
}
.col-moreimages .moreimages{
	float: left;
	margin: 0 10px 10px 0;
	width: calc(33.333333% - 10px);

}

@media only screen and (max-width: 959px) {

	/*Navigation Menü Text*/
	.opennav:before{
		content: 'Menü';
		margin-right: 10px;
		font-size: 0.7em;	
	}	
	
}

/* All Mobile Sizes (devices and browser) */

@media only screen and (max-width: 767px) {
	.box-logo{
	width: 50%;
	}
	.p-ueber-uns .col{
	width: 50%;
	min-height: 500px;
	}

	.gmapcontent2{
	float: left;
	margin: inherit;
	}

	.headertop .haus h1{
		font-size: 1em;
		display: block;
		margin: 0;
		padding: 0 0 10px 10px;
	}

	.headertop .haus .h1{
		font-size: 1em;
		display: block;
		margin: 0;
		padding: 0 0 10px 10px;
	}


	.page-service .content ul{
	width: 100%;
	display: inline-table;
	margin-top: 40px;
	}

}

@media only screen and (max-width: 479px) {


}