#theme-logo {
  z-index: 100;
  width: 20vw;
  max-width: 268px;
  min-width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  margin-left: auto;
  margin-right: 5vw;
}

header#header {
  pointer-events: none;
  margin-top: 2.95vw;
  height: 100%;
}

header#header .header-wrapper {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Logo links, Icon rechts */
  position: relative;
}

/*----------------- HEADER ICONS -------------*/

#header-icons {
  z-index: 100;
  display: flex;
  pointer-events: all;
  position: absolute;
  top: var(--nav-icon-padding-X);
  right: 4vw;
  gap: var(--gap-m);
}

#header-icons img {
  height: 26px !important;
  display: block;
  width: auto;
}

.icon {
  height: 65px;
  display: flex;
  text-align: center;
  vertical-align: top;
  transition: all 0.3s ease 0s;
}

.icon a {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  width: 100%;
}

#header-icons .icon:first-of-type .wpml-ls-link::after {
  content: "";
  display: block;
  width: 26px;
  height: 65px;
  background-image: url(../img/icon-language.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

#header-icons .wpml-ls-flag {
  display: none;
}

.wpml-ls-legacy-list-horizontal,
.wpml-ls-legacy-list-horizontal a {
  padding: 0 !important;
}

/**------------------------ SLIDESHOW -------------------------*/

#slider-wrapper.postthumb {
  max-width: 1170px;
  margin: 0 auto;
}

/*---------------- GTRANSLATE -------------*/

html:lang(auto) .icon a[title="German"],
html:lang(en) .icon a[title="English"],
html:lang(de-DE) .icon a[title="German"] {
  display: none;
  opacity: 0;
}

a.glink {
  font-size: 0;
}

a.glink:after {
  height: 26px;
  width: 26px;
  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 {
  overflow: hidden;
  position: relative;
}

#slider-wrapper.postthumb.mobile {
  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: 1200px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 1024px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 990px) {
  .shiftnav-toggle-button,
  .shiftnav-toggle-button:hover {
    display: flex;
  }
}

@media (max-width: 768px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 576px) {
  #header-icons {
    gap: var(--gap-s);
  }

  #header-icons img {
    height: 20px !important;
  }

  a.glink:after {
    height: 20px;
    width: 20px;
  }

  #theme-logo {
    margin-top: 5.9vw;
  }
  #theme-logo .logo-luna {
    max-height: 55px !important;
  }
}

@media (max-width: 420px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 320px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}
