.custom-header-wrapper {
	box-sizing: border-box;
	display: block;
/* 		position: relative; */
	width: 100%;
	height: auto;
	background: rgb(163,173,183);
	background: -moz-linear-gradient(left,  rgba(163,173,183,0.5) 0%, rgba(163,173,183,0.5) 66%, rgba(255,255,255,1) 66%, rgba(255,255,255,1) 100%);
	background: -webkit-linear-gradient(left,  rgba(163,173,183,0.5) 0%,rgba(163,173,183,0.5) 66%,rgba(255,255,255,1) 66%,rgba(255,255,255,1) 100%);
	background: linear-gradient(to right,  rgba(163,173,183,0.5) 0%,rgba(163,173,183,0.5) 66%,rgba(255,255,255,1) 66%,rgba(255,255,255,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( endColorstr='#a3adb7', endColorstr='#ffffff',GradientType=1 );
	padding: 35px 0;
	margin-bottom: 105px;
}

#header-background-image {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;	
	-webkit-align-items: center;
	-moz-align-items: center;
	-ms-align-items: center;
	align-items: center;

	background-repeat: no-repeat;
/*
	position: absolute;
	z-index: 2;
*/
	right: 0;
	background-size: contain;
	background-position: center right;
	height: 560px;
}

#header-background-image img {
	visibility: hidden;	
	
}

#header-content-wrapper {
	width: 1200px;
	margin: 0 auto;
}

#header-content-wrapper .custom-subline,
#header-content-wrapper .custom-headline {
	max-width: 500px;

}

p.custom-subline {
	margin-top: 0 !important;
	margin-bottom: 35px;
}

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

	#header-content-wrapper {
		padding: 0 50px;
	}
	
	#header-background-image {
		height: 420px;
		
	}


}

@media screen and (max-width:1024px) {
	
	#header-background-image {
		height: 360px;
	}
	
	#header-content-wrapper .custom-subline,
	#header-content-wrapper .custom-headline {
		max-width: 360px;
	
	}
	
	
}

@media screen and (max-width:768px) {
	
	#header-background-image {
		height: 240px;
	}
	
	#header-content-wrapper {
		padding: 0 20px;
	}
	
}

@media screen and (max-width:414px) {
	
	.custom-header-wrapper {
		background: none;
		padding: 0;
	}
	
	#header-background-image {
		height: 240px;
		background-position: center center;
		background-size: cover;
		-webkit-align-items: flex-end;
		-moz-align-items: flex-end;
		-ms-align-items: flex-end;
		align-items: flex-end;
	}
	
	#header-content-wrapper {
			padding: 0 20px;
		}
	
	#header-content-wrapper .custom-subline,
	#header-content-wrapper .custom-headline {
		display: none;
	
	}
	
}
