/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

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;
}
body {
    line-height: 1.4em;
    font-family: Arial, Sans-Serif;
    font-size: 1.2em;
    color: #4e4e4f;
}
html {
    height  : 100%;
    overflow: hidden;
    position: relative;
}
body {
    height  : 100%;
    overflow: hidden auto;
    position: relative;
}
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;
}
strong { font-weight: bold; }

#header {
    background: #4e4e4f;
    color: #fff;
    padding: 20px 0 10px 0;
    top: 0;
    left: 0;
    width: 100%;
}

#header_inner {
    max-width: 800px;
    margin: 0 auto;
    min-height: 115px;
}

#logo { text-align: center; }

#navi { display: flex; justify-content: center; margin-top: 30px; min-height: 1.2em; }
#navi ul { display: flex; }
#navi ul + ul li:last-child a { margin-right: 5px; }
#navi a { text-decoration: none; color: #fff; margin: 0 10px; }
#navi a:hover { text-decoration: underline; }
#navi li.active a, #header li.active a:hover { text-decoration: none; color: #52ae32; }
#navi li:not(:last-child):after { content: "|"; }

#footer {
    text-align: center;
    margin: 0 auto 20px;
    padding-top: 100px;
    clear: both;
    font-size: 0.8em;
}
#footer a {
    color: #4e4e4f;
    text-decoration: none;
}
#footer a:hover { text-decoration: underline; }
#footer li.active a, #footer li.active a:hover { color: #52ae32; text-decoration: none; }
#footer ul li:after { content: "|"; }
#footer ul li:last-child:after { content: ""; }
#footer ul li { display: inline; }
#footer li.extern { font-weight: bold; }
#footer li.extern a { text-decoration: underline; }
#footer li.extern a:hover { text-decoration: none; }

#body { width: auto; max-width: 790px; margin: 40px auto 0; padding: 0 5px; }

#toTop { display: none !important; }

h2 { color: #52ae32; font-size: 1.44em; margin-bottom: 10px; line-height: 1.3em; }
h3 { font-weight: bold; margin-top: 40px; margin-bottom: 10px; }
h4 { font-weight: bold; margin-top: 20px; margin-bottom: 10px; }
.content h3:first-child { margin-top: 20px; }
p { margin-bottom: 10px; -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto; }
a { color: #52ae32; text-decoration: underline; }
a:hover { text-decoration: none; }
.contentblock ul { list-style: disc; content: "\2022"; color: #4e4e4f; display: inline-block; list-style-position: outside; margin-bottom: 10px; width: 100%; margin-left: 17px; }
em { font-style: italic; }
.center { text-align: center; }
p.socialMediaLinks { float: right; padding-right: 50px; }

ul.attachments {
    list-style: none;
    margin-top: 20px;

    li {
        margin: 0 0 10px -20px;
        min-height: 48px;
        padding-left: 60px;

        p {
            margin: 0;
        }

        svg {
            float: left;
            margin-top: 3px;
            margin-left: -60px;
        }
    }
}

div.column-left { width: 350px; float: left; text-align: right; }
div.column-right { width: 430px; float: right; }
div.column-right p.center { margin: 0 0 20px 0; }

#eyecatcher {
    width: 790px; height: 500px; background: #ccc; margin: 40px auto;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 5px;
    background-size: cover;
}

.masonry {
    -webkit-column-count: 3;
    -webkit-column-gap: 10px;
    -moz-column-count: 3;
    -moz-column-gap: 10px;
    column-count: 3;
    column-gap: 10px;
    line-height: 0;
    font-size: 1px;
    margin-top: 15px;
}
.masonry img { width: 100%; margin-bottom: 10px; }

.osm-wrapper { margin-top: 50px; }
#map { width: 100%; height: 500px; }
p.map-copyright { text-align: right; font-size: 0.75em; }
#OpenLayers_Control_MaximizeDiv_innerImage { display: none; }
#OpenLayers_Control_PanZoomBar_4_panup,
#OpenLayers_Control_PanZoomBar_4_panleft,
#OpenLayers_Control_PanZoomBar_4_panright,
#OpenLayers_Control_PanZoomBar_4_pandown,
#OpenLayers_Control_PanZoomBar_4_zoomin,
#OpenLayers_Control_PanZoomBar_4_zoomin { width: 18px; height: 18px; }
#OpenLayers_Control_PanZoomBar_4_panup img,
#OpenLayers_Control_PanZoomBar_4_panleft img,
#OpenLayers_Control_PanZoomBar_4_panright img,
#OpenLayers_Control_PanZoomBar_4_pandown img,
#OpenLayers_Control_PanZoomBar_4_zoomin img ,
#OpenLayers_Control_PanZoomBar_4_zoomout img,
#OpenLayers_Control_PanZoomBar_4_OpenLayers_Map_5 img,
#OL_Icon_73 img { display: none; }
#OpenLayers_Control_PanZoomBar_4_panup { background: url('../img/osm/north_mini.png'); }
#OpenLayers_Control_PanZoomBar_4_panup:hover { background: url('../img/osm/north_mini_hover.png'); }
#OpenLayers_Control_PanZoomBar_4_panleft { background: url('../img/osm/west_mini.png'); }
#OpenLayers_Control_PanZoomBar_4_panleft:hover { background: url('../img/osm/west_mini_hover.png'); }
#OpenLayers_Control_PanZoomBar_4_panright { background: url('../img/osm/east_mini.png'); }
#OpenLayers_Control_PanZoomBar_4_panright:hover { background: url('../img/osm/east_mini_hover.png'); }
#OpenLayers_Control_PanZoomBar_4_pandown { background: url('../img/osm/south_mini.png'); }
#OpenLayers_Control_PanZoomBar_4_pandown:hover { background: url('../img/osm/south_mini_hover.png'); }
#OpenLayers_Control_PanZoomBar_4_zoomin { background: url('../img/osm/zoom-plus-mini.png'); }
#OpenLayers_Control_PanZoomBar_4_zoomout { background: url('../img/osm/zoom-minus-mini.png'); }
#OpenLayers_Control_PanZoomBar_4_OpenLayers_Map_5 { background: url('../img/osm/slider.png'); }
#OL_Icon_73 { background: url('../img/osm/marker.png'); }


@media only screen and (max-width: 840px) {
    body { padding: 0px; }
    #body { padding: 0 10px; }
    #header { position: static; left: 0; top: 0; text-align: center; padding-bottom: 12px; }
    #header li:first-child a { margin-left: 20px; }
    #header li:last-child a { margin-right: 20px; }
    #logo { float: none; width: 100%; }
    #navi { float: none; margin: 20px auto 0; width: 100%; padding: 0; text-align: center; line-height: 1.6em; }
    #navi ul { float:none; display: inline-block; }
    #navi ul li { display: inline-block; float: none; }
    #navi ul + ul li:last-child a { margin-right: 11px; }
    #eyecatcher { width: 100%; }
    .masonry {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
        width: 100%;
        margin: 0 auto;
    }

    .lb-nav a.lb-prev,
    .lb-nav a.lb-next {
        opacity: 0.5 !important;
    }
}

@media only screen and (max-width: 625px) {
    #navi ul { display: block; width: 100%; }
    #navi ul li:last-child:after { content: ""; }
    div.column-left,
    div.column-right {
        width: 100%;
    }
    div.column-right {
        margin-top: 0;
    }
    div.column-left img,
    div.column-right img {
        display: block;
        margin: 0 auto 25px;
    }
    div.column-right p {
        padding-left: 0;
    }
    #header {
        background: #575756;
    }
    p.socialMediaLinks { float: none; width: 100%; text-align: center; margin-top: 50px; margin-bottom: 45px; }
}



/* contentblock styles */
div.contentblock { clear: both; padding-top: 100px; }
div.contentblock:first-child { padding-top: 0; }
div.contentblock-eyecatcher + div.contentblock-text { padding-top: 25px; }
div.contentblock .picture { width: 380px; float: left; text-align: left; font-size: 0; line-height: 0; }
div.contentblock .picture img { margin-bottom: 5px; }
div.contentblock .thumbnails { text-align: left; width: 375px; }
div.contentblock .thumbnails img { margin-right: 5px; }
div.contentblock .thumbnails img:nth-child(4n) { margin-right: 0; }
div.contentblock .thumbnails img.active, div.contentblock .thumbnails img:hover { cursor: pointer; }
div.contentblock .picture + .text { float: right; width: 360px; }

@media only screen and (max-width: 840px) {
    div.contentblock .picture,
    div.contentblock .picture + .text { float: none; width: 100%; }
    div.contentblock .picture { margin-bottom: 20px; text-align: center; }
    div.contentblock .thumbnails { margin: 0 auto; }
    div.contentblock-eyecatcher img { max-width: 100%; }
    div.contentblock-text .picture img { max-width: 100%; }
}
