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

body {
    font-family: 'Quicksand', sans-serif;
    color: #2d2d2d;
    background: #fbf4f4;
    font-size: 18px;
}

a {
    color: #105296;
}

a:hover {
    color: #105296;
}

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

#content-wrapper {
    margin-top: 40px;
}

#content {
    line-height: 1.3em;
    text-align: left;
    padding: 25px 20px 50px 20px;
}

@media(max-width:991px) {
    #content {
        margin-bottom: 30px;
    }
}

@media (min-width:992px) and (max-width:1199px) {
    #maindiv {
        padding-top: 150px;
    }
}

/* ----------------------------------------------- footer ----------------------------------------------- */
/* change to #footer for inner-containment */
#footer-wrapper {
    background-color: transparent;
    padding: 25px 0;
}

#footer {
    color: #3a3a3a;
}

/*  xs  */
@media (max-width: 767px) {

    /* xs-footer-separator (lines) */
    #footer .row>.col-xs-12:not(:first-child)::before {
        background: #031f3c;
        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;
    }
}

#innerfooter {
    line-height: 40px;
    color: #3a3a3a;
    font-weight: normal;
    font-style: normal;
    margin-top: 15px;
}

#innerfooter a {
    color: #3a3a3a;
    text-decoration: none;
}

#innerfooter a+a {
    margin-left: 10px;
}

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

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

/* ########################################### custom-section ########################################### */
#breaker {
    height: 101px;
    background: url('../img/breaker.jpg') bottom center no-repeat;
    background-size: contain;
}

#topbar {
    background-color: #ffffff;
    padding-top: 10px;
    padding-bottom: 10px;
}

#topbar>.container>.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#logo2 {
    margin-top: 20px;
    margin-bottom: 20px;
}

@media(min-width:992px) {
    #topbar {
        position: absolute;
        top: 0;
        width: 100%;
        padding-top: 20px;
        padding-bottom: 0;
        z-index: 10;
    }

    #topbar>.container>.row {
        position: relative;
        z-index: 10;
        margin-bottom: -70px;
    }

    #logo2 {
        margin-top: 0;
        margin-bottom: 20px;
    }

    #topbar::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        width: 100%;
        background: url('../img/welle.png') center no-repeat;
        bottom: -157px;
        height: 157px;
        z-index: 8;
    }
}

#menu-wrapper {
    background-color: #013061;
}

#logo {
    display: flex;
    align-items: center;
    align-content: center;
    text-decoration: none;
    gap: 15px;
}

@media (min-width: 992px) {
    #logo {
        padding: 0 28px 0 36px;
    }
}

#logo .logoImg img {
    display: block;
}

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

#logo .logoTxt {
    color: #e30118;
    text-transform: uppercase;
    line-height: 1;
    font-size: clamp(1.875rem, 4vw, 3.75rem);
    font-weight: 400;
    font-family: 'Bubbler One', sans-serif;
}

#logo .logoTxt :is(b, strong) {
    color: #013061;
    display: block;
    font-weight: 400;
    text-align: right;
    padding-left: 40px;
    font-family: 'Bubbler One', sans-serif;
}

/* small logo */
#navbar-logo {
    max-width: 70%;
    display: inline-block;
    background: #fff;
    padding: 15px;
}

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

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

@media (max-width: 991px) {
    #content_buttons_div {
        display: none;
    }
}

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

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

.slider-mask {
    display: none;
}

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

/* --------------------------------------------- tab-section -------------------------------------------- */
.box {
    width: 100%;
    background: url('../img/bg_box.png') bottom right no-repeat #ffffff;
    margin-bottom: 30px;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

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

.boxtop {
    background: transparent;
    color: #2d2d2d;
    font-size: 22px;
    font-family: 'Quicksand', sans-serif;
    min-height: 40px;
    line-height: 40px;
    font-weight: normal;
    padding: 0 6%;
}

.boxbody {
    color: #2d2d2d;
    min-height: 50px;
}

.boxindent {
    color: #2d2d2d;
    width: 88%;
    padding: 5px 0;
    margin: 0 auto;
}

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

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

#tabswrapper {
    background: rgb(27, 61, 95);
    background: -moz-radial-gradient(center, ellipse cover, rgba(27, 61, 95, 1) 0%, rgba(3, 31, 60, 1) 85%);
    background: -webkit-radial-gradient(center, ellipse cover, rgba(27, 61, 95, 1) 0%, rgba(3, 31, 60, 1) 85%);
    background: radial-gradient(ellipse at center, rgba(27, 61, 95, 1) 0%, rgba(3, 31, 60, 1) 85%);
    padding: 30px 0;
}

@media(min-width:992px) {
    #tabswrapper {
        min-height: 200px;
    }
}

#tabswrapper .box {
    height: 100%;
    background: transparent;
    box-shadow: none;
}

#tabswrapper .box a {
    color: #fff;
    font-weight: 700;
}

#tabswrapper .boxindent {
    color: #fff;
    width: 100%;
}

#tabswrapper .eventclndr-tab {
    max-width: 400px;
    margin: 0 auto;
}

#tabswrapper .boxtop {
    color: #fff;
    padding: 0;
}

.bild {
    margin-bottom: 0;
}

.bild img {
    margin: 0 auto;
    display: block;
}

#bg-right .box {
    background: transparent;
}

#bg-right .boxtop {
    color: #012852;
    font-family: 'Bubbler One', sans-serif;
    position: relative;
}

#bg-right .boxtop::before {
    position: absolute;
    display: block;
    content: '';
    left: 0;
    height: 6px;
    width: 15px;
    background: #4a6fa1;
    top: 50%;
}

#bg-right .boxtop::after {
    position: absolute;
    display: block;
    content: '';
    right: 0;
    height: 6px;
    width: 15px;
    background: #4a6fa1;
    top: 50%;
}

/* ----------------------------------------------- styler ----------------------------------------------- */
#style {
    margin-top: 15px;
}

#switch {
    color: #fff;
}

#switch a {
    font-family: 'Bubbler One', sans-serif;
    color: #fff;
    line-height: 40px;
    width: 40px;
    font-size: 18px;
    float: left;
    background: #002851;
    display: inline-block;
    margin-left: 20px;
    text-align: center;
}

#switch a:hover {
    background: #e2001a;
}

/* ----------------------------------------------- search ----------------------------------------------- */
#search {
    min-height: 30px;
    width: 100%;
}

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

#search_form {
    min-height: 30px;
    float: right;
    background: #f9f9f9;
    width: 100%;
    -webkit-box-shadow: inset 0px 1px 5px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: inset 0px 1px 5px 0px rgba(0, 0, 0, 0.15);
    box-shadow: inset 0px 1px 5px 0px rgba(0, 0, 0, 0.15);
    padding: 5px;
}

#search_input {
    width: 75%;
    float: left;
    color: #3a3a3a;
    font-size: 14px;
    font-style: normal;
    background: transparent;
    vertical-align: top;
    padding: 0;
    border: 0;
    line-height: 30px;
    padding-left: 10px;
    min-height: 30px;
}

#search_submit {
    width: 25%;
    float: right;
    background: transparent;
    vertical-align: top;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: #1b3d61;
    line-height: 30px;
    color: #fff;
    text-align: center;
    font-size: 16px;
}

#search_input::-ms-input-placeholder, #newsletter_input::-ms-input-placeholder {
    color: #3a3a3a !important;
}

#search_input::-webkit-input-placeholder, #newsletter_input::-webkit-input-placeholder {
    color: #3a3a3a !important;
}

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

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

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

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

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

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

.tab_link {
    color: #2d2d2d;
}

.tab_link_mehr {
    color: #105296;
}

.tab_link_mehr a {
    color: #105296;
}

.tab_link_mandat a {
    color: #105296;
}

#tabswrapper .tab_link_mehr,
tabswrapper .tab_link_mehr a {
    color: #fff;
    font-weight: 700;
}

/* -------------------------------- 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 (22078) ----------------------------------- */
.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: 350px;
        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;
    }
}

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

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

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

    .navbar-header {
        float: none;
    }
}

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

/* ---------------------------------------------- toplevel ---------------------------------------------- */
.navbar-default .navbar-nav>li>a {
    font-family: 'Bubbler One', sans-serif;
    font-weight: 400;
    line-height: 37px;
    color: #fff;
    padding-right: 90px;
    background: url('../img/toplevel.png') center right no-repeat;
    background-color: transparent;
    text-align: left;
    padding-top: 5px;
    padding-bottom: 5px;
}

/* -------------------------------------------- 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_22078_over>a,
.navbar-default .navbar-nav>li.menue_point_toplevel_22078_over>a:hover,
.navbar-default .navbar-nav>li.menue_point_toplevel_22078_over>a:focus {
    color: #fff;
    background: url('../img/toplevel_over.png') center right no-repeat;
    background-color: transparent;
    z-index: 2;
}

/* -------------------------------------- secondlevel dropdown-box -------------------------------------- */
.navbar-nav .open>ul.dropdown-menu {
    z-index: 1;
}

.dropdown-menu {
    padding: 0;
}

/* Secondlevel - DropdownDesign */
.navbar-default .navbar-nav>li>.dropdown-menu {
    background-color: #e5e7ec;
    margin-top: -26px;
    padding-top: 26px;
    padding-bottom: 5px;
    border-left: 1px solid #d9dbe0;
    border-right: 1px solid #d9dbe0;
}

.menue_group_22078_start {
    display: none;
}

.menue_group_22078_end {
    display: none;
}

/* --------------------------------------------- secondlevel -------------------------------------------- */
.navbar-default .navbar-nav>li>.dropdown-menu>li>a {
    background-color: transparent;
    color: #2d2d2d;
    font-weight: 500;
    line-height: 30px;
    text-align: left;
    padding: 0 15px;
}

/* ------------------------------------------ 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_22078_over>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li.menue_point_secondlevel_22078_over>a:hover,
.navbar-default .navbar-nav>li>.dropdown-menu>li.menue_point_secondlevel_22078_over>a:focus {
    font-weight: 500;
    color: #245eb1;
    background-color: transparent;
}

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

.menue_list_thirdlevel_22078_start {
    display: none;
}

.menue_list_thirdlevel_22078_end {
    display: none;
}

/* --------------------------------------------- thirdlevel --------------------------------------------- */
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    background-color: transparent;
    color: #2d2d2d;
    font-weight: 500;
    line-height: 30px;
    padding: 0 15px 0 30px;
}

/* ------------------------------------------ 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_22078_over>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.menue_point_thirdlevel_22078_over>a:hover,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.menue_point_thirdlevel_22078_over>a:focus {
    color: #a02c2c;
    font-weight: 500;
    background-color: transparent;
}