@import url('https://fonts.verwaltungsportal.de/import/?family=Oswald:300,400,500,600,700&display=swap');
@import url('https://fonts.verwaltungsportal.de/import/?family=Montserrat:200,200i,300,300i,400,400i,500,500i,600,600i,700,700i&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    color: #444444;
    background: #ffffff;
    font-size: 1.125rem;
}

a {
    color: #195a91;
    -webkit-transition: background-color 300ms linear, color 300ms linear;
    -moz-transition: background-color 300ms linear, color 300ms linear;
    -ms-transition: background-color 300ms linear, color 300ms linear;
    -o-transition: background-color 300ms linear, color 300ms linear;
    transition: background-color 300ms linear, color 300ms linear;
}

a:hover {
    color: #195a91;
}

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

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



#logo img {
    display: block;
    margin-right: 5px;
}


#logo{
    text-decoration: none;
    display: block;
    width: 100%;
}


#logo h1 {
	font-weight: 400;
	font-size: clamp(15px, 2.8vw, 40px);
	color: #195a91;
	display: block;
	width: 100%;
	margin-bottom: 0px;
}


@media (max-width: 575px) {
    #logo h1{
        margin-top: 10px;
    }
}



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

/* Navigation Desktop */

#menu-wrapper{
    padding: 10px 0;
}

@media (min-width: 992px) {



    #burgerButtonInner2, #burgerButton:after, #burgerButtonInner {
        position: absolute;
        background: #dbcb48;
        width: 30px;
        height: 4px;
        left: 10px;
        -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 {
        font-size: 0;
        border: none !important;
        position: relative;
        z-index: 1002;
        display: block;
        width: 49px;
        height: 58px;
        cursor: pointer;
        background: #ffffff;
    }

    #burgerButton {
        margin: 0 0 0 auto;
        height: 43px;
    }
    #burgerButton::before {
        content: "MENÜ";
        font-size: 30px;
        position: absolute;
        right: 52px;
        top: 6px;
        color: #195a91;
        font-weight: 400;
        line-height: 1;
        font-family: "Oswald", sans-serif;
    }

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

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

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

    #burgerButtonInner {
        top: 11px;
    }
    
    #burgerButtonInner2 {
        top: 20px;
    }
    
    #burgerButton:after {
        top: 29px;
        content: "";
        display: block;
    }
}

/* burgermenu for tablet */

@media (max-width: 991px) {
    #burgerButton {
        font-size: 0;
        border: none !important;
        position: fixed;
        z-index: 1002;
        display: block;
        width: 54px;
        height: 45px;
        border-radius: 4px;
        cursor: pointer;
        background-color: #ffffff;
        padding: 3px;
        -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.15);
        box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.15);
        right: 15px;
        top: 15px;
    }

    #burgerButton:before, #burgerButton:after, #burgerButtonInner {
        background-color: #dbcb48;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 7px;
        -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(-8px, 8px);
        transform: rotate(-45deg) translate(-8px, 8px);
    }
    #burgerButton[aria-expanded="true"]:before {
        opacity: 0;
    }
    #burgerButton[aria-expanded="true"]:after {
        -webkit-transform:rotate(45deg) translate(-6px, -6px);
        transform:rotate(45deg) translate(-6px, -6px);
    }

    #burgerButtonInner {
        top: 11px;
    }
    #burgerButton:before {
        top: 21px;
    }
    #burgerButton:after {
        top: 31px;
    }

    #burgerButton:before, #burgerButton:after {
        content: "";
        display: block;
    }
    .navbar-nav {
        margin: 20px 0;
    }

    .navbar-collapse {
        top: 0;
        background: #195a91;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        -webkit-box-shadow: 0 0 150px 0 rgba(0, 0, 0, 1);
        box-shadow: 0 0 150px 0 rgba(0, 0, 0, 1);
        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[aria-expanded="true"],
    .navbar-collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-toggle[aria-expanded="true"]::before {
        opacity: 1;
        width: 90px;
    }
}

@media (min-width: 575px) and (max-width: 991px) {
    .navbar-collapse {
        width: 60%;
    }
    .navbar-collapse.collapse.in:after,
    .navbar-toggle[aria-expanded="true"]::before {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {

    .navbar-nav > li{
        float: unset !important;
    }
    #myNavbar.navbar-collapse {
        background: #ffffff;
        pointer-events: none;
        position: absolute;
        z-index: 1002;
        top: 70px;
        right: 23px;
        opacity: 0;
        width: 580px;
        border-radius: 0;
        height: auto !important;
        overflow: visible !important;
        filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.3));
        -webkit-transition: opacity 300ms linear, top 300ms linear;
        -moz-transition: opacity 300ms linear, top 300ms linear;
        -ms-transition: opacity 300ms linear, top 300ms linear;
        -o-transition: opacity 300ms linear, top 300ms linear;
        transition: opacity 300ms linear, top 300ms linear;
    }

    #burgerButton[aria-expanded="true"]+#myNavbar {
        pointer-events: auto;
        opacity: 1;
        top: 75px;
    }

    #myNavbar:focus-within {
        pointer-events: auto;
        opacity: 1;
        top: 75px;
    }

    #myNavbar.navbar-collapse::before {
        content: "";
        display: block;
        position: absolute;
        right: 3px;
        top: -22px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 12px 23px 12px;
        border-color: transparent transparent #fff transparent;
    }

    #myNavbar.navbar-collapse>div {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        max-height: 75vh;
        overflow-y: auto;
        position: relative;
        background: #ffffff;
    }
    .navbar-nav {
        padding: 23px 0 25px 0;
        background: #195a91;
        min-height: 365px;
    }
    .navbar-default .navbar-nav > li > .dropdown-menu {
        padding: 25px 20px;
        position: absolute;
        z-index: 2;
        left: 50%;
        top: 0 !important;
        right: 0;
        bottom: 0;
        overflow-y: auto;
        background: #ffffff;
    }

    .navbar-nav, .navbar-default .navbar-nav > li > .dropdown-menu {
        width: 50%;
    }

    .navbar-default .navbar-nav > li > 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 .navbar-nav > li[class$="_over"] > .dropdown-menu,
    .navbar-default .navbar-nav > li:hover > ul{
        pointer-events: auto !important;
        opacity: 1 !important;
    }
    .navbar-default .navbar-nav > li:focus-within > ul {
        pointer-events: auto !important;
        opacity: 1 !important;
    }
    .navbar-default .navbar-nav > li:hover > ul {
        z-index: 3;
    }
    .navbar-default .navbar-nav > li:focus-within > ul {
        z-index: 3;
    }
}

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

.navbar-default .navbar-nav>li>a {
    color: #ffffff;
    font-weight: 400;
    text-align: left;
    padding: 10px 10px;
    position: relative;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
    font-family: "Oswald", sans-serif;
    word-wrap: break-word;
    hyphens: auto;
}

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

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        padding: 7px 15px;
        text-align: right;
    }
}

/* -------------------------------------------- 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: #195a91;
    background-color: #ffffff;
}

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

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

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

.navbar-default .navbar-nav>li>.dropdown-menu li[class*="menue_point_secondlevel"]>a,
.navbar-default .navbar-nav>li>.dropdown-menu li[class*="menue_point_secondlevel"]>.dropdown-menu>li>a {
    color: #444444;
    font-weight: 400;
    text-align: left;
    padding: 8px 35px 8px 25px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    word-wrap: break-word;
    hyphens: auto;
}

.navbar-default .navbar-nav>li>.dropdown-menu li[class*="_start"],
.navbar-default .navbar-nav>li>.dropdown-menu li[class*="end"] {
    display: none;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li>.dropdown-menu li[class*="menue_point_secondlevel"]>.dropdown-menu>li>a{
        padding-left: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu li[class*="menue_point_secondlevel"] {
        border-top: 1px dashed rgba(82, 82, 82, 0.4);
    }
    .navbar-default .navbar-nav>li>.dropdown-menu li[class*="menue_point_secondlevel"]>a {
        padding: 9px 2px;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu li[class*="menue_point_secondlevel"]>.dropdown-menu>li>a {
        padding: 5px 10px 5px 34px;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu li[class*="menue_point_secondlevel"]>.dropdown-menu>li>a::after {
        content: "";
        position: absolute;
        left: 8px;
        top: 50%;
        background: #004261;
        width: 5px;
        height: 5px;
        margin-top: -2px;
        border-radius: 50%;
        opacity: 0;
        transition: all, 300ms;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu li[class*="menue_point_secondlevel"]>.dropdown-menu {
        display: block;
    }
}

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

.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"]:hover > a,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > a:hover,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > a:focus,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"].open > a,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"].open > a:hover,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"].open > a:focus,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"][class$="_over"] > a,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"][class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"][class$="_over"] > a:focus {
    background: transparent;
    color: #195a91;
}

.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li > a:hover,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li > a:focus,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li.open > a,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li.open > a:hover,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li.open > a:focus,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu li[class*="menue_point_secondlevel"] > .dropdown-menu > li[class$="_over"] > a:focus {
    background: #e5c035;
}

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

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

#headerpic {
    margin: 0 auto;
    position: relative;
    width: 100%;
}

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

.slider-mask {
    display: none;
}

/* ------------------------------------------------- tabs ------------------------------------------------ */
@media (min-width: 992px) {
    #content .styler {
        padding: 15px;
        color: #ffffff;
        background: #195a91;
    }
}

#style #switch {
    font-family: 'Oswald', sans-serif;
    font-size: 25px;
    display: flex;
    align-content: center;
    align-items: center;
    align-self: center;
    margin-left: 15px;
}

#switch {
    width: 100%;
}

.a, .aa, .aaa {
    display: block;
    height: 47px;
    display: inline-block;
    padding: 0;
    margin: 0 0px 0 0px;
    border: transparent;
}
.a {
    background: url('../img/a.png') top center no-repeat;
    width: 61px;
}

.aa {
    background: url('../img/aa.png') top center no-repeat;
    width: 61px;
}

.aaa {
    background: url('../img/aaa.png') top center no-repeat;
    width: 61px;
}

#content .tab  h6, #content .legacy_h6, .legacy_h6, 
#content .tab h5, 
#content .tab h4,
#content .tab h3, 
#content .tab h2, 
#content .tab h1 {
    color: #fff;
    font-weight: 700;
    line-height: 1.2em;
    font-family: 'Oswald', sans-serif;
}

#content .tab {
    padding: 20px;
    color: #ffffff;
    background: #195a91;
    margin-bottom: 25px;
}

@media (max-width: 991px) {
    #content .tab {
        margin-top: 15px;
    }
}

@media (min-width: 1200px) {
    #content .tab {
        padding: 30px;
    }
}

#content .tab a {
    color: #ffffff;
}

#content .tabHeadline {
    margin: 0;
    font-family: Oswald, sans-serif;
    font-weight: 400;
    position: relative;
    font-size: 2.0625rem;
    word-break: break-all;
    hyphens: auto;
}

#content .tabHeadline::after {
    content: "";
    display: block;
    height: 5px;
    width: 70px;
    background-color: rgba(255,255,255,0.3);
    margin: 20px 0 20px 0;
}

#content .los .tabHeadline::before {
    content: "";
    display: block;
    height: 67px;
    width: 70px;
    position: absolute;
    background: url(../img/icon.png) no-repeat;
    right: 0;
}

#content .los .tabContent > h5:nth-of-type(1){
    display: none !important;
}

#content .tabContent {
    font-weight: 400;
    line-height: 1.5em;
}


#content .tab .tab_link_title a{
    font-weight: 500;
}

#clr-events-hide > p:nth-child(1){
    display: none;
}

.tab_link_mehr{
    font-size: 0px;
}

.tab_link_mehr a{
    display: inline-block;
    padding: 5px 10px;
    background: #eac435;
    color: #444444 !important;
    font-size: 1.125rem;
}
/* ------------------------------------------------- content ------------------------------------------------ */
#content {
    line-height: 1.6em;
    text-align: left;
    padding-bottom: 30px;
    padding-top: 30px;
}

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

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

/* --------------------------------------------------- share buttons -------------------------------------------------- */
#content_buttons_div {
    top: 45%;
    z-index: 100;
}

@media (max-width: 991px) {
    #content_buttons_div {
        display: none;
    }
}

/* ------------------------------------------ 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: #195a91;
    font-weight: 700;
    line-height: 1.2em;
    font-family: 'Oswald', sans-serif;
}

#content h1::after {
    content: "";
    display: block;
    height: 5px;
    width: 70px;
    background-color: #eac435;
    margin: 15px 0;
}

@media (min-width: 992px) {
    #content h1::after {
        margin: 25px 0;
    }
}

#content h1[style*="center"]::after {
    margin-left: auto;
    margin-right: auto;
}

#content h1[style*="right"] {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: flex-end;
    align-items: flex-end;
}

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

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

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

/* --------------------------------------------- links below content -------------------------------------------- */
#content_footer {
    margin-top: 40px;
    height: auto;
    font-size: 80%;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

@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%;
    }
}

#content_footer a {
    text-decoration: none;
}

/* ----------------------------------------------- footer ----------------------------------------------- */
#footer {
    background: url(../img/footer.jpg) center center no-repeat #18568b;
    border-top: 7px solid #fff;
    outline: 7px solid #eac435;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #ffffff;
    line-height: 1.6em;
}

@media (max-width: 991px) {
    #footer .row>.col-xs-12:not(:first-child)::before {
        background: transparent;
        content: " ";
        height: 1px;
        width: 100%;
        display: block;
        margin: 20px 0;
        opacity: 0.2;
    }

    #footer .row>.col-xs-12.hidden-xs~.col-xs-12::before,
    #footer .row>.col-xs-12.hidden-sm~.col-xs-12::before {
        display: none;
    }
}

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

    #footer .row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        align-content: center;
    }
}

#innerfooter {
    line-height: 1.8em;
}

#innerfooter a {
    color: #fff;
    text-decoration: none;
    display: inline;
    font-weight: 300;
}

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

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

/* --------------------------------------------- vernetzt -------------------------------------------- */
#vernetzt {
    font-size: 82%;
    color: #fff;
    line-height: 130%;
    margin: 0 auto;
    font-weight: 300;
    display: inline-block;
}


#vernetzt b {
    color: #fff;
    font-weight: 300;
}

#vernetzt span {
    color: #fff;
    display: block;
}

#vernetzt img {
    display: block;
}
