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

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

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

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

a {
   color: #005e99;
}

a:hover,
a:focus {
   color: #005e99;
   text-decoration: underline;
}

b,
strong {
   font-weight: 600;
}

.static {
   position: static;
}

/* ----------------------------------------------- 3tp topbar ----------------------------------------------- */

#topbar {
    padding-top: 20px;
    padding-bottom: 20px;
    background: #fff;
    font-size: 0.875rem;
    color: #424242;
}

/* ------------------------------------------ Logo ------------------------------------------ */

#logo img{
   max-width: 340px;
   width: 100%;
}

/* ------------------------------------------------ styler ---------------------------------------------- */

@media (min-width: 992px) {
    #style {
        margin-left: 30px;
    }
}

#contrast_style button,
#style button {
    padding: 0;
    border: none;
    color: #424242;
    display: inline-block;
    width: 29px;
    height: 29px;
    font-weight: 400;
    text-align: center;
    background: rgba(255,255,255,1);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    position: relative;
    line-height: 1;
}

#style button {
    padding: 0;
}


#style button+button {
    margin-left: 3px;
}

#style button:hover,
#style button:focus,
#contrast_style button:hover {
    color: #005e99;
    background: #ededed;
}

@media (max-width: 991px) {
   .optionsbar {
      background: #fff;
      padding: 10px 0;
   }
   #contrast_style{
      margin-bottom: 15px;
   }
}

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

form[id^="search"] {
    height: 35px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    display: block;
    position: relative;
}

@media (min-width: 992px) {
    form[id^="search"] {
        margin-left: 30px;
        max-width: 270px;
        width: 100%;
    }
}

form [id^="search_input"] {
    color: #424242;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 35px;
    padding-left: 14px;
    padding-right: 54px;
    height: 35px;
    width: 100%;
}

form [id^="search_submit"] {
    width: 40px;
    background: url('../img//lupe-icon.png') center no-repeat;
    padding: 0;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 6px;
    bottom: 6px;
    right: 0;
    font-size: 0;
    border-left: 1px solid #f9ca18;
    -webkit-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    -moz-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    -ms-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    -o-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
    background-color: #f9ca18;
    top: 0;
    bottom: 0;
}

[id^="search_input"]::-ms-input-placeholder {
    color: #444444 !important;
}

[id^="search_input"]::-webkit-input-placeholder {
    color: #444444 !important;
}

[id^="search_input"]::-moz-placeholder {
    opacity: 0.8;
}

[id^="search_input"]:-moz-placeholder {
    opacity: 0.8;
}

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

#menu {
    position: absolute;
    top: 0;
    z-index: 100;
    background-color: rgba(0,94,153,0.9);
    width: 100%;
    -webkit-box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
}

/* burgermenu for tablet */

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

    #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: #005e99;
        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: #005e99;
        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 {
        padding-top: 0;
        padding-bottom: 0;
    }

    nav.horizontally .navbar-nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: end !important;
        -ms-flex-pack: end !important;
        justify-content: flex-end !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;
    }
    .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;
    }
    .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]:hover>u {
        z-index: 1003;
    }
}

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

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

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

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        padding: 34px 5px 36px 5px;
        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::after {
    content: "";
    position: absolute;
    display: block;
    width: 0;
    bottom: 0;
    height: 6px;
    left: 50%;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    background: #f9ca18;
    -webkit-transition: width 300ms linear;
    -moz-transition: width 300ms linear;
    -ms-transition: width 300ms linear;
    -o-transition: width 300ms linear;
    transition: width 300ms linear;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a::after {
        top: 0;
        bottom: auto;
    }
}

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

.navbar-nav > li:focus-within > a {
    color: #fff;
}

.navbar-nav > li:hover > a::after,
.navbar-nav > li > a:hover::after,
.navbar-nav > li > a:focus::after,
.navbar-nav > li.open > a::after,
.navbar-nav > li.open > a:hover::after,
.navbar-nav > li.open > a:focus::after,
.navbar-nav > li[class$="_over"] > a::after,
.navbar-nav > li[class$="_over"] > a:hover::after,
.navbar-nav > li[class$="_over"] > a:focus::after {
    width: 100%;
}

.navbar-nav > li:focus-within > a::after {
    width: 100%;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu {
    background: #f9ca18;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background: #f9ca18;
}

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

@media(min-width:992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu {
        left: 50%;
        -moz-transform: translate(-50%, 0);
        -webkit-transform: translate(-50%, 0);
        -o-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }
    .navbar-default .navbar-nav>li>.dropdown-menu::after {
        content: "";
        display: block;
        position: absolute;
        left: 50%;
        top: -20px;
        margin-left: -20px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 20px 20px 0 20px;
        border-color: #ffffff transparent transparent transparent;
        -webkit-transition: top 150ms linear;
        -moz-transition: top 150ms linear;
        -ms-transition: top 150ms linear;
        -o-transition: top 150ms linear;
        transition: top 150ms linear;
    }
    .navbar-default .navbar-nav>li:hover>.dropdown-menu::after {
        top: 0;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin-top: -30px;
        margin-left: 10px;
    }
    .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: #424242;
    font-weight: 400;
    text-align: left;
    padding: 8px 25px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

@media(min-width:992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu>li>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
        text-align: center;
        padding: 13px 25px;
    }  
}

/* ------------------------------------------ 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: rgba(255,255,255,1);
    color: #424242;
}

.navbar-nav > li > .dropdown-menu > li:focus-within > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:focus-within > a {
   background: rgba(255,255,255,1);
   color: #424242;
}


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

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

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

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

   body.index #slider {
      max-height: 800px;
   }
}

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

.slider-mask {
   display: none;
}

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

.nivo-directionNav {
   height: 40px;
   pointer-events: none;
   width: 100%;
   position: absolute;
   z-index: 7;
   left: 50%;
   bottom: 80px;
   -moz-transform: translateX(-50%);
   -webkit-transform: translateX(-50%);
   -o-transform: translateX(-50%);
   -ms-transform: translateX(-50%);
   transform: translateX(-50%);
}

@media (min-width: 992px) {
   .nivo-directionNav {
      max-width: 992px;
      bottom: 130px;
   }
}

@media (min-width: 1200px) {
   .nivo-directionNav {
      max-width: 1200px;
   }
}

#headerpic .theme-default .nivo-directionNav a {
   pointer-events: auto;
   background: #005e99 url("../img/banner-arrows.png") top 10px center / 18px auto no-repeat;
   width: 40px;
   height: 40px;
}

#slider+.nivo-controlNav {
   pointer-events: none;
}

#slider+.nivo-controlNav a {
   pointer-events: auto;
}

.theme-default .nivo-directionNav a.nivo-nextNav {
   -webkit-transform: scale(-1);
   transform: scaleX(-1);
}

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

@media (min-width: 576px) {
   .theme-default .nivo-controlNav {
      bottom: 65px !important;
   }
}

@media (min-width: 992px) {
   .theme-default .nivo-controlNav {
      bottom: 100px !important;
   }
}

#headerpic .theme-default .nivo-controlNav a {
   background: transparent;
   border-radius: 50%;
   border: 1px solid #ffffff;
   width: 12px;
   height: 12px;
}

#headerpic .theme-default .nivo-controlNav a.active {
   background-color: #ffffff;
}

#headerpic .theme-default .nivo-controlNav a+a {
   margin-left: 8px;
}

/* ------------------------------------------------ topInfo ----------------------------------------------- */

#topInfo {
   padding-top: 40px;
   position: relative;
   z-index: 55;
}

@media (min-width: 768px) {
   #topInfo {
      padding-top: 70px;
   }
}

@media (max-width: 991px) {
   #topInfo>.row>div {
      margin-bottom: 30px;
   }
}

#topInfo::after {
   content: "";
   position: absolute;
   z-index: -1;
   display: block;
   top: 0;
   left: 0;
   right: 0;
   bottom: 50px;
   background: url(../img/wasserzeichen-adler.png) bottom left 46px no-repeat, #005e99;
   border-bottom-right-radius: 500px;
}

@media (min-width: 992px) {
   #topInfo::after {
      right: 50%;
      bottom: 60px;
   }
}

#topInfo .tab {
   background: #fff;
   padding: 35px 30px 30px 30px;
   min-height: 100%;
   height: 100%;
   color: #665a5a;
   line-height: 1.3;
   position: relative;
   box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

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

   .tab_spacer {
      height: 20px;
   }
}

@media (min-width: 992px) {
   #topInfo .tab {
      padding-bottom: 70px;
   }

   #topInfo > .row {
      margin-top: -130px;
      z-index: 55;
      position: relative;
   }

   #topInfo #tab2 {
      margin-top: -40px;
      z-index: 55;
      position: relative;
   }
}

@media (min-width: 1200px) {
   #topInfo .tab {
      padding: 45px 40px 70px 40px;
   }
}

#topInfo .tabHeadline {
   text-transform: uppercase;
   color: #005e99;
   font-weight: 700;
   font-size: clamp(1rem, 3vw, 1.5rem);
   overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
   margin-bottom: 20px;
}


#topInfo .tabHeadline::before {
   content: "";
   display: block;
   width: 100%;
   height: 60px;
   background-position: center left;
   background-repeat: no-repeat;
   margin-bottom: 15px;
}

#topInfo .tab_link_mehr {
   color: transparent;
   font-size: 0;
}

.teaserText a,
#topInfo .tab_link_mehr a {
   background: #ffcb05;
   display: inline-block;
   color: #424242;
   font-weight: 700;
   text-transform: uppercase;
   padding: 6px 15px;
   text-decoration: none;
}

#topInfo .tab_link_mehr a {
   position: absolute;
   bottom: 0;
   right: 0;
   font-size: 1rem;
}

@media (min-width: 992px) {
   #topInfo .tab_link_mehr a {
      padding: 15px 34px;
      bottom: -10px;
      right: -10px;
   }
}

.teaserText a:hover,
#topInfo .tab_link_mehr a:hover,
.teaserText a:focus,
#topInfo .tab_link_mehr a:focus {
   background: #005e99;
   color: #fff;
}

.teaserText a::after,
#topInfo .tab_link_mehr a::after {
   content: "\2192";
   font-weight: 400;
   position: relative;
   left: 0;
   margin-left: 4px;
   -webkit-transition: left 200ms linear;
   -moz-transition: left 200ms linear;
   -ms-transition: left 200ms linear;
   -o-transition: left 200ms linear;
   transition: left 200ms linear;
}

.teaserText a:hover::after,
#topInfo .tab_link_mehr a:hover:after,
.teaserText a:focus::after,
#topInfo .tab_link_mehr a:focus:after {
   left: 6px;
}

#tab1 .tabHeadline::before {
   background-image: url("../img/zeitung-icon.png");
}

#tab2 .tabHeadline::before {
   background-image: url("../img/icon-nachrichten.png");
}

#tab3 .tabHeadline::before {
   background-image: url("../img/icon-blatt.png");
}

.tab_link_title a {
   color: #665a5a;
   font-weight: 600;
}

.tab_link_mandat a {
   color: #665a5a;
}

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

#content {
   text-align: left;
   padding-top: 40px;
   padding-bottom: 40px;
}

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

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

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
   font-weight: 700;
   line-height: 1;
   font-family: "Work Sans", serif;
   color: #005e99;
}

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

@media (min-width: 576px) {

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

@media (min-width: 768px) {

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

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

@media (min-width: 768px) {

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

   body.index h2,
   body.index .h2,
   body.index .legacy_h2 {
      font-size: 2.4rem;
   }
}

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

/* ------------------------------------------------ facts ----------------------------------------------- */

#facts {
   padding-top: 56px;
   padding-bottom: 56px;
   background: #ededed;
}

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

@media (min-width: 576px) {
   #facts>.row>div+div:not(:last-child) {
      margin-top: 0;
   }
}

#facts a {
   color: #424242;
}

#facts b,
#facts strong {
   color: #424242;
   font-size: 2.5rem;
   display: block;
   font-weight: 700;
   line-height: 1.1;
}

@media (min-width: 768px) {

   #facts b,
   #facts strong {
      font-size: 3.5rem;
   }
}

#facts>.row>div:last-child a {
   font-size: 1.8125rem;
   font-weight: 700;
   color: #005e99;
   line-height: 1.2;
   text-decoration: none;
}

#facts>.row>div:last-child a::after {
   content: "\2192";
   display: block;
   font-weight: 400;
   color: #424242;
   font-size: 3.5rem;
}

#facts>.row>div:last-child a:hover,
#facts>.row>div:last-child a:focus {
   color: #424242;
}

/* ------------------------------------------------ teaser ---------------------------------------------- */

#teaser {
   padding-top: 0px;
   padding-bottom: 0px;
   position: relative;
   z-index: 10;
}

#teaser>.row {
   z-index: 10;
}

#teaserBox>.row {
   margin-left: auto;
   margin-right: auto;
}

#teaser::after {
   content: "";
   position: absolute;
   z-index: -1;
   display: block;
   top: 0;
   left: 0;
   right: 0;
   bottom: 80px;
   background: url(../img/wasserzeichen-ruine.png) bottom right no-repeat, #ffcb05;
   border-bottom-left-radius: 500px;
}

@media (min-width: 992px) {
   #teaser::after {
      top: -55px;
      left: 50%;
      bottom: 0;
      border-bottom-left-radius: 0;
      border-top-left-radius: 500px;
   }
}

/*--------------- @19ev ---------------*/

#ev19 {
    position: relative;
    padding-top: 150px;
    padding-bottom: 60px;
    z-index: 55;
}

@media (max-width: 767px) {
    #ev19 {
        padding-bottom: 130px;
        padding-top: 40px;
    }
}

@media (min-width: 992px) {
   #ev19>.row::before {
      content: '';
      z-index: -1;
      position: absolute;
      left: 0;
      top: -92px;
      width: 470px;
      height: 470px;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
  }
}


@media (max-width: 1199px) {
    #ev19>.row::before {
        width: 370px;
        height: 370px;
    }
}

@media (max-width: 767px) {
    #ev19>.row::before {
        bottom: -92px;
        top: unset;
    }
}

#events19 {
    position: relative;
}

#eventsHeadline {
    font-size: 1.75rem;
    text-transform: uppercase;
    position: relative;
    color: #424242;
    margin-bottom: 50px;
    font-weight: 700;
    display: inline-block;
}

@media (max-width: 767px) {
    #eventsHeadline {
        font-size: 1.5625rem;
        margin-bottom: 11px;
    }
}

@media (max-width: 361px) {
    #eventsHeadline {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }
}

@media (min-width: 992px) {
   #eventsHeadline::before {
      content: '\ Veranstaltungen';
      text-transform: uppercase;
      position: absolute;
      bottom: -60px;
      right: -4px;
      z-index: -1;
      color: #424242;
      font-size: 3.75rem;
  }
}


@media (max-width: 767px) {
    #eventsHeadline::before {
        bottom: -23px;
        right: unset;
        left: 0;
        font-size: 1.875rem;
    }
}

@media (max-width: 361px) {
    #eventsHeadline::before {
        bottom: -20px;
        font-size: 1.5625rem;
    }
}

#eventsBox {
    background-color: #f6f7f8;
    padding: 75px 70px 15px 100px;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
    #eventsBox {
        padding: 40px 30px 15px 30px;
    }
}

@media (max-width: 767px) {
    #eventsBox {
        padding: 30px 30px 15px 30px;
    }
}

#eventsKalender #clr-events-hide, #eventsKalender .tab_link_mehr {
    display: none;
    height: 0;
}

#eventsKalender .eventclndr-tab {
    margin-bottom: 0;
    margin-top: 16px;
}

@media (max-width: 767px) {
    #eventsKalender .eventclndr-tab {
        margin-top: 0;
        margin-bottom: 15px;
    }
}

#eventsList {
    position: relative;
    color: #444444;
    font-size: 1.125rem;
}

@media (max-width: 575px) {
    #eventsList {
        font-size: 1rem;
    }
}

#eventsList .tab_spacer {
    height: 0;
    display: none;
}

#eventsList .tab_link_entry+.tab_link_entry {
    margin-top: 40px;
}

@media (max-width: 767px) {
    #eventsList .tab_link_entry+.tab_link_entry {
        margin-top: 20px;
    }
}

#eventsList .tab_link_title a {
    color: #444444;
    font-weight: 700;
}

#eventsList .tab_link_mandat a {
    color: #444444;
}

#eventsList .tab_link_mehr {
    font-size: 0;
    position: relative;
}

#eventsList .tab_link_mehr a {
    font-size: 0;
    position: relative;
    display: inline-block;
    bottom: -15px;
    right: -70px;
    background-color: #005e99;
    height: 70px;
    width: 70px;
    color: #fff;
}

@media (max-width: 991px) {
    #eventsList .tab_link_mehr a {
        bottom: -15px;
        right: -30px;
    }
}

#eventsList .tab_link_mehr a::before {
    content: '\2192';
    color: #feca05;
    font-size: 1.875rem;
    position: absolute;
    top: 8px;
    left: 22px;
    -webkit-transition: left 200ms linear;
    -moz-transition: left 200ms linear;
    -ms-transition: left 200ms linear;
    -o-transition: left 200ms linear;
    transition: left 200ms linear;
}

#eventsList .tab_link_mehr a:hover::before,
#eventsList .tab_link_mehr a:focus::before {
    left: 26px;
}

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

address {
   font-style: normal;
}

#footer {
   background: #005e99;
   padding-top: 40px;
   padding-bottom: 40px;
   color: #fff;
   font-size: 1rem;
}

@media (max-width: 991px) {
   #footer>.row>div+div::before {
      background: rgba(135, 119, 119, 0.15);
      content: " ";
      height: 1px;
      width: 100%;
      display: block;
      margin: 25px 0;
   }
}

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

   #footer>.row>div+div:nth-child(2):before {
      display: none;
   }

   #footer>.row>div+div::before {
      margin: 35px 0;
   }
}

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

#footer>.row>div:last-child>div+div {
   margin-top: 30px;
}

#footer a {
   color: #ffcb05;
   text-decoration: underline;
}

#footer a:hover,
#footer a:focus {
   color: #ffcb05;
}

#footer .footerHeadline {
   color: #ffcb05;
   font-weight: 700;
   margin: 0 0 15px 0;
   font-size: 1.25rem;
   text-transform: uppercase;
}

#footer .footerHeadline.gap {
   margin-top: 30px;
}

@media (min-width: 992px) {
   #footer .footerHeadline.gap {
      margin-top: 40px;
   }
}

#footer iframe,
#footer .iframe-wrapper-manual-enabling {
   width: 100% !important;
   display: block !important;
   min-width: 100% !important;
}

.shadow {
   position: relative;
   display: block;
   z-index: 1;
   margin-left: auto;
   margin-right: auto;
}

.shadow::after {
   content: "";
   position: absolute;
   display: block;
   z-index: -1;
   left: 60px;
   right: 60px;
   top: 80%;
   bottom: 2px;
   -webkit-box-shadow: 0 20px 40px 0 rgba(153, 67, 67, 0.3);
   box-shadow: 0 20px 40px 0 rgba(153, 67, 67, 0.3);
}

.shadowContainer {
   width: 100%;
}

.shadowContainer>.shadow {
   width: auto;
   display: inline-block;
}

@media (max-width: 991px) {
   .shadow {
      margin: 30px 0;
   }
}

/* ----------------------------------------------- maps ----------------------------------------------- */

.iFrame .row {
    max-width: none;
}

.iFrame .template-page .row,
.iFrame .template-page .row [class^="col"] {
    margin: 0;
    padding: 0;
}

.iFrame iframe, .iFrame .iframe-wrapper-manual-enabling {
    display: block;
    width: 100% !important;
    min-width: 100% !important;
}


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

#footer #vernetzt {
   text-align: right;
   color: #fff;
   line-height: 1.3;
   margin: 30px auto 0 auto;
   font-weight: 400;
   text-decoration: none;
   font-size: 0.875rem;
}

@media (min-width: 992px) {
   #footer #vernetzt {
      float: right;
      margin-right: 0;
   }
}

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

#vernetzt span {
   color: #fff;
}

#vernetzt span span {
   display: block;
}

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

/* -------------------------------------------- innerfooter -------------------------------------------- */

#innerfooter {
   color: #424242;
   font-size: 1rem;
   padding-top: 30px;
   padding-bottom: 30px;
}

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

.footer_list ul {
   padding: 0;
}

.footer_list li {
   display: inline-block;
}

#innerfooter p {
   display: inline-block;
}

#innerfooter p {
   flex-grow: 1;
}

#innerfooter .tabContent {
   text-transform: uppercase;
}

@media (max-width: 991px) {
   #innerfooter .tabContent {
     margin-bottom: 30px;
   }
}

#innerfooter a {
   color: #424242;
   text-decoration: none;
   display: inline-block;
   font-weight: 400;
   text-transform: uppercase;
}

#innerfooter a:hover,
#innerfooter a:focus {
   color: #005e99;
}

#innerfooter li+li {
   margin-left: 15px;
}

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

/* -------------------------------------------- Focus -------------------------------------------- */
a:focus-visible {
   outline: 3px solid #152d6b !important;
}

button:focus-visible {
   outline: 3px solid #152d6b !important;
}

form:focus-visible {
   outline: 3px solid #152d6b !important;
}

/* --------------------------------------------- contrast -------------------------------------------- */
.contrast_light main,
.contrast_dark main{
    filter: none;
    background: none;
}

.contrast_light_font #search_input1 {
    color: #000 !important;
}

.contrast_dark #logo img {
    background: #fff;
}

#nivo-crtlbtn {
   display: none !important;
}