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

body {
    font-family: Open Sans, sans-serif;
    color: #2b2b2b;
    background: #ffffff;
    font-size: 17px;
}

a {
    color: #da020d;
    -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: #6b0106;
}

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

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

@media (max-width: 768px) {
    #content table td {
        display: block;
    }
}

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

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

/* change to #footer for inner-containment */
#footer-wrapper {
    background-color: #434342;
}

#footer {
    color: #ffffff;
    padding-top: 15px;
    padding-bottom: 15px;
}

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

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

/*  xs  */
@media (max-width: 991px) {
    
    #footer .row > .col-xs-12:not(:first-child)::before{
        background: #ffffff;
        content: " ";
        height: 1px;
        width: 100%;
        display: block;
        margin: 20px 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 {
    line-height: 150%;
    color: #ffffff;
    font-weight: normal;
    font-style: normal;
}

#innerfooter a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
}

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

#innerfooter a + a:before {
    content: "|";
    margin: 0 4px;
    color: #ffffff;
}

@media (min-width: 1200px) {
    #innerfooter a + a:before {
        margin: 0 15px;
    }
}

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

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

@media (min-width: 992px) {
    #topbar {
        height: 70px;
        display: flex;
        align-items: center;
        align-content: center;
    }
    
    body.intro #topbar .row,
    body.newsPage #topbar .row {
        display: flex;
        align-items: center;
        align-content: center;
    }
}

#menu-wrapper{
    background-color: #434342;
    max-height: 42px;
}

@media(min-width:992px) {
    #menu-wrapper{
        padding-top: 5px;
        padding-bottom: 5px;
    }
    
    #menu > .row > div {
        display: flex;
        align-items: center;
        align-content: center;
    }
    
    body.intro #menu > .row > div:last-of-type,
    body.newsPage #menu > .row > div:last-of-type {
        justify-content: flex-end;
    }
    
    #menu > .row .navbar {
        flex-grow: 1;
        margin-right: 45px;
        margin-left: 15px;
    }
}

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

#logo img {
    display: block;
}

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

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

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


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

body.intro #headerpic,
body.intro #slider,
body.newsPage #headerpic,
body.newsPage #slider {
    max-height: 480px;  
}

.slider-mask {
    display: none;
}

.slider-mask {
    display: block;
    background-image: url('../img/slider_mask.png');
    background-position: 26% top;
    background-repeat: no-repeat;
    background-size: 1430px;
}

body.intro #headerpic:before,
body.newsPage #headerpic:before {
    content: "";
    background: url('../img/slider_mask_intro.png') 26% top no-repeat;
    background-size: 1430px;
    width: 100%;
    left: 0;
    top: 0;
    position: absolute;
    z-index: 6;
    height: 100%;
    pointer-events: none;
}

@media (min-width: 700px) {
    body.intro #headerpic:before, 
    body.newsPage #headerpic:before,
    .slider-mask {
        background-position: -130px top no-repeat;
        background-size: auto;
    }
}

@media (min-width: 992px) {
    body.intro #headerpic:before,
    body.newsPage #headerpic:before,
    .slider-mask {
        background-position: top left;
    }
}

@media (min-width: 1200px) {
    body.intro #headerpic:before,
    body.newsPage #headerpic:before,
    .slider-mask {
        background-position: top center;
    }
}

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

/* --------------------------------------------- content border -------------------------------------------- */

#bg-left {
    position: relative;
}

#bg-left:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 15px;
    background-color: #434342;
}

#bg-right {
    padding-left: 50px;
    padding-top: 35px;
    padding-bottom: 35px;
}

@media (min-width: 992px) {    
    #bg-left:after {
        left: auto;
        right: -35px;
        top: 0;
        bottom: 0;
        width: 15px;
        height: auto;
    }
    
    #bg-right {
        padding-left: 50px;
    }
}

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

@media (max-width: 992px) {
    #bg-right {
        padding-bottom: 35px;
    }
}

.tab .headline {
    margin: 0;
    font-size: 130%;
    margin-bottom: 20px;
}

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

#content_footer {
    margin-top: 40px;
    height: auto;
    padding-left: 10px;
    padding-right: 10px;
}

@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%;
    }
}

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

#vernetzt {
    text-align: left;
    font-size: 75%;
    max-width: 240px;
    color: #ffffff;
    display: flex;
    align-items: center;
    align-content: center;
    line-height: 140%;
}

@media (max-width: 991px) {
    #vernetzt {
        margin: 15px auto 0 auto;
    }
}

@media (min-width: 992px) {
    #vernetzt {
        float: right;
    }
}

#vernetzt span {
    color: #ffffff;
}

#vernetzt span span {
    display: block;
}

#vernetzt img {
    margin-right: 10px;
}

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

#style {
    color: #ffffff;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: flex-end;
}

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

#style a {
    text-decoration: none;
    display: inline-block;
    font-size: 0;
    height: 32px;
    text-align: center;
    background: url('../img/schriftgroesse-flamme.png') center bottom no-repeat;
    background-size: contain;
}

#style span {
    margin-right: 14px;
    font-size: 80%;
}

@media (min-width: 1200px) {
    #style span {
        font-size: 90%;
    }
}

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

#style a:nth-of-type(1) {
    width: 11px;
}

#style a:nth-of-type(2) {
    width: 15px;
}

#style a:nth-of-type(3) {
    width: 20px;
}

/* ------------------------------------------ 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: #2b2b2b;
    font-weight: bold;
    line-height: 1.2em;
    font-family: Open Sans, sans-serif;
}

#newslinks, #newsmandate {
    border: 1px solid #2b2b2b;
    color: #da020d;
}

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

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

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

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

/* -------------------------------------------- squared links -------------------------------------------- */

#squared {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-between;
    max-width: 170px;
}

@media (max-width: 991px) {
    #squared {
        padding: 5px;
        margin: 0 auto;
    }
}

@media (min-width: 992px) {
    #squared {
        flex-grow: 1;
        height: 32px;
    }
}

#squared a {
    display: block;
    width: 22px;
    height: 22px;
    font-size: 0;
}

#squared a:nth-child(1),
#squared p:nth-child(1) a {
    background-color: #da020d;
}

#squared a:nth-child(2),
#squared p:nth-child(2) a {
    background-color: #ec6504;
}

#squared a:nth-child(3),
#squared p:nth-child(3) a {
    background-color: #ffed00;
}

#squared a:nth-child(4),
#squared p:nth-child(4) a {
    background-color: #0094db;
}

#squared p {
    display: inline-block;
}

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

/* --------------------------------------- navigation bar (17686) --------------------------------------- */

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

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

/* 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;
        right: 100px;
        background-color: #434342; 
        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: 100px;
        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 {
        float: none;
        margin: 40px 0;
    }

    .navbar-nav li .dropdown-menu {
        position: static;
        float: none;
        width: auto;
    }
    
    .navbar-toggle {
        position: fixed;
        right: 15px;
        bottom: 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;
        justify-content: space-between;
        width: 100%;
    }

    .navbar-default .navbar-nav > li {
        display: inline-block;
        width: auto;
        float: none;
    }
    
    .navbar-collapse {
        padding-left: 0;
        padding-right: 0;
    }
    
    .navbar-nav:before,
    .navbar-nav:after {
        display: none;
    }
    
    .nav > li {
        position: static;
    }
    
    body.intro .navbar-default .navbar-nav > li[class*="over"] > .dropdown-menu {
        display: none;
    }
}

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

.navbar-default .navbar-nav > li > a {
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    padding: 10px;
}

@media (min-width: 992px) {
    body.intro .navbar-default .navbar-nav > li > a,
    body.intro .navbar-default .navbar-nav > li > a:hover,
    body.intro .navbar-default .navbar-nav > li > a:focus,
    body.intro .navbar-default .navbar-nav > li.open > a,
    body.intro .navbar-default .navbar-nav > li.open > a:hover,
    body.intro .navbar-default .navbar-nav > li.open > a:focus,
    body.intro .navbar-default .navbar-nav > li.menue_point_toplevel_17686_over > a,
    body.intro .navbar-default .navbar-nav > li.menue_point_toplevel_17686_over > a:hover,
    body.intro .navbar-default .navbar-nav > li.menue_point_toplevel_17686_over > a:focus,
    body.newsPage .navbar-default .navbar-nav > li > a,
    body.newsPage .navbar-default .navbar-nav > li > a:hover,
    body.newsPage .navbar-default .navbar-nav > li > a:focus,
    body.newsPage .navbar-default .navbar-nav > li.open > a,
    body.newsPage .navbar-default .navbar-nav > li.open > a:hover,
    body.newsPage .navbar-default .navbar-nav > li.open > a:focus,
    body.newsPage .navbar-default .navbar-nav > li.menue_point_toplevel_17686_over > a,
    body.newsPage .navbar-default .navbar-nav > li.menue_point_toplevel_17686_over > a:hover,
    body.newsPage .navbar-default .navbar-nav > li.menue_point_toplevel_17686_over > a:focus {
        color: #232323;
    }
}
    
@media(min-width:992px) {
    .navbar-default .navbar-nav > li > a {
        padding: 0;
    }
    
    .navbar-default .navbar-nav > li + li {
        margin-left: 10px;
        padding: 0;
    }
}

/* -------------------------------------------- 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_17686_over > a,
.navbar-default .navbar-nav > li.menue_point_toplevel_17686_over > a:hover,
.navbar-default .navbar-nav > li.menue_point_toplevel_17686_over > a:focus {
    color: #ffffff;
}

.navbar-default .navbar-nav > li > .dropdown-menu > li:nth-child(3) > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li[class*="over"]:nth-child(3) > a {
    color: #da020d;
}

.navbar-default .navbar-nav > li > .dropdown-menu > li:nth-child(4) > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li[class*="over"]:nth-child(4) > a {
    color: #ec6504;
}

.navbar-default .navbar-nav > li > .dropdown-menu > li:nth-child(5) > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li[class*="over"]:nth-child(5) > a {
    color: #e6c904;
}

.navbar-default .navbar-nav > li > .dropdown-menu > li:nth-child(7) > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li[class*="over"]:nth-child(7) > a {
    color: #0094db;
}

/* -------------------------------------- secondlevel dropdown-box -------------------------------------- */

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

@media(min-width:992px){
    body .navbar-default .navbar-nav > li[class*="over"] > .dropdown-menu {
        margin-top: 11px;
        right: -208px;
        display: flex;
        justify-content: space-between;
    }
}

.navbar-default .navbar-nav > li > .dropdown-menu {
    padding: 0px;
    background-color: #ffffff;
}

#menu .menue_group_19177_start,
#menu .menue_group_19177_end{
    display: none;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
    background-color: transparent;
    color: #434342;
    font-weight: bold;
    padding: 12px 10px;
}

@media(min-width:992px){
    .navbar-default .navbar-nav > li > .dropdown-menu > li > a {
        padding: 20px 0;
    }  
    
    .navbar-default .navbar-nav > li > .dropdown-menu > li + li:not(:nth-child(2)) {
        margin-left: 10px;
    }
}

@media(min-width:1200px){
    .navbar-default .navbar-nav > li > .dropdown-menu > li > a {
        text-transform: uppercase;
    }
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    padding: 0px;
    margin: 0;
    background-color: rgba(58,58,58,0.85);
    -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);
}


#menu .menue_list_thirdlevel_19177_start,
#menu .menue_list_thirdlevel_19177_end {
    display: none;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
        margin-left: 0px;
    }
    
    .navbar-default .navbar-nav > li > .dropdown-menu > li {
        position: relative;
        height: 70px;
        display: flex;
        align-items: center;
        align-content: center;
    }

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

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

@media (max-width: 991px) {
    body .navbar-default .navbar-nav > li > .dropdown-menu li > .dropdown-menu > li[class*="over"] {
        display: block;
    }
}

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    background-color: transparent;
    color: #ffffff;
    font-weight: bold;
    padding: 8px 10px 8px 10px;
    background-position: center right;
    background-repeat: no-repeat;
    -webkit-transition: background 500ms linear, color 500ms linear;
    -moz-transition: background 500ms linear, color 500ms linear;
    -ms-transition: background 500ms linear, color 500ms linear;
    -o-transition: background 500ms linear, color 500ms linear;
    transition: background 500ms linear, color 500ms linear;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
        padding: 8px 50px 8px 10px;
    }
}

/* ------------------------------------------- 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_19177_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_19177_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_19177_over > a:focus {
    color: #434342;
    background-image: url('../img/thirdlevel-active.png');  
}

/* ------------------------------------------- intro content ------------------------------------------ */

.banner_spacer {
    display: none;
}

body.intro #squared a,
body.newsPage #squared a {
    pointer-events: none;
}

#squared a {
    pointer-events: none;
    margin-left: 15px;
}

#squared .template-page-effect {
    width: 100%;
}

body.intro #content {
    border: 2px solid #424241;
    border-radius: 20px;
    padding: 40px 0 20px 0;
    margin-bottom: -30px;
    background-color: #ffffff;
    position: relative;
    z-index: 52;
}

@media (min-width: 768px) {
    body.intro #content {
        margin-top: -27px;
    }
}

@media (min-width: 1900px) {
    body.intro #content {
        margin-top: -25px;
    }
}

body.intro #footer {
    padding-top: 50px;
}

#meldungen + label {
    left: -2px;
    right: 50%;
}

#feuerwehr + label {
    right: -2px;
    left: 50%;
}

#meldungen + label,
#feuerwehr + label {
    position: absolute;
    top: -45px;
    text-align: center;
    font-weight: bold;
    font-size: 120%;
    padding: 18px;
    background-color: #434342;
    color: #ffffff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    cursor: pointer;
    z-index: 52;
    border-left: 2px solid #424241;
    border-top: 2px solid #424241;
    border-right: 2px solid #424241;
    -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;
}

#meldungen:hover + label,
#meldungen:checked + label,
#feuerwehr:hover + label,
#feuerwehr:checked + label {
    background-color: #ffffff;
    color: #434342;
}

#meldungen,
#feuerwehr,
#meldungenText,
#feuerwehrText {
    display: none;
}

#meldungen:checked ~ #meldungenText {
    display: block;
}

#feuerwehr:checked ~ #feuerwehrText {
    display: block;
}

#feuerwehrText table td {
    vertical-align: bottom;
    display: block;
    text-align: center;
}

@media (min-width: 768px) {
    #feuerwehrText table td {
        display: table-cell;
        text-align: inherit;
    }
}

#feuerwehrText table img {
    margin: 10px auto 0 auto !important;
}

@media (min-width: 768px)  and (max-width: 1200px) {
    #feuerwehrText table img {
        max-width: 100%;
        height: auto !important;
    }
}

#welcomepage-wrapper .row.compensate + hr,
#welcomepage-wrapper .row.compensate + hr + p{
    display: none;
}

body.intro #headerpic img,
body.newsPage #headerpic img {
    height: 270px;
    max-width: none;
}

@media (min-width: 992px) {
    body.intro #headerpic img,
    body.newsPage #headerpic img {
        height: 480px;
    }
}