@import url('https://fonts.verwaltungsportal.de/css/?family=Nunito:400,700%7CBalthazar');

body {
    font-family: Nunito, sans-serif;
    color: #424242;
    background: #ffffff;
    font-size: 18px;
}

a {
    color: #007db5;
    -webkit-transition: background 300ms linear, color 300ms linear;
    -moz-transition: background 300ms linear, color 300ms linear;
    -ms-transition: background 300ms linear, color 300ms linear;
    -o-transition: background 300ms linear, color 300ms linear;
    transition: background 300ms linear, color 300ms linear;
}

a:hover {
    color: #007db5;
}

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

#content {
    line-height: 1.6em;
    text-align: left;
    min-height: 200px;
}

#content-wrapper {
    padding-top: 10px;
    padding-bottom: 30px;
}

@media (min-width: 992px) {
    #content-wrapper {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

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

#footer-wrapper {
    background-color: #007db5;
    color: #ffffff;
}

@media (max-width: 991px) {
    #footer-wrapper {
            padding-top: 20px;
    padding-bottom: 20px;
    }
}

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

/*  xs  */
@media (max-width: 767px) {
    /* xs-footer-separator (lines) */
    #footer .row > .col-xs-12:not(:first-child)::before{
        background: #ffffff;
        content: " ";
        height: 1px;
        width: 100%;
        display: block;
        margin: 25px 0;
        opacity: 0.2;
    }
    #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 a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
}

#innerfooter a:hover {
    color: #052737;
    text-decoration: none;
}

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

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

/* ########################################### custom-section ########################################### */
.newsticker a {
    color: #007db5;
}

#topbar {
    background-color: #075274;
    min-height: 0;
    padding: 2px;
}

@media (min-width: 992px) {
    #topbar>.container>.row>.col-xs-12 {
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        align-items: center;
        justify-content: flex-end;
    }
}

#logo {
    max-width: 100%;
    display: inline-block;
    margin: 6px 0 0 0;
}

#claim {
    font-family: Balthazar, sans-serif;
    color: #ffffff;
    line-height: 220%;
    display: inline-block;
    padding-bottom: 30px;
    pointer-events: auto;
}

@media (max-width: 560px) {
    #claim {
        display: none;
    }
}

@media (min-width: 768px) {
    #claim {
        padding-bottom: 50px;
    }
}

#claim p {
    margin: 0;
}

#claim p + p {
    margin-top: 6px;
}

@media (min-width: 768px) {
    #claim p + p {
        margin-top: 18px;
    }
}

#claim span {
    padding: 6px 12px;
}

#claim p:nth-child(1) span {
    background-color: rgba(0,125,181,0.85);
    font-size: 120%;
}

@media (min-width: 768px) {
    #claim p:nth-child(1) span {
        font-size: 160%;
    }
}

#claim p:nth-child(2) span {
    background-color: rgba(7,82,116,0.85);
    font-size: 160%;
}

@media (min-width: 768px) {
    #claim p:nth-child(2) span {
        font-size: 260%;
    }
}

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

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

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

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

@media (min-width: 992px) {
    body.start #headerpic,
    body.start #slider {
        max-height: 660px; 
    }
}

#headerpic {
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    border-bottom: 5px solid #075274;
}

#tabOverlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 52;
    display: flex;
    align-content: flex-end;
    align-items: flex-end;
    pointer-events: none;
}

#slider .nivo-main-image,
#slider .nivo-imageLink > div {
    background-size: cover !important;
}

.slider-mask {
    display: none;
}

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

#scrollTop {
    font-size: 0;
    background-color: #00618d;
    display: inline-block;
    width: 35px;
    height: 35px;
    position: relative;
}

#scrollTop:hover {
    background-color: #005074;
}

#scrollTop:after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    left: 13px;
    top: 13px;
    border-style: solid;
    border-width: 0 5px 8px 5px;
    border-color: transparent transparent #ffffff transparent;
}

/* ----------------------------------------------- mail + phone ----------------------------------------------- */

#mail,
#phone {
    margin: 5px 0;
    color: #ffffff;
}

@media (min-width: 992px) {
    #mail {
        margin: 0 30px 0 0px;
        display: inline-block;
    }

    #phone {
        margin: 0 0 0 0px;
        display: inline-flex;
        align-items: center;
    }
}

#mail:before,
#phone:before {
    content: "";
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block; 
    margin-right: 10px;
    height: 12px;
    position: relative;
    top: 2px;
}

#mail:before {
    background-image: url('../img/mail-icon.png');
    width: 14px;
}

#phone:before {
    background-image: url('../img/phone-icon.png');
    width: 12px;
}

#mail a,
#phone a {
    color: #ffffff;
}

#mail p,
#phone p {
    margin: 0;
    display: inline-block;
}

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

#style {
    margin: 0 0 0 30px;
    color: #ffffff;
    display: inline-block;
}

#style a {
    color: #ffffff;
    display: inline-block;
}

#style a:hover {
    color: #ffffff;
}

#style a + a {
    margin-left: 4px;
}

#style span {
    display: inline-block;
    margin-right: 8px;
}

#style a:nth-of-type(3) {
    font-size: 120%;
}

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

#vernetzt {
    text-align: right;
    font-size: 80%;
    max-width: 270px;
    color: #ffffff;
    display: flex;
    align-items: center;
    align-content: center;
    line-height: 140%;
    justify-content: center;
    margin: 0 auto;
}

@media (min-width: 992px) {
    #vernetzt {
        justify-content: center;
        margin: 0;
    }
    
    .vernetzt {
        background: #fff;
        padding: 25px 0px;
    }
}

#vernetzt span {
    color: #ffffff;
}

#vernetzt span span {
    display: block;
}

#vernetzt img {
    margin-left: 12px;
}

/* --------------------------------------------- links below content -------------------------------------------- */

#content_footer {
    margin-top: 40px;
    height: auto;
}

@media (max-width: 479px) {
    #contentbottom_left,
    #contentbottom_right {
        width: 100% !important;
        text-align: center !important;
    }

    .content_footer, #content_footer {
        height: auto !important;
    }
}

@media (max-width: 499px) {
    #breadcrumbincontent,
    #contenttop_right {
        width: 100%;
    }
}

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

#search {
    height: 20px;
    width: 20px;
    background: url('../img/suche-lupe.png') center no-repeat;
    font-size: 0;
    display: inline-block;
    margin: 30px auto 0 auto;
}

@media (min-width: 992px) {
    #search {
        margin: 0;
        margin-left: 25px;
    }
}

/* ------------------------------------------ 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: #007db5;
    font-weight: normal;
    line-height: 1.2em;
    font-family: Balthazar, sans-serif;
}

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

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

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

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

body.start #tabs {
    margin-left: 0;
    margin-right: 0;
}

body.start #tabs div[class*="col"] {
    padding-left: 0;
    padding-right: 0;
}

@media (min-width: 768px) and (max-width: 991px) {
    #tabs {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 30px;
    }

    .tab {
        min-height: 100%;
    }
}

@media (min-width: 992px) {
    body.start #tabs {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 50px;
    }

    body.start .tab {
        min-height: 100%;
    }
}

#tabs iframe {
    max-width: 100% !important;
    overflow: hidden;
}

.tab {
    -webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.08);
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.08);
    padding: 15px 20px;
    background-color: #007db5;
    margin-top: 30px;
}

@media (min-width: 992px) {
    body.start .tab {
        margin-top: 50px;
    }
}

@media (min-width: 992px) {
    body:not(.start) .tab#wetter {
        margin-top: 0;
    }
}

.start #wetter {
    display: block;
}

#wetter {
    display: none;
}

.tab#wetter {
    background-color: #ffffff;
}

.tab#kontakt {
    background-color: #00618d;
}

.tab .headline {
    font-family: Balthazar, sans-serif;
    font-size: 140%;
    margin: 0 0 16px 0;
    color: #ffffff;
}

body.start .tab .headline {
    font-size: 160%;
}

.tab#wetter .headline {
    color: #00618d;
}

.tab .tabContent {
    color: #ffffff;
    line-height: 1.3em;
}

.tab#wetter .tabContent {
    color: #424242;
}

.tab_link_title a,
.tab_link_mandat a {
    color: #ffffff;
}

.tab_spacer {
    height: 12px;
}

.tab_link_mehr {
    text-align: left;
}

.tab:not(#wetter) a {
    color: #ffffff;
}

.tab:not(#wetter) .tab_link_mehr a {
    color: #007db5;
    text-transform: uppercase;
    background-color: #ffffff;
    position: relative;
    margin: 10px -4px 0 -4px;
    font-size: 80%;
    font-weight: bold;
    padding: 4px 10px;
    display: inline-block;
}

/* -------------------------------- 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-wrapper {
    background: #ffffff url('../img/wappen-muster.jpg') 0 -20px;
    padding: 12px 0;
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,0.08);
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.08);
}

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

/* --------------------------------------- navigation bar (19294) --------------------------------------- */

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

.navbar-nav {
    float: none !important;
}

/* 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 url('../img/wappen-muster.jpg') 0 -20px; 
        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;
    }

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

    .navbar-nav {
        margin: 15px 0;
    }

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

    .navbar-nav a {
        text-align: center;
    }
}

/* menu fixed top (tablet) */

/*** 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;
    }

    .navbar-nav:after,
    .navbar-nav:before {
        display: none;
    }

    .navbar-collapse {
        -webkit-box-shadow: none;
        box-shadow: none
    }

    .navbar-nav > li {
        display: inline-block !important;
    }

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

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

.navbar-default .navbar-nav > li {
    -webkit-transition: background 300ms linear;
    -moz-transition: background 300ms linear;
    -ms-transition: background 300ms linear;
    -o-transition: background 300ms linear;
    transition: background 300ms linear;
}

.navbar-default .navbar-nav > li > a {
    color: #888888;
    font-weight: normal;
    text-align: center;
    padding: 10px 5px;
    text-transform: uppercase;
    position: relative;
}

.navbar-default .navbar-nav > li > a:after {
    content: "";
    position: absolute;
    left: 50%;
    display: block;
    width: 9px;
    height: 6px;
    bottom: -6px;
    margin-left: -4px;
    background: url('../img/pfeil-bottom.png') no-repeat;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav > li + li {
        margin-top: 10px;
    }
}

/* -------------------------------------------- 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_19294_over > a,
.navbar-default .navbar-nav > li.menue_point_toplevel_19294_over > a:hover,
.navbar-default .navbar-nav > li.menue_point_toplevel_19294_over > a:focus {
    color: #007db5;
}

.navbar-default .navbar-nav > li > a:hover:after,
.navbar-default .navbar-nav > li > a:focus:after,
.navbar-default .navbar-nav > li.open > a:after,
.navbar-default .navbar-nav > li.open > a:hover:after,
.navbar-default .navbar-nav > li.open > a:focus:after,
.navbar-default .navbar-nav > li.menue_point_toplevel_19294_over > a:after,
.navbar-default .navbar-nav > li.menue_point_toplevel_19294_over > a:hover:after,
.navbar-default .navbar-nav > li.menue_point_toplevel_19294_over > a:focus:after {
    background-image: url('../img/pfeil-bottom-aktiv.png');
}


/* -------------------------------------- secondlevel + thirdlevel dropdown-box -------------------------------------- */
.navbar-default .navbar-nav>li>.dropdown-menu,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    padding: 0;
    border-radius: 4px;
    background: rgba(0,125,181,0.95);
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    margin: 0;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        padding: 15px;
    }
}

.menue_group_19294_start {
    display: none;
}

.menue_group_19294_end {
    display: none;
}

@media(min-width:992px) {

    .navbar-default .navbar-nav>li>.dropdown-menu,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu {
        margin-top: 30px;
        left: 50%;
        -moz-transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    }



    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin-top: -18px;
    }
}

/* keep dropdown open in case the secondlevel is active */
.menue_point_secondlevel_19779_over>.dropdown-menu {
    display: block !important;
}

@media (min-width: 992px) {

    /* Thirdlevel - right dropdown */
    .navbar-default .navbar-nav>li>.dropdown-menu>li {
        position: relative;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        position: absolute;
        left: 100%;
        top: 0;
        margin-left: 10px;
    }
}

.menue_group_19779_start,
.menue_group_19779_end,
.menue_list_thirdlevel_19779_start,
.menue_list_thirdlevel_19779_end {
    display: none;
}

/* --------------------------------------------- secondlevel + thirdlevel -------------------------------------------- */
.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #fff;
    font-weight: 300;
    line-height: 20px;
    text-align: left;
    padding: 8px 25px 10px 50px;
}

/* ------------------------------------------ secondlevel + thirdlevel 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_19779_over>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li.menue_point_secondlevel_19779_over>a:hover,
.navbar-default .navbar-nav>li>.dropdown-menu>li.menue_point_secondlevel_19779_over>a:focus,
.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_19779_over>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.menue_point_thirdlevel_19779_over>a:hover,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.menue_point_thirdlevel_19779_over>a:focus {
    background: url('../img/secondlevel_over.png') center left no-repeat;
    color: #fff;
}