header {
  padding-top: 2em !important;
  transition: all 0.3s;
}

.header-tagline {
  background: var(--background);
  transition: padding 0.3s;
  z-index: 10;
}
.header-tagline .text a {
  text-decoration: none;
}

@media (max-width: 600px) {
  .header-tagline {
    padding-top: 2em;
    position: sticky;
    top: 0;
  }
  .header-tagline .text a {
    text-decoration: none;
    color: var(--gray) !important;
  }

  .header-main {
    top: 1.7em;
  }
}

.wrap {
  margin: 0 auto;
  width: 100%;
  position: fixed;
  z-index: 11;
  top: 0;
  left: 0;
}

.wrap.logobar {
  transition: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  filter: invert(1);
  background: var(--background);
  color: var(--color);
  height: 1.7em;
  overflow: hidden;
  /* position: relative; */
}

.list {
  transition: none;
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  position: absolute;
  width: 100%;
  margin-left: 0;
}

.list_item {
  transition: none;
  flex-grow: 0;
  flex-shrink: 0;
  text-align: center;
  width: 20%;
}

@media (max-width: 600px) {
  .list_item {
    width: 75%;
  }
}

#shows {
  scroll-margin-top: 70px;
}

#gallery {
  scroll-margin-top: 70px;
}

#contact {
  scroll-margin-top: 130px;
}

@media (max-width: 600px) {
  #shows {
    scroll-margin-top: 70px;
  }

  #gallery {
    scroll-margin-top: 200px;
  }

  #contact {
    scroll-margin-top: 200px;
  }
}

.flexmenu {
  display: flex;
  gap: 2.5em;
}

@media (max-width: 600px) {
  .flexmenu {
    justify-content: space-between;
  }
}

* {
  scroll-behavior: smooth;
  /* transition: all 0.3s; */
}

.shows-teaser-entry-cover {
  aspect-ratio: 1/1;
}

/* text-bild.php */
.sponsors {
  margin-bottom: 1em;
}

.text-block-image {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  justify-items: center;
  gap: 3em;
}

@media (max-width: 480px) {
  .text-block-image {
    grid-template-columns: repeat(3, 1fr);
  }
}

.text-block-image .logoimg {
  flex-shrink: 0;

  width: 100%;

  max-height: 100px;
}
.text-block-image a {
  display: flex;
  align-items: center;
}

/* gallery.php */
.gallery-slider-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding-right: 3.35em;
}
@media (max-width: 600px) {
  .gallery-slider-wrapper {
    padding-right: 0;
  }
}

.gallery-slider-images {
  display: flex;
  overflow: hidden;
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.gallery-slider-images img {
  min-width: 100%;
  transition: opacity 0.3s;
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
  height: 100%;
  width: 100%;
  cursor: default;
}

.gallery-slider-images img.is-active {
  opacity: 1;
  z-index: 2;
}

.gallery-slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 9;
}

.gallery-slider-overlay .left,
.gallery-slider-overlay .right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
}

.gallery-slider-overlay .left {
  left: 0;
  cursor:
    url(/assets/images/cursor-w-resize.png) 11 6,
    w-resize;
}

.gallery-slider-overlay .right {
  right: 0;
  cursor:
    url(/assets/images/cursor-e-resize.png) 11 6,
    e-resize;
}

.gallery-slider-arrows {
  display: none;
}

@media (max-width: 600px) {
  .gallery-slider-arrows {
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
  }

  .gallery-slider-arrows .arrow {
    padding: 0.5em;
    pointer-events: none;
    user-select: none;
  }
}
