#theme-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  margin-left: clamp(0rem, -1.31rem + 4.19vw, 3.72rem);
  margin-bottom: -4%;
  margin-top: clamp(0rem, -1.118rem + 3.58vw, 3.176rem);
}

#theme-logo a {
  background-color: #fff;
  display: flex;
  width: clamp(238px, 37vw, 558px);
  padding: clamp(1.15rem, 0.496rem + 1.75vw, 2.6rem) 0;
  justify-content: center;
  align-items: center;
  border-bottom: 7px solid var(--color-2);
}

#theme-logo img {
  width: 76%;
}

header#header {
  pointer-events: none;
  background-color: var(--color-1);
  z-index: 999;
  position: relative;
}

.header-wrapper {
  display: flex;
  padding-left: calc((var(--windowWith) - 1500px) / 2);
  pointer-events: all;
  align-items: stretch;
  position: relative;
}

/*----------------- HEADER ICONS -------------*/

#header-icons {
  z-index: 100;
  display: flex;
  pointer-events: all;
  position: absolute;
  top: 0;
  right: 0;
  gap: 1.2rem;
  transform: translate(-26%, 36%);
}

#header-icons img {
  height: 38px !important;
  display: block;
  width: auto;
}

.icon {
  --my-size: clamp(33px, 7vw, 43px);

  display: flex;
  text-align: center;
  vertical-align: top;
  transition: all 0.3s ease 0s;
  width: var(--my-size);
  height: var(--my-size);
}

#header-icons .icon a {
  width: clamp(33px, 7vw, 43px);
  height: 100%;
}

/**------------------------ SLIDESHOW -------------------------*/
#slideshow {
  margin-bottom: clamp(2.53rem, 0.176rem + 8.19vw, 10rem);
}

.header-video-container {
  margin: auto;
}

.header-video-container,
#slideshow .header-video {
  width: min(100%, 1500px);
  position: relative;
  z-index: 9;
}

.header-video-container::after {
  content: "";
  display: block;
  position: absolute;
  background: linear-gradient(180deg, #383a3d 29%, #383a3d 57%, #b0b743 164%);
  width: 100vw;
  height: 78%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.header-video-container {
  position: relative;
}

.header-video-container::before {
  content: "Wir leben\A Gerechtigkeit.";
  white-space: pre;
  position: absolute;
  bottom: clamp(1.7rem, 0.818rem + 3.07vw, 4.5rem);
  left: clamp(1.4rem, -0.553rem + 6.79vw, 7.4rem);
  pointer-events: none;
  text-align: left;
  font-size: clamp(
    24px,
    calc(24px + (80 - 24) * ((100vw - 375px) / (1920 - 375))),
    80px
  );
  font-weight: 700;
  color: #fff;
  line-height: 1.125em;
  z-index: 99;
  font-family: var(--mainfont);
}

/*---------------- 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;
}

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 {
  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 (min-width: 768px) {
  #header-icons {
    display: none;
  }
}

@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;
  }

  #theme-logo a {
    border-bottom: 4px solid var(--color-2);
  }
}

@media (max-width: 768px) {
  #theme-logo img {
    width: 78%;
  }

  #theme-logo a {
    width: 65.33vw;
  }

  video.header-video {
    object-fit: cover;
    /*object-position: right;*/
    height: 68.27vw;
  }

  /* -------- Video MObile-------- */
  .slider-wrapper.slider-wrapper-mobile {
    position: relative;
  }

  .slider-wrapper.slider-wrapper-mobile:after {
    content: "";
    display: block;
    width: 100%;
    padding-bottom: 94.4%;
  }

  .slider-wrapper.slider-wrapper-mobile .header-video-container {
    position: absolute;
    height: 100%;
    width: 100%;
  }

  video.header-video.header-video-mobile {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: 82% center;
  }

  /* -------- Video MObile end-------- */
}

@media (max-width: 576px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 420px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 320px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}
