@import url("https://fonts.verwaltungsportal.de/import/?family=Open+Sans:400,400i,700,700i");

body {
    font-family: "Open Sans", sans-serif;
    color: #515151;
    background: #ffffff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

a {
    color: #930b06;
}

a:hover,
a:focus {
    color: #930b06;
    text-decoration: underline;
}

#content a,
b, strong {
    font-weight: 700;
}

@media (min-width: 1200px) {
    .row, .compact, ._op-container .container {
        max-width: 1600px;
        width: 100%;
    }
}

a:focus {
    outline: 3px solid #e2b340 !important;
}

button:focus {
    outline: 3px solid #e2b340 !important;
}

form:focus {
    outline: 3px solid #e2b340 !important;
}

input:focus {
    outline: 3px solid #e2b340 !important;
}

/* ------------------------------------------------- logo ------------------------------------------------ */

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

@media (max-width: 991px) {
    #logo img {
        max-width: 210px;
        width: 100%;
    }
}

/* --------------------------------------- navigation --------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
    #burgerButton {
        font-size: 0;
        border: none !important;
        position: relative;
        z-index: 1002;
        display: block;
        width: 46px;
        height: 40px;
        border-radius: 2px;
        cursor: pointer;
        background-color: #ffffff;
        padding: 3px;
    }

    #burgerButton:before, #burgerButton:after, #burgerButtonInner {
        background-color: #930b06;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 2px;
        -webkit-transition: transform 200ms linear, opacity 200ms linear;
        -moz-transition: transform 200ms linear, opacity 200ms linear;
        -ms-transition: transform 200ms linear, opacity 200ms linear;
        -o-transition: transform 200ms linear, opacity 200ms linear;
        transition: transform 200ms linear, opacity 200ms linear;
    }

    #burgerButton[aria-expanded="true"] #burgerButtonInner {
        -webkit-transform: rotate(-45deg) translate(-6px, 6px);
        transform: rotate(-45deg) translate(-6px, 6px);
    }

    #burgerButton[aria-expanded="true"]:before {
        opacity: 0;
    }

    #burgerButton[aria-expanded="true"]:after {
        -webkit-transform: rotate(45deg) translate(-4px, -6px);
        transform: rotate(45deg) translate(-4px, -6px);
    }

    #burgerButtonInner {
        top: 10px;
    }

    #burgerButton:before {
        top: 18px;
    }

    #burgerButton:after {
        top: 26px;
    }

    #burgerButton:before, #burgerButton:after {
        content: "";
        display: block;
    }

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

    .navbar-collapse {
        top: 0;
        background: #ffffff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        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);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        -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 {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-header {
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        background-color: #ffffff;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
        -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }

    .navbar-collapse.in:after {
        content: "";
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
        display: block;
        width: 90px;
        background-color: rgba(0, 0, 0, 0.5);
    }
}

@media (min-width: 575px) and (max-width: 991px) {
    .navbar-collapse {
        width: 60%;
    }

    .navbar-collapse.collapse.in:after {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    #menuBox {
        position: relative;
        margin-top: -30px;
        z-index: 12;
        background-color: #ffffff;
        box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
        -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
        border-radius: 4px;
    }

    .is-sticky #menuBox {
        border: unset;
        box-shadow: none;
        margin-top: 0;
    }

    .is-sticky .horizontally {
        background-color: #ffffff;
        box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
        -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
    }

    nav.horizontally .navbar-nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
    }

    nav.horizontally .navbar-nav>li {
        flex-grow: 1;
    }

    nav.horizontally .dropdown-menu {
        position: absolute;
        top: 110%;
        left: 0;
        z-index: 1000;
    }

    nav.horizontally .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        position: absolute;
        left: 100%;
        top: 0;
    }

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

    /* Fade in Hover Start */
    .navbar-default .navbar-nav li[class*="toplevel"]>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]>ul {
        display: block !important;
        pointer-events: none;
        opacity: 0;
        -webkit-transition: opacity 300ms linear;
        -moz-transition: opacity 300ms linear;
        -ms-transition: opacity 300ms linear;
        -o-transition: opacity 300ms linear;
        transition: opacity 300ms linear;
    }

    .navbar-default .open>.dropdown-menu,
    .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]:hover>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]>ul[style*="block"] {
        pointer-events: auto !important;
        opacity: 1 !important;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]:focus-within>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]:focus-within>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
    }

    .navbar-default .nav .open>.dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }

    /* Pseudo */

    .navbar-default .navbar-nav>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        height: 10px;
        left: 0;
        right: 0;
        top: -10px;
    }

    /* 3rd */

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        width: 10px;
        top: 0;
        bottom: 0;
        left: -10px;
    }

    /* Fade in Hover End */
}


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

.navbar-default .navbar-nav>li>a {
    color: #515151;
    font-weight: 700;
    text-align: left;
    padding: 10px 35px 15px 35px;
    text-transform: uppercase;
    position: relative;
    font-size: 0.875rem;
    line-height: 1.2;
    text-decoration: none;
}

.navbar-default .navbar-nav>li>a:focus {
    border: none;
    outline: none !important;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    }
}

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

    .navbar-default .navbar-nav>li>a {
        padding: 20px 0;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        display: block;
    }
}

.navbar-default .navbar-nav>li>a::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 8px;
    background: url('../img/arrow-active.png') center bottom no-repeat;
    opacity: 0;
    -webkit-transition: opacity 300ms linear;
    -moz-transition: opacity 300ms linear;
    -ms-transition: opacity 300ms linear;
    -o-transition: opacity 300ms linear;
    transition: opacity 300ms linear;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li>a::before {
        background: url('../img/arrow-active.png') left 55px bottom no-repeat;
        bottom: 4px;
    }
}

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

.navbar-nav>li:hover>a,
.navbar-nav>li>a:hover,
.navbar-nav>li>a:focus,
.navbar-nav>li.open>a,
.navbar-nav>li.open>a:hover,
.navbar-nav>li.open>a:focus,
.navbar-nav>li[class$="_over"]>a,
.navbar-nav>li[class$="_over"]>a:hover,
.navbar-nav>li[class$="_over"]>a:focus {
    color: #930b06;
    background-color: transparent;
}

.navbar-nav>li:hover>a::before,
.navbar-nav>li>a:hover::before,
.navbar-nav>li>a:focus::before,
.navbar-nav>li.open>a::before,
.navbar-nav>li.open>a:hover::before,
.navbar-nav>li.open>a:focus::before,
.navbar-nav>li[class$="_over"]>a::before,
.navbar-nav>li[class$="_over"]>a:hover::before,
.navbar-nav>li[class$="_over"]>a:focus::before {
    opacity: 1;
}

/* -------------------------------------- secondlevel + thirdlevel dropdown-box -------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background-color: #ffffff;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
}

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

@media(min-width:992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        border-radius: 4px;
    }

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

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

/* --------------------------------------------- secondlevel + thirdlevel -------------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #515151;
    font-weight: 400;
    text-align: left;
    padding: 9px 25px;
    font-size: 0.875rem;
    line-height: 1.2;
    text-decoration: none;
}

/* ------------------------------------------ secondlevel + thirdlevel over ------------------------------------------ */

.navbar-nav>li>.dropdown-menu>li:hover>a,
.navbar-nav>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:focus {
    background: url('../img/arrow-right.png') right 15px center no-repeat #313a44;
    color: #ffffff;
}

.navbar-nav>li>.dropdown-menu>li:focus-within>a {
    background: url('../img/arrow-right.png') right 15px center no-repeat #313a44;
    color: #ffffff;
}

.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:hover>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:focus {
    background: #313a44;
    color: #ffffff;
}

.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a {
    background: #313a44;
    color: #ffffff;
}

/* ----------------------------------------------- banner ----------------------------------------------- */

#slider {
    max-height: 300px;
    overflow: hidden;
    position: relative;
}

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

    #headerpic a.nivo-prevNav {
        left: 65px;
    }

    #headerpic a.nivo-nextNav {
        right: 65px;
    }
}

#headerpic {
    margin: 0 auto;
    position: relative;
    width: 100%;
    border-top: 5px solid #930b06;
    border-bottom: 5px solid #930b06;
}

.slider-wrapper, #slider {
    height: 100%;
}

.slider-mask {
    display: none;
}

@media (min-width: 1200px) {
    .slider-mask {
        display: block;
        background: url('../img/bannermaske.png') top left no-repeat;
    }

    .theme-default .nivo-controlNav {
        bottom: unset !important;
        top: 6px;
    }

    .nivo-directionNav a {
        top: 65%;
    }
}

/* ----------------------------------------------- bannerOverlay ----------------------------------------------- */

@media (min-width: 1200px) {
    #bannerOverlay {
        position: absolute;
        pointer-events: none;
        z-index: 12;
        top: 30px;
        left: 0;
        right: 0;
    }

    #logo {
        pointer-events: all;
        padding-left: 50px;
    }
}

@media (max-width: 1199px) {
    #bannerOverlay {
        padding: 10px 0;
    }
}

/* ------------------------------------------------ tickerWrapper ----------------------------------------------- */

#tickerWrapper {
    padding-top: 30px;
    position: relative;
}

@media (min-width: 768px) {
    #tickerWrapper {
        font-size: 1.125rem;
    }
}

.newsticker,
.newsticker a {
    margin: 0;
    color: #666666;
}

.newsticker:hover,
.newsticker a:hover,
.newsticker:focus,
.newsticker a:focus {
    color: #930b06;
}

/* ------------------------------------------------ searchBox ----------------------------------------------- */

#searchBox {
    padding-top: 20px;
    padding-bottom: 25px;
    position: relative;
}

#search {
    height: 45px;
    background: #ffffff;
    display: inline-block;
    position: relative;
    width: 100%;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

#search_input {
    color: #666666;
    font-size: 18px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 45px;
    padding-left: 30px;
    padding-right: 100px;
    height: 45px;
    width: 100%;
}

#search_submit {
    width: 90px;
    background: url('../img/icon-suche.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    line-height: 45px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    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;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

#search_submit:hover {
    background-color: #e5e5e5;
}

#search_input::-ms-input-placeholder {
    color: #666666 !important;
}

#search_input::-webkit-input-placeholder {
    color: #666666 !important;
}

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

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

/* ------------------------------------------------ tab14 ----------------------------------------------- */

@media (min-width: 1200px) {
    #tab14>.row>div {
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 14.2% !important;
        flex: 0 0 14.2% !important;
        max-width: 14.2% !important;
    }

    #tab14>.row {
        max-width: 1570px;
        width: 100%;
    }
}

#tab14 {
    font-size: 1rem;
}

#tab14 .template-page>.row>div {
    padding: 0;
}

#tab14 .tabContent a {
    color: #ffffff;
    text-align: center;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.index #tab14 .tabContent a::before {
    content: '';
    background-position: center !important;
    background-repeat: no-repeat !important;
    width: 75px;
    height: 75px;
    display: block;
    pointer-events: none;
    position: absolute;
    top: 70px;
    left: calc(50% - 38px);
}

@media (max-width: 1199px) {
    .index #tab14 .tabContent a::before {
        top: 0px;
    }
}

#tab14 .tab7,
#tab14 .firstab {
    border-radius: 4px;
}

#tab14 .firstab .tabContent a::before {
    background: url('../img/icon-meldewesen.png');
}

#tab14 .secondtab .tabContent a::before {
    background: url('../img/icon-politik.png');
}

#tab14 .thirdtab .tabContent a::before {
    background: url('../img/icon-bibliothek.png');
}

#tab14 .tab4 .tabContent a::before {
    background: url('../img/icon-baustellen.png');
}

#tab14 .tab5 .tabContent a::before {
    background: url('../img/icon-jobs.png');
}

#tab14 .tab6 .tabContent a::before {
    background: url('../img/icon-fundbuero.png');
}

#tab14 .tab7 .tabContent a::before {
    background: url('../img/icon-amtsblatt.png');
}

#tab14>.row>.col-xs-12 {
    padding: 0px;
}

#tab14 .tab {
    text-align: center;
    color: #ffffff;
    background-color: #930b06;
    transition: 500ms cubic-bezier(.65, .05, .36, 1);
    pointer-events: all;
    transition: border, 0ms ease-out;
    position: relative;
}

#tab14 .tabContent a {
    padding: 70px 30px;
}

#tab14 .tabContent h2 {
    margin-bottom: 30px;
}

#tab14 .tabContent {
    max-height: 100%;
    overflow: hidden;
}

#tab14 .tab:focus-within,
#tab14 .tab:hover {
    background: #780200;
}

#tab14 .template-page>.row {
    margin: auto;
}

#tab14 .tab a {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
}

#tab14 .tab a:focus,
#tab14 .tab a:hover {
    text-decoration: none;
}

@media (max-width: 1199px) {
    #tab14 {
        background-color: #930b06;
        padding-bottom: 15px;
    }

    #tab14>.row>div {
        margin-top: 10px;
    }

    #tab14>.row>div .tab {
        border: 1px solid #e5e5e5;
    }

    #tab14>.row>.col-xs-12 {
        padding: 0 5px;
    }

    #tab14 .tab {
        padding: 15px;
    }
}

@media (max-width: 1199px) {
    #tab14 .tab {
        min-height: 100%;
    }
}

@media (min-width: 1200px) {
    #tab14 {
        position: relative;
    }

    #tab14>.row>div:nth-of-type(1) .tab {
        border-left: 1px solid #e5e5e5;
    }

    #tab14>.row>div:nth-last-of-type(1) .tab {
        border-right: 1px solid #e5e5e5;
    }


    #tab14 .tab::after {
        bottom: 0px;
        top: unset;
    }

    #tab14 .col-xl-2 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }

    #tab14>.row {
        height: 310px;
    }

    #tab14 .tab {
        transition: 500ms cubic-bezier(.65, .05, .36, 1);
        pointer-events: all;
        transition: border, 0ms ease-out;
        margin-right: -2px;
        transition: all 500ms ease-in-out;
    }

    #tab14 .tabContent {
        min-height: 100px;
        overflow: hidden;
        transition: all 500ms ease-in-out;
    }

    #tab14 .tabContent a {
        padding: 75px 15px 75px 15px;
    }

    .index #tab14 .tabContent a {
        padding: 165px 15px 75px 15px;
    }

    #tab14>.row>div+div::before {
        content: '';
        height: 100%;
        max-height: 150px;
        width: 1px;
        background: #e5e5e5;
        position: absolute;
        left: 0px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        display: inline-block;
        z-index: 1;
    }

    #tab14 .tab:focus-within,
    #tab14 .tab:hover {
        padding-top: 20px;
        padding-bottom: 20px;
        background: #780400;
        border: none;
        z-index: 12;
        border: none !important;
        border-radius: 4px;
    }

    #tab14 .tab:focus-within>.tabContent,
    #tab14 .tab:hover>.tabContent {
        max-height: 600px;
        transform: scale(1.12);
    }

    #tab14 .tab a:focus,
    #tab14 .tab a:hover {
        text-decoration: none;
        width: 80%;
        margin: 10px auto;
    }

}

@media (max-width: 1199px) {
    #tab14 .tabContent a::before {
        top: 15px;
        background-position: center top !important;
    }

    #tab14 .tabContent a {
        padding: 90px 30px 20px 30px;
    }
}

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

main {
    text-align: left;
}

@media (max-width: 991px) {
    main {
        display: grid;
    }
}

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

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

    main {
        display: flex;
        flex-wrap: wrap;
    }

    main>* {
        width: 100%;
    }
}

.index #content>.row>div>* {
    display: none;
}

.index #content {
    padding: 0;
}

.index #content_buttons_div {
    display: block !important;
}

/* ----------------------------------------------- hrBox -------------------------------------------- */

.hrBox hr {
    margin-top: 35px;
    margin-bottom: 35px;
    opacity: 0.1;
    height: 2px;
}

/* ----------------------------------------------- linkTab -------------------------------------------- */

.linkTab a {
    color: #ffffff;
    position: relative;
    display: inline-block;
    background-color: #930b06;
    text-decoration: none;
    border-radius: 4px;
    padding: 8px 60px 8px 15px;
    overflow: hidden;
    font-size: 1rem;
    font-weight: 700;
}

.linkTab a::after {
    content: '\00BB';
    position: absolute;
    width: 45px;
    height: 100%;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    text-align: center;
    background-color: #780400;
    padding-top: 12px;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    transition: all 300ms linear;
}

.linkTab a:hover::after,
.linkTab a:focus::after {
    background-color: #500300;
}

/* ----------------------------------------------- news + events -------------------------------------------- */

#news,
#events {
    padding-bottom: 35px;
}

#news .tabHeadline,
#events .tabHeadline {
    margin-bottom: 0;
    font-size: 1.5625rem;
    color: #313a44;
}

@media (min-width: 992px) {

    #news .tabHeadline,
    #events .tabHeadline {
        font-size: 2.5rem;
    }
}

#news .tab_link_entry,
#events .tab_link_entry {
    font-size: 1rem;
    position: relative;
    width: 100%;
    color: #2b2b2b;
}

#news .vorschau,
#events .vorschau {
    opacity: 1;
}

#news .tab_link_title a,
#events .tab_link_title a {
    line-height: 1.2;
    font-weight: 700;
    font-size: 1.125rem;
    display: block;
    margin-bottom: 8px;
    color: #313a44;
}

#events .tab_link_mandat a {
    color: #2b2b2b;
}

@media (min-width: 576px) {

    #news .tab_link_entries,
    #events .tab_link_entries {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}

#news .tab_link,
#news .tab_link>div,
#events .tab_link,
#events .tab_link>div {
    height: 100%;
    min-height: 100%;
}

#news .tab_link_entry,
#events .tab_link_entry {
    position: relative;
    background: #ffffff;
    border-radius: 4px;
    padding: 210px 20px 25px 20px;
    border: none !important;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
}

@media (min-width: 576px) and (max-width: 991px) {

    #news .tab_link_entry,
    #events .tab_link_entry {
        width: calc(50% - 15px);
    }

    #news .tab_link_entry:nth-child(2n+1),
    #events .tab_link_entry:nth-child(2n+1) {
        margin-right: 15px;
    }

    #news .tab_link_entry:nth-child(2n+2),
    #events .tab_link_entry:nth-child(2n+2) {
        margin-left: 15px;
    }

    #news .tab_link_entry:nth-child(3),
    #events .tab_link_entry:nth-child(3),
    #news .tab_link_entry:nth-child(4),
    #events .tab_link_entry:nth-child(4) {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {

    #news>.row>*:nth-child(2),
    #events>.row>*:nth-child(2) {
        margin-top: 30px;
    }

    #news .tab_link_entry+.tab_link_entry,
    #events .tab_link_entry+.tab_link_entry {
        margin-top: 30px;
    }
}

@media (min-width: 992px) {

    #news .tab_link_entry,
    #events .tab_link_entry {
        width: calc(24.33% - 17px);
    }

    #news .tab_link_entry+.tab_link_entry,
    #events .tab_link_entry+.tab_link_entry {
        margin-left: 30px;
    }
}

@media (min-width: 576px) {

    #news .tab_link_entry:nth-child(2),
    #events .tab_link_entry:nth-child(2) {
        margin-top: 0;
    }
}

#news .tab_link,
#events .tab_link {
    margin-top: 30px;
}

#news .tab_preview_picture,
#events .tab_preview_picture {
    background: #ffffff;
}

#news .tab_link_entry::before,
#news .tab_link_entry .tab_preview_picture,
#events .tab_link_entry::before,
#events .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: -1px;
    left: -2px;
    right: -1px;
    height: 170px;
    overflow: hidden;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

#news .tab_link_entry::before,
#events .tab_link_entry::before {
    content: "";
    background: #e5e5e5 url("../img/platzhalter.jpg") center / cover no-repeat;
}

#news .tab_preview_picture img,
#events .tab_preview_picture img {
    position: absolute;
    margin: 0 !important;
    left: 50%;
    top: 50%;
    max-width: none;
    min-width: 100%;
    min-height: 100%;
    max-width: 350px;
    width: auto;
    height: auto;
    -ms-interpolation-mode: bicubic;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

#news .tab_date,
#events .tab_link_date {
    font-size: 0.8125rem;
    position: absolute;
    left: -10px;
    top: 150px;
    z-index: 1;
    display: inline-block;
    padding: 6px 20px;
    background: #323845;
    color: #ffffff;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

#news .tab_date::before,
#events .tab_link_date::before {
    content: '';
    position: absolute;
    pointer-events: none;
    left: 0px;
    bottom: -10px;
    width: 0px;
    height: 0px;
    -webkit-transform: rotate(360deg);
    border-style: solid;
    border-width: 0 10px 10px 0;
    border-color: transparent #1a1c1f transparent transparent;
}

.tab_link_entries+div,
.tab_link_entries .tab_spacer,
.tab_link_entry>div:nth-last-child(2) {
    display: none;
}

/* ----------------------------------------------- tabs -------------------------------------------- */

#tabs {
    position: relative;
}

#tabs .tabSpecialHeadline {
    margin-bottom: 35px;
    color: #313a44;
}

@media (min-width: 768px) {
    #tabs .tabSpecialHeadline {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    #tabs>.row>*+* {
        margin-top: 30px;
    }

    #tabs>.row>*:nth-child(2) {
        margin-top: 0;
    }
}

#tabs .tab {
    position: relative;
    background: #ffffff;
    border-radius: 4px;
    padding: 20px 20px 30px 20px;
    border: none !important;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
    height: 100%;
}

#tabs .tab img {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    margin: -20px -20px 20px -20px;
    display: block;
    width: calc(100% + 40px) !important;
    min-width: calc(100% + 40px) !important;
}

#tabs .tab h1,
#tabs .tab h2,
#tabs .tab h3,
#tabs .tab h4,
#tabs .tab h5,
#tabs .tab h6 {
    font-size: 1.25rem;
    margin: 0;
}

@media (max-width: 1199px) {

    #tabs .tab h1,
    #tabs .tab h2,
    #tabs .tab h3,
    #tabs .tab h4,
    #tabs .tab h5,
    #tabs .tab h6 {
        hyphens: auto;
    }
}

@media (min-width: 1200px) {
    #tabs .tab {
        font-size: 1.375rem;
    }

    #tabs .tab img {
        margin: -20px -20px 40px -20px;
    }

    #tabs .tab h1,
    #tabs .tab h2,
    #tabs .tab h3,
    #tabs .tab h4,
    #tabs .tab h5,
    #tabs .tab h6 {
        position: absolute;
        font-weight: 700;
        left: -15px;
        top: 100px;
        z-index: 1;
        display: inline-block;
        padding: 6px 20px;
        background: #323845;
        color: #ffffff;
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
        width: auto;
    }

    #tabs .tab h1::before,
    #tabs .tab h2::before,
    #tabs .tab h3::before,
    #tabs .tab h4::before,
    #tabs .tab h5::before,
    #tabs .tab h6::before {
        content: '';
        position: absolute;
        pointer-events: none;
        left: 0px;
        bottom: -10px;
        width: 0px;
        height: 0px;
        -webkit-transform: rotate(360deg);
        border-style: solid;
        border-width: 0 10px 10px 0;
        border-color: transparent #1a1c1f transparent transparent;
    }
}

#tabs .tab a {
    position: relative;
    color: #930b06;
}

#tabs .tab a::after {
    content: '  \0BB';
}

/* ----------------------------------------------- sponsor -------------------------------------------- */

#sponsor {
    padding-bottom: 65px;
}

#sponsor .tabHeadline {
    color: #313a44;
    margin-bottom: 55px;
}

@media (min-width: 768px) {
    #sponsor .tabHeadline {
        font-size: 2.5rem;
    }
}

/* ------------------------------------------ h1 - h6, newslink ----------------------------------------- */

.h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, H6, H5, H4, H3, H2, H1 {
    color: #313a44;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Open Sans", sans-serif;
}

h1, .h1, .legacy_h1 {
    font-size: 1.7rem;
}

@media (min-width: 768px) {
    h1, .h1, .legacy_h1 {
        font-size: 2.8125rem;
    }
}

h2, .h2, .legacy_h2 {
    font-size: 1.6rem;
}

@media (min-width: 768px) {
    h2, .h2, .legacy_h2 {
        font-size: 2.5rem;
    }
}

h3, .h3, .legacy_h3 {
    font-size: 1.6rem;
}

h4, .h4, .h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, .legacy_h4 {
    font-size: 1.5rem;
}

h5, .h5, .legacy_h5 {
    font-size: 1.4rem;
}

h6, .h6, .legacy_h6 {
    font-size: 1.3rem;
}

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

/*--------------------- @f14 ------------------------*/

#f14 {
    color: #ffffff;
    padding-top: 55px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #930b06;
    font-size: 1rem;
}

@media (max-width: 991px) {
    #f14>.row:first-child>*+* {
        margin-top: 30px;
    }
}

#f14 a {
    color: #ffffff;
}

#f14 a:focus,
#f14 a:hover {
    text-decoration: underline;
}

#f14 .footerHeadline {
    font-size: 1.375rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: #ffffff;
}

#f14 .tabContent {
    font-size: 1rem;
}

/* Newsletter */

#f14 #newsletterInputs {
    height: 40px;
    background: #313a44;
    display: inline-block;
    position: relative;
    width: 100%;
    min-width: 280px;
    border-radius: 4px;
    margin-top: 35px;
}

@media (min-width: 576px) {
    #f14 #newsletterInputs {
        max-width: 370px;
    }
}

#f14 #newsletter_input {
    color: #ffffff;
    font-size: 14px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 33px;
    padding-left: 20px;
    padding-right: 43px;
    height: 40px;
    width: 100%;
}

#f14 #newsletter_submit {
    width: 65px;
    background: #ffffff url('../img/icon-mail.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    line-height: 40px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    max-height: 30px;
    font-size: 0;
    margin: 5px 5px 0 0;
    border-radius: 4px;
    -webkit-transition: background 300ms linear;
    -moz-transition: background 300ms linear;
    -ms-transition: background 300ms linear;
    -o-transition: background 300ms linear;
    transition: background 300ms linear;
}

#f14 #newsletter_submit:hover {
    background: #313a44 url('../img/icon-mail-white.png') center no-repeat;
}

#f14 #newsletter_input::-ms-input-placeholder {
    color: #ffffff !important;
}

#f14 #newsletter_input::-webkit-input-placeholder {
    color: #ffffff !important;
}

#f14 #newsletter_input::-moz-placeholder {
    opacity: 1;
}

#f14 #newsletter_input:-moz-placeholder {
    opacity: 1;
}


#f14 #footer>.row {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

#f14 #innerfooter ul {
    padding: 0;
}

@media (min-width:501px) and (max-width: 991px) {
    #f14 #innerfooter ul {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 991px) {
    #f14 #innerfooter {
        width: 100%;
        text-align: center;
        padding: 25px 0;
    }
}

#f14 #innerfooter li {
    display: block;
}

#f14 #innerfooter a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875rem;
}

#f14 #innerfooter a:hover,
#f14 #innerfooter a:focus {
    text-decoration: underline;
}

@media (min-width: 500px) {
    #f14 #innerfooter li+li::before {
        content: "•";
        margin: 0 15px;
        color: #ffffff;
    }

    #f14 #innerfooter li {
        display: inline-block;
    }
}

@media (min-width: 992px) {
    #f14 #innerfooter li+li::before {
        margin: 0 55px;
    }
}

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

#f14 #vernetzt {
    text-align: right;
    font-size: 0.8125rem;
    color: #ffffff;
    line-height: 1.4;
    margin: 0 auto;
    text-decoration: none;
}

#f14 #vernetzt span {
    color: #ffffff;
}

#f14 #vernetzt b {
    font-weight: 700;
    color: #ffffff;
}

#f14 #vernetzt span span {
    display: block;
}

#f14 #vernetzt img {
    margin-left: 15px;
}