/*
	Author: jEnNe
*/
header,nav,footer {display:block;} 
html {min-height:100%;
     
 background: url(../img/bg.jpg) repeat-x fixed #f5f5f5;
}
body {
    margin: 0;
    padding: 0;
    /*background: url(bg000000.jpg) repeat-x fixed #f5f5f5;*/
    color: #003D60;
    font: 80% Verdana, verdana, sans-serif;
}
*1 {box-sizing:border-box;}
#container {
    border: 1px solid #f3641e;
    width:98%;
    max-width:1000px;
    color: #003D60;
    margin: 5px auto 0 auto;
    background: #fff;    
}
a  {text-decoration:none;}
.pdf {
    display: block; 
    height: 260px; 
    max-width:900px;
    width:90%;
    position: absolute; 
    margin-top: 35px;}

#header{  
    margin: 0;
    background: url(../img/ausweis.jpg) 50% 45px no-repeat #ddd;
    height: 275px;
    border-bottom: 1px solid #eee;
    border-top:1px solid #eee;
  /*  background-size:100%;*/
    
}
#header h1, #header h1 a{
  color: #000;
  margin: 0;padding:5px 0 0 10px;
  float:left;
}

nav {
  background: -moz-linear-gradient(left, #79aac6 0%, #4798c6 44%, #027ec8 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%,#79aac6), color-stop(44%,#4798c6), color-stop(100%,#027ec8)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(left, #79aac6 0%,#4798c6 44%,#027ec8 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left, #79aac6 0%,#4798c6 44%,#027ec8 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(left, #79aac6 0%,#4798c6 44%,#027ec8 100%); /* IE10+ */
  background: linear-gradient(to right, #79aac6 0%,#4798c6 44%,#027ec8 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#79aac6', endColorstr='#027ec8',GradientType=1 ); /* IE6-9 */
  margin: 0;
  min-height:30px;
  background-color: #79aac6; /* Old browsers */
  padding: 10px 0;
  border-bottom: 1px solid #037ec8;
  border-radius:6px 6px 0 0;  
  
  }
  nav ul {margin-left:85px;}
  
#navi li  {
    float: left;
    width:23%; 
    list-style-type: none;
}

#navi li a {
display:block;
text-align:center;
    margin-right:2px;
    letter-spacing: 1px;
    font-weight: bold;
    color: #fff1c8;
     font-variant: small-caps;
    background:rgba(3, 127, 200,.8);
    text-decoration: none;
     padding: 5px;
     border-radius:4px;
     border:1px solid #78a9c6;

}
#navi li a:hover, #navi li a.navon {
    font-weight: bold;
    box-shadow:0 0 5px #fff;
     background:#f3641e;
     color:#fff;
    
}
.button,#content a:link.button{
    background: -moz-linear-gradient(top, #e63027 0%, #9b1212 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e63027), color-stop(100%,#9b1212)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #e63027 0%,#9b1212 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #e63027 0%,#9b1212 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #e63027 0%,#9b1212 100%); /* IE10+ */
    background: linear-gradient(to bottom, #e63027 0%,#9b1212 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e63027', endColorstr='#9b1212',GradientType=0 ); /* IE6-9 */
    background-color: #e63027; /* Old browsers */
    font-weight:normal;
    padding: 2px; 
    color:#fff;
    border: 1px solid #555; 
}

#header .button{
   float:right;
   padding: 8px; 
   margin: 5px 5px 0 -2px; 
   border: 1px solid #555;
  font-weight:normal;
  font-size:110%; 
}
a:hover .button,#content a:hover.button{
 background:#E63027;
 text-shadow:1px 1px 1px #000;
}

#content{
    color: #555;
    border-top:1px solid #027ec8;
    padding: 0;
    background: #fff;

}
.text {
    padding: 2px 6px;
    margin: 0 10px;
    background: #fff;
    color: #333;
    line-height: 20px;
}
#content a:link {
    color: #027ec8;
    text-decoration: none;
    border-bottom: 1px solid #f3641e;
}
#content a:visited {
    color: #565;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
}
#content a:hover {
    color: #000;
    text-decoration: none;
    border-bottom: 1px dashed #000;
    background: #f2f2f2;
}
#footer {
    background: #f3641e;
    text-align: right;
    color: #01395B;
font-size:75%;
border-radius:0 0 5px 5px;
    margin: 10px 0 0 0;
    padding: 2px 10px;
border-top:1px solid #ddd;
}
#footer a:link, #footer a:visited {
    color: #fff;
    text-decoration: none;
    padding: 1px;
}
#footer a:hover {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
}
#footer p {padding: 0 5px; text-align: justify;}
.hide {
    visibility: hidden;
    display: none;
}
h1 {
    font-size: 210%;
    font-variant: small-caps;
    padding: 0.5em 0.2em 0.5em;
    font-weight: normal;
    text-align: center;
}
h2 {
 
    font-size: 145%;
    padding: 0 0.5em 0.2em;
    margin: 0;
    font-weight: bold;
    text-align: center;
    color: #fff;
}
h3 {font-family:arial, sans-serif,"Trebuchet MS";
    font-size: 125%;
    padding-left: 10px;
    margin-top: 10px;
    font-weight: bold;
    color: #422014;
    border: 1px solid #eee;
    background: #F8F8F8;
}
ul {
    margin: 0;
}
li {
    list-style: square;
    padding-top: 2px;
}
.links {
    float: left;
    width: 60%;
    padding-right: 1%;
}
.rechts {
    float: right;
    width: 37%;
}
.clear {
    clear: both;
    margin: 0;
    padding: 0;
}

img {
    border: 0;
    padding: 2px;
}
.small {
    font-size: 85%;
}

.box {
    text-align: justify;
    color: #003D60;
    width: 90%;
    margin: 10px auto;
    font-weight: bold; 
    text-align: center;
    /*border: solid #eee;
    border-width: 5px;*/
}
.kursiv {
    font-style: italic; 
    font-weight: normal;}
.fonty {    text-align:center;
    padding:2px 0;
    margin:0;
    color: ##037ec8;
    font-size:80%;
    background:#eee;
    border-bottom:1px solid #aaa
    }

.imgre {float: right;}
.logo {float:left;}

#container,  .button {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

#container{
    -webkit-box-shadow: 0 0 25px #aaa;
    -moz-box-shadow: 0 0 25px #aaa;
    box-shadow: 0 0 25px #aaa;}
#header a {text-decoration: none;}
a .linkinfo {
    display: none;
    position: absolute;
}
a:hover .linkinfo{
   display: block;
   position: absolute; 
   top:15%;
  border-radius:6px;
   padding: 8px; 
   margin: 15px; z-index: 100;
   background: #fff; 
   border: 1px solid #555;
   color: #000;
   font-weight: bold;}


@media only screen and (max-width: 600px) {
  body {font-size:75%}
  #container {
    width: 96%;}
#content img {width:65%;margin:0 10%;}
    #navi li,#header a .button1,#header h1,.rechts,.links,.imgre,.button {
    float: none;}
	#header .button{margin: 0 15%;float:none; }
    #navi li,.rechts,.links  {width:100%}
  #header{background-size:90%;height:200px;}  
  h1 {font-size:160%}

}  
