#theme-logo {
  z-index: 100;
  width: 28vw;
  max-width: 450px;
  min-width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  margin-left: auto;
  margin-right: 5vw;
}

header#header {
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 999;
}

body:not(.home) #header {
  position: relative;
  padding-bottom: var(--cont-gap);
}

/*----------------- HEADER ICONS -------------*/
.header-wrapper {
  --border-height: 25px;
  padding-top: calc(var(--nav-icon-padding-Y) - var(--border-height));
  border-top: var(--border-height) solid var(--ast-global-color-0);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-left: calc(var(--nav-icon-width) + var(--nav-icon-padding-X) + 6vw);
}

.header-wrapper > #header-icons > .icon > .textwidget a {
  font-size: var(--h6-font-size);
  font-weight: 800;
  color: #fff;
}

.header-wrapper > #header-icons > .icon > .textwidget > p:nth-child(-n + 3),
.header-wrapper > #header-icons > .icon > .textwidget > p:last-child {
  display: none;
}

.header-wrapper
  > #header-icons
  > .icon
  > .textwidget
  > p:nth-last-child(-n + 2)
  a::before {
  margin-right: 1.5rem;
  content: "";
  display: block;
  background-size: contain;
  --my-size: 2em;
  width: var(--my-size);
  height: calc(var(--my-size) / 1.4);
  background-repeat: no-repeat;
}

.header-wrapper > #header-icons p:nth-child(4) a::before {
  background-image: var(--wpr-bg-c8d438f8-ba85-4604-b2da-a23a57f98eea);
}

.header-wrapper > #header-icons p:nth-child(5) a::before {
  background-image: var(--wpr-bg-1f23d410-c866-4ef8-bc38-84f817c5de82);
}

.header-wrapper > #header-icons {
  position: relative;
}

#header-icons {
  z-index: 100;
  /* display: flex; */
  pointer-events: all;
  position: absolute;
  /* top: calc((100vh - var(--height-calculus)) / 2); */
  /*left: 10.5vw;*/
  /* gap: 20px; */
}

#header-icons .textwidget {
  display: flex;
  gap: 4vw;
}

#header-icons img {
  height: 38px !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 -------------------------*/

#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"] {
  display: none;
  opacity: 0;
}

a.glink {
  font-size: 0;
}

a.glink:after {
  height: 26px;
  width: 26px;
  background-image: var(--wpr-bg-4093f3d3-6716-4bfb-bcbc-fa37d7487801);
  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: 1200px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 1024px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 990px) {
  .shiftnav-toggle-button,
  .shiftnav-toggle-button:hover {
    display: flex;
  }

  .header-wrapper > #header-icons {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--ast-global-color-0);
    padding: 1em 0;
  }

  .header-wrapper > #header-icons .icon {
    width: 100%;
  }

  .header-wrapper > #header-icons .textwidget {
    display: flex;
    justify-content: space-around;
    width: 90vw;
    margin: 0 auto;
  }

  .header-wrapper > #header-icons p:nth-child(4) a::before {
    background-image: var(--wpr-bg-1a5dc233-f6e7-4d3b-9610-ff7c513a0097);
  }

  .header-wrapper > #header-icons p:nth-child(5) a::before {
    background-image: var(--wpr-bg-8434b780-7cc2-459e-9557-2a82a1087414);
  }
}

@media (max-width: 768px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 576px) {
  .header-wrapper {
    --border-height: 15px;
    padding-top: var(--nav-icon-padding-Y);
  }

  .header-wrapper > #header-icons > .icon > .textwidget a {
    font-size: calc(var(--btn-font-size) * 0.85);
  }

  .header-wrapper
    > #header-icons
    > .icon
    > .textwidget
    > p:nth-last-child(-n + 2)
    a::before {
    margin-right: 1em;
    --my-size: 1.9em;
  }
}

@media (max-width: 420px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 320px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}
