.homeTeaser {

}

.homeTeaser .teaserBox {
	width:25%;
	position:relative;
	float:left;
	margin-bottom:30px;
}

.homeTeaser .teaserBox .bild {
	position:relative;
	background-color:#d30b1b;
}

.homeTeaser .teaserBox:hover  .bild img {
	opacity:0.01
}

.homeTeaser .teaserBox .bild img {
	-webkit-transition: opacity 0.3s ease-in-out;
	-moz-transition: opacity 0.3s ease-in-out;
	-o-transition: opacity 0.3s ease-in-out;
	transition: opacity 0.3s ease-in-out;
	width:100%;
	height:auto;
	position:relative;
	display:block;
}

.homeTeaser .teaserBox .bild .text {
	top:0;
	padding:0 20px;
	position:absolute;
	color:#fff;
	height:100%;
	font-size:20pt;
	font-weight:bold;
	line-height:37px;
	display:flex;
	align-items: center; /* align vertical */
	text-shadow: #444444 2px 2px 4px;

}

.wrapper.textbildhome .text {
	flex:0 0 40%;
}

.wrapper.textbildhome .bild {
	flex:0 0 60%;
	position:relative;
}
.wrapper.textbildhome .bild img {
	width:100%;
	height:auto;
}

.startbox {

	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-flow: row nowrap;
}

.startbox .leftbox {
	flex:1 1 100%;
}
.startbox .rightbox {
	flex:0 0 310px;
}

.adressbox {
	background-color:#839eb1;
	padding:20px;
	color:#fff;
}
.adressbox a {
	color:#fff;
}

.newsBox {
	background-position:center;
	background-size:cover;
	height:600px;
	color:#fff;
}
.newsBox .inner {
	display:block;
	height:100%;
}
.newsBox .inner .innerBox {
	height:100%;
	display: flex;
	align-items: center;
}

.newsBox .infoBox {
	background-color:#46baf3;
	max-width:400px;
	padding:30px;
}
.infoBoxMob {
	display:none;
	background-color:#46baf3;
	color:#fff;
	padding:30px;
}

.dienstleistungBox {
	background-position:center;
	background-size:cover;
	min-height:840px;
	color:#fff;
}

.dienstleistungBox h1 {
	font-size:32pt;
	font-weight:bold;
	line-height:50px;
	padding-top:70px;
	padding-bottom:0;
}

.dienstleistungBox h2 {
	font-size:32pt;
	font-weight:400;
	line-height:50px;
	padding-top:0;
	padding-bottom:0;
}


.dienstleistungLinksBox {
	padding-top:70px;
}

.dienstleistungBox  .dienstleistungLink {
	display:block;
	width:50%;
	float:left;
	color:#000;
	margin-bottom:30px;

}


.dienstleistungBox  .dienstleistungLink:hover .wrapper.dienstleistung .bild img  {
	background-color:#d30b1b;
}

.dienstleistungBox .wrapper.dienstleistung {
	background-color:#eef3f6;
}

.dienstleistungBox .wrapper.dienstleistung .bild {
	flex:0 0 120px;
	padding:40px;
}
.dienstleistungBox .wrapper.dienstleistung .bild img {
	background-color:#839eb1;
	border-radius:50%;

}

.dienstleistungBox .wrapper.dienstleistung .text {
	width:100%;
	padding:40px 60px 40px 0;
}
.dienstleistungBox .wrapper.dienstleistung .text h3 {
	font-size:23pt;
	line-height:35px;
	font-weight:bold;
	margin-bottom:18px;
}

.aktuellBox {
	padding:50px 0;
}





#rightButtonBox {
	position:absolute;
	right:0;
	top:0;
}


#buttonNewsletter ,#buttonJobs {
	transition: background-color 0.4s ease;
	-moz-transition: background-color 0.4s ease;
	-webkit-transition: background-color 0.4s ease;
	-o-transition: background-color 0.4s ease;
	-ms-transition: background-color 0.4s ease;
}


#buttonNewsletter {
	display:block;
	width:40px;
	height:180px;
	background-repeat:no-repeat;
	background-position:center;
	background-image:url('/page/_webpics/buttons/newsletter-flag-fms-technik.png');
	border-bottom:1px solid #fff;
	background-color:#839eb1;
}

#buttonNewsletter:hover {
	background-color:#768e9f;
}

#buttonJobs {
	display:block;
	width:40px;
	height:108px;
	background-repeat:no-repeat;
	background-position:center;
	background-image:url('/page/_webpics/buttons/jobs-flag-fms-technik.png');
	background-color:#d30b1b;
}

#buttonJobs:hover {
	background-color:#be0a18;
}


@media  only screen and (max-width: 1240px) {
	.homeTeaser .teaserBox .bild .text {
		font-size:18pt;
		line-height:30px;
	}

}


@media  only screen and (max-width: 1140px) {
	.dienstleistungBox .wrapper.dienstleistung .bild {
		flex:0 0 100px;
		padding:30px 20px;
	}
	.dienstleistungBox .wrapper.dienstleistung .text {
		width:100%;
		padding:30px 30px 30px 0;
	}
	.dienstleistungBox .wrapper.dienstleistung .text h3 {
		font-size:21pt;
		line-height:32px;
		margin-bottom:0;
	}
}



@media  only screen and (max-width: 1024px) {
	.wrapper.textbildhome {
		flex-flow: column;
	}

	.wrapper.textbildhome .text {
		flex:0 0 100%;
	}


	.wrapper.textbildhome .bild {
		flex:0 0 100%;
		position:relative;
	}
	.wrapper.textbildhome .bild img {
		display:block;
		width:70%;
		height:auto;
		position:relative;
		bottom:0;
		margin:0 auto;
	}
}

@media  only screen and (max-width: 960px) {
	.homeTeaser .teaserBox .bild .text {
		font-size:16pt;
		line-height:28px;
	}

	.dienstleistungBox .wrapper.dienstleistung .bild {
		flex:0 0 80px;
		padding:30px 20px;
	}
	.dienstleistungBox .wrapper.dienstleistung .text h3 {
		font-size:18pt;
		line-height:29px;
	}

}

@media  only screen and (max-width: 860px) {
	.homeTeaser .teaserBox {
		width:33.33333%;
	}
	.homeTeaser .teaserBox .bild .text {
		font-size:15pt;
		line-height:26px;
	}

	.dienstleistungBox  .dienstleistungLink {
		width:100%;
		margin-bottom:30px;
	}

	.aktuellBox .block33:nth-child(3) {
		display:none;
	}
	.infoBox {
	display:none;
	}
	.infoBoxMob {
	display:block;
		margin-bottom:50px;
		}
	.newsBox {
		height:400px;
}
}




@media  only screen and (max-width: 600px) {
	.homeTeaser .teaserBox {
		width:50%;
	}
	.homeTeaser .teaserBox .bild .text {
		font-size:18pt;
		line-height:30px;
	}
	.wrapper.textbildhome .bild img {
		width:100%;
		height:auto;
	}


	.dienstleistungBox h1 {
		font-size:26pt;
		line-height:44px;
		padding-top:30px;
	}

	.dienstleistungBox h2 {
		font-size:25pt;
		line-height:4px;
		padding-top:10px;
	}

	.aktuellBox {
		padding:30px 0;
	}


	.startbox {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		flex-flow: column;
	}
	.startbox .leftbox {
		flex:1 1 100%;
		padding-bottom:30px;
	}
	.startbox .rightbox {
		flex:0 0 100%;
	}


}
@media  only screen and (max-width: 500px) {
	.homeTeaser .teaserBox .bild .text {
		font-size:16pt;
		line-height:28px;
	}
	.newsBox {
	height:300px;
}
}

@media  only screen and (max-width: 440px) {
	.homeTeaser .teaserBox .bild .text {
		font-size:12pt;
		line-height:25px;
	}
	.homeTeaser .teaserBox {
		margin-bottom:16px;
	}

}