@import url('https://fonts.verwaltungsportal.de/import/?family=Quicksand:400,500,600,700&display=swap');

body {
    font-family: 'Quicksand', sans-serif;
    color: #444444;
    background: #fff;
    font-weight: 300;
}

a {
    color: #154FAC;
}

a:hover {
    color: #154FAC;
}

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

#bg-left {
    background: #fff;
}

#bg-right {
    background: transparent;
}

@media(min-width:992px) {
    #bg-right {
        position: relative;
        margin-top: -160px;
        z-index: 54;
    }
}

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

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

/* ----------------------------------------------- tabs ----------------------------------------------- */
#aktuell {
    background: url(../img/maus.png) bottom left no-repeat #29880c;
}

.aktuelltabHeadline {
    font-weight: bold;
    color: #29880c;
    margin: 0;
    background: #fff url(../img/boxtop1.png) center top no-repeat;
    border-radius: 8px 8px 0px 0px;
    padding: 30px 25px;
    text-align: center;
    background-size: 100% 100%;
}

.tab {
    background-color: #f4f4f4;
    border-radius: 8px;
    margin-bottom: 15px;
    min-height: 200px;
}

.tab-footer {
    background-color: transparent;
    padding: 20px 0px;
    color: #fff;
}

.tab-footer a {
    color: #fff;
}

.tabHeadline {
    font-weight: bold;
    color: #fff;
    margin: 0;
    background: #29880c url(../img/boxtop.png) center top 1px no-repeat;
    border-radius: 8px 8px 0px 0px;
    padding: 16px 25px 30px 25px;
    text-align: center;
    background-size: 100% 100%;
}

.tabContent {
    padding: 15px 25px;
    line-height: 1.5rem;
}

.footertab {
    background: transparent;
    color: #fff;
}

.footertab a {
    color: #fff;
}

.footertabHeadline {
    font-weight: bold;
    color: #fff;
    margin: 0;
    background: none;
    font-size: 120%;
    padding-top: 15px;
}

#tab-bild {
    background: #055fa4;
    position: relative;
    padding: 10px 15px 25px 15px;
    border-bottom: 4px solid #fff;
}

@media (min-width: 992px) {
    #tab-bild {
        background: #055fa4;
        position: relative;
        padding: 200px 50px 25px 50px;
    }

    #tab-bild::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 221px;
        background: url(../img/welle-unten.png) no-repeat;
        left: 0;
        top: 0;
    }
}

/* ----------------------------------------------- footer ----------------------------------------------- */
#footer {
    background-color: #3179e3;
    padding-top: 25px;
    padding-bottom: 0;
    color: #ffffff;
}

@media (max-width: 991px) {
    #footer .row>.col-xs-12:not(:first-child)::before {
        background: #ffffff;
        content: " ";
        height: 1px;
        width: 100%;
        display: block;
        margin: 25px 0;
        opacity: 0.25;
    }

    #footer .row>.col-xs-12.hidden-xs~.col-xs-12::before,
    #footer .row>.col-xs-12.hidden-sm~.col-xs-12::before {
        display: none;
    }
}

@media (min-width: 768px) {

    #footer .row>.col-xs-12:nth-child(2)::before,
    #footer .row>.col-xs-12:nth-child(3)::before {
        display: none;
    }
}


#footer > .container{
    padding-top: 30px;
    padding-bottom: 30px;
}


@media (min-width: 768px) {
    #footer {
        background: #154FAC url('../img/bg-footer.png') center bottom;
        background-size: contain;
        padding-top: 0px;
        position: relative;
    }
}

@media (max-width: 767px) {
    .tab-footer{
        text-align: center;   
    }
}

@media (min-width: 576px) {
#footer > .container > .row > .col-xs-12:nth-child(1),
#footer > .container > .row > .col-xs-12:nth-child(2){
    border-right: 1px solid #fff;
}
}



#innerfooter {
    padding-bottom: 8px;
}

#innerfooter a {
    color: #fff;
    text-decoration: none;
    display: inline;
    font-weight: 300;
}

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

#innerfooter a::after {
    content: "\A";
    white-space: pre;
}

/* --------------------------------------------- vernetzt -------------------------------------------- */
#vernetzt {
    text-align: left;
    font-size: 0.75rem;
    color: #fff;
    line-height: 140%;
    margin: 0 auto;
    font-weight: 300;
}

@media (min-width: 768px) and (max-width: 991px) {
    #vernetzt img {
        margin-bottom: 10px;
    }
}

@media (max-width: 767px) {
    #vernetzt{
        text-align: center;
    }

    #vernetzt img{
        margin: auto;
    }
}


#vernetzt b {
    color: #fff;
    font-weight: 400;
    font-family: 'Quicksand', sans-serif;

}

#vernetzt img {
    margin-bottom: 5px;
    display: block;
}

/* ----------------------------------------------- topbar ----------------------------------------------- */
#topbar {
    padding: 20px 0px;
    background: #34a810;
}

@media (min-width: 992px) {
    #topbar {
        padding: 40px 0px;
    }

    #logo {
        position: absolute;
        z-index: 20;
        top: -64px;
    }

    #logo::before {
        content: '';
        position: absolute;
        width: 0px;
        height: 0px;
        -webkit-transform: rotate(360deg);
        border-style: solid;
        border-width: 0 50px 50px 0;
        border-color: transparent #f7f7f7 transparent transparent;
        bottom: 19px;
        left: -34px;
    }
}

@media (min-width: 767px) {
    #topbar .row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        align-content: center;
    }

    #topbar .row>div:nth-child(2) {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 6px;
    }
}

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

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

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

#vernetzt {
    /* padding: 10px 0; */
}

/* xs, sm */
@media (max-width: 991px) {
    /*
      #vernetzt {
          padding: 20px 0px 0px 0px;
      }
    */
}

#content_buttons_div {
    top: 45%;
}

/* xs, sm, md  */
@media (max-width: 1199px) {
    /*  custom stuff here  */
}

/* xs, sm */
@media (max-width: 991px) {

    /*  custom stuff here  */
    /* hide side-labels */
    #content_buttons_div {
        display: none;
    }

    /* hide slider-mask */
    .slider-mask {
        display: none;
    }
}

/*  xs  */
@media (max-width: 767px) {
    /*  custom stuff here  */
}

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

#headerpic {
    max-height: 645px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

@media (min-width: 992px) {
    .nivo-directionNav a {
        top: 33% !important;
    }

    .theme-default .nivo-controlNav {
        top: 15px;
        bottom: auto !important;
    }

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

/* ie-fix btgrid images */
@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
    .btgrid .row img {
        width: auto;
    }
}

/* --------------------------------------------- tab-section -------------------------------------------- */
#tab-wrapper {
    position: relative;
}

#spruch {
    font-size: 20px;
    line-height: 40px;
    color: #3077e6;
    font-family: 'Quicksand', sans-serif;
}

#kontakt {
    line-height: 1.6em;
}

@media (min-width: 992px) {

    #spruch,
    #kontakt {
        position: absolute;
        z-index: 6;
    }

    #spruch {
        left: 15px;
        bottom: 10px;
        font-size: 30px;
    }

    #kontakt {
        right: 15px;
        bottom: 0;
        line-height: 1.3em;
    }
}

@media (min-width: 1200px) {
    #spruch {
        bottom: 30px;
        font-size: 40px;
    }

    #kontakt {
        line-height: 1.6em;
    }
}

@media (min-width: 1400px) {
    #spruch {
        bottom: 40px;
    }
}

@media (min-width: 1700px) {
    #spruch {
        bottom: 50px;
    }
}

@media (min-width: 1900px) {
    #spruch {
        bottom: 30px;
    }
}

.box {
    width: 100%;
    background: #fff;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
    padding: 30px 15px;
}

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

.boxindent {
    color: #444444;
    width: 100%;
    padding: 0;
    margin: 0 auto;
}

.box a,
.boxindent a {
    color: #ca4772;
    text-decoration: none;
}

/* ----------------------------------------------- search ----------------------------------------------- */
#search {
    height: 38px;
    background: #c2e5b8;
    display: inline-block;
    position: relative;
    border-radius: 30px;
    width: 100%;
    margin-top: 15px;
}

@media (min-width: 768px) {
    #search {
        margin-top: 6px;
    }
}

@media (min-width: 992px) {
    #search {
        margin-right: 50px;
        max-width: 240px;
        margin-top: 0;
    }
}

#search_input {
    color: #6e6e6e;
    font-size: 16px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 38px;
    padding-left: 14px;
    padding-right: 47px;
    height: 38px;
    font-weight: 300;
}

#search_submit {
    width: 38px;
    height: 38px;
    border: 0px solid #ffffff;
    background: #fff url('../img/lupe-icon.png') center no-repeat;
    background-size: 14px 14px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 0px;
    right: 0px;
    -webkit-transition: transform 150ms linear;
    -moz-transition: transform 150ms linear;
    -ms-transition: transform 150ms linear;
    -o-transition: transform 150ms linear;
    transition: transform 150ms linear;
    font-size: 0px;
}

#search_submit:hover {
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}

#search_input::-ms-input-placeholder,
#newsletter_input::-ms-input-placeholder {
    color: #6e6e6e !important;
}

#search_input::-webkit-input-placeholder,
#newsletter_input::-webkit-input-placeholder {
    color: #6e6e6e !important;
}

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

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

/* ------------------------------------------------ style ------------------------------------------------ */
@media (min-width: 992px) {
#style{
    margin-left: 50px;
}
    #style button {
        border: none;
        color: #2e3c48;
        display: inline-block;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        font-weight: 400;
        text-align: center;
        background-color: #ffffff;
        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;
    }
    #contrast_style button:hover,
    #style button:hover {
        -moz-transform: scale(1.2);
        -webkit-transform: scale(1.2);
        -o-transform: scale(1.2);
        -ms-transform: scale(1.2);
        transform: scale(1.2);
    }
}

@media (min-width: 992px) {
    #contrast_style {
        line-height: 0;
    }
    #contrast_style button {
        padding: 0;
        border: none;
        background: transparent;
        display: inline-block;
        width: 37px;
        height: 37px;
        -webkit-transition: transform 150ms linear;
        -moz-transition: transform 150ms linear;
        -ms-transition: transform 150ms linear;
        -o-transition: transform 150ms linear;
        transition: transform 150ms linear;
    }
    #contrast_style button+button {
        margin-left: 8px;
    }

    #contrast_style img{
        padding: 6.5px;
        background-color: #ffffff;
        border-radius: 18px;
    }
}


/* ------------------------------------------ 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: #3077e6;
    font-weight: bold;
    line-height: 1.2em;
    font-family: 'Quicksand', sans-serif;
}

/*
h1, #content .legacy_h1, .legacy_h1 {

}
*/
#newslinks,
#newsmandate {
    border: 1px solid #2e3c48;
}

/* ------------------------------------------------ dark ------------------------------------------------ */
/* use if page is dark
.vorschau, .description{
    color: #FFFFFF;
}

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

/* ---------------------------------------------- tab-fonts --------------------------------------------- */
#aktuell .tab_link_title a {
    color: #fff;
    font-weight: bold;
}

#aktuell .tab_link {
    color: #fff;
}

#aktuell .tab_link_mehr {
    color: #fff;
}

#aktuell .tab_link_mehr a {
    color: #fff;
}

#aktuell .tab_link_mandat a {
    color: #fff;
}

.tab_link_title a {
    color: #444;
    font-weight: bold;
}

.tab_link {
    color: #444;
}

.tab_link_mehr {
    color: #444;
}

.tab_link_mehr a {
    color: #444;
}

.tab_link_mandat a {
    color: #444;
}

/* -------------------------------- 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 ------------------------------------------------ */
/* ------------------------------------ navigation left/right (22181) ----------------------------------- */
.navbar {
    min-height: 0;
    margin-bottom: 0px;
    border: none;
}

.navbar-collapse {
    padding-left: 0;
    padding-right: 0;
}

/* burgermenu - background */
.navbar-default .navbar-toggle,
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #ffffff;
    border-color: transparent;
    -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.4);
}

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

    .navbar-collapse {
        position: fixed;
        left: -100%;
        top: 0;
        bottom: 0;
        z-index: 100;
        width: 70%;
        background: #ffffff;
        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);
        border: none;
        opacity: 0;
        pointer-events: none;
        -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::after {
        content: "";
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 30%;
        z-index: -1;
        pointer-events: none;
        display: block;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .navbar-collapse.collapse.in,
    .navbar-header .collapse,
    .navbar-toggle {
        left: 0;
        opacity: 1;
        border: none;
        pointer-events: auto;
        z-index: 60;
    }

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

    .navbar-nav {
        max-width: 400px;
        float: none;
        margin: 12px auto;
        padding-top: 12px;
    }

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

    .navbar-toggle {
        position: fixed;
        right: 15px;
        top: 15px;
        z-index: 101;
        left: auto;
        margin: 0 !important;
        padding: 6px 5px;
        line-height: 0;
        display: block;
        -webkit-transition: background 300ms linear;
        -moz-transition: background 300ms linear;
        -ms-transition: background 300ms linear;
        -o-transition: background 300ms linear;
        transition: background 300ms linear;
    }

    #myNavbar.navbar-collapse.collapse {
        overflow-y: auto !important;
    }
}

/* menu fixed top (tablet) */
@media (max-width: 991px) {
    #menu-wrapper {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        background-color: #ffffff;
        z-index: 9;
        border-radius: 0px;
    }

    /* fixed burgermenu - scrollable */
    #myNavbar {
        height: auto;
        overflow-y: scroll !important;
        border-bottom: 1px solid #ccc;
    }
}

/* Left Navigation */
.navbar-nav>li {
    margin-top: 7px;
    margin-bottom: 20px;
}

@media (min-width: 992px) {
    .navbar-nav {
        float: none;
        margin: 0 -15px;
    }

    .navbar-nav>li {
        float: none !important;
        text-align: left;
    }

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

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

    .navbar-header {
        float: none;
    }
}

.navbar-nav li .dropdown-menu {
    position: relative;
    float: none;
}

/* ---------------------------------------------- toplevel ---------------------------------------------- */
.navbar-default .navbar-nav>li>a {
    line-height: 20px;
    padding: 12px 12px 12px 20px;
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
    text-align: center;
    position: relative;
    color: #fff;
    border-radius: 30px;
    background: rgb(48, 118, 231);
    /* Old browsers */
    background: -moz-linear-gradient(left, rgba(48, 118, 231, 1) 0%, rgba(78, 216, 55, 1) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(48, 118, 231, 1) 0%, rgba(78, 216, 55, 1) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(48, 118, 231, 1) 0%, rgba(78, 216, 55, 1) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        text-align: left
    }
}

/* -------------------------------------------- toplevel-over ------------------------------------------- */
/* 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-default .navbar-nav>li.menue_point_toplevel_22181_over>a,
.navbar-default .navbar-nav>li.menue_point_toplevel_22181_over>a:hover,
.navbar-default .navbar-nav>li.menue_point_toplevel_22181_over>a:focus {
    color: #fff;
    background: #055fa4;
}


/* -------------------------------------- secondlevel dropdown-box -------------------------------------- */
.dropdown-menu {
    padding: 0;
}

/* Secondlevel - DropdownDesign */
.navbar-default .navbar-nav>li>.dropdown-menu {
    background: url(../img/second-bg.jpg) repeat;
    margin-left: 0px;
    border-radius: 0px 0px 10px 10px;
}

.menue_group_22181_start {
    display: none;
}

.menue_group_22181_end {
    display: none;
}

/* --------------------------------------------- secondlevel -------------------------------------------- */
.navbar-default .navbar-nav>li>.dropdown-menu>li>a {
    background-color: transparent;
    color: #2e3c48;
    font-weight: 300;
    line-height: 30px;
    text-align: left;
    background-color: transparent;
    padding: 5px 8px 5px 5px;
    margin-left: 12px;
    white-space: normal;
}

/* ------------------------------------------ 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_22181_over>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li.menue_point_secondlevel_22181_over>a:hover,
.navbar-default .navbar-nav>li>.dropdown-menu>li.menue_point_secondlevel_22181_over>a:focus {
    color: #fff;
    background-color: #29880c;
}



/* --------------------------------------- thirdlevel dropdown-box -------------------------------------- */
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    margin: 0px 0px 0px 12px;
}

.menue_list_thirdlevel_22181_start {
    display: none;
}

.menue_list_thirdlevel_22181_end {
    display: none;
}

/* --------------------------------------------- thirdlevel --------------------------------------------- */
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    background-color: transparent;
    color: #fff;
    font-weight: 300;
    line-height: 30px;
    background-color: #217508;
    padding-left: 45px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ------------------------------------------ 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_22181_over>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.menue_point_thirdlevel_22181_over>a:hover,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.menue_point_thirdlevel_22181_over>a:focus {
    color: #fff;
    background: url('../img/thirdlevel_over.png') left center no-repeat;
    background-color: #5bb83e;
}