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

#scrollspacer{
	height: 5000px;
	width: 0;
}


#mobileHeader{				
	background: #fbfbfb;
	height: 100px;
	display: flex;
	justify-content: space-around;
	align-items: center;
	
	position: fixed;
	top: calc(25% - 170px);
	top: 20px;
	width: 100%;
	left: 0;
	right: 0;
}

#mobileHeader > img{
	max-height: calc(100% - 20px);
	max-width: calc(100% - 20px);
	margin: 10px;
	margin-left: calc(50% - 174px);
}

#mainlines,
#sublines{
	min-height: 445px;
	position: fixed;
	top: 50%;
	margin-top: -240px;
	top: 140px;
	margin-top: 0;
	left: 0px;
	right: 0px;
	z-index: 1;

	font-family: Arial;
}

.line{
/* 				height: 110px; */
	height: 140px;
	width: calc(100% - 10px);
	border-right: 10px solid;
	opacity: 1;
	cursor: pointer;
	transition: opacity 200ms ease, border-color 200ms ease;
	overflow: hidden;
	
	background: #d9d9d9;
	border-color: #9d9d9d;
}

.line[data-href=""]{
	cursor: default;
}

.line:hover{
	opacity: 1;
}

.line:hover > .content{
	border-right-width: 10px;
	padding-right: 0;
}

.line:nth-of-type(1){
	background: #EC5347;
	border-color: #AC443C;
	color: #AC443C;
	
	height: 165px;

/*	background: #234563;
	border-color: #122B3D;
	
	background: #E86D68;
	border-color: #c95454;
	*/
}

.line:nth-of-type(2){
	background: #28629F;
	border-color: #193951;
	color: #193951;
	
	
}

.line:nth-of-type(3){
	background: #33CCFC;
	border-color: #2592B6;
	color: #2592B6;
}

.line:nth-of-type(4){
	background: #cacaca;
	border-color: #9d9d9d;
	color: #515151;
}

.line:nth-of-type(5){
	background: #d9d9d9;
	border-color: #9d9d9d;
	color: #515151;
}

.line:nth-of-type(6){
	background: #e6e6e6;
	border-color: #9d9d9d;
	color: #515151;
}

.line:nth-of-type(7){
	background: #eaeaea;
	border-color: #9d9d9d;
	color: #515151;
}

.line > .content{
	width: calc(92% - 412px);
/* 	background: red; */
	height: 100%;
	float: right;
	position: relative;
}

.line > .content:after{
	content: '';
	position: absolute;
	right: 0;
	height: 100%;
	width: 10px;
}

#sublines{
/* 	background: red; */
	top: 690px;
	display: none;
}

#sublines > .line{
	background: rgba(205, 205, 205, 1);
	border-color: #b9b9b9;
	color: #838383;
	margin-bottom: 10px;
}

#sublines > .line > .image{
	width: 400px;
	height: 100%;
	background: #b9b9b9;
	margin-left: 8%;
}

#sublines > .line > .image > img{
	max-width: 100%;
	max-height: 100%;
}


#footline{
	padding: 20px 0 0;
	height: 60px;
	cursor: default;
	border-color: transparent;
	z-index: 1;
	display: none;
}

#footline > .content{
	display: flex;
	justify-content: space-around;
}

#footline > .content img{
	margin: 5px;
	height: 55px;
	cursor: pointer;
}

	
.line > .content > h1{
	font-size: 29px;
	padding: 0px;
	margin: 15px;
}

.line > .content > h3{
	font-size: 15px;
	padding: 0px;
	margin: 15px;
	color:rgba(255, 255, 255, 1);
/* 				font-weight: normal; */
	opacity: 0.8;
	transition: opacity 200ms ease;
}

.line:nth-of-type(4n+4) > .content > h3,
.line:nth-of-type(4n+5) > .content > h3,
.line:nth-of-type(4n+6) > .content > h3,
.line:nth-of-type(4n+7) > .content > h3{
	color: #636363;
}

.line:hover > .content > h3{
	opacity: 1;
}
		
/*
.line:nth-of-type(3){
	background: #A4EBA9;
	border-left-color: #5DB53F;
}

.line:nth-of-type(4){
	background: #E7EC81;
	border-left-color: #6A6C3B;
}*/

#box{
	background: #fff;
	box-shadow: 0px 5px 10px -5px rgba(0,0,0,0.25);
	position: fixed;
	height: 600px; /* + 2*30 */
	width: 400px;
	top: 50%;
	margin-top: -270px;
	top: 110px;
	margin-top: 0;
	left: 8%;
	z-index: 2;
	font-size: 14px;
}

#box > #box_content{
	height: 580px;
	width: 400px;
	overflow: hidden;
}

#box_content > #box_content_wrapper{
	width: 2000px;	
}

#box_content .box_content{
	width: 400px;
	height: 520px;
	float: left;
}

/* simple direct image depreciated, except row but not used */
.box_content img{
	width: 360px;margin: 20px;
}

.box_content img[data-layout=row]{
	width: 110px;margin: 20px;
	margin-right: -10px;
}

/** wrapped, centered image, max-height: 50% ? */
.box_content > .image{
	height: 260px;
	min-height: 100px;
	text-align: center;
}

.box_content > .image img{
	margin: 20px;
	height: calc(100% - 40px);
	width: auto;
}

.box_content > div.text{
	width: 360px;
	margin: 20px;
	font-size: 16px;
}

/* rte-editor fix */
.box_content > div.text *{
	font-size: 16px !important;
	font-family: 'Raleway' !important;
}

.box_content > div.text[data-layout=special]{
	color: #fff;
	background: rgba(0, 0, 0, 0.78);
	padding: 10px;
	position: relative;
	width: 340px;
}

.box_content > div.text[data-layout=special]:before{
	content: '';
	position: absolute;
	width: 370px;
	background: #222;
	height: 1px;
	top: -2px;
	left: -5px;
}

.box_content > div.text[data-layout=special]:after{
	content: '';
	position: absolute;
	width: 370px;
	background: #222;
	height: 1px;
	bottom: -2px;
	left: -5px;
}



#box > #box_navigator{
	width: 100%;
	display: flex;
	height: 20px;
	padding-top: 8px;
	justify-content: center;
}

#box > #box_navigator > .item{
	background: #e3e3e3;
	height: 4px;
	width: 12px;
	margin: 0px 4px;
	cursor: pointer;
}

#box > #box_navigator > .item[data-active="true"],
#box > #box_navigator > .item:hover{
	background: #ec5347;
}

footer{
	width: calc(100% - 10px);
	bottom: 0;
	left: 0;
	position: fixed;
	font-size: 13px;
	background: rgb(0,0,0,0.05);
	color:#585858;
	padding: 5px;
}

footer > div{
	margin: 0 5px;
}

footer > #footerCR{
	float: left;
}

footer > #footerLegal{
	float: right;
}

footer > #footerLegal > a{
	color: inherit;
	text-decoration: none;
	margin-left: 10px;
}

footer > #footerLegal > a:hover{
	text-decoration: underline;
}



#kontakt{
	width: 400px;
	position: fixed;
	bottom: 0px;
	left: 8%;
	line-height: 40px;
	height: 40px;
	color: #a2a2a2;
	font-size: 13px;
	
	display: none;
}

#kontakt > span{
}

#kontakt > span:nth-of-type(2){
	float:right;
}

#kontakt > span:nth-of-type(3){
	float:right;
	padding-right: 20px;
}




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

	#mobileHeader{
		border-bottom: 1px solid #c1c1c1;
		position: static;
	}
	
	#mobileHeader > img{
		margin-left: 10px;
	}

	#box{
		position: static;
		margin: 20px auto;
		left: auto;
	}
		
	#mainlines{
		position: static;
		margin: 0;
		top: auto;
	}

	#mainlines > .line{
		border-right: none;
		width: 100%;
		height: auto;
	}
	
	#mainlines > .line > .content{
		width: calc(100% - 20px);
	}
	
	footer{
		position: static;
		margin: 15px 0 0;
		height: 15px;
	}

}

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

	#box{
		position: static;
		margin:0;
		padding-top: 20px;
		width: 100%;
		max-height: calc(100vh - 140px);
		padding-bottom: 20px;
		font-size: 13px;
	}
	
	#box > #box_content{
		width: 100%;
		max-height: calc(100vh - 140px);
	}
	
	#box > #box_content .box_content{
		width: 100vw;
	}
	
	#box > #box_content .box_content > .text{
		width: calc(100% - 20px);
		margin: 10px;
	}
	
	#box > #box_content .box_content > img{
		width: 100%;
		margin: 0;	
		
		/*
		max-height: 120px;
		object-fit: cover;
		*/
	}
	
	#mainlines{
		position: static;
		margin: 0;
		top: auto;
	}

	#mainlines > .line{
		border-right: none;
		width: 100%;
		height: auto;
	}
	
	#mainlines > .line > .content{
		width: calc(100% - 20px);
	}

	footer{
		height: 33px;
		font-size: 11px;
		text-align: center;
	}
	
	footer > #footerLegal,
	footer > #footerCR{
		float: none;
	}
	
	footer > #footerLegal{
		margin-top: 5px;
	}

}
