#theme-logo {
  z-index: 100;
  width: 16vw;
  max-width: 219px;
  min-width: 135px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  position: absolute;
  left: 50%;
  transform: translateX(-30%);
}

.theme-logo {
  width: 100%;
}

header#header {
  pointer-events: none;
}

#header {
  position: absolute;
  z-index: 9999;
  width: 100%;
}

body:not(.home) #header {
  position: relative;
}

.header-wrapper .header-btns {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: flex-start;
  padding-left: calc((var(--nav-icon-padding-X) * 2) + var(--nav-icon-width));
  padding-right: var(--nav-icon-padding-X);
  padding-top: var(--nav-icon-padding-Y);
  padding-bottom: var(--nav-icon-padding-Y);
}

/**----------------- SLIDESHOW -------------*/
.slideshow-wrapper {
  position: relative;
}

.slideshow-wrapper:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(28, 44, 46, 0.2);
  top: 0;
}

.slideshow-wrapper {
  filter: contrast(1.15) saturate(0.5);
}

/*----------------- HEADER BUTTONS -------------*/
#header-bnts-1,
#header-bnts-2,
#header-bnts-nav {
  pointer-events: all !important;
  display: flex;
  gap: 16px;
}

#header-bnts-1 a,
#header-bnts-2 a,
#header-bnts-nav a {
  font-size: var(--btn-font-size);
  background-color: #fff;
  color: var(--ast-global-color-4);
  padding: 0.95em 2.3em;
  border-radius: 13em;
  display: flex;
  line-height: 1.5;
  font-weight: 500;
  font-family: var(--mainfont);
  pointer-events: all;
  gap: 15px;
}

#header-bnts-nav a {
  background-color: var(--ast-global-color-1);
  color: #fff;
}

#header-bnts-1 a,
#header-bnts-2 a,
#header-bnts-1 a *,
#header-bnts-2 a *,
#header-bnts-nav a,
#header-bnts-nav a * {
  transition: all 0.5s ease 0s;
}

#header-bnts-1 a:hover,
#header-bnts-2 a:hover {
  background-color: var(--ast-global-color-1);
  color: #fff;
}

#header-bnts-1 a:hover *,
#header-bnts-2 a:hover * {
  fill: #fff;
}

#header-bnts-1 a span,
#header-bnts-2 a span,
#header-bnts-nav a span {
  display: flex;
}

.nav-icon-wrapper #header-bnts-2 .textwidget:first-child {
  display: none;
}

.nav-icon-wrapper #header-bnts-2 .textwidget:last-child a {
  background-color: var(--ast-global-color-1);
  color: #fff;
}

.nav-icon-wrapper #header-bnts-nav .textwidget a:hover {
  background-color: var(--ast-global-color-4);
}

#header-logo-sky {
  justify-self: flex-end;
  max-width: calc(var(--cont-gap) + var(--gap-l));
  height: auto;
  margin-right: calc(var(--nav-icon-padding-X) + 1em);
  margin-top: -0.5em;
  margin-left: auto;
}

.header-wrapper.not-home:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url(/wp-content/themes/astra-impuls-child/img/header-grafik-small);
  background-size: 50%;
  background-position: bottom left;
  z-index: -1;

  opacity: 0.2;
  left: 0;
  top: 0;
}

.header-wrapper.not-home::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--ast-global-color-0);
  z-index: -1;
  left: 0;
  top: 0;
}

/*----------------- HEADER ICONS -------------*/

.nav-icon-wrapper {
  position: absolute;
  display: flex;
  gap: var(--gap-m);
  top: var(--nav-icon-padding-X);
  right: var(--nav-icon-padding-Y);
}

#header-icons {
  z-index: 100;
  display: flex;
  pointer-events: all;
  gap: 5px;
}

#header-icons img {
  height: var(--icon-size) !important;
  display: block;
  width: auto;
}

.icon {
  display: flex;
  text-align: center;
  vertical-align: top;
  transition: all 0.3s ease 0s;
}

.icon a {
  display: flex;
  height: calc(
    (var(--btn-font-size) * 1.5) + (var(--btn-font-size) * 0.95) * 2
  );
  align-items: center;
  justify-content: center;
  width: calc((var(--btn-font-size) * 1.5) + (var(--btn-font-size) * 0.95) * 2);
  background-color: var(--ast-global-color-1);
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}

.icon a:hover {
  background-color: var(--ast-global-color-4);
}

/**------------------------ SLIDESHOW -------------------------*/

#slider-wrapper.postthumb {
  max-width: 1170px;
  margin: 0 auto;
}

#slideshow img {
  width: 100% !important;
}

/*---------------- WPML SPRACHENSWITCH -------------*/

.wpml-ls-legacy-list-horizontal a {
  padding-top: 13px !important;
  line-height: 1;
  color: #fff;
  font-family: var(--mainfont);
  font-weight: bold;
  font-size: 19px;
}

.wpml-ls-legacy-list-horizontal {
  border: 0;
  padding: 0;
}

.schatten {
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/*---------------- GTRANSLATE -------------*/

html:lang(auto) .icon a[title="German"],
html:lang(en) .icon a[title="English"],
html:lang(de-DE) .icon a[title="German"],
html:lang(de) .icon a[title="German"] {
  display: none;
  opacity: 0;
}

a.glink {
  font-size: 0;
}

a.glink:after {
  height: 18px;
  width: 18px;
  background-image: url(/wp-content/themes/astra-impuls-child/img/icon-lang.svg);
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/*----------------- HEADERBILD -------------*/

#slider-wrapper.postthumb.desktop {
  max-height: 580px;
  overflow: hidden;
  position: relative;
}

#slider-wrapper.postthumb.mobile {
  max-height: 580px;
  overflow: hidden;
  line-height: 0;
  position: relative;
}

#slider-wrapper.postthumb.desktop img {
  width: 100%;
  height: auto;
}

#slider-wrapper.postthumb.mobile img {
  width: 100%;
  height: auto;
}

#slider-wrapper.postthumb::before {
  display: block;
  position: absolute;
  background: -moz-linear-gradient(
    top,
    rgba(7, 1, 1, 0.3) 0%,
    rgba(7, 1, 1, 0.3) 1%,
    rgba(0, 0, 0, 0) 100%
  );
  background: -webkit-linear-gradient(
    top,
    rgba(7, 1, 1, 0.3) 0%,
    rgba(7, 1, 1, 0.3) 1%,
    rgba(0, 0, 0, 0) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(7, 1, 1, 0.3) 0%,
    rgba(7, 1, 1, 0.3) 1%,
    rgba(0, 0, 0, 0) 100%
  );
  filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#4d070101', endColorstr='#00000000', GradientType=0);
  height: 100%;
  width: 100%;
  content: "";
}

#slider-wrapper.postthumb.desktop img.fallback {
  margin-top: -10vw;
}

@media (min-width: 1920px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 1500px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 1400px) {
  #header-bnts-1 > .textwidget:first-child {
    display: none;
  }
}

@media (max-width: 1400px) and (min-width: 991px) {
  #header-bnts-2 > .textwidget:first-child {
    display: none;
  }
}

@media (max-width: 1200px) {
  #header-logo-sky {
    max-width: 150px;
  }
}

@media (max-width: 1024px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 990px) {
  #theme-logo {
    left: 50%;
  }

  #theme-logo {
    left: 40%;
  }

  #header-bnts-1 {
    margin-left: auto;
  }

  .shiftnav-toggle-button,
  .shiftnav-toggle-button:hover {
    display: flex;
  }

  .header-wrapper #header-bnts-2 {
    position: fixed;
    bottom: 0;
    padding: 0.9em 0;
    background-color: transparent;
    width: 100%;
    left: 0;
    justify-content: center;
  }

  .header-wrapper #header-bnts-2:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(/wp-content/themes/astra-impuls-child/img/header-grafik-small);
    background-size: 50%;
    background-position: bottom left;
    z-index: -1;

    opacity: 0.2;
    left: 0;
    top: 0;
  }

  .header-wrapper #header-bnts-2:before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--ast-global-color-0);
    z-index: -1;
    left: 0;
    top: 0;
  }

  #header-logo-sky {
    margin-top: -1.5em;
    max-width: 100px;
  }
}

@media (max-width: 768px) {
  .spectra-image-gallery__control-arrows--carousel.slick-prev {
    left: 0 !important;
  }

  .spectra-image-gallery__control-arrows--carousel.slick-next {
    right: 0 !important;
  }
}

@media (max-width: 576px) {
  #header-bnts-1 a {
    align-items: center;
    font-size: 10px;
    padding: 0.95em 1.4em;
    gap: 10px;
  }

  .icon-take-away-2 {
    display: none !important;
  }

  #theme-logo {
    left: 40%;
  }

  .header-wrapper.not-home {
    padding: 0 var(--nav-icon-padding-X) 0 0;
    height: calc(
      var(--nav-icon-height) + (var(--nav-icon-padding-Y) * 2) +
        var(--btn-font-size) + 0.6em
    );
    padding-top: var(--nav-icon-padding-Y);
    font-size: var(--btn-font-size);
  }

  .header-wrapper #header-bnts-2 {
    padding: 1.3em 0;
  }

  .header-wrapper.not-home::after,
  .header-wrapper > #header-bnts-2::after {
    background-size: 100%;
  }

  .nav-icon-wrapper #header-bnts-nav {
    position: fixed;
    bottom: 18vh;
    z-index: 999;
    left: 50%;
    transform: translateX(-50%);
  }

  .nav-icon-wrapper {
    right: 20px;
  }

  .header-wrapper #header-bnts-2 a span {
    display: none !important;
  }

  #header-bnts-2 {
    gap: 1px;
  }

  .header-wrapper #header-bnts-2 > .textwidget:first-child a {
    border-radius: 13em 0 0 13em;
  }

  .header-wrapper #header-bnts-2 > .textwidget:last-child a {
    border-radius: 0 13em 13em 0;
  }

  #header-logo-sky {
    max-width: 60px;
    margin-top: -1em;
  }
}

@media (max-width: 1200px) {
}

@media (max-width: 320px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}
