body{
	background: #f7f7f7;
	margin: 0;
	
	font-family: Arial;
	font-family: 'Raleway';
}

#linetop{
	z-index: 20;
	background: <?= COLOR; ?>;
	border-right:10px solid #AC443C;
	position: fixed;
	width: 100%;
	top: 0px;
	right:0px;
	left: 0px;
	height: 10px;
}	

#linetop > div{
	background: inherit;
    height: 25px;
    left: -90px;
    position: absolute;
    top: 10px;
    width: 50px;
    color: #f7f7f7;
    font-size: 14px;
    padding-left: 10px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    
    transition: width 100ms ease-out;
}

#linetop > div:after{
	content: '';
	background: transparent;
    height: 0px;
    width: 0px;
    border: 12px solid;
    left: 60px;
    position: absolute;
    top: 0px;
    
    transition: left 100ms ease-out;
}

#linetop > div:first-of-type:hover{
	width: 65px;
}

#linetop > div:first-of-type:hover:after{
	left: 75px;
}

#linetop > div > a{
	color: inherit;
	text-decoration: none;
}

#linetop > #mobileNavigation{
	width: 40px;
	padding: 0;
	display: none;
}

#linetop > #mobileNavigation:after,
#linetop > #mobileNavigationTitle:after{
	display: none;
}

#mobileNavigationTitle{
	position: absolute;
	top: 10px;
	left: 60px;
	margin: 6px;
	font-size: 15px;
	display: none;
}

/* sections */

.section{
	width: 100%;
}

header > .content,
footer > .content,
.section > .content{
	width: 900px;
	height: 100%;
	margin: 0px auto;
	position: relative;
	padding: 0px;

	overflow: hidden;
}

.section > .content[data-layout="box"]{
	display: flex;
	justify-content: space-around;
	margin-bottom: 0;
}

.section .box_slogan{
	width: 400px;
	height: auto;
	margin-top: 80px;
	max-height: 220px;
	margin-left: 20px;
}

.section .box_slogan .box_slogan_text{
	width: 400px;
	height: auto;
	max-height: 170px;
	overflow: hidden;
}

.section .box_slogan .box_link{
	margin: 30px 0 0 0;
}

.section .box{
	/*
	width: 350px;
	height: 280px;
	background: #fff;
	box-shadow: 0 2px 7px -4px rgba(0, 0, 0, 0.35);
	margin-top: 50px;
	*/
	
	width: 350px;
	height: 280px;
	background: rgba(0,0,0,0.8);
	margin-top: 50px;
}

.section .box > h1{
	/*
	margin: 0 0 20px 0;
	padding: 10px;
	border-radius: 5px 5px 0px 0px;
	font-size: 17px;
	color: #fff;
	background: <?= COLOR; ?>;
	*/
	margin: 0 0 20px 0;
	padding: 10px;
	font-size: 17px;
	color: #fff;
}

.section .box > div.text{
	margin: 10px;
	color: #fff;
}

.section > .content{
	margin: 20px auto;
/* 	margin: 0 auto; */
/* 	padding: 20px 0; */
}

.content[data-layout="flex"],
.content[data-layout="headline"]{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.section[data-type="bgimage"]{
	background: no-repeat fixed center; 
	background-size: cover;
}

.section[data-type="gradient"]{
	background: -webkit-linear-gradient(#ffffff 0%, #ffffff 25.59%, #e6e6e6 100%);
}

.content[data-layout="headline"]{
	height: 50px;
}	

.content[data-layout="headline"] > h1.headline{
	position: relative;
	font-family: 'Montserrat', sans-serif;
}

.content[data-layout="headline"] > h1.headline:after,
.content[data-layout="headline"] > h1.headline:before{
	content: '';
	width: 50%;
	position: absolute;
	height: 1px;
	background: #a3a3a3;
	top: 50%;
	left: -60%;
}

.content[data-layout="headline"] > h1.headline:after{
	right: -60%;
	left: auto;
}

.section .blocks{
	width: 100%;
	min-height: 260px;
	display: flex;
	align-items: center;
	justify-content: space-around;
	flex-wrap: wrap;
	align-self: flex-end;
}

.section .blocks > .block{
	width: 200px;
	height: 200px;
	background: #fff;
	border: 12px solid rgba(0,0,0,0.2);
	position: relative;
	border-radius: 4px;
	margin: 10px;
}

.section .blocks > .block:after{
	content: '';
	width: 30px;
	height: 30px;
	border: 1px solid transparent;
	border-top-color: #6e6e6e;
	border-right-color: #6e6e6e;
	border-radius: 5px;
	transform: rotate(-45deg);
	top: -20px;
	left: 50%;
	margin-left: -15px;
	position: absolute;
}

.section .blocks > .block:before{
	content: '';
	width: 4px;
	height: 4px;
	border-radius: 4px;
	background: #6e6e6e;
	position: absolute;
	top: -21px;
	left: 50%;
	margin-left: -1px;
}

.section .blocks > .block > .blockInner{
	overflow: hidden;
	width: 100%;
	height: 100%;
	position: relative;
}

.section .blocks > .block > .blockInner > .blockContent{
	padding: 10px;
}

.section .blocks > .block > .blockInner > .blockHover{
	background: #1b1b1b;
	width: calc(100% - 20px);
	height: calc(100% - 20px);
	position: absolute;
	z-index: 1;
	color: #fff;
	padding: 10px;
	left: -30%;
	opacity: 0;
	
	transition: all 210ms ease-out;
}

.section .blocks > .block:hover > .blockInner > .blockHover{
	left: 0;
	opacity: 1;
}

.section .blocks > .block p{
	margin: 0 0 10px 0;
	padding: 0;
}

main > div.section:last-of-type{
	padding-bottom: 100px;
}

/* main */

header{
	z-index: 10;
	background: inherit;
	width: 100%;
	height: 110px;
	position: fixed;
	top: 0px;
	left: 0px;
	right: : 0px;
	margin: 0;
	padding: 0;
}	


header nav{
	margin-top: 60px;
	border-bottom: 1px solid #e0e0e0;
}	

header nav > ul{
	list-style: none;
	margin: 0px;
	padding: 0px;
	display: flex;
	justify-content: space-between;
}

header nav > ul > li{
	height: 35px;
	line-height: 35px;
}

header nav > ul > li:first-of-type{
	display: none;
	border-bottom: 1px solid rgba(255,255,255,0.15);
}

header nav > ul > li > a{
	color: inherit;
	text-decoration: none;	
}

header nav > ul > li span{
	padding: 6px 10px;
	color: #f7f7f7;
	font-size: 15px;
	border-bottom: 3px solid transparent;
	color: #222222;
	cursor: pointer;
	
	transition: all 180ms ease;
}

header nav > ul > li[data-active="true"] span,
header nav > ul > li span:hover{
	border-bottom-color: <?= COLOR; ?>;
}

main{
	padding-top: 110px;
	min-height: calc(100vh - 290px);
}


/* controls */

div.text{
	font-size: 14px;
	margin: 40px 0 60px 0;
}

div.bigtext{
	background: rgba(0,0,0,0.5);
	color: #fff;
	font-size: 19px;
	padding: 20px;
	position: absolute;
}

h1.headline{
	font-size: 25px;
	color: #474747;
}

/* footer */
footer{
	background: red;
	height: 250px;
	width: 100%;
	border-top: 5px solid;
}

#footerContact{
/* 	background: lime; */
	width: 30%;
	height: 100%;
	padding: 0 20px 0 20px;
	margin: 0;
	background: #fff;
	color: #000;
	float: left;
}


#footerContact > img{
	max-width: 100%;
	margin-top: 25px;
}

#footerContactData{
	font-size: 13px;
	margin: 10px 0 0 0;
}

footer .content > .items{
	width: calc(70% - 60px);
	float: right;
	display: flex;
	justify-content: space-between;
	align-items: top;
}

footer .items > .item{
	margin: 10px;
	color: rgba(255,255,255,0.7);
}

footer .items > .item > p{
	margin: 10px;
	padding: 0;
	font-size: 15px;
	position: relative;
}

footer .items > .item > p:after{
	content: '';
	height: 1px;
	width: 75%;
	background: rgba(255,255,255,0.7);
	position: absolute;
	bottom: -4px;
	left: 0;
}

footer .items > .item > ul{
	margin: 10px;
	padding: 0;
	list-style: none;
	font-size: 14px;
}

footer .items > .item > ul > li{
	margin: 5px 0;	
}

footer .items > .item > ul > li > a{
	color: inherit;
	text-decoration: none;
}

#footerLegal{
	position: absolute;
	bottom: 10px;
	right: 0;
	font-size: 14px;
}


@media only screen and (max-width: 900px) {
	    
	#linetop > div:first-of-type{
	    display: none;
    }
    
    #linetop > #mobileNavigation{
        display: block;
    }
    
    #linetop > #mobileNavigationTitle{
	    display: block;
    }
    
    header > .content > nav{
/* 	    display: none; */
		background: #ec5347;
		width: auto;
		position: fixed;
		z-index: 2;
		height: 100%;
		margin: 0;
		top: 0;
		left: -100%;
		bottom: 0;
    }
    
    header > .content > nav > ul{
		flex-direction: column;
		margin: 60px 0 0 0;
	}
	
	header > .content > nav > ul > li[data-active="true"] span{
		color: #fff;
	}
	
	header nav > ul > li:first-of-type{
		display: list-item;
	}
	    
    .content{
	    width: calc(100% - 30px) !important;
		padding-left: 10px;
		padding-right: 10px;
    }
        
    header{
	    height: 40px;
    }
    
    main{
		padding-top: 40px;
	}

}

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


    .content[data-layout="headline"] > h1.headline{
	    font-size: 18px;
    }
    
    .content[data-layout="headline"] > h1.headline:after,
	.content[data-layout="headline"] > h1.headline:before{
		content: '';
		width: 35px;
		position: absolute;
		height: 1px;
		background: #a3a3a3;
		top: 50%;
		left: -60px;
	}
	
	.content[data-layout="headline"] > h1.headline:after{
		right: -60px;
		left: auto;
	}

	footer{
		overflow: hidden;
		height: auto;
		min-height: 250px;
	}
	
	#footerContact{
		height: calc(100% - 20px);
		position: absolute;
	}

	footer .content > .items{
		flex-direction: column;
	}
	
	#footerLegal{
		bottom: 3px;
		color: #343434;
		font-size: 11px;
	}
	
}