html {
  font-size: 16px;
}

*:focus {
  outline: none;
}

body {
  color: var(--color-grey-dark);
  font-family: 'Netto W01', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji',
    'Segoe UI Emoji', 'Segoe UI Symbol';
  font-weight: 400;
  font-size: var(--font-size);
  background-color: var(--color-item-bg-1);
}

#main-wrapper {
  padding: var(--section-gap) 0 0;
  min-height: calc(100vh - var(--header-height) - 21.2rem);
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
}

h1 {
  font-size: var(--font-size-h1);
}

h2 {
  font-size: var(--font-size-h2);
  margin: 0 0 1.25rem;
}

h3 {
  font-size: var(--font-size-h3);
}

h4 {
  font-size: var(--font-size-h4);
}

a.back-to-top {
  display: none;
}
h2 a,
h2 a:hover,
h2 a:active,
h2 a:visited {
  text-decoration: none;
  color: inherit;
}

button:focus {
  outline: none;
}

/*#page-wrapper.grau {*/
/*    background-color: var(--color-grey-light);*/
/*}*/

@media all and (min-width: 992px) {
  .navbar {
    padding-top: 0;
    padding-bottom: 0;
  }

  .navbar .has-megamenu {
    position: static !important;
  }

  .navbar .megamenu {
    left: 0;
    right: 0;
    width: 100%;
    padding: 20px;
  }

  .col-megamenu .title > span,
  .col-megamenu .title > a,
  .col-megamenu-level1 .title-level1 > span,
  .col-megamenu-level1 .title-level1 > a {
    padding-top: 0;
    padding-bottom: 0;
    color: black !important;
  }
}

/*
*
*
*/
.featuredtop {
  padding: var(--header-height) 0 0 0;
  height: calc(var(--featuredtop-height) + var(--header-height));
  position: relative;
  display: block;
  color: var(--color-white);
}
@media (max-width: 575px) {
  .featuredtop {
    height:auto;
  }
}
.nofeaturedtop {
  padding: var(--section-inner-side-padding);
  height: auto;
  position: relative;
  display: block;
  color: var(--color-white);
  background-color: var(--color-primary);
  border-radius: var(--border-radius);
  margin-top: var(--header-height);
}
.nofeaturedtop h1 {
  line-height: 1;
}
.nofeaturedtop .breadcrumb {
  margin-bottom: 0;
}
.emptyfeaturedtop {
  height: var(--header-height);
  position: relative;
  display: block;
  padding: 0;
}

.featuredtop .page-picture,
.featuredtop .page-picture img {
  height: 100%;
  width: 100%;
  border-radius: var(--border-radius);
}

.featuredtop .page-title {
  position: absolute;
  padding: 0 var(--section-inner-side-padding);
  width: 100%;
  z-index: 1;
  bottom: var(--section-inner-side-padding);
}

.featuredtop .breadcrumb {
  position: absolute;
  padding: 0 var(--section-inner-side-padding);
  width: 100%;
  z-index: 1;
  bottom: calc(var(--section-inner-side-padding) / 2);
  margin: 0;
  font-size: var(--font-size-smaller);
}

.breadcrumb ol {
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  list-style-type: none;
  display: inline-block;
}

.breadcrumb li:after {
  content: ' / ';
}

.breadcrumb li:last-child:after {
  content: '';
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

@media (max-width: 560px) {
  .featuredtop .page-picture,
  .featuredtop .page-picture img,
  .nofeaturedtop {
    border-radius: 0;
  }
  .featuredtop {
    padding: var(--header-height) 0 0;
  }
}

.form-check-input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.accordion-button:not(.collapsed) {
  color: var(--color-primary);
  background-color: white;
  box-shadow: inset 0 -1px 0 rgb(0 0 0 / 13%);
}

.content-header a {
  text-decoration: none;
  color: inherit;
}

.featuredtop {
  color: var(--color-white);
}

.picture-copyright {
  font-size: 0.75rem;
  background: var(--color-white);
  padding: 0.25rem 0.5rem;
  border-radius: calc(var(--border-radius) / 2);
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  max-width: 1.7rem;
  white-space: nowrap;
  overflow: hidden;
  color: transparent;
  z-index: 100;
  height: auto !important;
  opacity: 0.6;
}

.picture-copyright::before {
  display: block;
  content: '©';
  position: absolute;
  color: var(--color-grey-dark);
}
.picture-copyright:hover {
  max-width: inherit;
  color: var(--color-grey-dark);
  opacity: 1;
}
.picture-copyright:hover::before {
  opacity: 0;
}

.btn-wfbb {
  border: 2px solid var(--color-primary);
  padding: 0.5em 3em 0.5em 1em;
  border-radius: 5rem;
  font-size: 1.125rem;
  margin-top: var(--grid-gap);
  display: inline-block;
  font-weight: 700;
  position: relative;
  color: var(--color-primary);
  cursor: pointer;
  background-color: transparent;
}

.btn-wfbb::after {
  display: inline-block;
  content: '';
  background-image: var(--arrow-next-blue);
  width: 1.063em;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  right: 1em;
  height: 100%;
  top: 0;
  background-position: center;
}
a.btn-wfbb {
  text-decoration: none;
  color: var(--color-primary);
}


.frame-type-header .btn-wfbb {
  border-radius: var(--border-radius);
  height: 5rem;
  padding-right: var(--grid-gap);
}
.frame-type-header .btn-wfbb::after {
  display: none;
}
.frame-type-header .btn-wfbb.reverse {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.frame-cta .btn-wfbb {
  border-color: white;
  color: white;
}
.frame-cta .btn-wfbb::after {
  background-image: var(--arrow-next-white);
}

.frame-cta .btn-wfbb.reverse {
  background-color: white;
  color: var(--color-primary);
}
.frame-cta .btn-wfbb.reverse::after {
  background-image: var(--arrow-next-blue);
}

.btn-cookie {
  background-color: #30363c;
  border: 1px solid #30363c;
  border-radius: 0.5rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  min-height: 2.625rem;
  padding: 0.5rem 1rem;
  text-align: center;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  width: 100%;
}

.btn-cookie:hover {
  background-color: #000;
  border-color: #000;
}

.btn-cookie.btn-cookie-light {
  background-color: #eaeff2;
  border: 1px solid #eaeff2;
  color: #2c2f31;
}

.btn-cookie.btn-cookie-light:hover {
  background-color: #d4dae0;
  border-color: #d4dae0;
}

.cookie-btn-group {
  display: grid;
  gap: 5px;
  grid-auto-columns: minmax(0, 1fr);
}

.cookie-btn-group-agreement {
  grid-column: span 2;
  display: flex;
}

.cookie-btn-group-option {
  display: grid;
  grid-column: minmax(0, 1fr);
}

.accordion-header {
  position: relative;
  border-radius: 0.5rem;
}

.accordion-header .btn-cookie-option {
  width: 100%;
  padding: 1.1rem 5.4rem 1.1rem 3.4rem;
  font-size: 0.95rem;
  background: #f0f4f7;
  border: 1px solid #f0f4f7;
  min-height: 58px;
  text-align: start;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  border-radius: 0.5rem 0.5rem 0 0;
  font-weight: 600;
}

.accordion-header .btn-cookie-option:hover {
  background: #e9eff4;
  border-color: #e9eff4;
}

.accordion-header .btn-cookie-option.collapsed {
  border-radius: 0.5rem;
}

.accordion-header .accordion-header-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 1rem;
  transition: all 0.25s ease;
}

.accordion-header .accordion-header-arrow i {
  font-size: 1.25rem;
}

.accordion-header .accordion-header-arrow.open {
  transform: rotate(180deg) translateY(50%);
}

.accordion-header .accordion-header-toggle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 1.5rem;
}

.accordion-header .accordion-header-toggle input {
  width: 2rem;
  height: 1rem;
}

.accordion-header .accordion-header-toggle .form-check.form-switch {
  padding: 0;
}

.cookie-option-section-container {
  font-size: 0.82rem;
}

#cookieOptionSection .accordion-item {
  margin-bottom: 0.5rem;
  border: none;
}

#cookieOptionSection .accordion-body {
  padding: 0;
  border-left: 1px solid rgba(0, 0, 0, 0.125);
  border-right: 1px solid rgba(0, 0, 0, 0.125);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0 0 0.5rem 0.5rem;
}

#cookieOptionSection .opt-section {
  padding: 0.82rem;
}

#cookieOptionSection .subsection-item {
  padding-bottom: 0.82rem;
}

#cookieOptionSection .subsection-item:last-of-type {
  padding-bottom: 0rem;
}

#cookieOptionSection .subsection-item ul {
  margin: 0;
}

#cookieOptionSection .subsection-item strong {
  display: block;
  width: 100%;
}

#cookieOptionSection .section-table {
  width: 100%;
}

#cookieOptionSection .section-table,
#cookieOptionSection .section-table td,
#cookieOptionSection .section-table tr {
  border-collapse: collapse;
  padding: 0;
}

#cookieOptionSection .section-table td {
  padding: 0.625em 0.625em 0.625em 1.2em;
  vertical-align: top;
}

#cookieOptionSection .section-table thead {
  font-weight: 600;
}

#cookieOptionSection .section-table thead tr td {
  padding-bottom: 0;
}

#cookieOptionSection .section-table tr {
  transition: background-color 0.15s ease;
}

#cookieOptionSection .section-table tbody tr:hover {
  background-color: #e9eff4;
}

#gdprbanner-matomo-banner {
  position: fixed;
  z-index: 1000;
  width: 35rem !important;
  bottom: 1rem;
  right: 1rem;
  border-radius: 0.6rem;
  box-shadow: 0 0.625em 1.875em rgba(0, 0, 2, 0.3);
  background-color: #fff;
  overflow: hidden;
}

@media screen and (max-width: 640px) {
  #gdprbanner-matomo-banner {
    max-width: none !important;
    width: auto !important;
    margin-left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
  }

  .wfbb-consent-further-links-wrapper {
    flex-wrap: wrap;
  }

  .cookie-btn-group-agreement {
    flex-direction: column !important;
    min-width: auto !important;
  }

  .cookie-btn-group {
    display: flex !important;
    grid-column: span 3;
  }

  .link-box {
    display: flex;
    flex: auto !important;
  }

  .btn-cookie {
    flex: auto !important;
  }

  .section-table thead {
    display: none;
  }

  .section-table tr {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
  }

  .section-table td {
    display: flex;
    justify-content: space-between;
  }

  .section-table td::before {
    font-weight: bold;
    margin-right: 0.5rem;
    min-width: 50px;
    width: 100px;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .section-table td:nth-child(1)::before {
    content: 'Name';
  }

  .section-table td:nth-child(2)::before {
    content: 'Beschreibung';
  }

  .section-table td:nth-child(3)::before {
    content: 'Speicherdauer';
  }
}

#gdprbanner-matomo-banner .cookie-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

#gdprbanner-matomo-banner .text-box {
  padding: 0 1rem 0 1.3rem;
  border-radius: 0.6rem;
  overflow-x: visible;
  overflow-y: auto;
  max-height: 40vh;
  margin-right: 0.3rem;
}

#gdprbanner-matomo-banner ::-webkit-scrollbar {
  width: 5px;
}

#gdprbanner-matomo-banner ::-webkit-scrollbar-thumb {
  background: #e9eff4;
  border-radius: 10px;
}

#gdprbanner-matomo-banner ::-webkit-scrollbar-thumb:hover {
  background: gray;
}

#gdprbanner-matomo-banner .text-box p {
  font-size: 0.75rem;
  color: #5e6266;
  padding-bottom: 1rem;
  line-height: 1.5;
  margin-bottom: 0;
}

#gdprbanner-matomo-banner h2 {
  font-size: 1.05rem;
  margin-bottom: 0;
  color: #333;
  padding: 1.3rem 1rem 1rem 1.3rem;
}

#gdprbanner-matomo-banner .link-box {
  padding: 1rem 1.3rem;
  border-top: 1px solid #f0f4f7;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

#gdprbanner-matomo-banner .btn-wfbb {
  margin-right: 1rem;
  margin-top: 0;
  background-color: var(--color-primary);
  border: 0.125rem solid var(--color-primary);
}

#gdprbanner-matomo-banner .wfbb-consent-further-links-wrapper {
  grid-column: span 3;
  padding-bottom: 0.5rem;
  display: flex;
  grid-auto-columns: minmax(0, 1fr);
}

#gdprbanner-matomo-banner .wfbb-consent-further-link {
  color: #30363c;
  font-weight: 600;
  text-decoration: none;
  background-image: linear-gradient(#30363c, #30363c);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size 250ms ease 0ms, color 0s ease;
}

#gdprbanner-matomo-banner .wfbb-consent-further-link:hover {
  background-size: 100% 1px;
}

#gdprbanner-matomo-banner .wfbb-consent-further-links-wrapper .wfbb-consent-further-link {
  font-size: 0.82rem;
  margin-right: 1rem;
}

/**
    Add Labels to default GDPR switcher
 */

.gdprbanner-matomo-onoff-switcher input:not(:checked) + * + .gdprbanner-matomo-onoff-label.on {
  display: none;
}

.gdprbanner-matomo-onoff-switcher input:not(:checked) + * + * + .gdprbanner-matomo-onoff-label.off {
  color: initial;
}

.gdprbanner-matomo-onoff-switcher input:checked + * + .gdprbanner-matomo-onoff-label.on {
  color: initial;
}

.gdprbanner-matomo-onoff-switcher input:checked + * + * + .gdprbanner-matomo-onoff-label.off {
  display: none;
}

.dropdown-item .col-megamenu-level1 {
  white-space: initial;
}


/**
 links
 */
.content-body a{
  color: var(--color-blue);
  position: relative;
  z-index: 1;
}
.frame-cta .content-body a{
  color: var(--color-white);
}
.content-body a::after{
  display: inline-block;
  content: '  ';
  width: 1.063em;
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
  height: 0.8em;
  background-position: center;
  background-image: var(--arrow-next-blue);
  top: 0.1em;
  margin-left: 0.2em;
}
.frame-cta .content-body a::after{
  background-image: var(--arrow-next-white);
}
a[href*="https"].btn-wfbb::after,
.content-body a[href*="https:"]::after{
  background-image: var(--arrow-up-right-from-square-blue);
}
a[href*="mailto:"].btn-wfbb::after,
.content-body a[href*="mailto:"]::after{
  background-image: var(--icon-mail-blue);
}
a[href*="tel:"].btn-wfbb::after,
.content-body a[href*="tel:"]::after{
  background-image: var(--icon-phone-blue);
}
a[href$=".pdf"].btn-wfbb::after,
a[href*="fileadmin"].btn-wfbb::after,
.content-body a[href$=".pdf"]::after,
.content-body a[href*="fileadmin"]::after{
  background-image: var(--icon-download-blue);
}

.frame-cta a[href*="https"].btn-wfbb::after,
.frame-cta .content-body a[href*="https:"]::after{
  background-image: var(--arrow-up-right-from-square-white);
}
.frame-cta a[href*="mailto:"].btn-wfbb::after,
.frame-cta .content-body a[href*="mailto:"]::after{
  background-image: var(--icon-mail-white);
}
.frame-cta a[href*="tel:"].btn-wfbb::after,
.frame-cta .content-body a[href*="tel:"]::after{
  background-image: var(--icon-phone-white);
}
.frame-cta a[href$=".pdf"].btn-wfbb::after,
.frame-cta a[href*="fileadmin"].btn-wfbb::after,
.frame-cta .content-body a[href$=".pdf"]::after,
.frame-cta .content-body a[href*="fileadmin"]::after{
  background-image: var(--icon-download-white);
}

.frame-cta a[href$="rss.xml"].btn-wfbb::after,
.frame-cta .content-body a[href$="rss.xml"]::after,
.frame-cta a[href$="newsfeed.xml"].btn-wfbb::after,
.frame-cta .content-body a[href$="newsfeed.xml"]::after,
.frame-cta a[href$=".xml"].btn-wfbb::after,
.frame-cta .content-body a[href$=".xml"]::after{
  background-image: var(--icon-rss);
}
.content-body a[href$="rss.xml"]::after,
.content-body a[href$="newsfeed.xml"]::after,
.content-body a[href$=".xml"]::after{
  background-image: var(--icon-rss-blue);
}



.pagets__info-page article.frame.anchor,
.pagets__help-page article.frame.anchor{
  padding-top: var(--header-height);
  margin-top: calc(var(--header-height)*-1);
}


#siteoptions{
  display: flex;
}
#siteoptions-rss{
  display: flex;
  align-items: center;
  margin-left: 1em;
}

a.feed-icon {
  background-image: var(--icon-rss);
  background-size: 1.5em;
  background-color: var(--color-primary);
  color: #fff;
  height: 1em;
  width: 1em;
  border-radius: 50%;
  background-position: center;
  font-size: 0.5em;
  display: flex;
  align-items: center;
  padding: 1.5em;
  background-repeat: no-repeat;
  cursor: pointer;
  opacity: 0.9;
}
