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

html {
  max-width: 1930px;
  margin-left: auto;
  margin-right: auto;
  background: #f8f1e5;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  scrollbar-color: #a22338 #ffffff;
  scrollbar-width: thin;
}

body {
  font-family: "Nunito", sans-serif;
  color: #262626;
  background: #ffffff;
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.5;
  min-height: auto !important;
}

a {
  color: #9b002a;
}

a:is(:hover, :focus) {
  color: #9b002a;
  text-decoration: underline;
}

#content a,
b,
strong {
  font-weight: 700;
}
@media (min-width: 1200px) {
  .row {
    max-width: 1440px;
    width: 100%;
  }
}

a:focus-visible,
button:focus-visible,
form:focus-visible,
input:focus-visible {
  outline: 3px solid #0066ff !important;
}

#overflow {
  overflow: clip;
  position: relative;
}


body:not(.noListStyle) main ul:not([class*="menue"], [class*="slick-dots"], .rsbtn_toollist, .units, .no-list-style, .footer_list) li:not(.gallery-list-item, .album-list-item, .entry, .unit-title, .single-comment)::before {
  background: #9b002a;
}





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

#logo {
  display: inline-block;
  position: relative;
  z-index: 51;
}

#logo img {
  display: block;
  transition: max-height 300ms linear;
  max-height: 150px;
}

body:not(.index) #logo img {
    max-height: 170px;
}

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

  #logo img {
    max-width: 110px;
  }
}

@media (min-width: 992px) {
  #logo {
    position: absolute;
    top: -13px;
    left: 15px;
  }

  #logo img {
    max-height: 250px;
  }

  .is-sticky #logo img {
    max-height: 150px;
  }
}

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


.options span {
    font-size: 15px;
    padding-right: 10px;
    font-weight: 700;
}

#contrast_style,
#style {
  margin-right: 30px;
}

@media (max-width: 991px) {
  #contrast_style {
    margin: 0 auto;
  }
}
/* ------------------------------------------------ contrast_style ---------------------------------------------- */
#contrast_style button {
    color: #000000;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.6);
    font-family: "Khand", sans-serif;
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-weight: 400;
    text-align: center;
    background: #ffffff;
    position: relative;
    z-index: 1;
    font-size: 0;
}

#contrast_style button::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    left: -6px;
    top: -6px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    -webkit-transition: opacity 150ms linear;
    -moz-transition: opacity 150ms linear;
    -ms-transition: opacity 150ms linear;
    -o-transition: opacity 150ms linear;
    transition: opacity 150ms linear;
}

#contrast_style *+* {
    margin-left: 10px;
}

#contrast_style button::after {
    content: "";
    display: block;
    position: absolute;
    top: 3px;
    right: 3px;
    left: 3px;
    bottom: 3px;
    border: 1px solid rgba(0, 0, 0, 0.6);
    border-radius: 50%;
}

#contrast_style button:nth-of-type(1)::after {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6) 50%, rgba(255, 255, 255, 1) 50%);
}

#contrast_style button:nth-of-type(2)::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 50%, rgba(0, 0, 0, 0.6) 50%);
}

#contrast_style button:nth-of-type(3)::after {
    background: #ea5b0c;
    border: none;
}

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

#style button {
    padding: 0;
    border: 1px solid #262626;
    color: #262626;
    display: inline-block;
    min-width: 20px;
    min-height: 20px;
    font-weight: 400;
    font-size: 0.875rem;
    text-align: center;
    background: rgba(255, 255, 255, 1);
    position: relative;
    line-height: 1;
    transition: color 300ms linear, background 300ms linear;
    border-radius: 50%;
    outline: 4px solid rgba(255, 255, 255, 0);
}

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

#style button:hover,
#style button:focus {
    color: #262626;
    background: #fff;
    outline: 4px solid #e8c897;
}
/* #region ---------------------------------- navigation ---------------------------------------- */

nav.horizontally {
  background: #c58c34;
}

/* burgermenu for tablet */

@media (max-width: 991px) {
  nav.horizontally {
    position: static !important;
  }

  #burgerButton {
    font-size: 0;
    border: none !important;
    display: block;
    height: 50px;
    width: 60px;
    border-radius: 2px;
    padding: 6px 8px;
    cursor: pointer;
    background-color: #ffffff;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
  }

  #burgerButton::before,
  #burgerButton::after,
  #burgerButtonInner {
    background-color: #a22338;
    border-radius: 2px;
    position: absolute;
    width: 40px;
    height: 3px;
    left: 10px;
    transition:
      transform 200ms linear,
      opacity 200ms linear;
  }

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

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

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

  #burgerButtonInner {
    top: 16px;
  }

  #burgerButton::before {
    top: 24px;
    content: "";
  }

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

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

  .navbar-collapse {
    width: calc(100% - 90px);
    max-width: 300px;
    top: 0;
    background: #c58c34;
    position: fixed;
    left: -100%;
    bottom: 0;
    z-index: 100;
    height: auto !important;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    overflow-y: auto;
    transition:
      left 300ms linear,
      opacity 300ms linear,
      box-shadow 600ms linear;
    box-shadow: 250px 0 50vw 50vw rgba(255, 255, 255, 0);
  }

  .navbar-collapse:is([aria-expanded="true"], .in) {
    left: 0;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    box-shadow: 250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
  }

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

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

  .dropdown-toggle-button-wrapper2 {
    top: 4px;
  }
}

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally {
    padding-top: 13px;
  }
  nav.horizontally .navbar-nav {
    margin: 35px 0;
    display: flex;
    justify-content: flex-end;
    align-items: center !important;
    transition: margin 300ms linear;
    flex-wrap: wrap;
  }
  .is-sticky nav.horizontally {
    left: unset !important;
  }

  .is-sticky nav.horizontally .navbar-nav {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  nav.horizontally .navbar-nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: block !important;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms linear;
  }

  nav.horizontally .navbar-nav [class*="secondlevel"] > ul {
    left: 100%;
    top: 0;
  }

  nav.horizontally .navbar-nav li {
    position: relative;
  }

  nav.horizontally .navbar-nav li:is(.open:focus-within, :hover) > ul,
  nav.horizontally .navbar-nav li[class*="secondlevel"] > ul[style*="block"] {
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible;
  }

  nav.horizontally .navbar-nav li:is(:hover, :focus-within) > ul {
    z-index: 1003;
  }
}

@media (min-width: 1200px) {
  nav.horizontally .navbar-nav {
    margin: 45px 0 25px 30px;
  }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
  color: #000000;
  font-weight: 700;
  text-align: left;
  padding: 10px 35px;
  position: relative;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Cairo", sans-serif;
}


@media (max-width: 991px) {
  nav.horizontally li[class*="toplevel"] {
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  }
  nav.horizontally a[class*="toplevel"]{
    padding-left: 15px;
  }
}

@media (min-width: 992px) {
  nav.horizontally li[class*="toplevel"] + li {
    margin-left: clamp(10px, 2vw, 30px);
  }

  nav.horizontally a[class*="toplevel"] {
    padding: 10px 0;
    text-align: center;
  }

  nav.horizontally a[class*="toplevel"][data-toggle="dropdown"] {
    padding-right: 20px;
  }
}

@media (min-width: 992px) {
  nav.horizontally a[class*="toplevel"][data-toggle="dropdown"]::after {
    content: "";
    position: absolute;
    display: block;
    right: 2px;
    top: 50%;
    margin-top: -7px;
    width: 8px;
    height: 8px;
    border-radius: 1px;
    display: inline-block;
    border-left: 2px solid #000000;
    border-bottom: 2px solid #000000;
    transform: rotate(-45deg);
    transition: border 300ms linear;
  }
}

nav.horizontally a[class*="toplevel"]::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  background: #000000;
  width: 0;
  transition: width 300ms linear;
}

/* toplevel-over */

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within) > a,
nav.horizontally li[class*="toplevel"] > a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"].open > a,
nav.horizontally li[class*="toplevel"].open > a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"][class*="_over"] > a,
nav.horizontally li[class*="toplevel"][class*="_over"] > a:is(:hover, :focus) {
  color: #000000;
}
nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within) > a::before,
nav.horizontally li[class*="toplevel"] > a:is(:hover, :focus)::before,
nav.horizontally li[class*="toplevel"].open > a::before,
nav.horizontally li[class*="toplevel"].open > a:is(:hover, :focus)::before,
nav.horizontally li[class*="toplevel"][class*="_over"] > a::before,
nav.horizontally li[class*="toplevel"][class*="_over"] > a:is(:hover, :focus)::before {
  width: 100%;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  padding: 10px;
  background-color: #ffffff;
}
.is-sticky nav.horizontally [class*="toplevel"] ul {
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
  nav.horizontally [class*="toplevel"] ul {
    padding: 15px 0;
  }

  nav.horizontally [class*="toplevel"] > ul {
    margin-top: 14px;
  }

  nav.horizontally [class*="secondlevel"] > ul {
    margin-left: 10px;
    margin-top: -15px;
  }

  nav.horizontally :is([class*="toplevel"], [class*="secondlevel"]) > ul::before {
    content: "";
    position: absolute;
    display: block;
  }

  nav.horizontally [class*="toplevel"] > ul::before {
    height: 14px;
    left: 0;
    right: 0;
    top: -14px;
  }

  nav.horizontally [class*="secondlevel"] > ul::before {
    width: 10px;
    top: 0;
    bottom: 0;
    left: -10px;
  }
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
  color: #262626;
  text-align: left;
  padding: 10px 40px 10px 20px;
  font-weight: 400;
  position: relative;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
}

@media (min-width: 992px) {
  nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    text-align: left;
  }

  nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::after {
    content: "\00BB";
    position: absolute;
    right: 20px;
    top: 50%;
    margin-top: -12px;
    font-size: 24px;
    line-height: 1;
    font-family: "Merriweather", serif;
  }
}

/* secondlevel + thirdlevel over */

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within) > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]) > a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a:is(:hover, :focus) {
  background: #c58c34;
}

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

@media (min-width: 992px) {
  #slider {
    max-height: 600px;
  }
  #headerpic a.nivo-prevNav {
    left: 65px;
  }
  #headerpic a.nivo-nextNav {
    right: 65px;
  }
}

#headerpic {
  width: 100%;
  position: relative;
  border-top: 6px solid #fff;
}
/* ------------------------------------------- buttons ------------------------------------------ */

.button-style a {
  color: #fff;
  text-transform: uppercase;
  font-family: "Cairo", serif;
  font-weight: 700;
  display: inline-block;
  text-align: center;
  font-size: 1.125rem;
  text-decoration: none;
  min-width: 110px;
  padding: 4px clamp(10px, 3vw, 26px);
  margin-top: 25px;
  border: 2px solid transparent;
  transition:
    background-color 300ms linear,
    color 300ms linear,
    border 100ms linear;
  background-color: #a22338;
}

.button-style a:is(:hover, :focus) {
  background-color: #c58c34;
  color: #262626;
}

.button-style a + a {
  margin-left: 20px;
}

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

#content {
  text-align: left;
  padding-bottom: clamp(30px, 4vw, 70px);
  padding-top: 30px;
}

body:not(.index) #content {
  padding-top: 60px;
}
/* ----------------------------------------------- @9nw news -------------------------------------------- */

#nw9 {
  padding-top: 60px;
  padding-bottom: 30px;
}
#nw9 .tab {
  font-size: 1rem;
  color: #000000;
  padding: 35px 20px 30px 20px;
  background-color: #f1e1c9;
}

#nw9 .tabSpecial {
  margin-bottom: 20px;
}

#nw9 .tabHeadline {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  color: #000000;
  font-weight: 700;
  margin-bottom: 0;
}

#nw9 .tab_link_entry {
  border: none !important;
  display: flex !important;
  flex-wrap: wrap;
  position: relative;
  flex-direction: column;
  justify-content: center;
  min-height: 80px;
  padding-left: 95px;
  z-index: 12;
}

#nw9 .tab_link_entry + .tab_link_entry {
  margin-top: 30px;
}

#nw9 .tab_link_entry + .tab_link_entry::before {
  content: "";
  pointer-events: none;
  height: 1px;
  width: 100%;
  position: absolute;
  top: -15px;
  left: -20px;
  right: 0px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
}

#nw9 .tab_preview_picture {
  background: #ffffff;
}

#nw9 .tab_preview_picture,
#nw9 .tab_link_entry::after {
  position: absolute;
  display: inline-block;
  overflow: hidden;
  top: 50%;
  left: 10px;
  width: 70px;
  height: 70px;
  margin: -35px 0 0 0;
  border-radius: 50%;
}

#nw9 .tab_link_entry::after {
  content: "";
  background:
    center / cover no-repeat,
    #666666;
  z-index: -1;
}

#nw9 .tab_preview_picture img {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: 110px;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
}

#nw9 .tab_link_title a {
  color: #000000;
  font-weight: 700;
}

#nw9 .tab_date {
  font-style: normal;
}

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

#nw9 .tab_link_entry .tab_spacer {
  height: 0;
}

#nw9 .tab_link_mehr {
  font-size: 0;
}

#nw9 .tab_link_mehr a {
  text-decoration: none !important;
  display: block;
  position: relative;
  text-align: right;
  bottom: -30px;
  left: -20px;
  right: -20px;
  width: calc(100% + 40px);
  color: #ffffff;
  font-weight: 700;
  padding: 15px 30px;
  font-size: 1.125rem;
  background-color: #a22338;
  font-family: "Cairo", sans-serif;
  text-transform: uppercase;
}

#nw9 .tab_link_mehr a:hover,
#nw9 .tab_link_mehr a:focus {
  background-color: #c58c34;
  color: #262626;
}

/* -------------------------------------------- breaker ----------------------------------------- */
#teaser {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.9);
  padding: clamp(30px, 4vw, 60px);
  position: relative;
}

#breaker {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 70px 0;
  color: #262626;
  font-size: clamp(1.25rem, 4vw, 1.875rem);
  font-family: "Cairo", sans-serif;
}

#teaser :is(h1, h2, h3, h4, h5, h6) {
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: #262626;
  margin-bottom: 0px;
}
#teaser :is(b, strong) {
  color: #262626;
  font-size: 1.125rem;
  font-weight: 700;
  font-family: "Cairo", sans-serif;
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
  color: #000000;
  font-weight: 700;
  line-height: 1.2;
  font-family: "Cairo", serif;
}

h1,
.h1,
.legacy_h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: #00a7e6;
}

h2,
.h2,
.legacy_h2 {
  font-size: clamp(1.875rem, 4.5vw, 2.1875rem);
}

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

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
  font-size: 1.75rem;
}

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

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

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

#footer {
  background: #f1e1c9;
  padding: 50px 0 30px 0;
  color: #000000;
  font-size: 1rem;
}

@media (max-width: 991px) {
  :is(#footer, #innerfooter) > .row > .col-xs-12 + * {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    padding-top: 20px;
  }
}

@media (min-width: 768px) {
  #innerfooter > .row > .col-xs-12 + :nth-child(2) {
    border: none;
    margin-top: 0;
    padding-top: 0;
  }
}

#footer a {
  color: #a22338;
  text-decoration: underline;
}
#footer a:is(:hover, :focus) {
  text-decoration: none;
}

.footerHeadline {
  color: #000000;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  font-size: 1.5625rem;
}

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

#innerfooter {
  color: #262626;
  background-color: #c58c34;
  padding: 22px 0;
  font-family: "Cairo", serif;
  font-size: 1rem;
  border-top: solid 7px #941109;
}

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: inline-block;
}

.innerfooter a {
  color: #262626;
  text-decoration: none;
  display: inline-block;
  padding: 10px 12px;
}

.innerfooter a:is(:hover, :focus) {
  color: #262626;
  text-decoration: underline;
}

.innerfooter li + li {
  margin-left: 10px;
}

/* ------------------------------------------- scroll top --------------------------------------- */

#scroll-top {
  font-size: 0;
  width: 33px;
  height: 33px;
  display: block;
  position: relative;
  margin: 0 auto;
  background: #a22338;
}
#scroll-top:is(:hover, :focus) {
  background-color: #262626;
}

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

@media (min-width: 992px) {
  #scroll-top {
    margin: 0;
  }
}

#scroll-top::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 3px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-top: 10px;
  display: inline-block;
  border-right: 3px solid #fff;
  border-top: 3px solid #fff;
  transform: rotate(-45deg);
  transition: border 300ms linear;
}

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

#vernetzt {
  gap: 14px;
  text-align: left;
  color: #000000;
  line-height: 1.3;
  font-weight: 400;
  text-decoration: none;
  font-size: 0.875rem;
  font-family: "Nunito", sans-serif;
}

#vernetzt span span {
  display: block;
}
