
@media screen and (min-width:769px) {
	div#wrapper {width:950px;margin:0 auto;position:relative; }
	header#banner {background-color: #0a63a9;height:459px;}
	header#banner a {color: #fff;}
	header#banner img {float:right;}
	header#banner nav {float:left;padding:30px 20px;width:272px;}
	header#banner h1 {margin-top:15px;}
	header#banner h1 a {text-decoration:none;}
	header#banner h1 strong {font-size: 0.6em;display:block;margin-top:10px;}
	#claim { background-image:url(../images/begleitung.gif);display:block;overflow:hidden;text-indent:-1000px;width:266px;height:35px;}

		header#banner nav ul {list-style-type:none;margin:0;margin-left:30px;width:210px;}
	header#banner nav ul li {display:block;padding-left:20px}
	header#banner nav ul li a:link, nav ul li a:visited {text-decoration:none;text-transform:uppercase;display:block;border-bottom:1px solid #fff;padding:3px 0 1px;}
	header#banner nav ul li.section { background-image:url(../images/pfeil-gelb.gif);background-repeat:no-repeat;background-position:left center;}
	header#banner nav ul li a:hover, header#banner nav ul li.section a:link, header#banner nav ul li.section a:visited {color:#f8a506}

	div#content-background {position:absolute; top:400px; left:13px;width:540px;height:200px;background-image:url(../images/scratch_left.gif);background-repeat:no-repeat;background-position:0px 59px;}
	div#content-background-page {margin-left:7px;background-color:#fff;width:540px;height:200px;}

	div#content-wrapper {position:absolute; top:410px; left:20px;width:920px;}
	section#content { float:left;width:415px;padding:30px 20px 40px 40px;min-height:150px;}

	aside#sidebar {float:left;width:436px; margin-top:30px; color:#fff;}
	aside#sidebar article { background-color: #0a63a9; margin-bottom:20px;padding:40px 30px 40px 30px}
	aside#sidebar article.highlight { background-color: #f8a506}
    aside#sidebar article .gallery { margin-top:10px; overflow:auto; width:396px; display: flex; flex-wrap: wrap; align-items: flex-start}
    aside#sidebar article .gallery img { display:block; margin-right:10px; margin-bottom:10px; cursor: pointer;width:calc(50% - 10px);}

	footer {float:left; border-top:1px solid #999999;width:100%;}
	footer .vcard {margin-top:20px;margin-bottom:100px;}
	footer .vcard span, footer .vcard a {display:block;float:left; margin-left:10px; padding-right: 10px;border-right:1px solid #646464;}
	footer .vcard span.given-name, footer .vcard span.tel, footer .vcard span.postal-code {border-right:none;padding-right:0;}
	footer .vcard span.family-name {margin-left:5px;}
	footer .vcard div {display:inline;}

	/* neu vom 19.08.18 */
	#foot_trennlinie {
		display:none;
	}
	#burgermenu {
		display:none;
	}
}

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

	body {		
		overflow-x:hidden; 
	}	
	td {
		width:auto !important;
		white-space:normal;
	}
	td img {
		max-width:100%;
	}
	#claim { 
		background-image:url(../images/vogelsang_claim.jpg);
		background-repeat:no-repeat;
		display:block;
		overflow:hidden;
		text-indent:-1000px;
		width:220px;
		height:29px;
		margin: 10px 0 10px 10px;
	}
	#burgermenu {
		position:fixed;
		width: 100%;
		height:85px;
	}
	#banner img {
		padding-top: 85px;
	}
	#banner h1 {
		color:white;
		margin-bottom:0;
		background-color:#0078B8;
		padding-bottom: 10px;
	}
	strong {
		font-size:8px;
		margin-right:10px;		
	}
	h1 span {
		font-size:12px;
		padding-right:20px;
	}
	h1 {
		display:flex;
		margin-left: 10px;
		justify-content: flex-start;
		align-items:flex-start;
		flex-wrap:nowrap;
	}
	h1 span, strong {
		color: #FFFFFF;
	}
	h2 {
		margin-top:30px;
		margin-left:10px;
	}
	#title a {
		font-size:12px;
	}
	#title strong {
		font-size:8px;
	}
	nav {
		background-color:#0078B8; 
	}
	#banner a {		
		text-decoration:none;
		font-size:12px;
		margin-right:20px;
	}	
	#banner img {
		width:100%;		
	}
	article.page {
		width:100%;
	}
	article {
		margin-bottom: 30px;
	}
	#normal_nav{
		display:none;
	}
	#sidebar {
		background-color:#F4A331;
	}
	.gallery img {
		width:calc(50% - 30px);
		margin: 10px 10px 10px 10px;
	}
	.page p {
		margin-left:10px;
		margin-right:10px;
	}
	.content ul {
		padding-bottom: 20px;
	}
	.content a {
		color: #FFFFFF;
	}
	.content li {
		color: #FFFFFF;
	}
	.page strong {
		font-size: 14px;
	}
	h3 {
		padding:30px 10px 0 10px;
		color:#FFFFFF;
	}
	h4 {
		margin-left:10px;
		margin-right:10px;
	}
	#sidebar p {
		color:white;
		padding:0 10px 30px 10px;
	}
	tr {
		width:100%;
	}
	footer {
		color:#999999;
		margin: 0 10px 10px 10px;
	}
	#publishing-info a {
		color:#999999;
		text-decoration:none;
		font-size:12px;
	}
	#publishing-info span {
		color:#999999;
		font-size:12px;
	}
	#foot_trennlinie {
		margin-bottom:10px;
		border:none;
		border-bottom: 2px solid #999999;
		font-weight: 1px;
		height:2px;
	}
	#erstezeile {
		display:flex;
		align-items:center;
		justify-content:space-between;
	}
/*Bürgermenü Anfang */
	
	#menu a:hover {
  		color: #F4A331;
	}
	#menuToggle {
 		display: block;  		  
 	 	z-index: 1;  
  		-webkit-user-select: none;
  		user-select: none;
  		margin-right: 30px;
	}
	#menuToggle input {
  		display: block;
  		width: 12%;
  		height: 37px;
  		position: absolute;
  		top: -7px;
  		right: 20px;  
  		cursor: pointer;  
  		opacity: 0;
  		z-index: 2;  
  		-webkit-touch-callout: none;
	}
	#menuToggle span {
  		display: block;
  		width: 31px;
  		height: 3px;
  		margin-bottom: 5px;
  		position: relative;  
  		background: white; 
  		z-index: 1;  
  		transform-origin: 4px 0px;  
  		transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
	}
	#menuToggle span:first-child {
  		transform-origin: 0% 0%;
	}
	#menuToggle span:nth-last-child(2) {
  		transform-origin: 0% 100%;
	}
	#menuToggle input:checked ~ span {
		opacity: 1;
  		transform: rotate(45deg) translate(-3px, -1px);
  		background: /*#232323 */#FFFFFF;
	}
	#menuToggle input:checked ~ span:nth-last-child(3) {
  		opacity: 0;
  		transform: rotate(0deg) scale(0.2, 0.2);
	}
	#menuToggle input:checked ~ span:nth-last-child(2) {
  		opacity: 1;
  		transform: rotate(-45deg) translate(0, -1px);
	}
	#menu {
  		position: fixed;
  		width: 100%;
  		height:100%;
  		margin: 2.8em 0 0 0;
  		padding: 50px;
  		padding-top: 30px;  		
  		/*padding-bottom: 1000px;*/
  		right: -100px;  
  		background: #0078B8;
  		list-style-type: none;
  		-webkit-font-smoothing: antialiased;  
  		transform-origin: 0% 0%;
  		transform: translate(100%, 0);  
  		transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
	}
	#menu li {
  		padding: 10px 0;
  		font-size: 14px;
  		border-top: 1.5px solid #FFFFFF;
  		width: 80%;
	}
	#menu li:first-child {
		border:none;
	}
	#menu a {
  		text-decoration: none;
  	 	padding-left:10px;
  		transition: color 0.3s ease;
	}	
	li.section a {
		color: #F4A331;		
	}
	li.section {
		background-image: url(../images/pfeil-gelb.gif);
		background-repeat:no-repeat;
		background-position: left center;
	}
	.link a {
		color: #FFFFFF;
	}
	#menuToggle input:checked ~ ul {
  		transform: scale(1.0, 1.0);
  		opacity: 1;
	} 
	table p {
		margin-left:10px;
	}
/*Bürgermenü Ende */
}

/* Silverstripe 4.11+ width/height attributes: keep aspect ratio */
img { height: auto; }
