@font-face {
    font-family: 'Open Sans';
    src: url('../font/opensans-bold-webfont.woff2') format('woff2'),
         url('../font/opensans-bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../font/opensans-bolditalic-webfont.woff2') format('woff2'),
         url('../font/opensans-bolditalic-webfont.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../font/opensans-italic-webfont.woff2') format('woff2'),
         url('../font/opensans-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../font/opensans-regular-webfont.woff2') format('woff2'),
         url('../font/opensans-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html {
    overflow-y: scroll;
}

body {
    background: none repeat scroll 0 0 #2e1f0d;
    font-size: 18px;
    font-family: "Open Sans", Arial, sans-serif;
    color: #4b3621;
}

h1, h2, h3, h4, h5, h6 {
    color: #3d2b1f;
    font-weight: normal;
    line-height: 1.3;
    margin: 0.5rem 0;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.9rem; }

a, a:link, a:visited, a:hover, a:active {
    text-decoration: none;
    color: #a0522d;
    transition: color 0.20s linear 0s;
    -o-transition: color 0.20s linear 0s;
    -ms-transition: color 0.20s linear 0s;
    -moz-transition: color 0.20s linear 0s;
    -webkit-transition: color 0.20s linear 0s;
}

a:hover {
    color: #cd853f;
}

:target {
    display: block;
    position: relative;
    top: -120px;
    visibility: hidden;
}

p, li, dl, blockquote, table, kbd {
    font-size: 1rem;
    line-height: 1.6;
}

hr {
    border: 0;
    border-top: 1px solid #5c4033;
    clear: both;
    height: 0;
    margin: 0.5rem auto;
}

nav {
    background: #3d2b1f;
}

.top-nav ul ul {
    background-color: #3d2b1f;
}
.top-nav li a {
    padding: 0.5rem 1rem;
    color: #f5f5dc;
}
.top-nav li ul li a {
    background-color: #3d2b1f;
}
.top-nav li a:hover, .aside-nav li a:hover {
    background-color: #cd853f;
}
.top-nav .active-item a {
    background: #8b4513;
}

@media screen and (max-width:768px) {
    .top-nav li a {
        background: none repeat scroll 0 0 #4b3621;
        color: #f5f5dc;
    }
    .top-nav li a:hover {
        background: none repeat scroll 0 0 #3d2b1f;
        color: #f5f5dc;
    }
    .top-nav li ul li a {
        background: none repeat scroll 0 0 #3e2a1c;
    }
    .top-nav li ul li ul li a {
        background: none repeat scroll 0 0 #8b4513;
    }
    .nav-text {
        color: #f5f5dc;
    }
}

.aside-nav-noresponsee ul {
    margin: 0;
    padding: 0;
}

.aside-nav-noresponsee li {
    list-style-type: none;
}

.aside-nav-noresponsee li a:link,
.aside-nav-noresponsee li a:visited {
    display: block;
    padding: 0.3rem 0.5rem;
    background-color: #2f1b0c;
    color: #f5f5dc;
}

.aside-nav-noresponsee li ul li a:link {
    padding-left: 2.5rem;
}

.aside-nav-noresponsee li a:hover,
.aside-nav-noresponsee li ul li.menu-current a {
    background-color: #3b2f2f;
    color: #cd853f;
}

.headerpic img {
    display: block;
}

header .line,
section .line,
footer .line {
    background-color: #ffffff;
    padding: 0 !important;
}

.logo {
    padding: 2rem;
}

.wbcesuche {
    padding: 0.5rem 1.5rem;
}

.wbcesuche input[type=text] {
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid #deb887;
    color: #ffffff;
}

.wbcesuche input[type=submit] {
    font-family: sli;
    border: 0;
    background-color: transparent;
    color: #ffffff;
}

::placeholder {
    color: #ffffff;
}
:-ms-input-placeholder {
    color: #ffffff;
}
::-ms-input-placeholder {
    color: #ffffff;
}

h1#contentstart {
    margin-top: -0.5rem;
}

.maincontent p, .maincontent li {
    padding-bottom: 0.5em;
}

.maincontent li ul, .maincontent li ol {
    padding-top: 0.5em;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

a.back-to-top, footer a:link, footer a:visited {
    border: 0;
    padding: 0 1em;
}

@media screen and (max-width:768px) {
    .wbcesuche {
        text-align: center;
    }
}

img.picfull {
    width: 100%;
    height: auto;
}

@media screen and (min-width:640px) {
    img.pic2left, img.pic3left, img.pic4left {
        margin: 0 1em 1em 0;
        height: auto;
    }

    img.pic2right, img.pic3right, img.pic4right {
        margin: 0 0 1em 1em;
        height: auto;
    }

    img.pic2left {
        float: left;
        max-width: 49%;
    }
    img.pic2right {
        float: right;
        max-width: 49%;
    }

    img.pic3left {
        float: left;
        max-width: 32%;
    }
    img.pic3right {
        float: right;
        max-width: 32%;
    }

    img.pic4left {
        float: left;
        max-width: 24%;
    }
    img.pic4right {
        float: right;
        max-width: 24%;
    }
}

@media screen and (max-width:640px) {
    img.pic2left, img.pic3left, img.pic4left,
    img.pic2right, img.pic3right, img.pic4right {
        margin: 1em 0;
        width: 100%;
        float: none;
        height: auto;
    }
}
