 html
 {
  margin: 0px;
  padding: 0px;
  text-align: center;
  width: 100%;
 }
 body
 {
  margin: 0px;
  padding: 0px;
  background-color: #ffffff;
  color: #444444;
  font-family: 'verdana';
  line-height: 170%;
  font-size: 15px;
  text-align: center;
  width: 100%;
 }

#header-full
 {
  width: 100%;
  height: 580px;
  padding: 0px;
  text-align: center;
  background:url(/files/osb-neu/img/bg-header.jpg) top center repeat-x;
 }

#logo
 {
  margin: 0px auto;
  width: 980px;
  height: 65px;
  padding: 0px 20px;
  text-align: left;
  font-size: 36px;
  color: #ffffff;
  line-height: 100px;
  font-weight: bold;
 }

#header
 {
  margin: 0px auto;
  width: 980px;
  height: 580px;
  padding: 0px;
  text-align: center;
  background:url(/files/osb-neu/img/shadow.png) top center no-repeat;
 }

#header img
 {
  border: 1px solid #ffffff;
 }

#navi-full
 {
  margin: 0px auto;
  width: 100%;
  height: 50px;
  padding: 0px 0px 0px 0px;
  text-align: center;
  background:url(/files/osb-neu/img/bg-nav.png) top center repeat-x;
 }

#navi
 {
  margin: 0px auto;
  width: 975px;
  height: 50px;
  padding: 0px 0px 0px 10px;
  text-align: center;
 }

 div#content
 {
  margin: 20px auto;
  width: 980px;
  padding: 0px;
  text-align: left;
  background:url(/files/osb-neu/img/bg-content.png) top center repeat-y;
 }
 
 #main
 {
  float: left;
  margin: 0px;
  width: 610px;
  height: 100%;
  padding: 0px 20px;
  text-align: left;
 }
 
 #right
 {
  float: right;
  margin: 0px;
  width: 290px;
  height: 100% !important;
  padding: 0px 20px;
  text-align: left;
 }
 
#footer-full
 {
  margin: 0px;
  width: 100%;
  height: 160px;
  padding: 20px 0px;
  text-align: center;
  background:url(/files/osb-neu/img/bg-footer.jpg) top center repeat-x;
 }

#footer
 {
  margin: 0px auto;
  width: 980px;
  height: 180px;
  padding: 0px;
 }

#footer-left, #footer-mid, #footer-right
 {
  float: left;
  padding: 0px 20px;
  color: #ffffff;
 }

#footer-left, #footer-mid, #footer-right
 {
  width: 290px;
  text-align: left;
 }

#footer-mid
 {
  width: 280px;
  text-align: center;
 }

#footer-right
 {
  width: 290px;
  text-align: right;
 }

#footer-right ul
 {
  list-style: none;
  margin: 0px;
  padding: 0px;
 }

 div.clear
 {
   clear: both;
 }
 
 h1
 {
  font-size: 18px;
  font-weight: bold;
  margin: 0px;
  padding: 0px;
 }

 h2
 {
  font-size: 15px;
  font-weight: bold;
  margin: 0px;
  padding: 0px;
 }
 
a:link, a:visited
{
	color: #000;
	text-decoration: underline;
	font-weight: normal;
}

a:hover, a:active
{
	color: #888;
	text-decoration: underline;
	font-weight: normal;
}

#footer a:link, #footer a:visited
{
	color: #ffffff;
	text-decoration: underline;
	font-weight: normal;
}

#footer a:hover, #footer a:active
{
	color: #aaaaaa;
	text-decoration: underline;
	font-weight: normal;
}

.mod-navigation
{
  margin: 0px auto;
}

#navi ul
{
  list-style-type: none;
  margin: 0px;
  padding: 0px;
}

#navi ul, #navi li{
	float:left;
	}
	
#navi ul li a, #navi ul.level_1 li span{
	color: #ffffff;
	width: auto;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 14px;
	line-height: 50px;
	text-decoration:none;
	text-align:center;
	border-right: 1px solid #fff;
	display: block;
	font-weight: bold;
	padding: 0px 23px;
}

#navi ul li.first a, #navi ul.level_1 li.first span{
	border-left: 1px solid #fff;
}

#navi ul li span:hover, #navi ul li a:hover{
        color: #336699;
	background: #ffffff;
}

#navi ul.level_2{
	position:absolute;
	left: -9999px;
	margin: 0px;
	padding: 0px;
	text-align: left;
}

#navi ul li:hover ul{
	left:auto;
	width: 300px;
	margin-top: 0px;
	z-index: 99;
}

#navi ul.level_2 li{
	width: 250px;
	margin: 0px;
	padding: 0px;
	float:none;
	}

#navi ul.level_2
{
  margin-left: -2px;
  border-left: 1px solid #444444;
  border-right: 1px solid #444444;
  border-bottom: 1px solid #444444;
  background: #ffffff;
  width: 300px;
}

#navi ul li li a, #navi ul li li span.active{
	color: #444444;
	font-family: 'Verdana';
	text-transform: uppercase;
	letter-spacing: normal;
	font-size: 10px;
	background: #ffffff;
	display: inline-block;
	width: 250px;
	height: 30px;
	line-height: 30px;
	text-align: left;
	border-bottom: 1px solid #eeeeee;
	text-indent: 0px;
	}
	
#navi ul li li a:hover, #navi ul li li span.active{
        color: #336699;
	background: #ffffff;
}


div.pagination ul
{
  margin: 0px;
  padding: 0px;
}

div.pagination li
{
  margin: 0px 10px 0px 0px;
}

div.pagination ul, div.pagination li
{
  display: inline-block;
}

div.ce_gallery li.odd, div.ce_gallery li.even
{
  width: 180px;
  text-align: center;
}

label
{
  display: inline-block;
  width: 160px;
}

input.text
{
  width: 360px;
}

input.text, input.captcha, input.submit
{
  border: 1px solid #666666;
}

textarea
{
  width: 360px;
  border: 1px solid #666666;
}

div.submit_container
{
  width: 100%;
  text-align: right;
}

input.submit
{
  background-color: darkred;
  color: #ffffff;
  margin: 20px 15px 0px 0px;
}

div.mod_eventlist div.header
 {
   margin: 10px 0px 5px 0px;
 }
 
div.mod_eventlist h2
 {
   margin: 0px;
 }
 
 figure
{
  margin: 3px;
  padding: 10px;
  border: 1px solid #aaaaaa;
}

figure.float_left
{
  margin: 25px 10px 0px 0px;
}

figure.float_right
{
  margin: 25px 0px 0px 10px;
}
/* mobile layout (oberschule-bodenwerder) */
@media (max-width: 1000px) {
  html, body { overflow-x: hidden; }
  #logo, #header, #navi, div#content, #footer { width: 100% !important; max-width: 100%; box-sizing: border-box; }
  #logo { padding: 0 10px; }
  #header { height: auto !important; background-size: 100% auto; }
  #header-full { height: auto !important; }
  #newlogo img { max-width: 60% !important; height: auto !important; }
  #slider, #slider .mod_rocksolid_slider { max-width: 100% !important; }
  #navi-full { height: auto !important; background-size: auto 100%; }
  #navi { height: auto !important; padding: 0; }
  #navi ul, #navi li { float: none; display: inline-block; }
  #navi ul.level_1 { display: block; text-align: center; }
  #navi ul li a, #navi ul.level_1 li span { padding: 0 12px; font-size: 13px; line-height: 40px; }
  #navi ul.level_2 { max-width: 90vw; }
  div#content { background-image: none; margin: 10px auto; overflow: hidden; }
  #main, #right { float: none !important; width: auto !important; max-width: 100%; height: auto !important; padding: 0 12px; box-sizing: border-box; }
  #main img, #right img, #main iframe, #main video, #main table { max-width: 100% !important; height: auto; }
  #main table { display: block; overflow-x: auto; }
  #footer-full { height: auto !important; }
  #footer { height: auto !important; }
  #footer-left, #footer-mid, #footer-right { float: none !important; width: auto !important; padding: 10px 20px; box-sizing: border-box; }
  figure.float_left, figure.float_right { float: none; margin: 10px 0; }
}

/* blog pages: no sidebar, so no vertical divider */
div#content:has(> .nwab2ff) { background-image: none; }
