* {
	padding:0;
}

a { 
	color:#666600;
	font-weight:bold;
}

a:hover {
	color:#ffffff;
	background-color:#666600;	
}

a.activepage {
	color:#ff0000;		
}

body {
	font-family:"Segoe UI",Arial;
	background: white;
}


.container {
	flex-direction: column;
	color:#666600;
	background: white;
	margin: 0 auto;
		
	max-width: 980px;
	display:flex;
	
	flex: 1;
	position:relative;
	
	border-radius:0.5em;
	border-radius:0.5em;		
}


.header {
	text-align: center;
	border: none;
	
	margin-bottom: 20px;
	height:100px;
}	

.headertop {
	position:absolute;
	height:50px;
	width:100%;
	margin-bottom:128px;
	background-color:#666600;
			
	border-top-left-radius:0.5em;
	border-top-right-radius:0.5em;
			
}

.headerlogo {
	position:absolute;
	width:100%;
	height:64px;
	color:#000000;
	background-image: url("../img/logo-logopaedie-cs-256x64-transparent-2.png");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 256px 64px;
	top:17px;
}

img.anfahrt {
	content:"";
	background-image: url("../img/anfahrtskizze-300x300-2.png");
	display:block;
	background-size: 300px 300px;
	background-repeat: no-repeat;
	background-position: center center;
	width:300px;
	height:300px;
}


div.content {
	display: flex;
	flex-direction: column;
	
	padding: 0;
	flex: 1;
	max-width:auto;
	
	padding-left:0.5em;
	padding-right:0.5em
}

	
article {
	flex: 1;
	order: 1;
}



div.sidecontent {
	order: 2;
	flex:1;
}
	
aside {
	order: 2;
	flex-direction:column;
}

.sidebar, .sidenav, .contactdata, .infonav {
	margin-top: 1em;		
	border-top: 1px solid #666600;
}	

div.sidebar {
	flex: 1;
	order: 2;
	
}

div.sidenav {
	flex: 1;
	order: 3;
}



	
.sidenav, .infonav ul {
	display: flex;
	flex-direction: column;
}

.sidenav, .infonav li {
	list-style-type: none;
}

.sidenav, .infonav li a {
	text-decoration: none;
	color: #666600;
	width:auto;
	display:block;
	padding-left:1em;
	border-radius:0.5em;
	padding-top:0.1em;
	padding-bottom:0.1em;

}

.sidenav, .infonav li a:hover {
	text-decoration: none;
	color: #ffffff;
	background-color: #666600;
}


.footer {
	background-color:#666600;
	color:#ffffff;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items:flex-start;
	
	border-bottom-left-radius:0.5em;
	border-bottom-right-radius:0.5em;	
}

.footeritem {
	flex: 1 1 auto;
	margin-left:10px;
	margin-right:10px;
	border-radius:0.5em;	
}

.emptyfooteritem {
	border: 1px solid blue;
	flex: 1 1 auto;
	margin-left:10px;
	margin-right:10px;
}

.footeritem a {
	text-decoration:none;
	color: #ffffff;
	width:auto;
	display:block;
	text-align: center;	
}

.footeritem a:hover {
	color:#666600;
	background-color:#ffffff;
}


#copyright {
	flex: 2 0 auto;
	text-align: right;
	padding-right:10px;
	margin-top:10px;
	margin-bottom:10px;
}

h1 {
		padding-top:0px;
		margin-top:0px;
	}


p#phone {
	font-weight:bold;
}


/* desktop, wird gesetzt, wenn Bildschirm größer */
@media screen and (min-width: 768px) {
	
	body {
		height: 95vH;
	}
	
	
	.container {
		flex-wrap: nowrap;
		box-shadow: 10px 10px 10px 5px #999;
		
		min-height:100%;
		margin: 0 auto;				
		margin-bottom: 20px;
	}
	
	.header {
		height:200px;
	}
	
	
	.headertop {
		height:100px;
		margin-bottom:200px;
	}
	
	
	.headerlogo {
		height:128px;
		background-image: url("../img/logo-logopaedie-cs-512x128-transparent-2.png");
		background-size: 512px 128px;
		top:36px;
	}
	
	img.anfahrt {
		background-image: url("../img/anfahrtskizze-512x512-2.png");
		background-size: 512px 512px;
		width:512px;
		height:512px;
	}
		
	div.content {
		flex-direction: row;

		flex: 1;
		align-items: flex-start;
		padding: 10px;
		
		flex-wrap: wrap;
	}
	
	
	article {
		flex: 3;
		
		margin-top:0px;
		padding-top:0px;
		margin-bottom:10px;
		margin-right:10px;
	
	}
	
	
	aside {
		padding-top: 0;
		margin-top: 0;
		padding-left: 1em;
		border-left: 1px solid #666600;
		border-top: none;
		margin-bottom: 2em;
		padding-right: 1em;		
	}
	
	
	.sidebar, .sidenav, .contactdata, .infonav {
		padding-top: 0;
		margin-top: 0;
		padding-left: 1em;
		border-left: 1px solid #666600;
		border-top: none;
		margin-bottom: 2em;
		padding-right: 1em;
		order: 2;
	}
	
	
	.footer {
		position:absolute;
		width:100%;
		bottom:0px;
		height:30px;
		
		flex-direction: row;
		align-items:center;
	}
	
	.footeritem a {
		border-radius:0.5em;		
	}

	
	#copyright {
		margin-top:0;
		margin-bottom:0;
	}
}

