/*++++++++++++++++++++++++++++++ alles nullen und grundkonfig*/
body{
    height:100%;
    margin:0;
    padding:0;
    background:#D4FFC9;
    background-image:url(../img/banner1.png);
    font-family: verdana, sans-serif;
}

/*++++++++++++++++++++++++++++++ wrapper */
#wrap_out{
    background: #FF8C00;    
    border: 1px solid green;
    border-radius: 0.3em;
    box-shadow: 0 0 75px 17px rgba(0, 0, 255, 1);
    margin: 3em auto;
    max-width: 90%;
    padding:3px;
}

#wrap_in{
    background:#D9E8D1;
    border:1px solid green;
    border-radius:0.3em;
    box-shadow: 0 0 25px 14px rgba(255, 255, 255, 0.7) inset;
}

/*++++++++++++++++++++++++++++++ Header   */
#header{
    background-image:url(../img/banner1.png);
    border: 2px solid #FF8C00;
    border-radius: 0.3em;
    box-shadow:#7FE860;
    box-shadow: 0 0 25px 14px rgba(255, 255, 255, 0.7) inset;
    margin: 1em;
    max-height:160px;
}

#header h1{
    text-align:center;
    font-size: 4em;
    font-weight: lighter;
    margin: 0.2em;
    background:lightgray;
    border:2px solid blue;
}

#header h1:first-of-type{
    position:relative;
    left:-5000px;
}

#header object{
    display:none;

}

#header object:first-of-type{
    display: block;
    left: 0;
    position: relative;
    top: -8em;
}

#header a{
    color: blue;
    text-decoration: none;
    text-shadow: 2px 2px 6px #fff;
}

/*++++++++++++++++++++++++++++++ navigation u. steuerelemente*/
#nav{
    width:100%;
}

#nav ul{
    margin-top:0.5em;
    padding-left: 1.5em;
    margin-bottom:0em;
}

#nav li {
    float:left;
    margin-right:10px;
    list-style:none;
    line-height:1em;
}

#nav a{
    background: blue none repeat scroll 0 0;
    border-left: 1px solid blue;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-right: 1px solid #000;
    border-top: 1px solid #000;
    box-shadow: 0 0 20px -10px rgba(0, 0, 0, 0.62) inset;
    color: #fff;
    font-size:1em;
    font-weight: 100;
    padding: 0.3em;
    text-decoration: none;
    text-shadow: 0 3px 3px #000;
    text-align: center;
    display:block;
    min-width:6.5em;
}

/*++++++++++++++++++++++++++++++++++footer*/
.up{
    position:fixed;
    bottom:0;
    right:1.5em;
    text-align:center;
    background:#fff;
    border:2px solid blue;
    border-radius:0.3em;
    padding:0.1em;
    margin:0.1em;
}
footer p {
    text-align: center;
    font-size: 0.6em;
}
/*++++++++++++++++++++++++++++++ Inhaltsbereich*/
#content{
    background:#fff;
    border-radius:0.3em;
    padding:0.5em 3.5em;
    box-shadow: 0 0 25px 14px rgba(255, 255, 255, 0.28);
    line-height:1.6em;    
}

#content img{
    width:240px;
    float:left;
    padding:0.5em;
    margin:0 1.5em 1em;
    border:2px solid blue;
    border-radius: 0.3em
}

.picblock{
    width:95%;
    margin:2em auto;
    background:lightgrey;
    padding:0.5em;
    border:2px solid blue;
    border-radius:0.3em;
}

#content .picblock img{
    width: 120px;
    height:auto;

}

.picblock ul{
    list-style: none;
    padding-left: 0;
    display: table;
    margin:0 auto;
}

.picblock li{
    float:left;
}

.singlepic{
    display:block;
    width:20em;
    background:lightgray;
    margin: 1em auto;
    border:2px solid blue;
    border-radius:0.3em;
    padding:1em;
}

.vidblock{
    width:95%;
    margin:0 auto;
    background:lightgrey;
    padding:0.5em;
    border:2px solid blue;
    border-radius:0.3em;
    text-align: center
}

.vidblock ul{
    list-style: none;
    padding-left: 0;
    padding:0 20%;
    margin:0;
}
.vidblock iframe{
    display:block;
    margin:0 auto;
}

#adrblock{
    display:inline-block;
    width:20em;
}

h3{
    margin-top:1em;
    text-align:center;
}

.formal h3{
    text-align:left;
}

h4{
    font-weight:lighter;
}
iframe{
    width:360px;
    height:240px;
    border:0;
}

/*++++++++++++++++++++++++++++++ formular formatierung*/
label,input,select{
    display:block;
    
}

input{
    margin-bottom:5px
}

datalist{
    display:none;
}

.require{
    position:relative;
}

.require:after{
    content:"*";
    padding:0 0.2em;
    position:absolute;
    left:-0.8em;
}

fieldset{
    padding:2em;
}

/*++++++++++++++++++++++++++++++ clears*/
ul::after, li::after, img::after, .picblock, .vidblock, .clear section::before{
    content:"";
    display:table;
    clear:both;
}

/*++++++++++++++++++++++++++++++  nav bar links */
#nav a:hover{
    background:lightblue;
    color:black;
    text-decoration:underline;
}

#nav a:focus{
    background:#fff;
    color:blue;
}

#nav .active{
    background:#fff;
    color:#000;
}

/*++++++++++++++++++++++++++++++ media queries*/
@media screen and (max-width:1010px){
    #nav{
        width:auto;
        float:left;
        background:lightgrey;
        border:2px solid #FF8C00;;
        margin:1em;
    }

    #nav ul{
        padding-left:0.5em;
        margin-bottom: 0.5em
    }

    #nav li{
        float:none;
        margin-bottom:3px;
    }

    #nav a{
        display:block;
        width:130px;
        padding: 0.3em;
        border-right:0px;
        border-left:0px;
        border-top:0px;
        border-top-right-radius:0px;
        border-top-left-radius:0px;
    }
}

@media screen and (max-width:44em){
    #wrap_out{
        width:100%;
        margin:2px auto;
    }

    #content img{
        float:none;
        padding:0.3em;
    }

    #header object:first-of-type{
        display:none;
    }

    #header h1:first-of-type{
        position:relative;
        left:0px;
    }

    #header h1{
        font-size:3em;
        text-decoration:none;
        font-weight:bold;
    }

    #header a{
        text-decoration:none;
        color:blue;
    }

}

@media screen and (max-width:28em){
    #header h1:first-of-type{
        font-size:2em;
        text-decoration:none;
    }

}