@import url('https://fonts.verwaltungsportal.de/import/?family=Source+Sans+Pro:300,400,600,700,300i,400i,600i,700i');
@import url('https://fonts.verwaltungsportal.de/import/?family=Merriweather:400,300,700,400i,300i,700i');
body {
    font-family: "Source Sans Pro", sans-serif;
    color: #2b2b2b;
    background: #ffffff;
    font-size: 0.9rem; /* 1rem = 16px */
    line-height: 1.5;
}

@media (min-width: 768px) {
    body {
        font-size: 1rem;
    }
}

a {
    color: #0c7d2c;
}

a:hover {
    color: #0c7d2c;
}

b, strong {
    font-weight: 600;
}

.compact {
    position: relative;
    z-index: 7;
}

@media (max-width: 1119px) {
    .compact {
       max-width: 100%;
    }
}

#wrapper {
    position: relative;
    z-index: 11;
    padding-top: 130px;
}

#wrapper::before{
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 130px;
    width: 100%;
    background: url(../img/rahmen.png) top center no-repeat;
    z-index: 12;
} 

#rahmen {
    background: url(../img/rahmen.png) top right no-repeat;
    height: 100%;
position: fixed;
z-index: 10;
width: 100%;
min-width: 1200px;
margin: 0 auto;
}

@media (min-width: 800px) {
#rahmen {
    background: url(../img/rahmen2.png) top center no-repeat;
    height: 100%;
position: fixed;
z-index: 10;
width: 100%;
min-width: 1200px;
margin: 0 auto;
}
}

@media (min-width: 1200px) {
    #rahmen {
        background: url(../img/rahmen.png) top center no-repeat;
        height: 100%;
    position: fixed;
    z-index: 10;
    width: 100%;
    min-width: 1200px;
    margin: 0 auto;
    }
    }
/* ---------------------------------------------- header ---------------------------------------------- */

header {
    position: fixed;
    top: 50px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    z-index: 12;
}

@media (min-width: 992px) {
    header {
        padding-top: 20px;
        padding-bottom: 20px;
    }  
}


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

@media (min-width: 992px) {
    #style {
        color: #ffffff;
        max-width: 270px;
        float: left;
    }
}



@media (min-width: 992px) {
    #style button {
        border: none;
        background-color: #0c7d2c;
        color: #ffffff;
        width: 30px;
        height: 30px;
        font-weight: 400;
        position: relative;
        line-height: 1;
        border-radius: 2px;
        display: inline-block;
    }

    #style button:hover {
        background-color: #0c7d2c;
    }

    #style button+button {
        margin-left: 3px;
    }

    #style button:nth-child(1), #style button:nth-child(2) {
        font-size: 14px;
    }

    #style button:nth-child(3) {
        font-size: 18px;
    }
}

@media (min-width: 1200px) {
    #style button+button {
        margin-left: 8px;
    }
}
/* ----------------------------------------- suche ----------------------------------------- */
#topbar span {
    color: #fff;
    font-weight: 600;
    background: rgba(160,109,73,0.5);
}
#search {
    height: 33px;
    background: rgba(255, 255, 255, 0.9);
    display: inline-block;
    position: relative;
    -webkit-box-shadow: 0px 0px 0px 2px rgba(255,255,255,0.5);
-moz-box-shadow: 0px 0px 0px 2px rgba(255,255,255,0.5);
box-shadow: 0px 0px 0px 2px rgba(255,255,255,0.5);
}

#search_input {
    color: #444444;
    font-size: 16px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 33px;
    padding-left: 10px;
    padding-right: 43px;
    height: 33px;
    width: 100%;
}

#search_submit {
    width: 33px;
    background: url('../img/lupe-icon.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    line-height: 33px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    -webkit-transition: background-color 300ms linear;
    -moz-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    -o-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}

#search_input::-ms-input-placeholder {
    color: #444444 !important;
}

#search_input::-webkit-input-placeholder {
    color: #444444 !important;
}

#search_input::-moz-placeholder {
    opacity: 1;
}

#search_input:-moz-placeholder {
    opacity: 1;
}

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

#logo {
    display: block;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 285px;
}

#logo img {
    border: none;
    max-width: 100%;
    height: auto;
}
/* ----------------------------------------------- banner ----------------------------------------------- */

#headerpic, #slider {
    width: 100%;
}

@media (min-width: 992px) {
    #headerpic, #slider {
    }

    #headerpic a.nivo-prevNav {
        left: 65px;
    }

    #headerpic a.nivo-nextNav {
        right: 65px;
    }
}

#headerpic {
    padding: 0px 0px;
    overflow: hidden;
    position: fixed;
    top: 130px;
    max-width: 1200px;
}

.slider-mask {
    display: none;
}

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

nav {
    background-color: #fff;
}

.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: #0c7d2c;
        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: #fff;
        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;
    }

    nav {
        margin-bottom: 30px;
    }
}

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

.navbar-default .navbar-nav>li>a {
    color: #444444;
    font-weight: 600;
    text-align: left;
    padding: 8px 15px 8px 15px;
    position: relative;
    z-index: 0;
    font-size: 1rem;
}

.navbar-default .navbar-nav>li:not(:first-child) {
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

/* -------------------------------------------- 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: #fff;
    background-color: #0c7d2c;
    border-radius: 2px;
}

/* -------------------------------------- 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: #444444;
    font-weight: normal;
    text-align: left;
    position: relative;
    font-size: 1rem;
}

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

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::before {
    content: "►";
    display: block;
    position: absolute;
    top: 13px;
    font-size: 10px;
    opacity: 0;
    color: #0c7d2c;
    -webkit-transition: opacity 300ms linear;
    -moz-transition: opacity 300ms linear;
    -ms-transition: opacity 300ms linear;
    -o-transition: opacity 300ms linear;
    transition: opacity 300ms linear;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::before {
    left: 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 {
    background-color: #dddddd;
}


.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;}


.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 {
    opacity: 1;
}

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

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

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

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

#bg-center {
    background: url(../img/wappen.png) bottom right no-repeat;
}

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

main {
    padding-top: 30px;
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    -webkit-box-shadow: 0px 0px 0px 5px rgba(255,255,255,0.5);
-moz-box-shadow: 0px 0px 0px 5px rgba(255,255,255,0.5);
box-shadow: 0px 0px 0px 5px rgba(255,255,255,0.5);
}

@media (min-width: 992px) {
    main {
        padding-top: 50px;
        margin-left: 100px;
        margin-right: 100px;
    }
}



/* ------------------------------------------ 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: #0c7d2c;
    font-weight: 400;
    line-height: 1.2;
    font-family: 'Merriweather', serif;
}

h1, #content .legacy_h1, .legacy_h1 {
    text-transform: uppercase;
    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.4rem;
}

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

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

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

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

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

footer {
    color: #ffffff;
    position: relative;
    background: url(../img/bg-events.jpg) no-repeat, #3b3b3b;
    background-size: cover;
}

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

/* --------------------------------------------- veranstaltungen -------------------------------------------- */

#news {
    background: #fff;
    padding: 30px;
    min-height: 340px;
}

@media (min-width: 768px) {
    #news .tab_link_entries {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}

#news .tab_link_entry {
    width: 100%;
    padding: 20px 0;
}

@media (min-width: 768px) and (max-width: 991px) {
    #news .tab_link_entry {
        width: calc(50% - 15px);
    }

    #news .tab_link_entry:nth-child(2n+1) {
        margin-right: 15px;
    }

    #news .tab_link_entry:nth-child(2n+2) {
        margin-left: 15px;
    }
}

@media (min-width: 992px) {
    #news .tab_link_entry {
        width: calc(33.33% - 20px);
    }

    #news .tab_link_entry:nth-child(3n+1) {
        margin-right: 15px;
    }

    #news .tab_link_entry:nth-child(3n+2) {
        margin-right: 15px;
        margin-left: 15px;
    }

    #news .tab_link_entry:nth-child(3n+3) {
        margin-left: 15px;
    }
}

#news .tab_link_entry+.tab_link_entry {
    margin-top: 30px;
}

@media (min-width: 768px) {
    #news .tab_link_entry:nth-child(2) {
        margin-top: 0;
    }
}

@media (min-width: 992px) {
    #news .tab_link_entry:nth-child(3) {
        margin-top: 0;
    }
}

#news .tab_link_mehr {
    margin-top: 30px;
    color: transparent;
    font-size: 0;
}

#news .tab_link_mehr a {
    color: #0c7d2c;
    display: inline-block;
    padding: 4px 18px;
    border-radius: 2px;
    font-size: 0.875rem;
    font-weight: 400;
    text-decoration: underline;
}

.clndr {
    float: left;
max-width: 210px;
margin-right: 30px;
}

.tabHeadline {
    color: #0c7d2c;
    font-weight: 400;
    font-family: 'Merriweather', serif;
    font-size: 20px;
}

.tabContent,
.tabContent a {
    color: #444444;
}
/* --------------------------------------------- vernetzt -------------------------------------------- */

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

@media (min-width: 768px) and (max-width: 991px) {
    #vernetzt {
        float: right;
    }
}

#vernetzt span {
    color: #ffffff;
}

#vernetzt span span {
    display: block;
}

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



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

#bgfooter {
    background-color: #0c7d2c;
    padding-top: 35px;
    padding-bottom: 30px;
    position: relative;
}

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

#innerfooter a:hover {
    color: #fff;
    text-decoration: underline;
}

#innerfooter a+a::before {
    content: "|";
    font-size: 90%;
    margin: 0 15px;
    color: #fff;
}

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