
/*Startseite*/

.page-home .main	{
	background-color: #eee;
	max-width: 1000px;
}

.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:#AF1A1B;
	font-weight: bold;
}

h1, .h1, h2, .h3, h3 {
	color:#AF1A1B;
	font-weight: bold;
}


/*Main größer*/

.headertop, .topnav, .navigation, .slider.headerimage, .flexslider, .main, .social-buttons-inner {
    max-width: 1000px;
	background-color: #eee;
}

header, nav {
	background-color: #eee;
}

.topnav li.active > a {
    color: #fff;
}
.topnav li.active a {
    color: #AF1A1B;
	/*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;
	}

/* Home Overlay  ####################################################*/
	.home-overlay{
		z-index: 2;
		position: absolute;
		width: 100%;
		top:-40px;
	}

	.home-overlay-container{
		width: 400px;
		/*position #################*/
		margin: 250px auto 0 auto;
		/*color overlay #############*/
		background: rgba(255, 255, 255, 0.8);
	}

	.home-overlay .image{
		width: 100%;
		float: left;
		padding: 10px;

	}
	.home-overlay .text{
		width: 0%;
		float: left;
		padding: 10px;
	}

/* hide on small screens*/
@media only screen and (max-width: 767px) {
	.home-overlay{
		display: none;
	}
}

/* Navigationsleiste  #######################################*/
	.navigation {
    max-width: 900px;
    margin: 10px auto 0 auto;
    clear: left;
    z-index: 500;
}

/* end Home Overlay  ##################################################*/


/*//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;
	}

	.div-galerie{
		box-shadow: 0 0 2px 0 rgba(1, 1, 1, 0.2);
		position: relative;
	}

	.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%;
	}

/*//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;
	}
}

/* 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) {


}