
/* rc-stuff functional styles */
@media all {

    /* toggle */
    .rc-link {
        display: block;
        text-decoration: none;
        color: currentColor;
        cursor: pointer;
    }

    /* rc-load */
    .rc-load-hide { display: none; }
    .rc-load-show { display: block; }
    .rc-load-success > .rc-hide-on-success { display: none; }

    /* rc-container */
    .rc-container-enabled,
    .rc-head .rc-html-orig,
    .rc-open .rc-show-closed,
    .rc-show-opened { display:none; }

    .rc-show-closed,
    .rc-open .rc-show-opened { display: block; }

    .rc-container-toggle { display: none; }
    .rc-container-toggle.rc-head { display: block; }

}

/* mobile toggle & navigation  */
@media all {

    .page-header .sf-menu { display: none; }

    .nav-toggle {
        line-height: 1;
    }
    .nav-toggle-link {
        display: flex;
        height: 2.5rem;
        padding: 0 0.625em;
        color: inherit !important;
        background: none !important;
    }

    .nav-toggle-link > span {
        align-self: center;
    }
    /* sr-hint? .nav-toggle-text { width: 1px; clip: rect(1px, 1px, 1px, 1px); overflow: hidden; position: absolute !important; } */
    .nav-toggle-text { color: currentColor; vertical-align: middle; margin-right:0.625rem; }


    .nav-show-opened,
    .nav-toggle-open .nav-show-closed { display: none; }
    .nav-toggle-open .nav-show-opened { display: block; }

    /* dim page? */
    /*
    .mm-menu.mm-opened ~ .mm-page::before {
    content: "";
    position: absolute;
    z-index: 1000;
    top: 0;
    background: rgba(0,0,0,0.25);
    left: 0;
    width: 100vw;
    height: 100%;
}
    */
    .mm-menu_theme-dark {
        --mm-color-border: rgba(255,255,255,0.25);
        --mm-color-button: rgba(255,255,255,1);
        --mm-color-text: rgba(255,255,255,1);
        --mm-color-text-dimmed: rgba(255,255,255,1);
        --mm-color-background: rgb(0,56,101);
    }

    .mm-menu.mm-opened::before {
        box-shadow: 0 0 1.25rem rgba(0,0,0,0.25);
        content: "";
        position: absolute;
        z-index: 1;
        top: 0;
        right: 100%;
        width: 1.25rem;
        height: 100vh;
    }

    .mm-listitem__text {
        line-height: 1.2;
        white-space: normal;
    }

    .mm-menu .sf-menu svg,
    .mm-menu .sf-sub-ul svg {
        display: none;
    }

    .mm-listitem:after {
        content: none;
    }

    .mm-listitem__btn:not(.mm-listitem__text) {
        border: none;
    }

    .topnav-mobile {
        margin-top: -20px !important;
        border-top: 1px solid rgb(255,255,255,0.25);
    }

    .topnav-mobile .icon {
        color: rgb(255,255,255,0.5);
    }

    .mm-menu a:hover {
        color: inherit;
        background-color: rgba(0,0,0,0);
    }

    /* ce menus */
    .ce-menu .ce-menu {
        padding-left: 1.25rem;
    }
}

/* topnav, footernav and totop */
@media all {

    /* hide search menu entry */
    .topnav-mobile li:first-child {
        display: none;
    }

    .menu .item {
        display: flex;
        align-items: center;
        font-weight: 400;
    }

    .menu .icon {
        font-size: 1.2em;
    }

    .footernav {
        padding: 1.25rem 0;
    }
    .footernav li {
        display: block;
    }

    .footernav .item {
        color: inherit;
        padding: 0.625rem 0.3125rem;
    }
    .footernav .icon {
        color: rgb(183,191,16);
    }

    .footernav .item:focus,
    .footernav .item:hover {
        color: rgb(255,255,255);
        background: rgb(0,56,101);
    }
    .werbelink {
        float:right;
        line-height: 1;
        padding: 0.625rem 0.3125rem;
        text-decoration: none;
        color: rgb(221,221,221);
        font-weight: normal;
        text-transform: uppercase;
    }

    .werbelink span {
        font-weight: bold;
    }

    .totoplink {
        position: fixed !important;
        right: 0.625em;
        bottom: 0.625em;
        z-index: 10;
        color: rgb(255,255,255);
        background: rgb(128,128,128);
        opacity: 0.5;
        line-height: 1;
        border-radius: 50%;
        padding: 0;
        width: 2.5rem;
        height: 2.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .totoplink::before {
        content: none !important;
    }
    .totoplink > .fa {
        margin-right: 0;
        padding-right: 0;
    }
}

/* breadcrumbs */
@media all {
    .bc-nav {
        padding-top: 1.875rem;
        padding-bottom: 1.875rem;
        font-size: 88.8888%;
    }

    .bc-path { display: flex; flex-wrap: wrap;}

    .bc-path .item {
        display: inline-block;
        font-weight: normal !important;
        color: currentColor;
        text-decoration: none;
    }
    .bc-path a:hover,
    .bc-path a:focus {
        color: rgb(255,255,255);
    }

    .bc-path li {
        display: flex;
        align-items: center;
        background-image: none !important;
        padding-left: 0 !important;
    }

    .bc-path li + li:before {
        content: "/";
        padding-left: 0.25em;
        padding-right: 0.25em;
    }

}

/* tablet (without print) */
@media (min-width: 47.5em) {

    .topnav {
        margin-left: -0.625rem;
    }

    .topnav .icon {
        margin-right:0.125em;
    }

    .topnav .item {
        font-size: 77.7777%;
        line-height: 1;
        color: rgb(255,255,255);
        padding: 0.3125rem 0.625rem;
    }

    .topnav .item:hover,
    .topnav .item:focus {
        color: rgb(0,56,101);
        background-color: rgb(255,255,255);
        border-radius: 1rem;
        transform: scale(1.2);
    }

    /* footer  */
    .footernav { width: auto; }
    .footernav li { float:left; margin-bottom: 0; }

    .footernav li + li { margin-left: 0.5em; }

}

/* desktop */
@media (min-width: 62.5em) {

    .bc-nav {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .nav-toggle { display: none; }
    .page-header .sf-menu { display: block; }

    /* superfish */
    .sf-menu, .sf-menu ul { margin: 0; list-style: none; }
    .sf-menu { position: relative; }
    .sf-menu .sf-sub { position: absolute; display: none; z-index:0; }
    .sf-menu > * { float: left; }

    .sf-menu .sf-has-sub:hover > .sf_sub,
    .sf-menu .sf-has-sub.sfHover > .sf-sub { display: block; }
    .sf-menu .item { display: block; position: relative; text-overflow: ellipsis; }
    .sf-menu .sf-has-sub .sf-has-sub { top: 0; left: 100%; }
    .sf-hidden { display: none!important; }

    /* sf theme */

    .sf-menu .item {
        position: relative;
        font-family: 'Roboto Condensed';
        font-size: 122.2222%;
        font-weight: bold;
        display: block;
        padding: 2.75rem 0.625rem;
        text-align: center;
        text-decoration: none;
        transition: padding .125s ease-in;
    }


    .sf-menu > :hover > .item,
    .sf-menu > li > .item:active,
    .sf-menu > li > .item:focus,
    .sf-menu > li > .item:hover,
    .sf-menu > :focus-within > .item {
        color: rgb(0,56,101);
        background: rgb(240,240,240);
        background: linear-gradient(to bottom, rgb(255,255,255) 0%, rgb(240,240,240) 100%);
    }

    .sf-menu > .sf-has-sub:hover > .item::after,
    .sf-menu > .sf-has-sub.sfHover > .item::after,
    .sf-menu > .sf-has-sub:focus-within > .item::after {
        content: "";
        position: absolute;
        z-index: 1;
        top:100%;
        left: calc(50% - 1.25rem);
        border: 1.25rem solid rgba(0,0,0,0);
        border-bottom-width: 0;
        border-top-color: rgb(240,240,240);
    }

    .sf-menu .item-inner { position:relative;}
    .sf-menu .item-inner::after {
        content: "";
        display: block;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0.625rem;
        right: 0.625rem;
        height: 0.5rem;
        border-radius: 0.25rem;
    }

    .sf-menu > .active .item-inner::after,
    .sf-menu > .current .item-inner::after {
        background-color: rgb(183,191,16);
    }

    .sf-menu > .current > .item,
    .sf-menu > .active > .item {
        font-weight: 600;
        border-color: rgb(51,51,51);
    }

    .sf-lvl-2 {
        left: -1.25rem;
        right:-1.875rem;
        background: rgb(0,56,101);
        background: rgb(0,56,101,.95);
        max-width: 87.5rem;
        margin: 0 auto;
    }

    .sf-sub-ul {
        position:relative;
        width: 25%;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
        border-right: 1px solid rgba(255,255,255,0.25);
        min-height: 36.6vw;
    }

    .page-scrolled .sf-sub-ul {
        min-height: 0;
    }

    .sf-lvl-5 {
        border: none;
    }

    .sf-sub .sf-sub {
        left: calc(100% + 1px);
        top: 0;
        bottom: 0;
        width: calc(100% + 1px);
    }

    .sf-sub .item {
        color: rgb(255,255,255);
        background: rgb(0,56,101);
        font-weight: normal;
        font-size: 100%;
        margin: 0;
        padding: 0.975rem 1.25rem;
        text-align: left;
    }
    .sf-sub .item-inner::after {
        content: none;
    }

    .sf-sub .item.sf-with-ul {
        display: flex;
        justify-content: space-between;
    }

    .sf-sub .icon {
        font-size: 1rem;
        margin-left: 0.3125rem;
        display: block;
        flex-shrink: 0;
    }

    .sf-sub .current > .item,
    .sf-sub .active > .item,
    .sf-sub .item:hover,
    .sf-sub .item:focus {
        background: rgb(0,42,77);
    }
}

/* desktop */
@media (min-width: 88.75em) {

    .sf-sub-ul {
        min-height: 32.421875rem;
    }

}

@media (min-width: 92.5em) {

    .topnav .item {
        font-size: 87.5%;
    }

    .topnav li + li {
        margin-left: 0.625rem;
    }

    .sf-menu .item {
        font-size: 133.3333%;
        padding: 3.9375rem 2.1875rem;
    }

    .sf-sub .item {
        font-size: 100%;
        padding: 0.9375rem;
        padding-left: 1.25rem;
    }

    .sf-lvl-2 {
        left: 2.1875rem;
    }

    .sf-lvl-2 {
        left: 2.1875rem;
        right: 0;
    }
}
