/* CSS RESET
----------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed,  figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

@charset "utf-8";

html  {
   font-family: Verdana, Geneva, sans-serif;
   font-size: 62.5%;
   line-height: 180%;
   color: #666;
   background-color: grey;
}

body {
   font-size: 1.4em;
}

@media (max-width: 768px) {
  body {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
	h1 {
	   font-family: "Courier New", Courier, monospace;
	   font-size: 100%;
	   margin: 0; }
	h2 {
	   font-family: "Courier New", Courier, monospace;
	   font-size: 50%;
	   margin: 0; }
}

h1 {
   font-family: "Courier New", Courier, monospace;
   font-size: 200%;
   margin: 0; }

div {
   border: 0;
   margin: 5px;
   padding: 10px;
}

ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a {
	outline: none;
	text-decoration: none;
	-webkit-transition: color 0.3s ease-in-out;
	-moz-transition: color 0.3s ease-in-out;
	-o-transition: color 0.3s ease-in-out;
	-ms-transition: color 0.3s ease-in-out;
	transition: color 0.3s ease-in-out;
	color: #000099;
}
a:hover {
	color: #9398AE;
}
h1, h2, h3, h4, h5, h6 {
	text-rendering: optimizeLegibility;
}

#wrapper {
	width:97%;
	display:table;
}

@media (max-width: 768px) {
  #wrapper {
    flex-direction: column; /* Vertikal auf kleineren Bildschirmen */
  }
}

@media (max-width: 768px) {
	#header {
		border-radius: 10px;
		height: auto;
		max-width: 90%;
		margin: 15px;
		background-color: #fff;
	        display: inline-block;
		font-size: 50%;
	}

	#header img.header-image {
        	max-width: 20%;
	        height: auto;
		float: right;
	}

}

#header {
	border-radius: 10px;
	height: auto;
	width: 96%;
	margin: 15px;
	background-color: #fff;
        display: inline-block;
}

#header img.header-image {
        width: auto;
        height: auto;
	float: right;
}
#site-title {
        font: bold 2.5em TimesNewRoman, sans-serif;
       	color: blue;
	letter-spacing: -1px;
       	text-align: center;
       	text-shadow: 1px 1px 2px #ccc;
       	margin: 1% 0 0 0;
       	padding: 2% 0 0 0;
}
#site-description {
	font: bold 1.5em TimesNewRoman, sans-serif;
	color: blue;
       	text-align: center;
       	text-shadow: 1px 1px 2px #ccc;
       	margin: 0;
       	padding: 0 0 1% 0;
}

#mainnav {
	margin: 0;
	padding: 0;
	border: 0;
	width: auto;
//	width: 20%;
	display:table-cell;
	background-color:#ccc;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#aaa));
	background: -moz-linear-gradient(0% 6% 270deg,#fff, #aaa);
	border-radius: 10px 0 0 10px;
}

/* Menüschalter nur auf mobilen Geräten anzeigen */
#menu-toggle {
  display: none;
  cursor: pointer;
}


/* Menü als Dropdown für mobile Geräte */
@media (max-width: 768px) {
  #mainnav {
    display: none;
  }
}
@media (max-width: 768px) {
  #menu-toggle {
    display: block;
    background-color: #ccc;
    color: white;
    text-align: center;
    padding: 10px;
  }

  #menu-toggle.active + #mainnav {
    display: block;
    background-color: #ccc;
  }
}


#mainnav h3, #mainnav ul {
	margin: 0.3em;
	list-style: none;
}
#mainnav ul {
	margin: 0px 20px 10px;
}
#mainnav ul li ul {
        margin: 0px;
}
#mainnav .sub-header {
        font: bold 1em Arial, Helvetica, sans-serif;
//        text-transform: uppercase;
        color: #000033;
        display: block;
        padding: 5px 0px 0px 0px;
}
#mainnav .sub-navi {
        padding: 5px 0px;
}
#mainnav .sub-navi li {
        background: url(images/bohrer_klein.png) no-repeat left center; 
        padding: 0px 0px 0px 15px;
        margin: 5px 0px 0px 5px;
}
#mainnav li.current a {
        color: #000033;
}
#mainnav li.current a:hover {
        color: #9398AE;
}

#main {
	margin: 0;
	padding:  0 2%;
	border: 0;
	display:table-cell;
	background-color:#ddd;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#ddd));
	background: -moz-linear-gradient(0% 6% 270deg,#fff, #ddd);
	border-radius: 0 10px 10px 0;
}
@media (max-width: 768px) {
	#main {
		margin: 0;
		padding:  0 2%;
		border: 0;
		display:table-cell;
		background-color:#ddd;
		background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#ddd));
		background: -moz-linear-gradient(0% 6% 270deg,#fff, #ddd);
		border-radius: 10px;
	}
}

#main article h1 {
        font: bold 1.75em Arial, Helvetica, sans-serif;
        color: #aaa;
        padding: 5px 20px 0px 0px;
        letter-spacing: -1px;
        margin: 2%;
}
#main article img.header-image {
        width: 45%;
        height: auto;
	margin-right: 4%;
	border-radius: 10px;
}
#main article img.anfahrt-image {
        width: 20%;
        height: auto;
	margin-right: 4%;
	border-radius: 10px;
}
#main article img.zert-image {
//        width: 20%;
//        height: auto;
	margin-left: 3%;
	border-radius: 10px;
}

@media (max-width: 768px) {
	#main article img.zert-image {
	        max-width: 20%;
	        height: auto;
		margin-left: 3%;
		border-radius: 1px;
	}

}

#main article h2 {
        font: bold 1.5em Arial, Helvetica, sans-serift;
        color: #000033;
        margin: 0px 0px 10px;
        padding:  5px 20px 0px 0px;
}
#main article h3 {
        font: bold 1.25em Arial, Helvetica, sans-serif;
        color: #000033;
        margin: 0px 0px 10px;
        padding: 5px 20px 0px 0px;
}
#main article p {
        margin: 0px 0px 15px;
        padding: 0px 20px 0px 0px;
}
#main article mark {
        background: none;
}
#main article p#last {
        margin: 0px 0px 85px;
        padding: 0px 40px 0px 0px;
}
#main article p#imgdesc {
        margin: 0px 0px 40px;
        padding: 0px 40px 0px 0px;
        text-align: center;
}
#main article p strong {
        font-weight: bold;
}
#main article p em {
        font-style: italic;
}
#main article ul {
        margin: 0px 0px 15px;
        padding: 0px 30px 0px 20px;
}
#main article ul li {
        background: url(images/dot.gif) no-repeat 0px 4px;
        margin: 0px 0px 5px;
        padding: 0px 20px 0px 15px;
}
#main article .image-list {
        margin: 0px 0px 20px;
        padding: 0px 20px 0px 0px;
}
#main article .image-list a, #page article .image-list .caption  {
        float: left;
        display: block;
}
#main article .image-list .caption {
        margin: 0px 10px 0px 0px;
}
#main article .image-list .caption:last-child {
        margin: 0px 0px 0px 0px;
}
#main article .image-list .caption p {
        font-style: italic;
        color: #666;
        text-align: center;
        margin: 0px;
        padding: 0px;
        letter-spacing: 1px;
}
#main article .image-list a img, #page article .image-list .caption a img  {
        margin: 0px 1px 1px 0px;
        padding: 0px;
        opacity: 0.8;
        display: block;
        filter:Alpha(opacity=80);
        -webkit-transition: opacity 0.4s ease-in-out;
        -moz-transition: opacity 0.4s ease-in-out;
        -o-transition: opacity 0.4s ease-in-out;
        -ms-transition: opacity 0.4s ease-in-out;
        transition: opacity 0.4s ease-in-out;
}
#main article .image-list a:hover img, #page article .image-list .caption a:hover img {
        opacity: 1;
        filter:Alpha(opacity=1);
}

#scrollToTop {
      position: fixed;
      bottom: 50px;
      right: 30px;
      background-color: #333;
      color: white;
      padding: 10px;
      border-radius: 50%;
      text-align: center;
      font-size: 24px;
      cursor: pointer;
      display: none; /* Unsichtbar, bis der Nutzer scrollt */
      z-index: 1000;
}

 #scrollToTop:hover {
      background-color: #555;
}

#footer {
	clear:both;
        display: inline-block;
	border: 0;
	width: 96%;
	border-radius: 10px;
	margin: 0 15px 0;
	background-color: #ddd;
}
#footer ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: auto;
       	float: left;
}
#footer ul li {
        padding: 10px 5px 12px;
        text-align: center;
	float: left;
}
#footer ul li:last-child {
        padding-right: auto;
}
#footer ul li a, #page footer ul li span {
        color: #00F;
        text-shadow: 1px 1px 0px #fff;
}
#footer ul li a:hover {
        color: #aaa;
}

