body {
    font-family: "Arial", sans-serif;
    color: #464646;
    background: rgb(153, 190, 62);
    background: -moz-linear-gradient(top, rgba(153, 190, 62, 1) 0%, rgba(153, 190, 62, 1) 10%, rgba(255, 255, 255, 1) 10%, rgba(255, 255, 255, 1) 100%);
    background: -webkit-linear-gradient(top, rgba(153, 190, 62, 1) 0%, rgba(153, 190, 62, 1) 10%, rgba(255, 255, 255, 1) 10%, rgba(255, 255, 255, 1) 100%);
    background: linear-gradient(to bottom, rgba(153, 190, 62, 1) 0%, rgba(153, 190, 62, 1) 10%, rgba(255, 255, 255, 1) 10%, rgba(255, 255, 255, 1) 100%);
    font-size: 0.75rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

a {
    color: #ff0000;
}

a:hover {
    color: #ff0000;
}

b, strong {
    font-weight: 600;
}

.compact {
    border: 1px solid #ffffff;
    border-radius: 10px;
    background: #ffffff;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
    margin-bottom: 30px;
    margin-top: 20px;
}

@media (min-width: 992px) {
    .compact {
        max-width: 1000px;
        width: 100%;
        border: 1px solid #ffffff;
        border-radius: 10px;
        background: #ffffff;
        -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
        -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
        box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
        margin-bottom: 30px;
        margin-top: 20px;
    }
}

/* ----------------------------------------------- logo ----------------------------------------------- */

#logo {
    display: inline-block;
}

/* ----------------------------------------------- banner ----------------------------------------------- */

#headerpic, #slider {
    max-height: 300px;
    width: 100%;
}

@media (min-width: 992px) {
    #headerpic, #slider {
        max-height: 540px;
    }
    #headerpic a.nivo-prevNav {
        left: 65px;
    }
    #headerpic a.nivo-nextNav {
        right: 65px;
    }
}

#headerpic {
    padding: 0px 0px;
    overflow: hidden;
    position: relative;
}

.slider-mask {
    display: none;
}

/* ------------------------------------ topbar ----------------------------------- */

#topbar {
    background: url(../img/topbar.jpg) center center/cover no-repeat #4e8a1e;
    border-radius: 10px 10px 0px 0px;
    padding: 20px 20px;
}

/* ------------------------------------ navigation ----------------------------------- */

.navbar-nav li[class*="_over"]>.dropdown-menu, .navbar-nav li[class*="open"]>.dropdown-menu {
    display: block !important;
}

/* burgermenu for tablet */

@media (max-width: 991px) {
    #burgerButton {
        font-size: 0;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        cursor: pointer;
        background-color: #ffffff;
        -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }
    #burgerButtonInner2, #burgerButton:after, #burgerButtonInner {
        background-color: #000000;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        -webkit-transition: transform 200ms linear, opacity 200ms linear;
        -moz-transition: transform 200ms linear, opacity 200ms linear;
        -ms-transition: transform 200ms linear, opacity 200ms linear;
        -o-transition: transform 200ms linear, opacity 200ms linear;
        transition: transform 200ms linear, opacity 200ms linear;
    }
    #burgerButton[aria-expanded="true"] #burgerButtonInner {
        -webkit-transform: rotate(-45deg) translate(-6px, 6px);
        transform: rotate(-45deg) translate(-6px, 6px);
    }
    #burgerButton[aria-expanded="true"] #burgerButtonInner2 {
        opacity: 0;
    }
    #burgerButton[aria-expanded="true"]:after {
        -webkit-transform: rotate(45deg) translate(-4px, -6px);
        transform: rotate(45deg) translate(-4px, -6px);
    }
    #burgerButtonInner {
        top: 16px;
    }
    #burgerButtonInner2 {
        top: 24px;
    }
    #burgerButton:after {
        top: 32px;
        content: "";
        display: block;
    }
    .navbar-nav {
        margin: 20px 0;
    }
    .navbar-collapse {
        top: 0;
        background: #ffffff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        -webkit-transition: left 300ms linear, opacity 300ms linear;
        -moz-transition: left 300ms linear, opacity 300ms linear;
        -ms-transition: left 300ms linear, opacity 300ms linear;
        -o-transition: left 300ms linear, opacity 300ms linear;
        transition: left 300ms linear, opacity 300ms linear;
    }
    .navbar-collapse[aria-expanded="true"], .navbar-collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }
    .navbar-header {
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
    }
    .navbar-toggle::before {
        content: "";
        opacity: 0;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 0;
        z-index: -1;
        display: block;
        background-color: rgba(0, 0, 0, 0.5);
        -webkit-transition: width 300ms linear, opacity 300ms linear;
        -moz-transition: width 300ms linear, opacity 300ms linear;
        -ms-transition: width 300ms linear, opacity 300ms linear;
        -o-transition: width 300ms linear, opacity 300ms linear;
        transition: width 300ms linear, opacity 300ms linear;
    }
    .navbar-toggle[aria-expanded="true"]::before {
        opacity: 1;
        width: 90px;
    }
}

@media (min-width: 575px) and (max-width: 991px) {
    .navbar-collapse {
        width: 60%;
    }
    .navbar-collapse.collapse.in:after, .navbar-toggle[aria-expanded="true"]::before {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    .navbar-default .navbar-nav {
        width: 100%;
    }
    .navbar-default .navbar-nav>li {
        display: block !important;
        width: 100%;
        float: none;
    }
}

/* ---------------------------------------------- toplevel ---------------------------------------------- */

.navbar-default .navbar-nav>li>a {
    color: #374d03;
    font-weight: 700;
    text-align: left;
    padding: 4px 15px 4px 15px;
    position: relative;
    z-index: 0;
    background: rgb(186, 211, 82);
    background: -moz-linear-gradient(top, rgba(186, 211, 82, 1) 0%, rgba(153, 190, 62, 1) 100%);
    background: -webkit-linear-gradient(top, rgba(186, 211, 82, 1) 0%, rgba(153, 190, 62, 1) 100%);
    background: linear-gradient(to bottom, rgba(186, 211, 82, 1) 0%, rgba(153, 190, 62, 1) 100%);
    font-size: 0.75rem;
    margin-bottom: 4px;
    border-radius: 5px;
}

.navbar-default .navbar-nav>li>a::after {
    content: '\2BC8';
    font-size: 0.6rem;
    position: absolute;
    right: 10px;
    top: 20%;
    bottom: 0;
    margin: auto;
}

/* -------------------------------------------- toplevel-over ------------------------------------------- */

.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li.open>a, .navbar-default .navbar-nav>li.open>a:hover, .navbar-default .navbar-nav>li.open>a:focus, .navbar-nav>li[class$="_over"]>a, .navbar-nav>li[class$="_over"]>a:hover, .navbar-nav>li[class$="_over"]>a:focus {
    color: #ffffff;
    background: rgb(79, 134, 29);
    background: -moz-linear-gradient(left, rgba(79, 134, 29, 1) 0%, rgba(127, 206, 46, 1) 100%);
    background: -webkit-linear-gradient(left, rgba(79, 134, 29, 1) 0%, rgba(127, 206, 46, 1) 100%);
    background: linear-gradient(to right, rgba(79, 134, 29, 1) 0%, rgba(127, 206, 46, 1) 100%);
    text-shadow: none;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li.open>a, .navbar-default .navbar-nav>li.open>a:hover, .navbar-default .navbar-nav>li.open>a:focus, .navbar-nav>li[class$="_over"]>a, .navbar-nav>li[class$="_over"]>a:hover, .navbar-nav>li[class$="_over"]>a:focus {
        width: 105%;
    }
}

/* -------------------------------------- secondlevel dropdown-box -------------------------------------- */

.dropdown-menu {
    padding: 0;
}

.navbar-default .navbar-nav>li>.dropdown-menu {
    padding: 0;
    background-color: rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------- secondlevel + thirdlevel -------------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu>li>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #374c03;
    font-weight: normal;
    text-align: left;
    position: relative;
    font-size: 0.75rem;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li+li>a {
    border-top: 1px dotted #374c03;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a {
    padding: 5px 15px 5px 30px;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    padding: 5px 15px 5px 45px;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a::before, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::before {
    content: '\2BC8';
    font-size: 0.45rem;
    position: absolute;
    right: 10px;
    top: 40%;
    bottom: 0;
    margin: auto;
    color: #919f6d;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a::before {
    right: 15px;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::before {
    right: 30px;
}

/* ------------------------------------------ secondlevel + thirdlevel over ------------------------------------------ */

.navbar-nav>li>.dropdown-menu>li>a:hover, .navbar-nav>li>.dropdown-menu>li>a:focus, .navbar-nav>li>.dropdown-menu>li.open>a, .navbar-nav>li>.dropdown-menu>li.open>a:hover, .navbar-nav>li>.dropdown-menu>li.open>a:focus, .navbar-nav>li>.dropdown-menu>li[class$="_over"]>a, .navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:hover, .navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:focus, .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:hover, .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:focus, .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a, .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:hover, .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:focus, .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a, .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:hover, .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:focus {
    background-color: transparent;
    color: #374c03;
    font-weight: bold;
}

.navbar-nav>li>.dropdown-menu>li>a:hover::before, .navbar-nav>li>.dropdown-menu>li>a:focus::before, .navbar-nav>li>.dropdown-menu>li.open>a::before, .navbar-nav>li>.dropdown-menu>li.open>a:hover::before, .navbar-nav>li>.dropdown-menu>li.open>a:focus::before, .navbar-nav>li>.dropdown-menu>li[class$="_over"]>a::before, .navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:hover::before, .navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:focus::before, .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:hover::before, .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:focus::before, .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a::before, .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:hover::before, .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:focus::before, .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a::before, .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:hover::before, .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:focus::before {
    color: #374c03;
}

/* --------------------------------------- thirdlevel dropdown-box -------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    margin: 0px;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.1);
}

/* ------------------------------------------------ content ----------------------------------------------- */

#content {
    padding-top: 30px;
    padding-bottom: 20px;
    text-align: left;
    min-height: 200px;
}

@media (min-width: 1200px) {
    #content {
        padding-left: 15px;
        padding-right: 15px;
    }
}

main {
    padding-top: 0px;
    padding-bottom: 0px;
    position: relative;
    border-top: 4px solid #6e9119;
    margin-top: 3px;
}

@media (max-width: 991px) {
    #bg-right {
        margin-top: 10px;
    }
}

@media (min-width: 992px) {
    #bg-left {
        background: #ebf2d8;
        padding-left: 0;
        padding-right: 0;
        padding-top: 15px;
    }
    #bg-right {
        padding-top: 40px;
        padding-right: 0;
    }
}

/* ---------------------------------------------------- styler ---------------------------------------------------- */

@media (min-width: 992px) {
    #style {
        display: flex;
        justify-items: flex-end;
        justify-content: flex-end;
    }
    #style button {
        border: none;
        color: #ffffff;
        display: inline-block;
        width: 25px;
        height: 25px;
        border-radius: 8px;
        font-weight: 700;
        text-align: center;
        background: rgb(109, 181, 40);
        background: -moz-linear-gradient(top, rgba(109, 181, 40, 1) 0%, rgba(79, 134, 29, 1) 100%);
        background: -webkit-linear-gradient(top, rgba(109, 181, 40, 1) 0%, rgba(79, 134, 29, 1) 100%);
        background: linear-gradient(to bottom, rgba(109, 181, 40, 1) 0%, rgba(79, 134, 29, 1) 100%);
        position: relative;
        line-height: 1;
        -webkit-transition: transform 150ms linear;
        -moz-transition: transform 150ms linear;
        -ms-transition: transform 150ms linear;
        -o-transition: transform 150ms linear;
        transition: transform 150ms linear;
    }
    #style button+button {
        margin-left: 8px;
    }
    #style button:nth-child(1) {
        font-size: 12px;
    }
    #style button:nth-child(2) {
        font-size: 14px;
    }
    #style button:nth-child(3) {
        font-size: 16px;
    }
}

/* ---------------------------------------------------- tab ---------------------------------------------------- */

.tab {
    position: relative;
    padding: 1px;
    background: #4f861d;
    border-radius: 8px;
    margin-top: 10px;
}

.tab, .tab_link_title a {
    color: #2b2b2b;
}

.tab .tabHeadline {
    margin: 0 0 15px 0;
    padding: 8px 10px;
    font-weight: normal;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 0.9375rem;
    border-radius: 8px 8px 0px 0px;
    background: rgb(109, 181, 40);
    background: -moz-linear-gradient(top, rgba(109, 181, 40, 1) 0%, rgba(79, 134, 29, 1) 100%);
    background: -webkit-linear-gradient(top, rgba(109, 181, 40, 1) 0%, rgba(79, 134, 29, 1) 100%);
    background: linear-gradient(to bottom, rgba(109, 181, 40, 1) 0%, rgba(79, 134, 29, 1) 100%);
}

.tab .tabContent {
    padding: 0px;
    background: rgb(255, 255, 255);
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(239, 239, 239, 1) 100%);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(239, 239, 239, 1) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(239, 239, 239, 1) 100%);
    font-size: 0.75rem;
    line-height: 1.3;
    border-radius: 8px;
}

.tab_link {
    padding: 10px;
}

.tab_link_title a {
    font-weight: 600;
    color: #6e9119;
}

.tab_spacer {
    height: 15px;
}

/* ------------------------------------------ h1, #content .legacy_h1, .legacy_h1 - h6, #content .legacy_h6, .legacy_h6, newslink ----------------------------------------- */

.h4link a:link, .h4link a:hover, .h4link a:visited, h6, #content .legacy_h6, .legacy_h6, h5, #content .legacy_h5, .legacy_h5, h4, #content .legacy_h4, .legacy_h4, h3, #content .legacy_h3, .legacy_h3, h2, #content .legacy_h2, .legacy_h2, h1, #content .legacy_h1, .legacy_h1 {
    color: #464646;
    font-weight: normal;
    line-height: 1.2;
    font-family: "Arial", sans-serif;
}

h1, #content .legacy_h1, .legacy_h1 {
    font-size: 1.5rem;
}

h2, #content .legacy_h2, .legacy_h2, .h2 {
    font-size: 1.4rem;
}

h3, #content .legacy_h3, .legacy_h3, .h3 {
    font-size: 1.3rem;
}

h4, #content .legacy_h4, .legacy_h4, .h4, .h4link a:link, .h4link a:hover, .h4link a:visited {
    font-size: 1.2rem;
}

h5, #content .legacy_h5, .legacy_h5, .h5 {
    font-size: 1.1rem;
}

h6, #content .legacy_h6, .legacy_h6, .h6 {
    font-size: 1rem;
}

#newslinks, #newsmandate {
    border: 1px solid #f8643e;
}

/* ----------------------------------------------- footer ----------------------------------------------- */

#footer {
    color: #3b3b3b;
    position: relative;
    background: #ffffff;
}

#footer {
    padding-top: 25px;
    padding-bottom: 25px;
}

/* --------------------------------------------- counter -------------------------------------------- */

#counter {
    text-align: justify;
    text-align-last: justify;
    color: #3c3c3c;
    background: #ffffff;
    max-width: 260px;
}

@media (max-width: 575px) {
    #counter {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 35px;
    }
}

#counter span {
    padding: 8px 15px;
    display: inline-block;
}

#counter span:nth-child(1) {
    color: #ffffff;
    background: #f8623e;
    text-shadow: 1px 1px 0 #9b3d27;
}

/* --------------------------------------------- vernetzt -------------------------------------------- */

#vernetzt {
    text-align: left;
    font-size: 0.7rem;
    color: #374c03;
    justify-content: center;
    line-height: 1.4;
    margin: 0 auto;
}

#vernetzt span {
    color: #374c03;
}

#vernetzt span span {
    display: block;
}

#vernetzt img {
    margin-right: 10px;
}

@media (min-width: 992px) {
    #vernetzt {
        margin-top: 40px;
    }
}

/* ------------------------------------------- innerfooter ------------------------------------------ */

#innerfooter {
    padding-top: 30px;
    padding-bottom: 30px;
    font-size: 0.75rem;
    position: relative;
    border-top: 1px dotted #464646;
}

@media (min-width: 992px) {
    #innerfooter {
        margin-left: 15px;
        margin-top: 20px;
    }
}

#innerfooter a {
    color: #464646;
    text-decoration: none;
    display: inline-block;
}

#innerfooter a:hover {
    color: #464646;
}

#innerfooter a+a::before {
    content: "";
    margin: 0 15px;
}

@media (min-width: 992px) {
    #innerfooter a+a::before {
        margin: 0 20px;
    }
}