/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : 23.07.2014, 00:16:27
    Author     : sus
*/

html, body {
    margin: 0; padding: 0;
    background-color: #d9d7c8;
    background-color: #99988a;
    color: #222;
    font-family: sans-serif;
    font-size: 100%;
    line-height: 1.4;
}

main, nav, aside, figure {
    display: block;
}

html, body, p, h1, h2, h3, h4, figure, ul, li {
    margin: 0;
    padding: 0;
}

#page {
    width: 97%;
    max-width: 80em;
    margin: 0.5em auto;
    background: #f2f1e6;
    background: #f5f3e6;
    position: relative;
}


#page:after {
    content: " ";
    display: block;
    clear: both;
}

#mainNav, main, #sidebar {
    float: left;
    padding: 1em 1.5%;
}

#mainNav {
    background-color: #b3af93;
    background-color: #cccab8;
    width: 18%;
    padding-bottom: 3em;
}

main {
    width: 50%;
    padding-top: 0;
}

#sidebar {
    font-size: 0.9em;
    width: 22.5%;
}


main #mainIllu {
    max-width: 40%;
    float: left;
    padding: 0.35em 0.5em 0.5em 0;
}



#mainNav img {
    position: absolute;
    top: 0;
    left: 0;
    width: 20%;
}

#page p {
    margin: 0.5em 0;

}


header {
    font-size: 1.9em;
    position: relative;
    font-weight: bold;
    background-image: url(/site/templates/styles/images/header-collage.png);
    background-size: auto 100%;
    vertical-align: top;
}

#logo {
    display: table-cell;
    width: 20.5%;
}

#logo img {
    width: 100%;
    vertical-align: bottom;
}

header span {
    display: table-cell;
    color: #ffe000;
    background-color: rgba(0,0,0,0.7);
    padding-left: 2%;
    padding-top: 0.5em;
    width: 77%;
    vertical-align: top;
}

header small {
    display: block;
    font-size: 0.75em;
    font-weight: normal;
}


#searchForm {
    position: absolute;
    right: 0.5em; bottom: 0.2em;
    background-color: rgba(0,0,0,0.6);
}

#searchForm input {
    font-size: 0.5em;
    width: 7em;
}

.searchresult {
    margin-left: 0;
}
.searchresult > li {
    list-style: none;
    margin: 1.2em 0;
}

.searchresult a {
    display: block;
    font-weight: bold;
}

#page .searchresult a+p {
   margin-top: 0;
}

main a, .linkList a {
    color: navy;
    text-decoration: none;
}

main a:hover, main a:focus, .linkList a:hover, .linkList a:focus  {
    text-decoration: underline;
}

main a:before, .linkList a:before {
    content: " ▸ ";
    padding-bottom: 0.3em;
    vertical-align: middle;
    padding-left: 0.2em;
    display: inline;
}

main a[href^=mailto]:before {
    content: "✉ ";
    padding-bottom: 0;
}

main a.zoom:before {
    content: '';
    height: 0;
    width: 0;
    display: none;
}

figure.left {
    float: left;
    margin: 0 0.5em 0.5em 0;
    max-width: 250px;
}

figure.right {
    float: right;
    margin: 0 0 0.5em 0.5em;
    max-width: 250px;
}

#sidebar .left, #sidebar .right {
    max-width: 95%;
    float: none;
}


figure a {
    position: relative;
}

figcaption {
    font-size: 0.9em;
    line-height: 1.2;
    padding-bottom: 0.5em;
}

.lupe {
    position: absolute;
    bottom: 0;
    right: 0;
    opacity: 0.75;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #4d493e;
    opacity: 0.9;
    z-index: 5;
}

#lightbox {
    position: fixed;
    top: 1em;
    left: 0;
    z-index: 10;
}

#lightbox img {
    vertical-align: bottom;
}


#lightbox figcaption {
    background: #d9d7c8;
    color: #222;
    padding: 0.3em 1em;
}

#close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.5em;
    background-color: #d9d7c8;
    opacity: 0.7;
    font-weight: bold;
    font-size: 0.8em;
    color: #000;
    text-decoration: none;
}

.gallery figure {
    display: inline-block;
    vertical-align: top;
    max-width: 150px;
    padding-right: 1em;
}


main ul {
    margin: 0.5em 0 0.5em 1.2em;
}


#breadcrumb {
    font-size: 0.8em;
    margin: 1em 0;
}

#breadcrumb li {
    list-style: none;
    margin: 0; padding: 0;
    display: inline;
}

#breadcrumb a {
    text-decoration: none;
    color: #333;
}

#breadcrumb a:hover, #breadcrumb a:focus {
    text-decoration: underline;
}

footer {
    clear: both;
    padding-left: 21.5%;
    background-color: #ffe000;
}

footer ul {
    text-align: right;
    margin-right: 1em;
}

footer li {
    display: inline-block;
    font-size: 0.9em;
    padding: 0.2em 0;
}

footer li:after {
    content: "  |  ";
    white-space: pre;
}

footer li:last-child:after {
    content: "";
}

footer a {
    font-weight: bold;
    color: #1c324d;
    text-decoration: none;
}

footer a:hover, footer:focus {
    text-decoration: underline;
}



#mainNav img {
    width: 100%;
}

#mainNav ul {
    margin: 0; padding: 0;
    padding-bottom: 1em;
    padding-top: 0.5em;
}

#mainNav li {
    list-style: none;
    margin: 0.7em 0.8em;
    padding: 0;
    line-height: 1.2;
}

#mainNav ul ul {
    font-size: 0.9em;
    padding-bottom: 0;
}

#mainNav li li {
    margin: 0.3em 1em;
}

#mainNav a {
    text-decoration: none;
    font-weight: bold;
    color: #1c324d;
}

#mainNav a:before, #breadcrumb a:before {
    content: '';
    padding-left: 0;
}

h1, h2, h3, h4 {
    font-weight: bold;
    margin: 1em 0 0.3em 0;
    clear: both;
}

h1 {
    font-size: 1.5em;
}

h1.title {
    margin-top: 0;
}

h2 {
    font-size: 1.3em;
}

h1 + h2 {
    margin-top: 0;
}


h3 {
    font-size: 1.1em;
}

h4 {
    font-size: 1em;
}

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

th, td {
    padding: 0.25em;

}

th {
    text-align: left;
    padding-left: 0;
}

th {
    vertical-align: top;
}

.item {
    border-bottom: 3px solid #f5f3e6;
    padding-bottom: 0.4em;
}

.item img {
    max-width: 20%;
    float: left;
    max-height: 15em;
    margin-right: 1em;

}

#sidebar .item img {
    max-width: 90%;
    float: none;
    margin: 0;
    display: block;
}

.item:after {
    content: "";
    display: block;
    clear: both;
}

#sidebar ul {
    margin-left: 1em ;
}


.moreLink {
    display: block;
    text-align: right;
    margin-top: -0.5em;
    font-size: 0.9em;

}


#sidebar h3:first-child {
    margin-top: 0;
}

.linkList ul {
    list-style: none;
}

.linkList li {
    text-indent: -1em;
}

.linkList li:first-line {
    text-indent: 0;
}

.translations {
    position: relative;
    top: -1.5em;
}

/* eingefügt 6.5.18, weil bei Eventinfos Translations erst nach den Eventdetails kommen */
.item + .translations {
    top: 0;
}

#sidebar #langSelect {
    margin-left: 0;
    padding-left: 0;
}

#langSelect li {
    background-color: #cccab8;
    margin-left: 0;
    list-style: none;
    display: inline-block;
    padding: 0.3em 0.5em;
    box-shadow:2px 2px 2px #66665c;
    margin-right: 0.5em;
}




.translations li a {
    font-weight: bold;
    text-decoration: none;
    color: #1c324d;
}

#sitemap {

}

#sitemap, #sitemap ul, #sitemap li {
    margin: 0;
    padding: 0;
}

#sitemap li {
    margin: 0 1.5em;
}

#sitemap a {

}

/* ##################### staff - Mitarbeiterseiten ####################### */

#staff figure {
    float: left;
    max-width: 40%;
    margin: 0.4em 1em 1em 0;
}

figure img {
    max-width: 100%;

}


#staff h2 {
    clear: left;
}

main .pubList {
    list-style: none;
    margin-left: 0;
}

main .pubList li {
    margin: 0.5em 0;
}

main .relLinks, main .pubList .docs {
    margin: 0;
}

.pubList .relLinks li, .pubList .docs li {
    display: inline-block;
    list-style: none;
    margin: 0;
}

.autor {
    font-weight: bold;
}

.bibAng {
    font-size: 0.9em;
}

.abstract {
    margin-top: 0.7em;
}

.abstract ul {
    padding-left: 1em;
    overflow: auto;
}

.abstract:after {
    content: '';
    display: block;
    clear: both;
    height: 2px;
}

#sidebar .foerderer ul {
    margin-left: 0;
}

.foerderer li {
    list-style: none;
    margin-bottom: 1em;
    max-width: 45%;
    display: inline-block;
}

.foerderer img {
    max-height: 12em;
}

#gglw img {max-width: 95%;}

.eventInfo {
    border: 3px double #b3af93;
    font-weight: bold;
    padding: 0.2em 0.5em;
    margin-bottom: 1em;
}

.staffList {
    list-style: none;
}

#mainframe {
    clear: both;
}

@media screen AND (max-width: 55em) {
    #mainNav {
        width: 30%;
    }

    main {width: 64%;}

    #sidebar {
        width: 90%;
    }

    #sidebar figure.left {
        max-width: 45%;
        float: left;

    }

}