@import url('https://fonts.verwaltungsportal.de/css/?family=Josefin+Slab:600,700');

@font-face {
    font-family: Koenigsberger Gotisch;
    src: url(koenigsberger-gotisch.woff);
    font-weight: normal;
}

body {
    font-family: Josefin Slab, sans-serif;
    font-weight: 600;
    color: #242424;
    background: #26180c url('../img/hintergrund.jpg') fixed no-repeat;
    font-size: 18px;
    background-size: cover;
}

a {
    color: #da001b;
    -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: #da001b;
}

#maindiv {
    width: 100%;
    line-height: 1.6em;
    text-align: left;
    position: relative;
    padding-top: 70px;
    padding-bottom: 70px;
    overflow: hidden;
}

#maindiv:after {
    content: "";
    position: absolute;
    left: 50%;
    width: 1216px;
    margin-left: -608px;
    background-color: #3f2b18;
    top: 50px;
    bottom: 50px;
    display: block;
    z-index: -1;
}

#content {
    background: #e3c28c url('../img/hintergrund-content.jpg');
    line-height: 1.6em;
    text-align: left;
    min-height: 200px;
    padding: 20px 20px 110px 20px;
    min-height: 100%;
    position: relative;
}

@media (min-width: 1200px) {
    #content {
        padding: 50px 50px 110px 50px;
    }
}

body.intro #content {
    background: #e3c28c url('../img/hintergrund-intro.jpg');
    margin-top: -30px;
}

@media (min-width: 992px) {
    body:not(.intro) #content {
        margin-left: -15px;
        margin-right: -15px;
    }
}

@media (min-width: 1200px) {
    body:not(.intro) #content {
        margin-left: -62px;
        margin-right: -62px;
    }
}

#bg-left {
    background: #26180c url('../img/hintergrund-aside.jpg');
    border-top-left-radius: 20px;
    min-height: 0;
    max-width: 245px;
    -webkit-box-shadow: -3px -3px 4px 0 rgba(0,0,0,0.3);
    box-shadow: -3px -3px 4px 0 rgba(0,0,0,0.3);
}

#bg-right {
    background: #26180c url('../img/hintergrund-aside.jpg');
    border-top-right-radius: 20px;
    min-height: 0;
    max-width: 245px;
    -webkit-box-shadow: 3px -3px 4px 0 rgba(0,0,0,0.3);
    box-shadow: 3px -3px 4px 0 rgba(0,0,0,0.3);
    padding-bottom: 30px;
}

@media (max-width: 991px) {
    #bg-right {
        max-width: 80%;
        margin: 30px 10% 40px 10%;
        border-radius: 20px;
    }
}

@media (min-width: 992px) {
    #bg-right {
        display: flex;
        flex-direction: column;
    }
    #top {
        flex-grow: 1;
    }
}

@media (min-width: 1200px) {
    #bg-right {
        margin-left: 95px;
    }
}

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

#footer-wrapper {
    color: #ffffff;
    padding-top: 10px;
    padding-bottom: 10px;
    background: url('../img/bg_footer.png') center no-repeat;
    position: relative;
    height: 138px;
    margin-top: -17px;
}

body.intro #footer-wrapper {
    background: url('../img/bg_footer_index.png') center no-repeat;
}

@media (max-width: 499px) {
    #footer-wrapper {
        padding-bottom: 80px;
    }
}

#innerfooter {
    color: #ffffff;
    font-weight: normal;
    font-style: normal;
    text-align: center;
    margin: 30px 0;
}

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

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

#innerfooter a +a:before {
    content: "\A";
    white-space: pre;
}

#innerfooter2 {
    color: #242424;
    font-weight: normal;
    font-style: normal;
    text-align: left;
    margin: 15px 0;
}

#innerfooter2 a {
    color: #242424;
    text-decoration: none;
    display: inline-block;
}

#innerfooter2 a:hover {
    color: #242424;
}

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

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

#counter{
    background: url('../img/bg_counter.jpg') center no-repeat;
    background-size: cover;
    border-radius: 5px;
    align-items: center;
    width: 200px;
    margin: 0 auto;
    color: #fff;
    line-height: 40px;
    margin-bottom: 25px;
    -webkit-box-shadow: 0px 5px 10px 0px rgba(0,0,0,1);
    -moz-box-shadow: 0px 5px 10px 0px rgba(0,0,0,1);
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,1);
}
#counter-l{
    font-weight: 700;
    padding: 0 15px;
    text-align: center;
    line-height: 110%;
    padding-top: 10px;
}
#counter-r{
    padding: 0 15px;
    text-align: center;
}

.tab_link_title a{
    color: #fff;
}

.tab_spacer{
    height: 15px!important
}

#news{
    margin-top: 0;
}

.boxtop{
    background: #020000;
    border-radius: 5px 5px 0 0;
    color: #fff;
    line-height: 40px;
    font-family: 'Josefin Slab';
    padding: 0 6%;
    margin-top: 15px;
    font-weight: 700;
}

#bottom{
    width: 100%;
}

body.intro #header-wrapper {
    position: relative;
    z-index: 1;
}

#header .container {
    padding-bottom: 5px;
}

@media (min-width: 992px) {
    #header .container {
        padding-left: 0;
        padding-right: 0;
    }
}

#logo {
    display: inline-block;
}

#logo img {
    max-width: 100%;
    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;
}

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

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

#vernetzt {
    text-align: center;
    font-size: 80%;
    max-width: 290px;
    color: #ffffff;
    line-height: 120%;
}

@media (min-width: 768px) {
    #vernetzt {
        margin-left: 0;
        margin-right: 0;
        justify-content: flex-start;
    }
}

#vernetzt span {
    display: block;
    color: #ffffff;
    -webkit-transition: color 300ms linear;
    -moz-transition: color 300ms linear;
    -ms-transition: color 300ms linear;
    -o-transition: color 300ms linear;
    transition: color 300ms linear;
}

#vernetzt:hover span {
    color: #f0dd9f; 
}

#vernetzt img {
    display: block;
    margin: 0 auto 12px auto;
}

#vernetzt b {
    font-family: Koenigsberger Gotisch, serif;
    font-weight: normal;
    font-size: 130%;
    margin-top: 2px;
    display: inline-block;
}

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

#search {
    width: 100%;
    min-height: 37px;
    margin: 40px auto 0 auto;
    max-width: 215px;
}

#search_form{
    float: right;
    background: #f2d7ad;
    width: 100%;
    border-radius: 0 5px 5px 0;
}

#search_input {
    width: 60%;
    float: right;
    color: #503524;
    font-size: 15px;
    font-style: normal;
    background: transparent;
    vertical-align: top;
    padding: 0;
    border: 0;
    line-height: 37px;
    padding-left: 10px;
}

#search_submit {
    width: 40%;
    float: right;
    vertical-align: top;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: url('../img/search_submit.jpg') left no-repeat;
    background-size: contain;
    line-height: 37px;
    color: #000000;
    font-family: Koenigsberger Gotisch, serif;
    -webkit-box-shadow: 0px 2px 10px 0px rgba(0,0,0,1);
    -moz-box-shadow: 0px 2px 10px 0px rgba(0,0,0,1);
    box-shadow: 0px 2px 10px 0px rgba(0,0,0,1);
}

#search_input::-ms-input-placeholder,#newsletter_input::-ms-input-placeholder {
    color: #000000 !important;
}
#search_input::-webkit-input-placeholder,#newsletter_input::-webkit-input-placeholder {
    color: #000000 !important;
}

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

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

#content_footer {
    margin-top: 40px;
    margin-bottom: 30px;
    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%;
    }
}

#breadcrumbincontent {
    display: none;
}

#breadcrumb {
    height: 50px;
    line-height: 20px;
    text-align: left;
}


#nach_oben {
    text-align: center;
    padding-top: 27px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 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: #242424;
    font-weight: 700;
    line-height: 1.2em;
    font-family: Josefin Slab, sans-serif;
}

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

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

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

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

.tab {
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,0.8);
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.8);
    background: #320c02 url('../img/hintergrund-tab.jpg'); 
    padding: 15px 18px;
    margin-top: 20px;
    color: #ffffff;  
}

.tab#gallery .tab_link_mehr {
    display: none;
}

.tab#gallery .tab_link_mehr_new {
    text-align: right;
    margin-top: 8px;
}

.tab + .tab:last-of-type {
    margin-bottom: 20px;
}

.tab .headline {
    margin: 0 0 25px 0;
    border-radius: 5px;
    background-color: #36160a;
    font-family: Koenigsberger Gotisch, serif;
    font-size: 140%;
    color: #ffffff;
    font-weight: normal;
    text-align: center;
    padding: 15px;
}

.tab .tabContent {
    color: #ffffff;  
}

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

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

/* burgermenu - background */
.navbar-default .navbar-toggle,
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #e3d1b4;
    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%;
        max-width: 300px;
        background: #26180c url('../img/hintergrund-aside.jpg'); 
        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.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: 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: 0;
        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;
    }
}

/* 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 > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
    }
    .navbar-header {
        float: none;
    }
}

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

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

.navbar-default .navbar-nav > li {
    margin-top: 20px;
}

.navbar-default .navbar-nav > li:last-of-type {
    margin-bottom: 50px;
}

.navbar-default .navbar-nav > li > a {
    color: #000000;
    font-weight: normal;
    text-align: left;
    padding: 10px;
    font-family: Koenigsberger Gotisch, serif;
    background: #f1d6b5 url('../img/navigation-link.jpg');
    background-size: 100% 100%;
    height: 119px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 22px;
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,0.8);
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.8);
}

/* -------------------------------------------- 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_19274_over > a,
.navbar-default .navbar-nav > li.menue_point_toplevel_19274_over > a:hover,
.navbar-default .navbar-nav > li.menue_point_toplevel_19274_over > a:focus {
    color: #ffffff;
    background-image: url('../img/navigation-link-aktiv.jpg');
}

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

.menue_group_19274_start,
.menue_group_19274_end {
    display: none;
}

.navbar-default .navbar-nav > li > .dropdown-menu {
    background: url('../img/hintergrund-menu.jpg') repeat;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    padding: 15px 20px;
}

.dropdown-menu > li > a {
    white-space: normal;
}
/* --------------------------------------------- secondlevel + thirdlevel -------------------------------------------- */

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
    font-weight: bold;
}

.navbar-default .navbar-nav > li > .dropdown-menu > li > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    background-color: transparent; /* override bootstrap */
    color: #000000;
    line-height: 24px;
    text-align: left;
    padding: 4px;
}

/* ------------------------------------------ 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_19274_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_19274_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_19274_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_19274_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_19274_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_19274_over > a:focus {
    text-decoration: underline;
}

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

.menue_list_thirdlevel_19274_start,
.menue_list_thirdlevel_19274_end {
    display: none;
}