/*=================================*/
/* Pico Default Theme
/* By: Gilbert Pellegrom
/* http: //dev7studios.com
/*=================================*/

/* Reset Styles
/*---------------------------------------------*/
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, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}

body {
    line-height: 1;
    color: black;
    background-image: url( main_background.png );
    background-repeat: repeat;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

caption, th, td {
    text-align: left;
    font-weight: normal;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}

blockquote, q {
    quotes: "" "";
}

/* HTML5 tags */
header, section, footer,
aside, nav, article, figure {
    display: block;
}

/* hand cursor on clickable input elements */
label, input[type=button], input[type=submit], button {
    cursor: pointer;
}

/* make buttons play nice in IE:
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {
    width: auto;
    overflow: visible;
}

/* Sharper Thumbnails */
img {
    -ms-interpolation-mode: bicubic;
}

/* Input Styles
/*---------------------------------------------*/
input,
textarea,
select {
    padding: 5px;
    font: 400 1em Verdana, Sans-serif;
    color: #666;
    background: #fff;
    border: 1px solid #999999;
    margin: 0 0 1em 0;
}

input:focus,
textarea:focus,
select:focus {
    color: #000;
    background: #fff;
    border: 1px solid #666666;
}

/* Main Styles
/*---------------------------------------------*/
body {
    font: 16px 'Open Sans', Helvetica, Arial, Helvetica, sans-serif;
    color: white;
    background-image: url( main_background.png );
    background-repeat: repeat;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
}

a, a:visited {
    color: rgba(0,0,128,0.9);
    font-weight: bold;
    text-decoration: none;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

a:hover, a:active {
    color: #000;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    color: white;
    line-height: 1.2em;
    margin-bottom: 0.6em;
    padding-left: 10px;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.7em;
    background:     -ms-linear-gradient(0deg, rgba(0,0,128,0.5) 30%, rgba(0,0,0,0) 55vw);
    background:     -webkit-linear-gradient(0deg, rgba(0,0,128,0.5) 30%, rgba(0,0,0,0) 55vw);
    background:     -moz-linear-gradient(0deg, rgba(0,0,128,0.5) 30%, rgba(0,0,0,0) 55vw);
    background:     -o-linear-gradient(0deg, rgba(0,0,128,0.5) 30%, rgba(0,0,0,0) 55vw);
    border-radius: 4px 4px 4px 4px;
    padding-top: 2px;
    padding-bottom: 2px;
    margin-top: 25px;
    margin-bottom: 25px;
}

h3 {
    font-size: 1.5em;
    margin-top: 1em;
}

p, table {
    margin-bottom: 1em;
}

p {
  text-align: justify;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  word-break: auto;
  padding-left: 20px;
}

ol, ul {
    padding-left: 60px;
    margin-bottom: 1em;
}

b, strong {
    font-weight: bold;
}

i, em {
    font-style: italic;
}

u {
    text-decoration: underline;
}

abbr, acronym {
    cursor: help;
    border-bottom: 0.1em dotted;
}

td, td img {
    vertical-align: top;
}

td, th {
    border: solid 1px #999;
    padding: 0.25em 0.5em;
}

th {
    font-weight: bold;
    text-align: center;
    background: #eee;
}

sub {
    vertical-align: sub;
    font-size: smaller;
}

sup {
    vertical-align: super;
    font-size: smaller;
}

code {
    font-family: Courier, "Courier New", Monaco, Tahoma;
    background: #eee;
    color: #333;
    padding: 0px 2px;
}

pre {
    background: #eee;
    padding: 20px;
    margin-bottom: 1em;
    overflow: auto;
}

blockquote {
    font-style: italic;
    margin: 0 0 1em 15px;
    padding-left: 10px;
    border-left: 5px solid #dddddd;
}

/* Structure Styles
/*---------------------------------------------*/
.inner {
    width: 80%;
    
    margin: 0 auto;
}

#content {
    background: rgba(0,0,0,0.3);

    height: 65vh;
    padding-top: 40px;
    padding-bottom: 60px;
    margin-left: 10%;
    margin-right: 10%;
    overflow-y: auto;
}

#content .bildtext {
  margin: 30px 60px;
}

#content .bildtext span {
  display: block;
  background-color: rgba(0,0,128,0.5);
  line-height: 2em;
  bottom: 0;
  text-align: center;
  font-weight: bold;
  border-radius: 5px;
}

#content .bildtext img{
  display: block;
  margin:  15px auto;
}

#header {
    background: rgba(0,0,0,0.3);
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    border-bottom-color: rgba(0,0,128,0.8);
    border-bottom-style: solid;
    border-bottom-width: 5px;
    padding-top: 35px;
    padding-bottom: 15px;
    margin-top: 30px;
    margin-left: 10%;
    margin-right: 10%;
    color: #afe1da;
}
#header a {
    font-size: 20px;
    color: #fff;
    border-bottom-color: rgba(0,0,128,0.0);
    border-bottom-style: solid;
    border-bottom-width: 3px;
}
#header a:hover,
#header .active a {
    color: #fff;
    border-bottom-color: rgba(0,0,128,0.8);
    border-bottom-style: solid;
    border-bottom-width: 3px;
}
#header h1 {
    font-weight: bold;
    margin: 0;
    float: left;
}
#header .menu-icon {
    display: none;
    width: 35px;
    height: 35px;
    background: rgba(0,0,0,0.0) url(menu-icon.png) center;
}
#header nav {
    float: right;
    list-style: none;
    margin-top: 10px;
    padding: 0;
}
#header nav a {
    font-weight: bold;
    margin-left: 20px;
}
#header a:hover#menu-icon {
    background-color: #444;
    border-radius: 4px 4px 0 0;
}
#header ul {
    list-style: none;
}
#header li {
    display: inline-block;
    float: left;
}
#footer {
    background: rgba(0,0,0,0.3);
    padding-top: 30px;
    padding-bottom: 30px;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 30px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-color: rgba(0,0,128,0.8);
    border-top-style: solid;
    border-top-width: 5px;
}
#footer a { color: #ddd; }
#footer a:hover { color: #fff; }

/* Misc Styles
/*---------------------------------------------*/
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

/* Media Queries
/*---------------------------------------------*/

/* Small Devices, Tablets */
@media only screen and (max-width : 1100px) {
    .inner {
        width: 85%;
    }
    .inner img {
        width:100%;
    }
    #header {
        margin-bottom: 0px;
    }
    #header h1 a {
        font-size:1em;
    }
    #header .menu-icon {
        display:inline-block;
    }
    #header nav a { color: rgba(255,255,255,1.0); }
    #header nav a:active { color: rgba(255,255,255,1.0); }
    #header nav a:visited { color: rgba(255,255,255,1.0); }
    #header nav a:hover { color: rgba(255,255,255,1.0); }
    #header nav ul, nav:active ul {
        display: none;
        position: absolute;
        padding: 20px;
        background: rgba(0,0,0,0.7);
        border: 5px solid #444;
        right: 2.7em;
        top: 120px;
        width: 80%;
        border-radius: 4px 0 4px 4px;
        z-index: 9999;
    }
    #header nav li {
        text-align: center;
        width: 100%;
        padding: 5px 0;
        margin: 0;
    }
    #header nav li:hover {
        background-color: rgba(0,0,128,1.0);
        text-align: center;
        width: 100%;
        padding: 5px 0;
        margin: 0;
        border-radius: 4px 4px 4px 4px;
    }
    #header nav:hover ul {
        display: block;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
    .inner {
        width: 85%;
    }
    .inner img {
        width:100%;
    }
    #header {
        margin-bottom: 0px;
    }
    #header h1 a {
        font-size:1em;
    }
    #header .menu-icon {
        display:inline-block;
    }
    #header nav a { color: rgba(255,255,255,1.0); }
    #header nav a:active { color: rgba(255,255,255,1.0); }
    #header nav a:visited { color: rgba(255,255,255,1.0); }
    #header nav a:hover { color: rgba(255,255,255,1.0); }
    #header nav ul, nav:active ul {
        display: none;
        position: absolute;
        padding: 20px;
        background: rgba(0,0,0,0.3);
        border: 5px solid #444;
        right: 0em;
        top: 100px;
        width: auto;
        border-radius: 4px 0 4px 4px;
    }
    #header nav li {
        text-align: center;
        width: 100%;
        padding: 10px 0;
        margin: 0;
    }
    #header nav li:hover {
        background-color: rgba(0,0,128,1.0);
        text-align: center;
        width: 100%;
        padding: 5px 0;
        margin: 0;
        border-radius: 4px 4px 4px 4px;
    }
    #header nav:hover ul {
        display: block;
    }
}
