@import url("https://fonts.verwaltungsportal.de/import/?family=Cookie:400,400i");
@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: #f1edeb;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  scrollbar-color: #50723c #ffffff;
  scrollbar-width: thin;
}

body {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  color: #444444;
  background: #ffffff;
  font-size: clamp(1rem, 2vw, 1.125rem);
  /* 1rem = 16px */
  line-height: 1.5;
}

a {
  color: #8c1251;
}

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

b,
strong {
  font-weight: 600;
}

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

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

#logo {
  display: inline-block;
}

#logo img {
  display: block;
}

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

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

/* #region ---------------------------------- navigation ---------------------------------------- */

nav.horizontally {
  background: #f6f3ea;
}

/* 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: #6c584c;
    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: #f6f3ea;
    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 {
    position: sticky !important;
    top: 0;
    z-index: 100;
  }

  nav.horizontally>.row {
    width: 100%;
    max-width: 1600px;
  }

  nav.horizontally .navbar-nav {
    margin: 35px 0;
    display: flex;
    justify-content: space-between;
    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.open>ul {
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden;
  }

  nav.horizontally .navbar-nav li:is(: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)>ul {
    z-index: 1003;
  }
}

@media (min-width: 1200px) {
  nav.horizontally .navbar-nav {
    margin: 15px -15px 15px -15px;
  }
}

/* toplevel */

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

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

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

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

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

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  padding: 10px;
  background-color: rgba(86, 120, 63, 0.95);
}

nav.horizontally [class*="secondlevel"] ul {
  padding: 10px;
  background-color: rgba(108, 88, 76, 0.95);
}

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

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

  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: 20px;
    left: 0;
    right: 0;
    top: -20px;
  }

  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: #ffffff;
  text-align: left;
  padding: 10px 40px 10px 20px;
  font-weight: 400;
  position: relative;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  font-family: "Nunito", sans-serif;
}

@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: 1.125rem;
    line-height: 1;
    font-family: "Merriweather", serif;
  }
}

/* secondlevel + thirdlevel over */

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

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

/* #endregion ------------------------------- navigation ---------------------------------------- */
/* -------------------------------------------- banner ------------------------------------------ */

#slider {
  max-height: clamp(300px, 42vw, 400px);
  position: relative;
}

@media (min-width: 992px) {
  body.index #slider {
    max-height: clamp(400px, 62vw, 606px);
  }

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

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

#headerpic {
  padding: 0;
  overflow: hidden;
  position: relative;
}

@media (min-width: 992px) {
  #headerpic {
    background-color: #444444;
  }

  .theme-nivo .nivo-controlNav .slick-dots li,
  .nivo-directionNav a,
  a.nivo-control,
  a.nivo-control.active,
  .nivo-controlNav span {
    color: #ffffff !important;
  }
}

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

.slider-mask {
  display: block;
  background: linear-gradient(to top, rgba(40, 40, 40, 1) 0%, transparent 50%);
}

@media (min-width: 992px) {
  #banneroverlay {
    pointer-events: none;
    position: absolute;
    bottom: 15px;
    z-index: 55;
    width: 100%;
  }

  #banneroverlay>.row {
    pointer-events: all;
  }
}

.slogan {
  color: #6c584c;
  font-size: clamp(1.875rem, 3vw, 2.4375rem);
  font-family: "Nunito", sans-serif;
}

.slogan :is(b, strong) {
  font-weight: 700;
}

.slogan a {
  text-decoration: underline;
  color: #6c584c;
}

@media (min-width: 992px) {
  .slogan {
    color: #fff;
    margin-top: 20px;
  }

  .slogan a {
    color: #fff;
  }
}

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

  .slogan {
    font-size: 1.875rem;
  }
}

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

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

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
  color: #6c584c;
  font-weight: 400;
  line-height: 1.2;
  font-family: "Cookie", cursive;
}

h1,
.h1,
.legacy_h1 {
  font-size: clamp(3.75rem, 4vw, 4.25rem);
}

h2,
.h2,
.legacy_h2 {
  font-size: clamp(3.125rem, 4vw, 3.4375rem);
}

h3,
.h3,
.legacy_h3 {
  font-size: clamp(2.8125rem, 4.5vw, 3.125rem);
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
  font-size: clamp(2.5rem, 4vw, 2.8125rem);
}

h5,
.h5,
.legacy_h5 {
  font-size: clamp(2.1875rem, 3.5vw, 2.5rem);
}

h6,
.h6,
.legacy_h6 {
  font-size: clamp(1.5625rem, 3vw, 1.875rem);
}

/* ----------------------------------- tabHeadline with dekoration ------------------------------ */

.tabHeadline {
  position: relative;
}

:is(#tabs .tabHeadline:not(.no-decoration), #news .newstitle)::before,
:is(#tabs .tabHeadline:not(.no-decoration), #news .newstitle)::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  background: #6c584c;
  z-index: 2;
  transform: translate(-50%, 0);
}

#news .newstitle::before,
#news .newstitle::after {
  left: 30px !important;
}

@media (min-width: 1200px) {

  #news .newstitle::before,
  #news .newstitle::after {
    left: 11% !important;
  }
}

:is(#tabs .tabHeadline:not(.no-decoration), #news .newstitle)::before {
  width: 3px;
  height: 65px;
  bottom: -80px;
}

:is(#tabs .tabHeadline:not(.no-decoration), #news .newstitle)::after {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  bottom: -90px;
}

/* #region ------------------------------------- tabs ------------------------------------------- */

#tabs {
  padding: 60px 0 80px 0;
  background-color: #fbfbfb;
}

@media (max-width: 991px) {
  #tabs {
    box-shadow: inset 0 0 0 100vw rgba(255, 255, 255, 0.9);
  }
}

#tabs>.row {
  row-gap: 30px;
  max-width: 1308px;
  width: 100%;
}

#tabs .tabHeadline {
  margin-bottom: 60px;
  flex-grow: 0;
}

@media (min-width: 1200px) {
  #tabs>.row>.col-xs-12 {
    padding: 0;
    flex: 0 0 33.33%;
    min-width: calc(33.33% - 65px);
    max-width: calc(33.33% - 65px);
  }

  #tabs>.row>.col-xs-12+.col-xs-12 {
    margin-left: 30px;
  }
}

#tabs .tabContent {
  padding: 35px 20px 41px 20px;
  box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.2);
  background-color: #ffffff;
  flex-grow: 1;
  position: relative;
}

@media (min-width: 992px) {
  #tabs .tabContent {
    padding-left: 30px;
    padding-right: 30px;
  }
}

#tabs .iframetab .tabContent {
  padding: 0;
}

#tabs .tab .template-page a {
  font-style: italic;
}

#tabs #events .tab_link_entry+.tab_link_entry {
  margin-top: 5px;
}

#tabs #news .tab_preview_picture {
  display: none !important;
}

#tabs #events .tab_link_mandat a,
#tabs #news .tab_link_mandat a {
  color: #444444;
  font-weight: 500;
}

#tabs #events .tab_link_title a,
#tabs #news .tab_link_title a {
  color: #444444;
  font-weight: 700;
}

#tabs #events .tab_link_mehr,
#tabs #news .tab_link_mehr {
  display: none;
}

.tabMehr a {
  position: absolute;
  color: #ffffff;
  background-color: #50723c;
  border-radius: 4px;
  bottom: -25px;
  left: 50%;
  padding: 12px 13px;
  transition: all 250ms linear;
  font-size: 1rem;
  font-weight: 700;
  font-family: "Nunito", serif;
  text-decoration: none;
  transform: translate(-50%);
  font-style: normal;
}

.tabMehr a:is(:hover, :focus) {
  background-color: #8c1251;
}

#tabs #news .tab_date,
#tabs #events .tab_link_date {
  order: 2;
}

#tabs #news .vorschau,
#tabs #events .tab_link_mandat {
  order: 2;
}

#tabs #news .tab_link_title,
#tabs #events .tab_link_title {
  order: 1;
}

#tabs #news .tab_spacer {
  height: 0px;
}

#tabs #news .tab_spacer.cleaner {
  height: 10px;
}

#sgTab a {
  color: #444444;
  font-weight: 600;
  font-style: normal !important;
  line-height: 1.7;
}

#sgTab a:is(:hover, :focus) {
  color: #8c1251;
  text-decoration: underline;
}

/* #endregion ---------------------------------- tabs ------------------------------------------- */
/* --------------------------------------------- maps ------------------------------------------- */

#maps .row,
#maps .row>div {
  margin: 0;
  padding: 0;
  margin-bottom: -1px;
}

#maps iframe,
#maps .iframe-wrapper-manual-enabling {
  display: block;
  width: 100%;
  max-height: 204px;
}

#maps .iframe-wrapper-manual-enabling {
  min-width: 100% !important;
}

#kontaktBereich {
  background-color: #f8f4e3;
  padding: 36px 0 50px 0;
  color: #444444;
  font-size: 1.125rem;
  line-height: 1.3;
  border-top: solid 4px #fff;
  text-align: left;
}

#kontaktBereich>.row {
  row-gap: 30px;
}

#kontaktBereich .tabHeadline {
  font-size: clamp(2.1875rem, 3.5vw, 2.5rem);
  margin-bottom: 5px;
}

#kontaktBereich a {
  text-decoration: underline;
}

#kontaktBereich>.row::before {
  content: "";
  position: absolute;
  display: block;
  pointer-events: none;
  top: -87px;
  right: -281px;
  width: 177px;
  height: 148px;
  background: url('../img/logo-bioladen-schwammer-footer1.png') no-repeat;
  z-index: 0;
}

@media (max-width: 575px) {
  #kontaktBereich {
    text-align: center;
  }
}

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

#innerfooter {
  color: #ffffff;
  background-color: #50723c;
  padding: 20px 0 25px 0;
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
}

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: inline-block;
}

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

.innerfooter a:is(:hover, :focus) {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  text-decoration: underline;
}

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

#innerfooter>.row {
  row-gap: 30px;
}

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

#scroll-top {
  font-size: 0;
  width: 33px;
  height: 33px;
  display: block;
  position: relative;
  margin: 0 auto;
  background: #ffffff;
}

@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 #6c584c;
  border-top: 3px solid #6c584c;
  transform: rotate(-45deg);
  transition: border 300ms linear;
}

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

#vernetzt {
  gap: 14px;
  text-align: right;
  color: #ffffff;
  line-height: 1.3;
  font-weight: 400;
  text-decoration: none;
  font-size: 1rem;
}

#vernetzt :is(b, strong) {
  font-weight: 700;
}

#vernetzt span span {
  display: block;
}