#theme-logo {
  z-index: 100;
  width: 17vw;
  max-width: 268px;
  min-width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  margin-left: auto;
  margin-right: 5vw;
  margin-top: 2.1vw;
}

.header-wrapper.not-home #theme-logo {
  max-width: 211px;
}

header#header {
  pointer-events: none;
  width: 100%;
  z-index: 9999;
  border-top: 8px solid var(--ast-global-color-1);
}

body.home header#header {
  position: absolute;
}

.header-wrapper.not-home {
  background-color: var(--ast-global-color-0);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 30px;
}

.header-title {
  margin-left: calc(((100vw - 1230px) / 2));
  color: var(--ast-global-color-1, #c5573d);
  font-family: var(--mainfont, "Nunito Sans");
  font-size: 1.05556rem;
  font-weight: 800;
  line-height: var(--Fonts-line-height-headline1, 1.5rem);
  letter-spacing: var(--Fonts-spacing-headlines, 0.11111rem);
  text-transform: uppercase;
}

.header-title span:last-child {
  color: var(--ast-global-color-2);
  margin-left: 0.5em;
}

/*----------------- HEADER ICONS -------------*/

#header-icons {
  /* z-index: 100; */
  display: flex;
  pointer-events: all;
  position: absolute;
  top: calc((100vh - var(--height-calculus)) / 2);
  left: calc(var(--menu-width, calc(var(--nav-icon-padding-Y))) + 10vw);
  gap: 20px;
  z-index: 99999999;
}

.impmenu-toggle+#header-icons {
  top: var(--nav-icon-padding-Y);
  transform: translateY(-50%);
  z-index: 9;
}

#header-icons * {
	color: var(--Colors-Beige,#eeebe7);
	font-family: var(--Fonts-family-title-sans,"Nunito Sans");
	font-size: var(--btn-font-size,16px);
	font-style: normal;
	font-weight: 800;
	line-height: var(--Fonts-line-height-button,22px);
	letter-spacing: var(--Fonts-spacing-buttons,3px);
	text-transform: uppercase;
	display: flex;
}



#header-icons .icon {
  padding: 0 23px 23px 23px;
}

#header-icons .icon a {
  display: flex;
  gap: 9px;
  align-items: center;
}

#header-icons .icon a::before {
  content: "";
  display: block;
  width: 1.5em;
  height: 1.5em;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

#header-icons .icon:nth-child(1) a::before {
  background-image: url(/wp-content/themes/astra-impuls-child/img/icon-anfrage.svg);
}

#header-icons .icon:nth-child(2) a::before {
  background-image: url(/wp-content/themes/astra-impuls-child/img/icon-buchen.svg);
}

#header-icons .icon:nth-child(3) a::before {
  background-image: url(/wp-content/themes/astra-impuls-child/img/icon-tel.svg);
}

#header-icons .icon:nth-child(4) a::before {
  background-image: url(/wp-content/themes/astra-impuls-child/img/globe.svg);
}

/**------------------------ SLIDESHOW -------------------------*/

#slider-wrapper.postthumb {
  max-width: 1170px;
  margin: 0 auto;
}

/*---------------- 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;
}

.gtranslate_wrapper {
  cursor: pointer;
}

a.glink.nturl.notranslate.gt-current-lang {
  display: none !important;
}
/*----------------- 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) {
  .header-title {
    margin-left: 5vw;
  }

  /*----------------- HEADER ICONS -------------*/
  #header-icons * {
    font-size: var(--btn-font-size, 13px);
  }

  #header-icons .icon {
    padding: 0 10px 23px 10px;
  }
}

@media (max-width: 1200px) {
  #theme-logo {
    margin-top: 22px;
  }
}

@media (max-width: 1024px) {
  .impmenu-toggle+#header-icons {
    display: none;
  }
}

@media (max-width: 990px) {

  .shiftnav-toggle-button,
  .shiftnav-toggle-button:hover {
    display: flex;
  }

  .header-title h1 {
    font-size: 0.8rem;
    margin-right: 20px;
  }
}

@media (max-width: 768px) {
  #theme-logo {
    min-width: 130px;
  }
}

@media (max-width: 576px) {
  .header-wrapper.not-home {
    flex-direction: column-reverse;
    gap: 38px;
  }

  .header-title {
    margin-right: auto;
  }
}

@media (max-width: 420px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 320px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}