/*Safari fix*/
a
{
	text-decoration: none !important;
}

.container
{
	max-width:1000px;
}

#mainNav {
    border: none;
    background-color: transparent;
    transition: padding-top 0.3s ease-in-out, padding-bottom 0.3s ease-in-out;
	z-index: 1;
}
#customer_logo
{
	width: 200px;
	height: 52px;
}
.language a {
    color: #fff;
}
header.masthead{
	padding-top: 26rem;
    padding-bottom: 5rem;
}

header.masthead2{
	padding-top: 26rem;
    padding-bottom: 3.21rem;
}

.masthead {
    background: linear-gradient(327deg, rgba(28, 28, 28, 0.78) 0%, rgba(0, 0, 0, 0) 100%) 0% 0% no-repeat padding-box,linear-gradient(61deg, rgba(28, 28, 28, 0.78) 0%, rgba(0, 0, 0, 0) 100%) 0% 0% no-repeat padding-box, url(../img/121A6906-1_sRGB.jpg);
	background: -webkit-linear-gradient(327deg, rgba(28, 28, 28, 0.78) 0%, rgba(0, 0, 0, 0) 100%) 0% 0% no-repeat padding-box,-webkit-linear-gradient(61deg, rgba(28, 28, 28, 0.78) 0%, rgba(0, 0, 0, 0) 100%) 0% 0% no-repeat padding-box, url(../img/121A6906-1_sRGB.jpg);
    mix-blend-mode: multiply;
    margin-top: -100px;
	background-size: cover;
	background-position: center;
	/*slide*/
	position:absolute;
	opacity:1;
	width:100%;
	transition: opacity 1.5s;
}
.masthead-heading{
    text-align: left;
    font: normal normal 800 50px/54px Barlow;
    letter-spacing: 5px;
    color: #FF5041;
    text-transform: uppercase;
}

.masthead2-heading{
    text-align: left;
    font: normal normal 800 50px/54px Barlow;
    letter-spacing: 5px;
    color: #5CD1DE;
    text-transform: uppercase;
}

.masthead-subheading {
    text-align: left;
    font: normal normal normal 50px/54px Barlow;
    letter-spacing: 5px;
    color: #FFFFFF;
    text-transform: uppercase;
    padding-bottom: 80px;
}

.masthead2-subheading {
    text-align: left;
    font: normal normal normal 50px/54px Barlow;
    letter-spacing: 5px;
    color: #FFFFFF;
}

.masthead2 {
    background: linear-gradient(327deg, rgba(28, 28, 28, 0.78) 0%, rgba(0, 0, 0, 0) 100%) 0% 0% no-repeat padding-box,linear-gradient(61deg, rgba(28, 28, 28, 0.78) 0%, rgba(0, 0, 0, 0) 100%) 0% 0% no-repeat padding-box, url(../img/Düker_Details_00773903_AK_DN_300_HR0000.jpg);
	background: -webkit-linear-gradient(327deg, rgba(28, 28, 28, 0.78) 0%, rgba(0, 0, 0, 0) 100%) 0% 0% no-repeat padding-box,-webkit-linear-gradient(61deg, rgba(28, 28, 28, 0.78) 0%, rgba(0, 0, 0, 0) 100%) 0% 0% no-repeat padding-box, url(../img/Düker_Details_00773903_AK_DN_300_HR0000.jpg);
    mix-blend-mode: multiply;
    margin-top: -100px;
	background-size: cover;
	/*slide*/
	opacity:0;
	transition: opacity 1.5s;
}

.inner-section {
    max-width: 646px;
	width: 100%;
    margin: 0 auto;
}
.section-title {
    text-align: left;
    font: normal normal bold 14px/17px Barlow;
    letter-spacing: 1.4px;
    color: #FF5041;
    text-transform: uppercase;
    opacity: 1;
    padding-top: 20px;
    padding-bottom: 20px;
	font-weight: 800;
}
.hiding-title {
    text-align: left;
    font: normal normal bold 12px/17px Barlow;
    letter-spacing: 1.4px;
    color: #FF5041;
    text-transform: uppercase;
    opacity: 0;
}

.hiding-title-transition{
	transition: opacity 1s;
	opacity: 1 !important;
}

.hiding-title-blue {
    text-align: left;
    font: normal normal bold 12px/17px Barlow;
    letter-spacing: 1.4px;
    color: #5CD1DE;
    text-transform: uppercase;
    opacity: 0;
}
.section-heading {
    text-align: left;
    font: normal normal 32px/34px Barlow;
    letter-spacing: 3.2px;
    color: #FF5041;
    text-transform: uppercase;
	font-weight: 800;
}
.section-subheading {
    text-align: left;
    font: normal normal normal 32px/34px Barlow;
    letter-spacing: 3.2px;
    color: #1C1C1C;
    text-transform: uppercase;
    padding-bottom: 20px;
}
.section-content-text
{
	font-size: 16px;
	width: 100%;
	max-width: 646px;
}
.section-content-text-drainage
{
	font-size: 16px;
	width: 100%;
	max-width: 590px;
}
.column-flow-control
{
	padding-left: 50px;
	margin-bottom:150px;
}

#flow-control .section-title, #flow-control .section-heading{
    color: #5CD1DE;
}
#flow-control .section-subheading {
    color: #fff;
}
#contact .section-subheading {
    color: #fff;
}
.page-section {
	padding: 120px 40px;
}
#flow-control {
	color: #fff;
	background-color: #1B191B;
}
#contact {
	color: #fff;
	background: linear-gradient(23deg, #1C1C1C 0%, #FFFFFF33 100%), url(../img/121A8758-1_sRGB.jpg);
	background: -webkit-linear-gradient(23deg, #1C1C1C 0%, #FFFFFF33 100%), url(../img/121A8758-1_sRGB.jpg);
    background-position: center center;
    background-size: cover;
    padding-top: 17rem;
    padding-bottom: 12.5rem;
}
#contact-mobile
{
	display:none;
}
.divCenterImage
{
	text-align: center;
	margin-top: 50px;
}
.pCenteredOverLines
{
	margin-left: auto;
    margin-right: auto;
    width: 125px;
}
/* Solid border */
hr.solid {
  border-top: 1px solid #5CD1DE;
  max-width: 946px;
  width:100%;
  margin-left:auto;
  margin-right:auto;
  margin-top:30px;
  margin-bottom:150px;
  opacity: 1;
}
hr.solidRed {
  border-top: 1px solid #FF5041;
  max-width: 946px;
  width:100%;
  margin-left:auto;
  margin-right:auto;
  margin-top:30px;
  margin-bottom:150px;
  opacity: 1;
}
/* Hover Images */
.hoverContainer {
  position: relative;
  max-width: 788px;
  max-height: 477px;
  width: 100%;
  height: 100%;
  text-align: center;
}

.hoverContainerSecondImg {
  position: relative;
  max-width: 788px;
  max-height: 477px;
  width: 100%;
  display: inline-block;
}

.imageWithOverlay {
  display: block;
  width: 100%;
  height: auto;
  max-width: 788px;
  max-height: 477px;
}

.blueOverlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #008CBA;
  overflow: hidden;
  width: 0;
  height: 100%;
  transition: .3s ease;
  opacity: 0.4;
  border-left: 1px solid #212529;
}

.redOverlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #FF5041;
  overflow: hidden;
  width: 0;
  height: 100%;
  transition: .3s ease;
  opacity: 0.6;
}

.hoverContainer:hover .blueOverlay {
  width: 100%;
}

.hoverContainer:hover .redOverlay {
  width: 100%;
}

.hoverContainerSecondImg:hover .blueOverlay {
  width: 100%;
}

.hoverContainerSecondImg:hover .redOverlay {
  width: 100%;
}
footer {
    padding: 80px 80px;
}
.movingArrow {
    display: -webkit-inline-box;
	padding: 20px 0px;
}
.movingArrow:hover .redArrowRight{
    transform: translateX(100px);
}

#drainage .movingArrow:hover .redArrowRight{
    transform: translateX(80px);
}

.movingArrow:hover .blueArrowRight{
    transform: translateX(113px);
}

.redArrowRight {
    margin-left: -90px;
    padding-bottom: 5px;
	transition: transform 0.8s;
}
#drainage .redArrowRight {
    margin-left: -70px;
    padding-bottom: 5px;
}
.redArrowRightEN {
    margin-left: -80px;
    padding-bottom: 5px;
	transition: transform 0.8s;
}
  
#drainage .redArrowRightEN {
    margin-left: -70px;
    padding-bottom: 5px;
}

.movingArrow:hover .redArrowRightEN{
    transform: translateX(90px);
}

#drainage .movingArrow:hover .redArrowRightEN{
    transform: translateX(80px);
}

.blueArrowRight {
    margin-left: 0px;
    padding-bottom: 5px;
}
#flow-control .blueArrowRight {
    margin-left: -103px;
    padding-bottom: 5px;
}
.blueArrowRight {
    transition: transform 0.8s;
}
  
.blueArrowRight:hover {
    transform: translateX(113px);
}

#contact-img-mobile
{
	display: none;
}

#drainageRowDesktop
{
	display:block;
	margin-bottom:150px;
	opacity: 0;
}
#drainageRowMobile
{
	display:none;
	margin-bottom:30px;
}

.plus
{
	z-index: 3;
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	position: absolute;
	top: 50%;
	left: 50%;
}

#flowControlDiv
{
	opacity: 0;
}

.opacityTo1
{
	transition: opacity 1.8s;
	opacity: 1 !important;
}

#navContainer
{
	margin-left: 135px;
	margin-right:50px;
	max-width:100%;
}

#masterheadContainer
{
	margin-left: 200px;
}

 /* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 4; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
  opacity: 0;
  transition: opacity 1s;
}

/* Modal Content/Box */
.modal-content {
  background-color: #fff;
  margin: 15% auto; /* 15% from the top and centered */
  border: 1px solid #888;
  width: 600px;
  height: 500px;
  border-radius: 13px;
  overflow:hidden;
}

#modal-text-content
{
	padding-top: 25px;
	padding-right: 30px;
	padding-left: 30px;
}

/* The Close Button */
.close {
  color: #FF5041;
  font-size: 28px;
  position: absolute;
  right: 30px;
}

.close:hover,
.close:focus {
  text-decoration: none;
  cursor: pointer;
} 

#redArrowPopup
{
	margin-left: -85px;
}

#footerLinksContainer
{
	width: 250px;
}


/* Media Queries */
/* Extra small devices (portrait phones, less than 500px) */
@media (max-width: 375px) {
	.modal-content {
	  width: 300px;
	  height: 450px;
	}
	.close {
	  right: 10px;
	}
	
	#redArrowPopup
	{
		margin-left: 0px;
		padding-bottom: 30px;
	}
	
	#arrowTextPopup
	{
		display: inline-block;
		padding-top: 10px;
	}
	
	.navbar
	{
		padding-top: .325rem;
		padding-bottom: .325rem;
	}
    .masthead {
		margin-top: 0px;
		background: linear-gradient(36deg, rgba(28, 28, 28, 0.78) 0%, rgba(0, 0, 0, 0) 100%) 0% 0% no-repeat padding-box,linear-gradient(345deg, rgba(28, 28, 28, 0.78) 0%, rgba(0, 0, 0, 0) 100%) 0% 0% no-repeat padding-box, url(../img/Rechteck_65_mobile.jpg) 0% 0% no-repeat padding-box;	
	}
	header.masthead{
		width: 375px;
		height: 420px;
		padding-top: 300px;
		padding-bottom: 0px;
	}
	
	.inner-section {
        width: 100%;
        margin: 0;
		padding-left:20px;
    }
	.masthead-heading{
		font: normal normal 800 17px Barlow;
		margin-left: 20px;
	}
	.masthead-subheading {
		font: normal normal normal 17px Barlow;
		margin-left: 20px;
	}
	.section-title {
		font: normal normal bold 10px Barlow;
		letter-spacing: 1px;
		font-weight: 800;
	}
	.section-heading {
		font: normal normal 17px Barlow;
		letter-spacing: 1.7px;
		font-weight: 800;
	}
	.section-subheading {
		font: normal normal normal 17px Barlow;
		letter-spacing: 0px;
	}
	.page-section
	{
		padding: 60px 0px;
	}
	.section-content-text
	{
		font-size: 10px;
		width: 333px;
	}
	.section-content-text-drainage
	{
		font-size: 10px;
		width: 333px;
	}
	.column-flow-control
	{
		padding-left: 20px;
		margin-bottom: 50px;
		margin-top: 50px;
	}
	hr.solid {
		width: 334px;
		margin-top:0px;
		margin-bottom:70px;
	}
	hr.solidRed {
		width: 334px;
		margin-top:0px;
		margin-bottom:70px;
	}
	#contact {
		display:none;
	}
	#contact-mobile
	{
		display:block;
		padding: 20px 0px;
	}
	#mainNav {
		background-color: #ffffff;
	}
	#customer_logo
	{
		width: 90px;
		height: 23px;
		margin-left:auto;
		margin-right:auto;
	}
	
	#navContainer
	{
		width:375px;
		padding-top: .3125rem;
		overflow:hidden;
		margin-right:0px;
		margin-left: 25px;
	}
	
	#redArrowAbout
	{
		display: none;
	}
	
	#contact-img-mobile
	{
		display: block;
		width: 375px;
		height: 420px;
		background: transparent url('../img/Rechteck-93.jpg') 0% 0% no-repeat padding-box;
	}
	
	.hoverContainer {
	  width: 334px;
	  height: 260px;
	}

	.imageWithOverlay {
	  width: 334px;
	  height: 260px;
	}
	
	.row > *
	{
		padding-left:20px;
	}

	#drainageRowDesktop
	{
		display:none;
	}
	#drainageRowMobile
	{
		display:block;
		margin-top: 50px;
	}
	
	footer
	{
		padding: 50px 80px;
	}
	
	.col-lg-6
	{
		width:auto;
	}
	
	.divCenterImage
	{
		text-align: center;
		margin-top: 0px;
	}
	
	#customer_logo
	{
		margin-top: 20px;
		margin-bottom: 20px; 
		margin-left: 105px;
	}
	
	.hiding-title
	{
		opacity: 1;
	}
	
	.redArrowRight
	{
		margin-left: 10px;
	}
	
	.redArrowRightEN
	{
		margin-left: 10px;
	}
	
	#textFlow
	{
		opacity: 1;
	}
	
    #flow-control .blueArrowRight
	{
		margin-left: 10px;
	}
	
	#flow-control .blueArrowRightEN
	{
		margin-left: 10px;
	}
	
	#drainage .redArrowRight
	{
		margin-left: 10px;
	}
	
	#drainage .redArrowRightEN
	{
		margin-left: 10px;
	}
	.language a {
		color: #FF5041;
		font-size: 12px;
		margin-right:10px;
	}
	
	#footerLinksContainer
	{
		width: 250px;
		margin-right: calc(var(--bs-gutter-x)/ -2);
		margin-left: calc(var(--bs-gutter-x)/ -2);
	}
	
	#footerLinksContainer > div
	{
		padding-left: 0px;
	}
	
	#masterheadContainer
	{
		max-width: 380px;
	}
}

/* Extra small devices (portrait phones, less than 576px) */
/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767px) { 

	#masterheadContainer
	{
		margin-left: 0px;
	}
	#drainageRowDesktop
	{
		display:none;
	}
	#drainageRowMobile
	{
		display:block;
		margin-top: 50px;
	}
	#navContainer
	{
	margin-left: 25px;
	}
	.modal-content {
	  width: 300px;
	  height: 450px;
	}
 }

/* Extra small devices (portrait phones, less than 576px) */
/* Large devices (desktops, less than 1200px)*/ 
@media (min-width:768px) and (max-width: 1001px) {
	#drainageRowDesktop
	{
		display:none;
	}
	#drainageRowMobile
	{
		display:block;
		margin-top: 50px;
	}
	#masterheadContainer
	{
		max-width: 550px;
	}

}

@media (min-width: 992px) and (max-width: 1200px) { 

	#masterheadContainer
	{
		max-width: 750px;
	}
}