.main {
	margin-top: 7em;
}

header#address_line{
	visibility: hidden;
	position: fixed !important;
	width: 80em;
	max-width: 100%;
	display:flex;
	flex-wrap: nowrap;
	justify-content: flex-end;
	color: #FFFFFF;
	top: 0;
	z-index: 2000;
	border-top: 0;
	margin: 0 1em 0 0;
	padding: 1em 1em 1em 0;		
}

header#address_line span{
	padding-left:1.5em;
}


header#address_line a{
	color: #FFFFFF;
}


header#header {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	position: fixed !important;
	width: 80em;
	max-width: 100%;
	background: #4E5266;
	top: 0;
	z-index: 1000;
	border-top: 0;
	margin: 0 1em 0 0;
	padding: 1em 1em 0 0;	
}

#header #upper {
	width: 100%;
	justify-content: left;
	text-align: left;	
}

#header nav > ul{
	margin-top: 0;	
}

#banner {
	margin-top: 5em;
	z-index: 10;
}

header#header nav#top-right-nav{
	display: flex; 
  flex-direction: column;
  justify-content:center;
}

header#header nav#top-right-nav ul li a{
		font-size: 1.5em;
		
	}

/* 
	Back to Top 
*/
#back-to-top {
	position: fixed;
	bottom: 40px;
	right: 40px;
	z-index: 99999;
	cursor: pointer;
	text-decoration: none;
	font-size: 400%;
	width: 0px;
	height: 0px;
	background: #BEDEF8;
	border: 0;
	border-radius: 5px;
	transition: opacity 2.4s ease-out, transform 0.8s;
	opacity: 0;
}

#back-to-top::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -8px;
	margin-top: -12px;
	height: 0;
	width: 0;
	border: 8px solid transparent;
	border-bottom-color: #ffffff;
}

#back-to-top.show {
	width: 50px;
	height: 50px;
	filter: "alpha(opacity=80)";
	-ms-filter: "alpha(opacity=80)";
	opacity: 0.8;
	transform: rotate(360deg);
}

#back-to-top.show:hover {
	background-color: #FFA01D;
}

/* Seitenspezifische Styles für Divisions */
div#page-wrapper div.wrapper{
	padding: 1em 0 1em 0;
}


#logo-pic {
	object-position: 0 0;
	 max-width: 100%; 
	max-height: 22em;
	object-fit: contain;
}




#header div#header-right{
	display: flex;	
	flex-direction: row;
	margin-left: 1.5em;
	 flex-wrap: nowrap; 
	 padding-bottom: 1em;
}


/* Header */
#header div#header-right a {
	border-bottom: 0;
	color: inherit;
}

#header div#header-right a.logo {
	-moz-flex-grow: 0;
	-webkit-flex-grow: 0;
	-ms-flex-grow: 0;
	flex-grow: 0;
	-moz-flex-shrink: 1;
	-webkit-flex-shrink: 1;
	-ms-flex-shrink: 1;
	flex-shrink: 1;
	display: inline-block;
	font-size: 1.25em;
	font-weight: 500;
	letter-spacing: 0.1em;
	/* text-transform: lowercase;  */
	vertical-align: middle;
	visibility: hidden; 
}

#header div#header-right a.logo span {
	border-left: solid 1px rgba(255, 255, 255, 0.25);
	color: rgba(255, 255, 255, 0.5);
	display: inline-block;
	font-size: 0.8em;
	margin-left: 0.325em;
	padding-left: 0.825em;
	position: relative;
	top: -0.075em;	
}

@media screen and (min-width: 1279px) {
	header#address_line{
		visibility: visible;
	}
	div#logo-pic-frame {
		  visibility: initial;	
	}
	#header {
		margin: 0 0 2em 0;
	}
	#header>.logo span {
		top: -0.05em;
	}
}

@media screen and (max-width: 736px) {

	.main {
		margin-top: 1em;
	}
	
	header#header div#header-right a.logo{
		font-size: 1em
	} 
	#header {
		height: 5em;
		max-height: 60;
		line-height: 1.2em;
		margin: 0 0 0 0!important; 
		padding: 1 0 0 0 !important;
		text-align: left;
		justify-content: flex-start; 
		flex-wrap: nowrap;
	}
	
	#header .logo {
		margin: 0 0 0 0 !important;
		font-size: 1em;
		 white-space:pre-wrap;
		 text-align: left;
	}
	#header-right{
	text-align: left;
	margin: 1em 0 0 1em !important;
	font-size: 1em
	}
	
	#header #upper {
		visibility: hidden;
		width:0;
		height:0;
		padding:0;
		margin:0;
	}
	
	#menu_text{
		visibility: hidden;
		width:0;
		height:0;
		padding:0;
		margin:0;
	}
	
	header#header nav#top-right-nav ul li a::before{
		font-size: 1.2em;
		
	}	
	#header div#header-right a.logo{
		 visibility: visible;
	} 
	
	#banner {
		margin-top: 3em;
	}	
	
	.logo span{
		margin-left:0;
	}
		
}
	
