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

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

a {
  color: #ca261b;
}

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

main a,
b,
strong {
  font-weight: 700;
  color: #2b2b2b;
}

#overflow {
  overflow: hidden;
}

/* ----------------------------------------------- topbar ----------------------------------------------- */

#topbar {
  background: #b83930 url("../img/freisteller-flamme.png") bottom center
    no-repeat;
  font-size: 0.875rem;
  padding-top: 15px;
  padding-bottom: 10px;
}

#topbar > .row > div > *:not(:last-child) {
  border-right: 1px solid #ffffff;
  margin-right: 10px;
  padding-right: 10px;
}

@media (min-width: 992px) {
  #topbar {
    background: #b83930 url("../img/freisteller-flamme.png") bottom right 180px
      no-repeat;
  }

  #topbar > .row > div:last-child {
    padding-bottom: 10px;
  }

  #topbar > .row > div > *:not(:last-child) {
    border-right: 1px solid #ffffff;
    margin-right: 30px;
    padding-right: 25px;
  }
}

@media (max-width: 767px) {
  #topbar > .row > * + * {
    padding-top: 15px;
  }
}

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

#style {
  padding-left: 26px;
  background: url("../img/fontsize.png") center left no-repeat;
}

#contrast_style button,
#style button {
  padding: 0;
  border: none;
  color: #ffffff;
  display: inline-block;
  width: 32px;
  height: 32px;
  font-weight: 400;
  text-align: center;
  background: transparent;
  position: relative;
  line-height: 1;
}

#contrast_style button {
  padding: 3px 0 0 0;
}

#style button {
  padding: 0;
}

#contrast_style button + button,
#style button + button {
  margin-left: -6px;
}

#contrast_style button:hover,
#contrast_style button:focus,
#style button:hover,
#style button:focus {
  background: #444444;
}

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

.search {
  width: 32px;
  height: 32px;
  text-align: center;
  padding: 7px 0 0 0;
  display: inline-block;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .search {
    margin-left: -5px;
  }
}

.search:hover,
.search:focus {
  background: #444444;
}

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

.logo {
  display: inline-block;
}

.logo img {
  display: block;
}

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

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
  #burgerButton {
    font-size: 0;
    display: block;
    height: 50px;
    width: 60px;
    border-radius: 2px;
    padding: 6px 8px;
    cursor: pointer;
    background: #ffffff;
    border: none !important;
    -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);
  }

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

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

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

  #burgerButtonInner {
    top: 16px;
  }

  #burgerButtonInner2 {
    top: 24px;
  }

  #burgerButton:after {
    top: 32px;
    content: "";
    display: block;
  }

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

  .navbar-collapse {
    top: 0;
    background: #444444;
    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[aria-expanded="true"],
  .navbar-collapse.in {
    left: 0;
    opacity: 1;
    pointer-events: auto;
  }

  .navbar-header {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 101;
  }

  .navbar-toggle::before {
    content: "";
    opacity: 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 0;
    z-index: -1;
    display: block;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-transition: width 300ms linear, opacity 300ms linear;
    -moz-transition: width 300ms linear, opacity 300ms linear;
    -ms-transition: width 300ms linear, opacity 300ms linear;
    -o-transition: width 300ms linear, opacity 300ms linear;
    transition: width 300ms linear, opacity 300ms linear;
  }

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

  .dropdown-toggle-button-wrapper {
    top: 7px;
  }
}

@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) {
  .menu-wrapper {
    background-color: rgba(255, 255, 255, 0);
    -webkit-transition: all 0.3s 0s linear;
    -moz-transition: all 0.3s 0s linear;
    -o-transition: all 0.3s 0s linear;
    transition: all 0.3s 0s linear;
  }

  .is-sticky .menu-wrapper {
    background-color: #ffffff;
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
  }

  #menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 60;
  }

  nav.horizontally .navbar-nav {
    padding: 10px 0;
    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: 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;
  }
}

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

.navbar-default .navbar-nav > li > a {
  color: #ffffff;
  background: #444444;
  font-weight: 600;
  text-align: left;
  padding: 12px 15px;
  position: relative;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid #ffffff;
  font-family: "Exo", sans-serif;
}

@media (max-width: 991px) {
  .navbar-default .navbar-nav > li {
    border-bottom: 2px solid #ffffff;
  }

  nav.horizontally .navbar-nav > li > a.dropdown-toggle {
    padding-right: 35px;
  }
}

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

  .navbar-default .navbar-nav > li > a {
    padding: 19px 10px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.5rem;
    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;
  }
}

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

#menu .navbar-nav > li:hover > a,
#menu .navbar-nav > li > a:hover,
#menu .navbar-nav > li > a:focus,
#menu .navbar-nav > li.open > a,
#menu .navbar-nav > li.open > a:hover,
#menu .navbar-nav > li.open > a:focus,
#menu .navbar-nav > li[class$="_over"] > a,
#menu .navbar-nav > li[class$="_over"] > a:hover,
#menu .navbar-nav > li[class$="_over"] > a:focus {
  background: #444444;
  color: #fcde6f;
  border-color: #fcde6f;
}

#menu .navbar-nav > li:focus-within > a {
  background: #444444;
  color: #fcde6f;
  border-color: #fcde6f;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
  background-color: #444444;
  border: 2px solid #ffffff;
}

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

@media (min-width: 992px) {
  .navbar-default .navbar-nav > li > .dropdown-menu,
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    padding-top: 28px;
    padding-bottom: 28px;
  }

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

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

  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    margin-top: -28px;
    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: #ffffff;
  font-weight: 400;
  text-align: left;
  padding: 9px 25px;
  font-size: 1.125rem;
  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 + li:not(:nth-child(2)),
.navbar-default
  .navbar-nav
  > li
  > .dropdown-menu
  > li
  > .dropdown-menu
  > li
  + li:not(:nth-child(2)) {
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

/* ------------------------------------------ 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: transparent;
  color: #fcde6f;
}

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

@media (min-width: 992px) {
  .navbar-default
    .navbar-nav
    > li
    > .dropdown-menu
    > li:hover
    + li:not(:nth-child(2)),
  .navbar-default
    .navbar-nav
    > li
    > .dropdown-menu
    > li
    > .dropdown-menu
    > li:hover
    + li:not(:nth-child(2)) {
    border-top: 2px solid rgba(255, 255, 255, 0);
  }

  .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: url("../img/nav-hover-freisteller-skyline.png") bottom center /
        cover no-repeat,
      transparent;
    color: #fcde6f;
  }

  .navbar-nav > li > .dropdown-menu > li:focus-within > a,
  .navbar-nav
    > li
    > .dropdown-menu
    > li
    > .dropdown-menu
    > li:focus-within
    > a {
    background: url("../img/nav-hover-freisteller-skyline.png") bottom center /
        cover no-repeat,
      transparent;
    color: #fcde6f;
  }
}

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

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

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

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

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

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

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

@media (min-width: 768px) {
  #headerpic .theme-default .nivo-controlNav {
    bottom: 60px;
    z-index: 48;
  }
}

@media (min-width: 1200px) {
  #headerpic .theme-default .nivo-controlNav {
    bottom: 130px;
  }
}

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

.slider-mask {
  display: block;
  background: url("../img/banner-overlay.png") center bottom / 100% auto
    no-repeat;
}

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

main {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 12;
  position: relative;
}

@media (max-width: 991px) {
  main {
    background: transparent !important;
  }
}

#content {
  background: linear-gradient(
      to top,
      #444444,
      #444444 131px,
      rgba(255, 255, 255, 0) 131px
    ),
    url("../img/footer-overlay.png") center bottom / 100% auto no-repeat;
}

@media (min-width: 992px) {
  #content {
    background: linear-gradient(
        to top,
        #444444,
        #444444 131px,
        rgba(255, 255, 255, 0) 131px
      ),
      url("../img/footer-overlay.png") center bottom 130px / 100% auto no-repeat,
      url("../img/background-overlay.svg") center top / 100% auto repeat-y;
  }
}

#contentBG {
  text-align: left;
  padding: 30px 15px 40px 15px;
  background: #ffffff;
  position: relative;
  z-index: 45;
  -webkit-box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.15);
  box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  #contentBG {
    margin-top: -50px;
  }
}

@media (min-width: 992px) {
  #contentBG {
    padding: 30px 40px 60px 40px;
  }
}

@media (min-width: 1200px) {
  #contentBG {
    margin-top: -120px;
  }
}

/* -------------------------------------------- 3nw news--------------------------------------------- */

#news {
  padding: 50px 40px;
  font-size: 1rem;
  background-color: #9a2119;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 991px) {
  #news > .row > div + div {
    margin-top: 40px;
  }
}

@media (min-width: 768px) {
  #news > .row > div:last-child {
    padding-top: 60px;
  }
}

#news .headline {
  margin-bottom: 0;
  color: #ffffff;
  font-size: 1.875rem;
  position: relative;
  padding-left: 20px;
}

#news .headline::after {
  content: "";
  display: block;
  position: absolute;
  top: 5px;
  bottom: 0;
  left: 0;
  height: 60px;
  width: 4px;
  background: rgba(255, 255, 255, 0.6);
}

#news .newsTab {
  padding-left: 20px;
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 65px;
}

#news .tab_link_title a {
  color: #b83930;
  font-weight: 700;
}

#news .tab_link_mandat a {
  color: inherit;
}

@media (min-width: 992px) {
  #news .tab_link_mandat a,
  #news .tab_date,
  #news .vorschau {
    font-size: 0.9375rem;
  }
}

#news .tab_link_entry + .tab_link_entry {
  margin-top: 15px;
  padding-top: 15px;
}

@media (min-width: 992px) {
  #news .tab_link_entry + .tab_link_entry {
    margin-top: 25px;
    padding-top: 25px;
  }
}

#news .tab_spacer {
  display: none;
}

#news .tab_link_mehr {
  margin-top: 15px;
}

#news .tab_link_entry {
  position: relative;
  margin-left: 255px;
  min-height: 105px;
  border-bottom: none !important;
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

#news .tab_link_title a {
  display: block;
}

#news .tab_link_title a::after {
  content: "";
  background: #444444 url("../img/Platzhalterbild-Aktuelles.png") center
    no-repeat;
}

#news .tab_preview_picture {
  background: #444444;
}

#news .tab_link_title a::after,
#news .tab_preview_picture {
  display: block;
  width: 230px;
  height: 100%;
  position: absolute;
  left: -255px;
  top: 0;
  overflow: hidden;
  border: 2px solid #ffffff;
}

#news .tab_preview_picture {
  width: 234px;
  height: 102%;
}

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

  #news .tab_link_entry {
    margin-left: 0;
    min-height: 105px;
    margin-top: 280px;
  }

  #news .tab_preview_picture {
    height: 204px !important;
    width: 101% !important;
  }

  #news .tab_link_title a::after,
  #news .tab_preview_picture {
    width: 100%;
    height: 200px;
    left: 0;
    top: -230px;
    right: 0;
  }
  #news .vorschau {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;  
    overflow: hidden;
  }
}

#news .tab_preview_picture img {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  object-fit: cover;
  min-width: 100%;
  max-width: none;
  height: 100%;
  width: auto;
  -ms-interpolation-mode: bicubic;
  transform-origin: top left;
  -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%);
  margin: 0 !important;
}

#news .tab_link_entry > div:nth-last-child(2) {
  display: none;
}

/* ----------------------------------------- news button ---------------------------------------- */

#news .tab_link_mehr {
  color: transparent;
  font-size: 0;
  text-align: right;
}

#news .tab_link_mehr a {
  background: #444444;
  font-weight: 400;
  color: #ffffff;
  padding: 8px 35px 8px 20px;
  position: relative;
  text-decoration: none;
  display: inline-block;
  border: 2px solid #ffffff;
}

#news .tab_link_mehr a::before {
  content: "Alle Meldungen";
  font-size: 1rem;
}

#news .tab_link_mehr a::after {
  content: "\00BB";
  display: block;
  position: absolute;
  right: 0;
  top: 9px;
  bottom: 9px;
  width: 35px;
  text-align: center;
  font-size: 16px;
  line-height: 18px;
}

#news .tab_link_mehr a:hover,
#news .tab_link_mehr a:focus {
  background: #444444;
  color: #fcde6f;
  border-color: #fcde6f;
}

/* ------------------------------------------------- tabs2 ------------------------------------------------- */

@media (min-width: 992px) {
  #tabs2 {
    margin-top: -10px;
    padding-left: 0;
    padding-bottom: 60px;
  }
  body:not(.index) #tabs2 {
    padding-bottom: 130px;
  }
}

#tabs2 .tab {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  padding: 30px 30px;
  font-size: 0.875rem;
  position: relative;
}

@media (min-width: 992px) {
  #tabs2 .tab {
    margin-left: -15px;
  }
}

@media (min-width: 1200px) {
  #events .tab_link {
    padding-right: 65px;
  }
}

#tabs2 .tab1 {
  background-color: #ffffff;
}

#tabs2 .tab2 {
  background: #ffffff;
  color: #444444;
  border: 2px solid #fcde6f;
  border-left-color: #ffffff;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.05);
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.05);
}

@media (max-width: 991px) {
  #tabs2 .tab {
    overflow: hidden;
  }

  #tabs2 .tab2 {
    border: 2px solid #fcde6f !important;
  }

  #tabs2 .tab1 {
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.05);
  }
}

#tabs2 .tabHeadline {
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 0 10px 0;
}

@media (min-width: 992px) {
  #tabs2 .tabHeadline {
    margin: 0 0 18px 0;
  }
}

#tabs2 .tabHeadline {
  color: #b83930;
}

#tabs2 .tab_link_mandat a {
  font-weight: 400;
}

#tabs2 .tab_link_title a,
#tabs2 .tab_link_mandat a {
  color: inherit;
}

#tabs2 .tab_link_title {
  padding-top: 10px;
  margin-top: 10px;
  position: relative;
}

#tabs2 .tab_link_title:first-of-type {
  padding: 0;
  margin: 0;
}

#tabs2 .tab_link_title::before {
  content: "";
  pointer-events: none;
  position: absolute;
  left: -40px;
  top: 0;
  height: 1px;
  width: 100%;
  background: rgb(68, 68, 68);
  background: linear-gradient(
    90deg,
    rgba(68, 68, 68, 0.5) 0%,
    rgba(68, 68, 68, 0) 100%
  );
}

#tabs2 .tab_link_title:first-of-type:before {
  content: none;
}

#tabs2 .tab_spacer {
  display: none;
}

#tabs2 .tab_link_entry {
  position: relative;
}

#tabs2 .tab_link_entry + .tab_link_entry {
  margin-top: 24px;
}

#tabs2 .tab_link_entry + .tab_link_entry::before {
  content: "";
  display: block;
  position: absolute;
  top: -12px;
  left: -30px;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.5) 10%,
    rgba(255, 255, 255, 0)
  );
}

#tabs2 .tab_link_mehr {
  font-size: 0;
  color: transparent;
  text-align: left !important;
  margin-top: 15px;
}

#tabs2 .tab_link_mehr a {
  display: inline-block;
  position: relative;
  font-weight: 700;
  text-align: right;
  text-decoration: none;
  line-height: 1.2;
}

#tabs2 .tab_link_mehr a::after {
  font-size: 0.9375rem;
  color: #b83930;
}

#events .tab_link_mehr a::after {
  content: "alle Veranstaltungen \00BB";
}

#lynks {
  position: relative !important;
  padding: 0 30px !important;
  font-size: 1.25rem !important;
}

#lynks p {
  padding: 20px 0 !important;
  position: relative;
}

#lynks p::before {
  content: "";
  pointer-events: none;
  position: absolute;
  left: -40px;
  top: 0;
  height: 1px;
  width: 100%;
  background: rgb(68, 68, 68);
  background: linear-gradient(
    90deg,
    rgba(68, 68, 68, 0.5) 0%,
    rgba(68, 68, 68, 0) 100%
  );
}

#lynks p:first-child:before {
  content: none;
}

#lynks a {
  text-decoration: none;
  color: #444444;
  position: relative;
}

#lynks a:hover,
#lynks a:focus {
  color: #b83930;
}

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

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

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

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

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

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

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

@media (min-width: 768px) {
  h3,
  .h3,
  .legacy_h3 {
    font-size: 2.4rem;
  }
}

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

@media (min-width: 768px) {
  h4,
  .h4,
  .h4link a:link,
  .h4link a:hover,
  .h4link a:focus,
  .h4link a:visited,
  .legacy_h4 {
    font-size: 2.2rem;
  }
}

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

@media (min-width: 768px) {
  h5,
  .h5,
  .legacy_h5 {
    font-size: 2rem;
  }
}

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

@media (min-width: 768px) {
  h6,
  .h6,
  .legacy_h6 {
    font-size: 1.8rem;
  }
}

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

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

footer {
  background: #444444;
  color: #ffffff;
  font-size: 0.875rem;
}

.firstFooter {
  padding-top: 35px;
  padding-bottom: 40px;
}

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

.lastFooter {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 5px;
  padding-bottom: 5px;
}

@media (min-width: 992px) {
  footer {
    margin-top: -130px;
  }
}

footer a,
footer a:hover,
footer a:hover {
  color: #fcde6f;
}

footer .tabHeadline {
  color: #ffffff;
  font-size: 1.875rem;
}

#footerRight {
  position: relative;
  z-index: 13;
}

#footerRight a {
  position: relative;
}

#footerRight a::after {
  content: "\00BB";
}

#footerRight > * + * {
  margin-top: 40px;
}

.footerButton {
  font-size: 1.25rem;
  font-weight: 700;
}

#innerfooter ul {
  padding: 0;
}

@media (max-width: 767px) {
  #innerfooter ul {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

#innerfooter li {
  display: block;
}

@media (min-width: 500px) {
  #innerfooter li {
    display: inline-block;
  }

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

#innerfooter a {
  color: #ffffff;
}

#innerfooter a:hover,
#innerfooter a:focus {
  color: #fcde6f;
  text-decoration: none;
}

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

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

#vernetzt {
  font-size: 0.75rem;
  color: #ffffff;
  line-height: 1.4;
  margin: 25px auto 0 auto;
  text-decoration: none;
  position: relative;
  z-index: 45;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: end;
}

@media (min-width: 768px) {
  #vernetzt {
    margin: 0;
  }
}

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

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

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

/* --------------------------------------------- contrast -------------------------------------------- */

.contrast_dark main,
.contrast_dark_font main,
.contrast_dark #content,
.contrast_dark_font #content,
.contrast_dark .slider-mask,
.contrast_dark_font .slider-mask {
  background: none !important;
}

.contrast_dark_font #tabs2 .tab_link_mehr a::after {
  color: #000000 !important;
}

.contrast_dark #contrast_style button + button,
.contrast_dark_font #contrast_style button + button,
.contrast_dark #style button + button,
.contrast_dark_font #style button + button {
  margin-left: 0 !important;
}

/* Custom stuff */

@media (max-width: 991px) {
  #content.customStyle a:not(a[class^="navpoint"]){
      hyphens: auto !important;
  }
}