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

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

body {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 400;
  color: #2a2a2a;
  background: #ffffff;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.5;
}

a,
a:is(:hover, :focus) {
  color: #946f00;
}

a:is(:hover, :focus),
:is(#contact-col, #content, #footer .template-page) a {
  text-decoration: underline;
}

b,
strong {
  font-weight: 600;
}

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

/* #region ------------------------------------ topbar ------------------------------------------ */

#topbar {
  position: relative;
}

#topbar::before {
  content: "";
  display: block;
  width: 100%;
  height: 6px;
  background: #ffd75e;
}

#topbar>.row {
  font-size: 1rem;
  padding: 10px 0;
}

#logo {
  display: flex;
  align-items: center;
  align-content: center;
  gap: 15px;
  text-decoration: none;
  flex-wrap: wrap;
}

#logo .logoImg img {
  display: block;
}

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

#logo .logoTxt {
  line-height: 1.2;
  font-size: clamp(1.125rem, 3vw, 1.875rem);
  color: #2a2a2a;
  font-weight: 400;
  font-family: "Russo One", sans-serif;
  font-variant: small-caps;
}

#logo .logoTxt :is(b, strong) {
  color: #2a2a2a;
  display: block;
  font-variant: small-caps;
  font-weight: 400;
  font-size: clamp(1.25rem, 4vw, 2.25rem);
  font-family: "Russo One", sans-serif;
}

#contact-col {
  column-gap: 102px;
}

@media (max-width: 575px) {
  #contact-col {
    font-size: 0.875rem;
  }
}

.contact-tab {
  padding-top: 45px;
  background: center top / 35px auto no-repeat;
  min-height: 30px;
  display: grid;
  place-content: center;
}

@media (min-width: 768px) {
  .contact-tab {
    padding: 0 0 0 45px;
    background: center left / 35px auto no-repeat;
    min-height: 53px;
  }
}

@media (min-width: 992px) {
  .contact-tab {
    padding: 0 0 0 65px;
    background: center left / auto no-repeat;
  }
}

.contact-tab.contact-phone {
  background-image: url("../img/icon-kontakt.png");
}

.contact-tab.contact-phone :is(b, strong) {
  text-transform: uppercase;
}

.contact-tab.contact-address {
  background-image: url("../img/icon-adresse.png");
}

@media (max-width: 767px) {
  #contact-col {
    border-top: 1px solid #ffd75e;
    column-gap: 40px;
    padding-top: 30px;
    margin-top: 30px;
  }

  .contact-tab {
    padding-top: 65px;
  }
}

@media (max-width: 575px) {
  .contact-tab {
    padding-top: 75px;
  }
}

/* #endregion --------------------------------- topbar ------------------------------------------ */

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

/* burgermenu for tablet */

@media (max-width: 991px) {
  .sticky-wrapper {
    height: auto !important;
  }

  .sticky-wrapper nav.horizontally {
    position: static !important;
  }

  #burgerButton {
    font-size: 0;
    border: none !important;
    display: block;
    height: 50px;
    width: 60px;
    border-radius: 4px;
    padding: 6px 8px;
    cursor: pointer;
    background-color: #ffd75e;
  }

  #burgerButton::before,
  #burgerButton::after,
  #burgerButtonInner {
    background-color: #2a2a2a;
    border-radius: 4px;
    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: #ffd75e;
    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: 10px;
  }

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

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally {
    background: #ffd75e;
    transition: background-color 300ms linear;
  }

  .is-sticky nav.horizontally {
    background: #ffd75e;
  }

  nav.horizontally::before {
    content: "";
    background: linear-gradient(to right, #ffffff 50%, rgba(255, 255, 255, 0) 50%) top left / 9px 1px repeat-x, linear-gradient(to right, #ffffff 50%, rgba(255, 255, 255, 0) 50%) bottom left / 9px 1px repeat-x;
    position: absolute;
    top: 8px;
    right: 0;
    bottom: 8px;
    left: 0;
    pointer-events: none;
  }

  .sticky-wrapper,
  nav.horizontally {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 99;
  }

  nav.horizontally .navbar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

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

/* toplevel */

nav.horizontally a[class*="toplevel"] {
  color: #2a2a2a;
  font-weight: 400;
  text-align: left;
  padding: 12px 15px 12px 20px;
  position: relative;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
  font-family: "Russo One", sans-serif;
}

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

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

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

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

nav.horizontally a[class*="toplevel"]::before {
  content: "";
  width: 40px;
  height: 40px;
  display: block;
  position: absolute;
  left: 0;
  bottom: calc(50% - 10px);
  background: url(../img/aktiv-tennis-ball.png);
  opacity: 0;
  transition: opacity 300ms linear;
  z-index: 1019;
}

@media (min-width: 992px) {
  nav.horizontally a[class*="toplevel"]::before {
    width: 40px;
    height: 40px;
    left: calc(50% - 15px);
    bottom: -19px;
  }
}

@media (max-width: 991px) {
  nav.horizontally a[class*="toplevel"]::before {
    background-size: 20px auto;
    background-repeat: no-repeat;
    top: 0;
    bottom: 0;
    margin: auto;
    background-position: left 2px center;
  }

  nav.horizontally a[class*="toplevel"] {
    padding: 12px 15px 12px 30px;
  }
}

/* toplevel-over */

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 {
  opacity: 1;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  background-color: #f4f4f4;
  box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
  nav.horizontally [class*="toplevel"]>ul {
    padding: 10px 0;
  }
}

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

  nav.horizontally [class*="toplevel"]>ul {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    left: 50%;
    transform: translate(-50%, 0);
  }

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

  nav.horizontally [class*="secondlevel"]>ul::before {
    content: "";
    position: absolute;
    display: block;
    width: 15px;
    top: 0;
    bottom: 0;
    left: -15px;
  }
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
  color: #2a2a2a;
  font-weight: 400;
  text-align: center;
  padding: 10px 25px;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
}

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

  nav.horizontally a[class*="secondlevel"].dropdown-toggle2 {
    padding-right: 35px;
  }
}

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

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

/* #region ------------------------------------ banner ------------------------------------------ */

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

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

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

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

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

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

.slider-mask {
  display: none;
}

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

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

#tabs {
  font-size: clamp(1rem, 2vw, 1.125rem);
  background: #e0e5ea url("../img/bg-tabbereich.jpg") center / cover no-repeat;
  color: #444444;
  font-size: 1.125rem;
}

@media (min-width: 1200px) {

  #tabs .tab.tab-2,
  #tabs .tab.tab-1 {
    padding: 0px 25px;
  }
}

#tabs>.row {
  row-gap: 30px;
  padding: clamp(40px, 5vw, 50px) 0 clamp(40px, 5vw, 38px) 0;
}

@media (min-width: 576px) {
  #tabs>.row {
    min-height: 340px;
    background: url("../img/tennis-spieler.png") bottom left 15px no-repeat;
  }
}

@media (max-width: 575px) {
  #tabs>.row>div{
    margin-bottom: 20px;
  }
}

#tabs :is(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 5px;
  color: #2a2a2a;
  font-family: "Russo One", sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.625rem) !important;
  font-weight: 400;
  padding-top: 8px;
}

#tabs .tab img {
  display: inline-block;
  background: #ffd75e;
  margin-bottom: 15px;
}

#tabs p {
  position: relative;
  z-index: 1;
}
#tabs p:first-child:before {
  content: '';
  display: block;
  position: absolute;
  background: #ffd75e;
  border-radius: 50%;
  outline: 10px solid #ffd75e;
  width: 100px;
  height: 100px;
  z-index: -1;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}


#tabs a:not(.has-image) {
  font-size: 1.125rem;
  display: inline-block;
  border-radius: 4px;
  color: #2a2a2a;
  background: #ffd75e;
  padding: 1px 12px 1px 12px;
  font-family: "Source Sans 3", sans-serif;
  text-decoration: none;
  line-height: 1.2;
  margin-top: 20px;
  border: solid 2px rgba(148, 111, 0, 0.5);
  font-weight: 600;
}

#tabs a:not(.has-image):is(:hover, :focus) {
  color: #fff;
  background: #946f00;
  border: solid 2px rgba(148, 111, 0, 0.5);
}

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

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

#content {
  text-align: left;
  padding-top: 40px;
  padding-bottom: clamp(40px, 5vw, 90px);
}

/* ------------------------------------------- eventsBox ------------------------------------------ */

#eventsBox {
  font-size: clamp(1rem, 1vw, 1.125rem);
}

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

@media (min-width: 768px) {
  #eventsKalender {
    display: flex;
  }

  #eventsKalender .eventclndr-tab {
    max-width: 50%;
    margin-right: 16px;
  }
}



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

.tab_link_title a {
  font-weight: 600;
}
/* -------------------------------------- h1 - h6, newslink ------------------------------------- */

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
  color: #2a2a2a;
  font-weight: 400;
  line-height: 1.2;
  font-family: "Russo One", sans-serif;
}

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

h2,
.h2,
.legacy_h2 {
  font-size: clamp(2.125rem, 3.5vw, 2.25rem);
}

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

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited),
.legacy_h4,
#tabs :is(h1, h2, h3, h4, h5, h6) {
  font-size: 1.875rem;
}

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

h6,
.h6,
.legacy_h6,
#footer .template-page :is(h1, h2, h3, h4, h5, h6) {
  font-size: 1.625rem;
}

/* #region ----------------------------------- footer ------------------------------------------- */

footer {
  font-size: clamp(1rem, 2vw, 1.125rem);
  background: #fbefcd;
  color: #2a2a2a;
}

footer,
footer * {
  color: #2a2a2a;
}

#footer {
  position: relative;
  background: center / cover no-repeat;
  padding: 35px 0;
}

#footer::before {
  content: "";
  background: linear-gradient(to right, #946f00 50%, rgba(255, 255, 255, 0) 50%) top left / 9px 1px repeat-x, linear-gradient(to right, #946f00 50%, rgba(255, 255, 255, 0) 50%) bottom left / 9px 1px repeat-x;
  position: absolute;
  top: 10px;
  right: 0;
  bottom: 10px;
  left: 0;
  pointer-events: none;
}

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

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

#footer .template-page :is(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 5px;
}

.footer-tab :is(h1, h2, h3, h4, h5, h6) {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 700;
  font-size: 1.375rem !important;
  margin-bottom: 12px !important;
}

.footer-tab {
  font-size: 1.125rem;
  line-height: 1.4;
}

@media (min-width: 992px) {
  .footer-tab {
    padding-top: 100px;
  }
}

@media (min-width: 768px) {
  .footer-tab {
    min-height: 80px;
    padding: 0 0 0 0px;
    background-position: left 15px center;
  }
}

@media (max-width: 991px) {
  #footer {
    position: relative;
    background: center / cover no-repeat;
    padding: 20px 0;
  }
}

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

#fusszeile {
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 1rem;
  background: #ffd75e;
}

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

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: block;
}

#innerfooter a {
  color: inherit;
  text-decoration: none;
  font-weight: 400;
  font-size: 1rem;
}

@media (max-width: 575px) {
  #innerfooter a {
    padding: 6px;
    display: inline-block;
  }
}

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

@media (min-width: 576px) {
  #innerfooter li+li::before {
    content: "•";
    margin: 0 clamp(15px, 2vw, 25px);
    color: #2a2a2a;
  }

  #innerfooter li {
    display: inline-block;
  }
}

/* #endregion -------------------------------- footer ------------------------------------------- */

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

#vernetzt {
  gap: 18px;
  text-align: right;
  font-size: 0.875rem;
  color: #2a2a2a;
  line-height: 1.3;
  font-weight: 400;
  text-decoration: none;
}

#vernetzt span span {
  display: block;
}

#vernetzt strong {
  font-weight: 600;
  color: #2a2a2a;
}