@import url('https://fonts.verwaltungsportal.de/css?family=Source+Sans+Pro:300,300i,400,400i,600,600i,700,700i');

body {
    font-family: Source Sans Pro, sans-serif;
    color: #232323;
    background: #ffffff url('../img/bg_body.jpg') fixed center no-repeat;
    background-size: cover;
}


a {
    color: #604F0B;
}

a:hover {
    color: #604F0B;
}

#content-wrapper a{
    text-decoration: underline;
}

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

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


#search_submit:focus,
#style button:focus,
a:focus,
a:focus-visible{
    outline: 2px auto !important;
}

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

/* change to #footer-wrapper for full-width-background */
#footer {
    background-color: #555555;
    padding: 25px 0px;
}

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

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

/*  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;
    }
    #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: 30px;
    color: #ffffff;
    font-weight: normal;
    font-style: normal;
}

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

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


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

@media(min-width:992px){
    .eventclndr-tab{
        width: 114%;
        max-width: 114% !important;
        margin-left: -7%;
    }
}

.tab_spacer{
    height: 10px !important;
}

#eventclr .boxindent{
    padding: 0;
}

#eventclr .tab_link_title a,
#eventclr .tab_link_title{
    color: #604F0B !important;
}

.theme-default .nivo-controlNav{
    bottom: 10px !important;
}

#sponsoren{
    background: #f4f4f4;
    padding: 25px 0;
}

#sponsoren .box{
    background: transparent;
    border: none;
}

#sponsoren .boxindent{
    width: 100%;
}

#newsticker{
    margin: 15px 0;
}

#newsticker a{
    color: #232323;
}

@media(min-width:992px){
    .nopadding-right{
        padding-right: 0;
    }
}

.nomargin{
    margin: 0;
}

#allaround{
    padding: 0 15px;
    background: #fff;
}

#name{
    font-size: 25px;
    font-style: italic;
    font-weight: 600;
    line-height: 35px;
    color: #434343;
}

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

@media(min-width:992px) and (max-width:1199px){
    #name{
        font-size: 20px;
    }
}

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

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

#logo {
    min-height: 0px;
    background: #fffbef;
    padding: 25px 0;
}

@media (min-width: 992px) {
    #logo{
        max-height: 225px;
    }
    #logo img{
        max-height: 171px;
    }
}
@media (min-width: 1200px) {
    #logo{
        max-height: 268px;
    }
    #logo img{
        max-height: 214px;
    }
}

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

#logo img {
    margin: 0 auto;
}

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

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

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

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

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

/* 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: 268px;
    margin: 0 auto;
    overflow: hidden;}

.slider-mask{
    display: none;
    background: url('../img/slider_mask.jpg') top center no-repeat;
    background-size: contain; /* remove if not correctly sliced */
}



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

.wetter {
    overflow: hidden;
}

.wetter .boxtop {
    margin: 0 0 5px 0;
    border-left: 1px solid #e1e1e1;
    border-top: 1px solid #e1e1e1;
    border-right: 1px solid #e1e1e1;
    hyphens: auto;
}

#page-647284{
    padding: 20px;
}

#page-647284 img{
    display: block;
}

.wetter,
#content-wrapper .box{
    margin-bottom: 22px;
    border: 1px solid #e1e1e1;
}

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

.boxtop {
    background: #ffffff;
    color: #555555;
    font-size: 110%;
    font-family: Source Sans Pro, sans-serif;
    min-height: 40px;
    line-height: 25px;
    font-weight: bold;
    padding: 10px 6%;
    text-transform: uppercase;
    border-bottom: 2px solid #f8c020;
}

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


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

.box a {
    color: #604F0B;
}

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

#hinweise{
    background: #604F0B;
    position: relative;
    line-height: 35px;
}

#hinweise::after {
	position: absolute;
	width: 40px;
	background: url('../img/bg_pseudo.png') center center no-repeat #444444;
	content: '';
	display: block;
	right: -35px;
	top: 0;
	bottom: 0;
	border-left: 2px solid #fff;
}

@media(max-width:767px){
    #hinweise::after{
        right: 0;
    }
}

#hinweise .boxbody{
    min-height: 0;
}

#hinweise .boxindent{
    color: #fff;
    padding: 0;
}

#hinweise .boxindent a{
    color: #fff;
}

#hinweise .cleaner{
    height: 0;
}

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

@media (min-width: 992px) {
    #style button {
        background: transparent;
        padding: 0;
        border: none;
        color: #555555;
        display: inline-block;
        font-weight: 600;
        text-align: center;
        position: relative;
        line-height: 1;
        -webkit-transition: color 150ms linear;
        -moz-transition: color 150ms linear;
        -ms-transition: color 150ms linear;
        -o-transition: color 150ms linear;
        transition: color 150ms linear;
        font-style: italic;
        line-height: 35px;
        font-size: 1.4375rem;
    }

    #style button+button {
        margin-left: 8px;
    }
    #style button:hover {
        color: #f8c020;
    }
    #style button:focus-visible {
        outline: 2px auto;
    }
}

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

#search {
	min-height: 35px;
	display: inline-block;
	position: relative;
	background: #f4f4f4;
    width: 100%;
    margin-top: 10px;
}

@media (min-width: 768px) {
    #search {
        margin-left: 15px;
        width: calc(100% - 15px);
        margin-top: 0px;
    }
}

#search_input {
    color: #717171;
    font-size: 0.875rem;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    padding-left: 10px;
    padding-right: 43px;
    min-height: 35px;
    width: 100%;
    font-style: italic;
    background: transparent;
    line-height: 1;
}
#search_submit {
    width: 35px;
    background: url('../img/search_submit.png') center no-repeat #444444;
    color: #fff;
    padding: 0;
    cursor: pointer;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    min-height: 100%;
    font-size: 0;
    -webkit-transition: background-color 300ms linear;
    -moz-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    -o-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
    line-height: 1;
}


#search_input::-ms-input-placeholder {
    color: #717171 !important;
}
#search_input::-webkit-input-placeholder {
    color: #717171 !important;
}
#search_input::-moz-placeholder {
    opacity: 1;
}
#search_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: #604F0B;
    font-weight: 600;
    line-height: 1.2em;
    font-family: Source Sans Pro, sans-serif;
}

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

}
*/

#newslinks, #newsmandate {
    border: 1px solid #604F0B;
}


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

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

.tab_link {
    color: #555555;
}

.tab_link_mehr {
    color: #555555;
}

.tab_link_mehr a {
    color: #604F0B;
}

.tab_link_mandat a {
    color: #604F0B;
}



/* -------------------------------- 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 (20924) -------------------------------------- */

.navbar-default ul.navbar-nav{
}

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

/* burgermenu - background */
.navbar-default .navbar-toggle {
    background-color: #fff;
    border-color: transparent;
}

/* burgermenu - mouseover */
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #fff;
}

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

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-collapse.collapse.in {
        display: block !important;
    }

    .navbar-header .collapse, .navbar-toggle {
        display: block !important;
    }

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

    .navbar-nav {
        float: none;
        margin: 7.5px -15px;
    }

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

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

    /* burgermenu - centre text */
    .navbar-default .navbar-nav a{
        text-align: center !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;
        margin: 0 auto;
    }

    .navbar-default .navbar-nav > li {
        float: none;
        flex-grow: 1;
    }
}

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

.navbar-default .navbar-nav > li {
    background-color: #434343;
}

.navbar-default .navbar-nav > li > a {
    color: #ffffff;
    font-weight: normal;
    text-align: center;
    padding: 15px 5px;
}

@media(min-width:992px){
    .navbar-default .navbar-nav > li {
        display: flex;
    }
    .navbar-default .navbar-nav > li > a {
        display: flex !important;
        align-content: center;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
}

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

.navbar-default .navbar-nav > li:hover,
.navbar-default .navbar-nav > li:focus,
.navbar-default .navbar-nav > li.open,
.navbar-default .navbar-nav > li.menue_point_toplevel_20924_over{
    background-color: #f8c020;
    color: #604F0B;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li:hover > a,.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_20924_over > a,
.navbar-default .navbar-nav > li.menue_point_toplevel_20924_over > a:hover,
.navbar-default .navbar-nav > li.menue_point_toplevel_20924_over > a:focus {
    color: #604F0B;
    font-weight: normal;
}

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

@media(min-width:992px){
    .menue_group_20924{
        width: 125%;
        margin: 0 auto;
        height: auto;
        padding: 20px;
        position: absolute;
        top: 100%;
        left: 12%;
        z-index: 9999;
        text-align: left;
        display: none !important;
        background-color: rgba(255,255,255,0.95) !important;
    }

    .menue_group_20924 ul {
        position: relative !important;
    }

    /* SHOW BIG BOX */
    .menue_list_toplevel_20924 > li.open .dropdown-menu{
        display: block !important;
    }

    /* SECOND LEVEL 4 COLS */
    .menue_point_secondlevel_20924,
    .menue_point_secondlevel_20924_over {
        list-style: outside none none;
        width: 28%;
        margin-right: 4%;
        margin-bottom: 35px;
        float: left;
    }

    .menue_group_20924 li:nth-child(3n+2) {
        clear: both;
    }

    .nav > li {
        position: static !important;
    }
}



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

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

.navbar-default .navbar-nav > li > .dropdown-menu {
    background-color: rgba(255,255,255,0.95);
    -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);
}

.menue_group_20924_start{
    display: none;
}

.menue_group_20924_end{
    display: none;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
    background-color: transparent;
    color: #604F0B;
    font-weight: 600;
    line-height: 30px;
    text-align: left;
    padding-left: 15px;
    border-bottom: 1px solid #2e2e2e;
    font-size: 0.875rem;
    hyphens: auto;
    word-wrap: break-word;
    white-space: break-spaces;

}

/* ------------------------------------------ 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_20924_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_20924_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_20924_over > a:focus {
    color: #604F0B;
    font-weight: 600;
    background-color: transparent;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    padding: 0px;
    margin: 0;
    background-color: transparent;
    width: 100%;
}

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

.menue_list_thirdlevel_20924_start {
    display: none;
}

.menue_list_thirdlevel_20924_end {
    display: none;
}

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

    .navbar-default .navbar-nav > li > .dropdown-menu > li {
        position: relative;
    }

    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
        position: absolute;
        top: 0;
    }

    .menue_list_thirdlevel_16804 {
        padding: 0px;
        display: block !important;
    }
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    background-color: transparent;
    color: #2d2d2d;
    font-weight: normal;
    line-height: 1.25rem;
    padding-left: 15px;
    font-size: 0.875rem;
    hyphens: auto;
    word-wrap: break-word;
    white-space: break-spaces;
}

/* ------------------------------------------- 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_20924_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_20924_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_20924_over > a:focus {
    color: #604F0B;
    font-weight: normal;
    background-color: transparent;
}

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