#theme-logo {
  z-index: 100;
  width: 20vw;
  max-width: 376px;
  min-width: 237px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  margin-left: auto;
  margin-right: var(--nav-icon-padding-X);
  margin-top: var(--nav-icon-padding-Y);
  margin-bottom: var(--nav-icon-padding-Y);
}

div#slideshow > div#theme-logo {
  position: relative;
  margin-bottom: calc(((var(--logo-widht-home) * 0.1923) / 2) * -1);
  z-index: 99;
  width: var(--logo-widht-home);
  max-width: unset;
  margin-right: 0;
  transform: translateX(7%);
}

header#header {
  pointer-events: none;
}

/*----------------- HEADER ICONS -------------*/

#header-icons {
  z-index: 100;
  display: flex;
  pointer-events: all;
  position: absolute;
  top: var(--nav-icon-padding-Y);
  right: var(--nav-icon-padding-Y);
  gap: 20px;
}

#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: 100%;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/**------------------------ SLIDESHOW -------------------------*/

div#slideshow {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  width: 90vw;
}

.slideshow-wrapper {
  border-radius: var(--border-radius-m);
  overflow: hidden;
}

div#slideshow.slideshow-desktop .slick-track {
  display: flex !important;
  /* min-height: calc(100vh - var(--height-minifrom));
    max-height: calc(100vh - var(--height-minifrom));*/
}

div#slideshow .slick-slide {
  height: inherit !important;
  top: 0;
  position: relative;
  vertical-align: bottom;
  display: inline-flex;
}

div#slideshow .slick-slide > div {
  width: 100%;
}

div#slideshow .slick-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slideshow-slide {
  position: relative;
}

.slideshow-slide::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #000;
  opacity: 10%;
}

/**Slideshow Layoutshift fix*/

.slideshow-desktop .slideshow-wrapper:not(.slick-initialized) {
  width: 100vw;
  /* max-height: calc(100vh - var(--height-minifrom));
    min-height: calc(100vh - var(--height-minifrom));*/
  overflow: hidden;
}

.slideshow-wrapper:not(.slick-initialized):after {
  content: "";
  display: block;
  width: 100%;
  padding-bottom: 57.86%;
}

.slideshow-mobile .slideshow-wrapper:not(.slick-initialized):after {
  padding-bottom: 142.68%;
}

.slideshow-wrapper:not(.slick-initialized) > .slideshow-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
}

.slideshow-wrapper:not(.slick-initialized) > .slideshow-slide:first-child {
  z-index: 1;
}

.slideshow-wrapper:not(.slick-initialized) img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: bottom;
}

/*---------------- 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"] {
  display: none;
  opacity: 0;
}
  */

.gtranslate_wrapper {
  display: flex;
}

a.glink {
  font-size: 0;
}

a.glink:after {
  height: var(--icon-size);
  width: var(--icon-size);
  background-image: url(/wp-content/themes/astra-impuls-child/img/icon-lang.svg);
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
a.glink.gt-current-lang:after {
  display: none;
}

/*----------------- 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: 1200px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 1024px) {
  div#slideshow > div#theme-logo {
    margin-bottom: var(--nav-icon-padding-Y);
    transform: unset;
  }
}

@media (max-width: 990px) {
  .shiftnav-toggle-button,
  .shiftnav-toggle-button:hover {
    display: flex;
  }
}

@media (max-width: 768px) {
  div#theme-logo {
    margin-right: 5vw !important;
  }

  div#slideshow {
    width: 100%;
  }

  .slideshow-wrapper {
    /* border-radius: 0; */
    max-width: 90vw;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  div#wpadminbar {
    display: none;
  }

  div#slideshow > div#theme-logo {
    margin-bottom: var(--nav-icon-padding-Y);
    transform: translateY(10%);
  }

  html {
    margin-top: 0 !important;
  }

  #header-icons {
    top: calc(var(--nav-icon-padding-Y) + 1.2%);
  }
}

@media (max-width: 420px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 320px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}
