@import url("https://fonts.verwaltungsportal.de/import/?family=Roboto:300,400,500,600,700,300i,400i,500i,600i,700i");

#over {
    overflow: hidden;
    position: relative;
}


body {
    font-family: "Roboto", sans-serif;
    color: #161214;
    background: #ffffff;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 300;
    background-attachment: fixed;
    background-position: center;
}

#bodyWrapper {
    max-width: 1200px;
    margin: auto;
    background: #fff;
    margin-top: 5vw;
    padding: 30px;

}

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

#contentWrapper a {
    color: #161214;
    text-decoration: underline;
    font-weight: 600;
}


b,
strong {
    font-weight: 600;
}


#topbar>.row::after {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="596px" height="639px"><path fill-rule="evenodd" fill="rgb(254, 237, 197)" d="M-0.000,0.000 L596.000,4.000 L594.1000,638.1000 L-0.000,0.000 Z"/></svg>');
    background-position: top right;
    width: 608px;
    height: 638px;
    top: -136px;
    right: -412px;
    position: absolute;
    display: block;
    content: '';
    z-index: -1;
    background-repeat: no-repeat;
}

._op-container .container, .compact, .row {
	max-width: 1200px;
    width: 100%;
}


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

#logo {
    display: inline-block;
    text-decoration: none !important;
    position: relative;
}

#logo::after {
    content: '';
    background: url(../img/kontur-fechter.png) no-repeat bottom center;
    width: 92px;
    height: 144px;
    display: inline-block;
    position: absolute;
    right: -74px;
    bottom: 0;
}

@media (max-width: 991px) {
    #logo::after {
        bottom: -10px; 
    }
}

#logo :is(h1, h2, h3) {
    text-transform: uppercase;
    font-weight: 400;
    font-size: clamp(1.5625rem, 3vw, 2.8125rem);
    line-height: 1;
}


/* --------------------------------------- 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: #032253;
        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: #032253;
        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) {

    #menu {
        background: #032253;
    }

    .is-sticky #menu {
        left: 50% !important;
        transform: translate(-50%) !important;
    }

    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;
        flex-wrap: wrap;
    }

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

    nav.horizontally .dropdown-menu {
        position: absolute;
        top: 100%;
        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;
    }
}


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

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

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

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

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

@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: "";
    width: 20px;
    height: 9px;
    display: block;
    position: absolute;
    left: 50%;
    margin-left: -9px;
    bottom: 0;
    border-top-left-radius: 90px;
    border-top-right-radius: 90px;
    background-color: #2e3c48;
    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;
}

/* -------------------------------------------- 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: #171416;
    background-color: #e2d5b5;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    padding: 12px 0;
    background-color: #ffffff;
    border: 1px solid #b4d965;
}

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

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

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

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

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        width: 10px;
        top: 0;
        bottom: 0;
        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: #2e3c48;
    font-weight: 300;
    text-align: left;
    padding: 9px 25px 7px 29px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

@media(max-width:991px) {
    nav.horizontally .navbar-nav>li>.dropdown-menu>li>a.dropdown-toggle2 {
        padding-right: 35px;
    }
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a::before,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 50%;
    display: block;
    width: 7px;
    height: 7px;
    background-color: #161214;
    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;
    transform: translateY(-50%);
}

/* ------------------------------------------ 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,
.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: #e2d5b5;
}

.navbar-nav>li>.dropdown-menu>li:focus-within>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a {
    background: #e2d5b5;
}

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

.navbar-nav>li>.dropdown-menu>li:focus-within>a::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a::before {
    opacity: 1;
}

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

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

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

    #headerpic .nivo-directionNav a {
        top: 20px;
        bottom: unset;
    }

}

#headerpic {
    margin: 0 auto;
    position: relative;
    width: 100%;
    margin-top: 10px;
}

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

.slider-mask {
    display: none;
}

#overlay {
    position: relative;
    z-index: 12;
    color: #1d1d1d;
    left: 0;
    pointer-events: none;
}

@media (max-width: 991px) {
    #overlay {
        border-bottom: 4px solid #032253; 
    }
}

@media (min-width: 992px) {
    #overlay {
        position: absolute;
        bottom: 90px;
    }
}

#overlay .col-xs-12 {
    padding: 0;
}

#overlay :is(h1, h2, h3) {
    margin: 0;
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 400;
}

#overlay .tab {
	width: fit-content;
	background: rgba(255, 255, 255, 0.90);
	padding: 40px 50px;
	pointer-events: all;
}

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

main {
    text-align: left;
    padding-bottom: 199px;
    padding-top: 30px;
}

@media (max-width: 475px) {
    main {
        padding-bottom: 80px;
    }
}

main .tab {
    border: 5px solid #eee6d3;
    padding: 30px;
}

@media (max-width: 991px) {
    main .tab {
        margin-top: 30px;

    }
}


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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
    color: #161214;
    font-weight: 500;
    line-height: 1.2;
    font-family: "Roboto", sans-serif;
}

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

@media (min-width: 768px) {

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

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

@media (min-width: 768px) {

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

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

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

footer {
    position: relative;
    z-index: 12;
}


#footerBottom>.row::before {
    content: '';
    display: block;
    pointer-events: none;
    position: absolute;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="596px" height="639px"><path fill-rule="evenodd" fill="rgb(254, 237, 197)" d="M596.000,638.1000 L-0.000,634.1000 L1.000,0.000 L596.000,638.1000 Z"/></svg>');
    width: 613px;
    height: 624px;
    background-repeat: no-repeat;
    bottom: -51px;
    left: -400px;
}

footer::after {
    content: '';
    pointer-events: none;
    background: url(../img/fechter.jpg) no-repeat bottom left;
    width: 584px;
    height: 453px;
    position: absolute;
    bottom: -30px;
    left: -30px;
    z-index: -1;
}

#footerTop {
    background: rgba(0, 43, 77, 0.20);
    padding: 50px 20px;
    margin-left: -30px;
    margin-right: -30px;
}

#footerBottom {
    padding: 40px 0 10px 0;
}

#innerfooter {
    background-color: rgba(255, 255, 255, 0.8);
    width: fit-content;
    margin-left: auto;
    padding: 10px;
}

@media (max-width: 767px) {
    #footerTop {
        background: rgba(0, 43, 77, 0.50);
    }

    #innerfooter {
        width: 100%;
    }
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

@media (max-width: 475px) {
    #innerfooter li {
        display: block;
        line-height: 2;
    }
}

#innerfooter a {
    color: #1d1d1d;
    text-decoration: none;
    display: inline-block;
    font-weight: 300;
    font-size: 1rem;
}

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

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

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

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

#vernetzt {
    text-align: right;
    font-size: 0.875rem;
    color: #161214;
    line-height: 1.3;
    margin: 0 auto;
    font-weight: 300;
    display: inline-block;
}

#vernetzt b {
    color: #161214;
    font-weight: 600;
}

#vernetzt span {
    color: #161214;
}

#vernetzt span span {
    display: block;
}

#vernetzt img {
    margin-left: 18px;
}

@media (max-width: 767px) {

    #vernetzt b,
    #vernetzt span {
        color: #fff;
    }
}