@import url('https://fonts.verwaltungsportal.de/import/?family=Open+Sans:400,300,600');
@import url('https://fonts.verwaltungsportal.de/import/?family=Merriweather+Sans:300,300i,400,400i,700,700i|Merriweather:300,300i,400,400i,700,700i');

body {
    font-family: 'Merriweather Sans', sans-serif;
    color: #2c2c2c;
    background: #f5efee;
}

a {
    color: #e33030;
}

a:hover {
    color: #e33030;
}

#maindiv {
    width: 100%;
    line-height: 1.3em;
    text-align: left;
}

#content-wrapper{
    padding-top: 15px;
}

#content {
    line-height: 1.3em;
    text-align: left;
    min-height: 400px;
    padding-bottom: 50px;
    padding-top: 50px;
}


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

/* change to #footer for inner-containment */
#footer-wrapper {
    background: url('../img/bg_footer.jpg') top no-repeat;
    background-color: #e54525;
}

#footer {
    min-height: 100px;
    color: #2c2c2c;
    padding-top: 15px;
    padding-bottom: 15px;
}

/*  xs  */
@media (max-width: 767px) {
    #footer .row > .col-xs-12:not(:first-child)::before{
        background: #ffffff;
        content: " ";
        height: 1px;
        width: 100%;
        display: block;
        margin: 25px 0;
    }
    #footer .row > .col-xs-12.hidden-xs ~ .col-xs-12::before,
    #footer .row > .col-xs-12.hidden-sm ~ .col-xs-12::before{
        display: none;
    }
}

/* xs, sm */
@media (max-width: 991px) {
    #footer {
        padding: 5px 15px;
    }
}

/* md, lg */
@media (min-width: 768px) {
    #footer > .row{
        padding-top: 13px;
    }
}

#innerfooter {
    line-height: 20px;
    color: #2c2c2c;
    font-weight: normal;
    font-style: normal;
    padding-right: 14px;
}

#innerfooter a {
    color: #2c2c2c;
    text-decoration: none;
}

#innerfooter a:hover {
    color: #e33030;
    font-weight: normal;
}


/* ########################################### custom-section ########################################### */

#banner-tabs{
    position: absolute;
    width: 100%;
    margin-top: -30px;
    z-index: 60;
}
#tab-wrapper{
    background: #e33030;
}


#nach_oben {
    float: right;
    opacity: 1;
    background: url('../img/nach_oben.png') left center no-repeat;
    width: 52%;
}

@media (max-width:991px) {
    #nach_oben {
        width: 100%;
    }
}

#oben {
    color: #fff;
    text-align: center;
    padding-top: 87px;
}

#topbar {
    min-height: 37px;
    line-height: 37px;
    padding: 5px 0;
    background-color: #fff;

}

/* xs, sm */
@media (max-width: 991px) {
    #topbar .row > div{
        padding-top: 5px;
        padding-bottom: 5px;
    }
}

#menu-wrapper{
    position: absolute;
    left: 0;
    right: 0;
    z-index: 80;
}
#menu{
    background-color: #e54525;
}


#logo {
    min-height: 20px;
    margin-top: 20px;
}

#logo a {
    max-width: 100%;
    display: inline-block;
}

#logo img {
    margin: 0 auto;
}

/* small logo */
#navbar-logo{
    max-width: 70%;
    display: inline-block;
}

#navbar-logo img{
    max-width: 100%;
}

#vernetzt {
    display: block;
    border-radius: 2px;
    background: #ffffff;
    padding: 8px;
    text-align: center;
    margin: 0 auto;
    max-width: 250px;
}

#content_buttons_div {
    top: 45%;
    z-index: 100;
}

/* xs, sm */
@media (max-width: 991px) {
    #content_buttons_div {
        display: none;
    }

    .slider-mask {
        display: none;
    }
}

.sticky-wrapper {
    position: relative;
    z-index: 51;
}


#headerpic {
    max-height: 450px;
    margin: 0 auto;
    overflow: hidden;}

.slider-mask{
    display: block;
    background: url('../img/slider_mask.png') bottom center no-repeat;
    background-size: contain;
}


#content_spacer {
    height: 100px;
    line-height: 1px;
    font-size: 1px;
}

/* ie-fix btgrid images */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .btgrid .row img {
        width: auto;
    }
}
.theme-default .nivo-controlNav {
    padding: 79px 0 !important; 
}


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

.box {
    width: 100%;
    background: #fff;
    -webkit-box-shadow: 0px 4px 15px 0px rgba(0,0,0,0.07);
    -moz-box-shadow: 0px 4px 15px 0px rgba(0,0,0,0.07);
    box-shadow: 0px 4px 15px 0px rgba(0,0,0,0.07);
    margin-bottom: 10px;
}
.box1 {
    width: 100%;
    background: transparent;
    margin-bottom: 10px;
    margin-top: 10px;
}
.box2 {
    width: 100%;
    background: transparent;
}



.box3 {
    width: 100%;
    background: url('../img/tab1.png') left center repeat;
    text-align: center;
    font-size: 20px;
    padding-left: 15px;
    line-height: 25px;
    padding-right: 15px;
    border-radius: 10px 0 10px 0px;
    height:100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.box4 {
    width: 100%;
    background: url('../img/tab2.png') left center repeat ;
    text-align: center;
    font-size: 20px;
    padding-left: 15px;
    line-height: 25px;
    padding-right: 15px;
    border-radius: 0  10px 0px 10px;
    height:100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.box5 {
    width: 100%;
    background: url('../img/tab2.png') left center repeat ;
    text-align: center;
    font-size: 20px;
    padding-left: 15px;
    line-height: 25px;
    padding-right: 15px;
    border-radius: 10px 0 10px 0px;
    height:100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.box6 {
    width: 100%;
    background: url('../img/tab6.png') left center repeat ;
    text-align: center;
    font-size: 20px;
    padding-left: 15px;
    line-height: 25px;
    padding-right: 15px;
    border-radius: 10px 0 10px 0px;
    height:100%; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.box *:not(.row) {
    max-width: 100%;
}

.boxtop {
    background: url('../img/kontakt.png') left center no-repeat #fff;
    color: #2c2c2c;
    font-size: 16px;
    font-weight: lighter;
    font-family: 'Merriweather', serif;
    min-height: 40px;
    line-height: 40px;
    font-weight: normal;
    padding: 0 6%;
    padding-left: 60px;
    border-bottom: solid 1px #e7e7e7;
    margin-top: 84px;
}
.boxtop1 {
    background: transparent;
    color: #fff;
    font-size: 25px;
    font-family: 'Merriweather', serif;
    min-height: 40px;
    line-height: 40px;
    font-weight: normal;
    padding: 0 6%;
}
.boxtop2 {
    background: transparent;
    color: #fff;
    font-size: 25px;
    font-family: 'Merriweather', serif;
    min-height: 40px;
    line-height: 40px;
    font-weight: normal;
    padding: 0 6%;
}
.boxtop3 {
    background: url('../img/veranstaltungen.png') left center no-repeat #fff;
    color: #2c2c2c;
    font-size: 16px;
    font-weight: lighter;
    font-family: 'Merriweather', serif;
    min-height: 40px;
    line-height: 40px;
    font-weight: normal;
    padding: 0 6%;
    padding-left: 70px;
    border-bottom: solid 1px #e7e7e7;
}

.boxbody {
    color: #2c2c2c;
    min-height: 50px;
}
.boxbody1 {
    color: #2c2c2c;
    margin-top: 39px;
}

.boxindent {
    color: #2c2c2c;
    width: 88%;
    padding: 5px 0;
    margin: 0 auto;
}
.boxindent3 {
    color: #2c2c2c;
    width: 88%;
    padding: 5px 0;
    margin: 0 auto;
    padding-left: 23px;
    padding-top: 43px;
    padding-bottom: 25px;
}
.boxindent1 {
    color: #fff;
    width: 100%;
    padding: 15px 0;
    margin: 0 auto;
}
.boxindent2 {
    color: #2c2c2c;
    width: 95%;
    padding: 0;
    margin: 0 auto;
}
.boxindent2 a {
    color: #2c2c2c;
}
.boxindent2 a:hover {
    color: #e54525;
}

.box6 a,
.box5 a,
.box4 a,
.box3 a{
    color: #fff;
}

.box a {
    color: #e54525;
    text-decoration: underline;
}

.boxbottom {
    height: 5px;
    line-height: 1px;
    font-size: 1px;
}

#banner-tabs .boxbody{
    min-height: 0;
}

/* ----------------------------------------------- search ----------------------------------------------- */

#search {
    height: 27px;
    width: 100%;
    margin-top: 18px;
}

#search_text {
    color: #ffffff;
    line-height: 27px;
    float: left;
    text-align: right;
    width: 27%;
}

#search_form{
    height: 40px;
    float: right;
    background: #fff;
    width: 100%;
}

#search_input {
    width: 86%;
    float: right;
    color: #2c2c2c;
    font-size: 15px;
    font-style: normal;
    background: transparent;
    vertical-align: top;
    padding: 0;
    border: 0;
    line-height: 27px;
    height: 40px;
}

#search_submit {
    width: 11%;
    float: right;
    background: transparent;
    vertical-align: top;
    margin: 6px 5px 0 2px;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: url('../img/search.png') right no-repeat;
    line-height: 27px;
}

@media(max-width:991px){
    #search_text {
        text-align: left;
        width: 15%;
    }

    #search_form {
        width: 85%;
    }
}

@media(max-width:768px){
    #search{
        margin-bottom: 15px;
    }

    #search_text {
        text-align: left;
        width: 100%;
    }

    #search_form {
        width: 100%;
    }
}



/* --------------------------------------------- newsletter --------------------------------------------- */

#newsletter {
    height: 27px;
    width: 100%;
    margin-top: 18px;
}

#newsletter_text {
    color: #ffffff;
    line-height: 27px;
    float: left;
    text-align: right;
    width: 27%;
}

#newsletter_form {
    height: 40px;
    float: right;
    width: 100%;
    background: url('../img/mail.png') left center no-repeat;
    background-color: #fff;
}

#newsletter_input {
    width: 86%;
    float: left;
    color: #2c2c2c;
    font-size: 15px;
    font-style: normal;
    background: transparent;
    vertical-align: top;
    padding: 0;
    padding-left: 0px;
    border: 0;
    line-height: 27px;
    padding-left: 41px;
    height: 40px;
    font-family: 'Merriweather Sans', sans-serif;
}

#newsletter_submit{
    width: 9%;
    float: right;
    background: transparent;
    vertical-align: top;
    margin: -33px 15px 0px 0px;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: url('../img/newsletter.png') right no-repeat;
    line-height: 27px;
}

@media(max-width:991px){
    #newsletter_text {
        text-align: left;
        width: 15%;
    }

    #newsletter_form {
        width: 85%;
    }
}

@media(max-width:768px){
    #newsletter{
        margin-bottom: 15px;
    }

    #newsletter_text {
        text-align: left;
        width: 100%;
    }

    #newsletter_form {
        width: 100%;
    }
}


#search_input::-ms-input-placeholder,#newsletter_input::-ms-input-placeholder {
    color: #2c2c2c !important;
}
#search_input::-webkit-input-placeholder,#newsletter_input::-webkit-input-placeholder {
    color: #2c2c2c !important;
}

#search_input::-moz-placeholder,#newsletter_input::-moz-placeholder {
    opacity: 1;
}
#search_input:-moz-placeholder,#newsletter_input:-moz-placeholder {
    opacity: 1;
}
/* ----------------------------------------------- styler ----------------------------------------------- */

#style {
    margin-top: 14px;
    float: right;
    max-height: 16px;
}

#switch {
    width: 100%;
}

.a, .aa, .aaa {
    display: block;
    height: 34px;
    float: left;
    padding: 0;
    margin: 0 0px 0 0px;
    font-size: 1px;
    line-height: 1px;
}
.a {
    background: url('../img/a.png') top center no-repeat;
    width: 40px;
}

.a:hover {
    background: url('../img/a_over.png') top center no-repeat;
    width: 40px;
}

.aa {
    background: url('../img/aa.png') top center no-repeat;
    width: 40px;
}

.aa:hover {
    background: url('../img/aa_over.png') top center no-repeat;
    width: 40px;
}

.aaa {
    background: url('../img/aaa.png') top center no-repeat;
    width: 40px;
}

.aaa:hover {
    background: url('../img/aaa_over.png') top center no-repeat;
    width: 40px;
} 


/* ------------------------------------------ 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: #2c2c2c;
    font-weight: normal;
    line-height: 1.2em;
    font-family: 'Merriweather', serif;
}

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


/* ------------------------------------------------ dark ------------------------------------------------ */


/* for white background */
#startseite_news ul a {
    font-size: 12px;
    color: #7c7c7c;
    font-weight: normal;
}


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

.tab_link_title a {
    color: #2c2c2c;
    font-weight: normal;
}

.tab_link {
    color: #2c2c2c;
}

.tab_link_mehr {
    color: #2c2c2c;
}

.tab_link_mehr a {
    color: #e54525;
}

.tab_link_mandat a {
    color: #2c2c2c;
}



/* -------------------------------- optimized events for white background ------------------------------- */

.weekdays, .weekdays a:link a:visited a:active a:hover, .weekdays_active {
    color: #cccccc;
}

.weekdays_active a:link a:visited a:active a:hover {
    color: #f7911e;
}

.events-header-heute {
    color: #ffffff;
    background-color: #4c4c4c;
}

.events-header {
    color: #5b5b5b;
    background-color: #e3e3e3;
}

.event-ort, .event-info {
    color: #4c4c4c;
}


/* ------------------------------------------------ menu ------------------------------------------------ */

#menu {
    position: relative;
    z-index: 10;
}

/* --------------------------------------- navigation bar (20147) --------------------------------------- */

.navbar-default ul.navbar-nav{
    height: 65px;
}

.navbar {
    min-height: 65px;
    margin-bottom: 0px;
    border: none;
}


.navbar-default .navbar-toggle {
    background-color: #054919;
    border-color: transparent;
}


.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #054919;
}


@media (max-width: 991px) {
    .navbar-default ul.navbar-nav{
        height: auto;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-collapse.collapse.in {
        display: block !important;
    }

    .navbar-header .collapse, .navbar-toggle {
        display: block !important;
    }

    .navbar-header, .navbar-nav > li {
        float: none;
    }

    .navbar-nav {
        float: none;
        margin: 7.5px -15px;
    }

    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .navbar-nav li .dropdown-menu {
        position: static;
        float: none;
        width: auto;
    }



}

/* menu fixed top (tablet) */
@media (max-width: 991px) {
    /* fixed burgermenu - scrollable */
    #myNavbar {
        height: auto;
        width: 100%;
        max-height: 350px;
        overflow-y: scroll !important;
        border-bottom: 1px solid #ccc;
    }
}

/*** Menü über komplette Breite (1200px) ***/
@media (min-width: 992px) {
    .navbar-default .navbar-nav {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        margin: 0 auto;
    }

    .navbar-default .navbar-nav > li {
        float: none;
        flex-grow: 1;
    }

    .nav > li {
        position: static;
        display: block;
    }
}

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

.navbar-default .navbar-nav > li {
    background-color: #e54525;
}

.navbar-default .navbar-nav > li > a {
    color: #fff;
    font-weight: normal;
    text-align: center;
    padding: 22px 5px 23px 5px;
}

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

.navbar-default .navbar-nav > li:hover,
.navbar-default .navbar-nav > li:focus,
.navbar-default .navbar-nav > li.open,
.navbar-default .navbar-nav > li.menue_point_toplevel_20147_over{
    background: url('../img/toplevel_over.png') bottom center no-repeat #d33819;
}

.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-default .navbar-nav > li.menue_point_toplevel_20147_over > a,
.navbar-default .navbar-nav > li.menue_point_toplevel_20147_over > a:hover,
.navbar-default .navbar-nav > li.menue_point_toplevel_20147_over > a:focus {
    color: #fff;
    font-weight: normal;
}


/* -------------------------------------- secondlevel dropdown-box -------------------------------------- */
@media(min-width:992px){
    .navbar-default .navbar-nav > li > .dropdown-menu {
        margin-top: 0px;
        right: 0;
        position: absolute;
    }


    .open > .dropdown-menu > li{
        display: inline-block;
    }
}

.navbar-default .navbar-nav > li > .dropdown-menu {
    padding: 0px;   
    margin-top: 0px;
    background-color: #fff;
    -webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
    box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2);
}

.menue_group_20147_start{
    height: 0px;
    font-size: 1px;
    line-height: 1px;

}

.menue_group_20147_end{
    height: 0px;
    font-size: 1px;
    line-height: 1px;

}


/* --------------------------------------------- secondlevel -------------------------------------------- */

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
    color: #2d2d2d;
    background: transparent;
    font-weight: normal;
    line-height: 30px;
    text-align: left;
    padding-right: 20px;
    padding-left: 15px;
    min-height: 57px;
    padding-top: 13px;
}

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

/* ------------------------------------------ secondlevel-over ------------------------------------------ */

.navbar-default .navbar-nav > li > .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > a:focus,
.navbar-default .navbar-nav > li > .dropdown-menu > li.open > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.open > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.open > a:focus,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_20147_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_20147_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_20147_over > a:focus {
    color: #e33030;
    font-weight: normal;
    text-decoration: underline;
    padding-right: 20px;
    padding-left: 15px;
    min-height: 57px;
    padding-top: 13px;
}


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

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    padding: 0px;
    margin: 0;
    background: #fff;
    right: 0;
}

.menue_list_thirdlevel_20147_start{
    height: 0px;
    font-size: 1px;
    line-height: 1px;
}

.menue_list_thirdlevel_20147_end{
    height: 0px;
    font-size: 1px;
    line-height: 1px;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
        position: absolute;
        margin-left: 0px;
        top: 100%;
    }


    .navbar-default .navbar-nav > li > .dropdown-menu > li {
        position: static;
    }



    .open > .dropdown-menu li > .dropdown-menu > li {
        display: inline-block;
    }

}

/* --------------------------------------------- thirdlevel --------------------------------------------- */

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    color: #2d2d2d;
    background: transparent;
    font-weight: normal;
    line-height: 30px;
    padding-right: 20px;
    padding-left: 15px;
    min-height: 57px;
    padding-top: 13px;
}

/* ------------------------------------------- thirdlevel-over ------------------------------------------ */

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:focus,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:focus,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_20147_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_20147_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_20147_over > a:focus {
    color: #e33030;
    text-decoration: underline;
    font-weight: normal;
    padding-right: 20px;
    padding-left: 15px;
    min-height: 57px;
    padding-top: 13px;
}