@import url('https://fonts.verwaltungsportal.de/import/?family=Exo:300,900&display=swap');

body {
    font-family: 'Exo', sans-serif;
    color: #2d2d2d;
    background: #ffffff;
    font-weight: 300;
    font-size: 18px;
}

a {
    color: #52901a;
}

a:hover {
    color: #52901a;
}

b, strong {
    font-weight: 900;
}

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

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

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

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

/* ----------------------------------------------- footer ----------------------------------------------- */
#footer-wrapper {
    background-color: #fff;
    padding: 25px 0;
}

#footer {
    color: #2d2d2d;
}

@media (max-width: 767px) {
    #footer .row>.col-xs-12:not(:first-child)::before {
        background: #2d2d2d;
        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;
    margin-top: 15px;
}

#innerfooter a {
    font-weight: 300;
    font-style: normal;
    color: #52901a;
    text-decoration: none;
}

#innerfooter a:hover {
    color: #2d2d2d;
    font-weight: 300;
}

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

#topbar .row {
    display: flex;
    align-content: center;
    align-items: center;
}

#portal-breadcrumb{
    margin-bottom: 50px;
}

#topbar {
    background-color: #ffffff;
    padding: 15px 0;
}

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

#menu-wrapper {
    position: relative;
    z-index: 60;
    background-color: #52901a;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

.logo a {
    max-width: 367px;
    width: 100%;
    display: inline-block;
}

.logo img {
    margin: 0 auto;
}

#logo-footer img {
    max-width: 269px;
}

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

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

#headerpic {
    margin: 0 auto;
    overflow: hidden;
}

@media (min-width: 768px) {

    #headerpic .nivo-main-image,
    #headerpic .nivo-slice,
    #headerpic .nivo-image-link,
    #headerpic img {
        height: 100% !important;
    }
}

@media (min-width: 992px) {
    #headerpic {
        max-height: 450px;
    }
}

.slider-mask {
    display: none;
}

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

#headerpic>.container-fluid>.row {
    display: flex;
    flex-wrap: wrap;
}

#headerpic>.container-fluid {
    padding: 0;
}

/* --------------------------------------------- bannerTab -------------------------------------------- */
#bannerTab {
    background: url('../img/bg_bannertab.png') center left no-repeat;
    background-color: #52901a;
    color: #ffffff;
    padding-top: 15px;
    padding-bottom: 15px;
}

@media (min-width: 992px) {
    #bannerTab {
        height: 100%;
        position: relative;
    }

    #bannerTab::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        height: 100%;
        width: 1000px;
        background: url('../img/overlay-welle.png') top left no-repeat;
        right: -1000px;
        z-index: 8;
        pointer-events: none;
    }

    #bannerTab {
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: flex-end;
    }
}

#bannerTab a {
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 10px 12px;
    display: inline-block;
}

#bannerTab a+a {
    margin-left: 12px;
}

#bannerTab a:hover {
    background-color: #38650f;
    border: 1px solid #38650f;
}

/* --------------------------------------------- tab-section -------------------------------------------- */
.box {
    width: 100%;
    margin-bottom: 30px;
}

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

.boxtop {
    background: transparent;
    color: #2d2d2d;
    font-size: 22px;
    font-family: 'Exo', sans-serif;
    min-height: 40px;
    line-height: 40px;
    font-weight: 300;
    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-color: #1e60a4;
    padding-top: 30px;
    padding-bottom: 30px;
}

@media (min-width: 992px) {
    #tabswrapper {
        background: url('../img/breaker.png') top center no-repeat,
            url('../img/spotlight.png') center no-repeat;
        background-color: #1e60a4;
        padding: 140px 0 30px 0;
    }
}

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

#tabswrapper .box a {
    color: #fff;
}

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

#tabswrapper .boxtop {
    color: #fff;
    padding: 0;
    font-weight: 900;
}

.bild {
    margin-bottom: 0;
}

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

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

#switch {
    color: #fff;
}

#switch a {
    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;
}

/* ------------------------------------------ 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: #002851;
    font-weight: 900;
    line-height: 1.2em;
    font-family: 'Exo', sans-serif;
}

h1, #content .legacy_h1, .legacy_h1 {
    position: relative;
    z-index: 1;
}

H1::before {
    position: absolute;
    content: '';
    background: url('../img/deko_headline.png') center no-repeat;
    width: 68px;
    height: 94px;
    z-index: -1;
    left: -15px;
    bottom: -30px;
}

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

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

/* -------------------------------- 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 bar (22287) --------------------------------------- */
.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: #52901a;
        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) */
/*** 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;
    }
}

/* ---------------------------------------------- toplevel ---------------------------------------------- */
.navbar-default .navbar-nav>li>a {
    color: #ffffff;
    font-weight: 300;
    text-align: center;
    padding: 25px 5px;
}

/* -------------------------------------------- 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_22287_over>a,
.navbar-default .navbar-nav>li.menue_point_toplevel_22287_over>a:hover,
.navbar-default .navbar-nav>li.menue_point_toplevel_22287_over>a:focus {
    color: #ffffff;
    background-color: #6ca13c;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu {
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-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_22287_start {
    display: none;
}

.menue_group_22287_end {
    display: none;
}

/* --------------------------------------------- secondlevel -------------------------------------------- */
.navbar-default .navbar-nav>li>.dropdown-menu>li>a {
    background-color: transparent;
    color: #52901a;
    font-weight: 300;
    line-height: 30px;
    text-align: left;
    padding-left: 34px;
}

/* ------------------------------------------ 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_22287_over>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li.menue_point_secondlevel_22287_over>a:hover,
.navbar-default .navbar-nav>li>.dropdown-menu>li.menue_point_secondlevel_22287_over>a:focus {
    font-weight: 300;
    background-color: #e5eedd;
}

/* --------------------------------------- thirdlevel dropdown-box -------------------------------------- */
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    padding: 15px 0;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
}

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

.menue_list_thirdlevel_22287_start {
    display: none;
}

.menue_list_thirdlevel_22287_end {
    display: none;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        position: relative;
        margin-left: 10px;
    }

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

/* --------------------------------------------- thirdlevel --------------------------------------------- */
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    background-color: transparent;
    color: #52901a;
    font-weight: 300;
    line-height: 30px;
    padding-left: 34px;
}

/* ------------------------------------------- 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_22287_over>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.menue_point_thirdlevel_22287_over>a:hover,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.menue_point_thirdlevel_22287_over>a:focus {
    color: #52901a;
    font-weight: 300;
    background-color: #e5eedd;
}

@media(min-width:992px) {
    .navbar-nav>li {
        display: inline-block !important;
    }
}

/* ----------------------------------------------- maps ----------------------------------------------- */
#maps,
#maps iframe,
#maps>.template-page,
#maps>.template-page>.row,
#maps>.template-page>.row>div {
    height: 100%;
    min-height: 250px;
}

#maps>.template-page>.row>div>.iframe-wrapper-manual-enabling {
    height: 100% !important;
}

#maps>.template-page>.row>div>.iframe-wrapper-manual-enabling>.iframe-label {
    bottom: 0;
}

#maps iframe,
#maps .iframe-wrapper-manual-enabling {
    width: 100%;
    min-width: 100% !important;
    display: block;
}

#maps .cleaner {
    height: 0;
}

#maps .iframe-wrapper-manual-enabling>.iframe-label {
    left: 0;
}

#maps .template-page>.row {
    margin-left: 0;
    margin-right: 0;
}

#maps .template-page>.row>div {
    padding-left: 0;
    padding-right: 0;
}
