.content-wrapper {
  width: 100vw;
  max-width: 100vw;
  margin: 0 auto;
  padding: 0 0 0 0;
  overflow-x: clip;
}

#noheader .content-wrapper {
  padding-top: calc(var(--header-height) + 5vw);
}

#primary {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/**-------------------------- MAPRESS ---------------------------*/

.mapp-layout {
  border: none !important;
}

/* ----------------- Trustindex -------------------- */
body
  .ti-widget[data-layout-id="16"][data-set-id="light-background"]
  .ti-review-item
  > .ti-inner,
body
  .ti-widget[data-layout-id="16"][data-set-id="light-background"]
  .ti-load-more-reviews-container
  > .ti-load-more-reviews-button {
  background: #ffffff !important;
}

body
  .ti-widget[data-layout-id="16"][data-set-id="light-background"]
  .ti-load-more-reviews-container
  > .ti-load-more-reviews-button:hover {
  background-color: var(--ast-global-color-4) !important;
}

/**----------------- SOCIAL WALL -------------*/

.sbsw-item-bottom-content {
  padding: 1.5em 1em;
}

[id^="sb-wall"].sb-wall .sbsw-item-header {
  padding: 1em;
}

/*----------------- END TABELLEN -------------*/

@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) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 768px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 576px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 420px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 320px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

/* blitzen,  1. Das "Loch" oben beim Ziehen schließen */
/* html body {
  background: linear-gradient(
    to bottom,
    var(--ast-global-color-2) 0%,
    var(--ast-global-color-2) 200px,
    var(--ast-global-color-1) 200px,
    var(--ast-global-color-1) 100%
  ) !important;
  background-repeat: no-repeat;
  background-attachment: scroll;
} */

.rank-math-html-sitemap__title {
  font-size: var(--h3-font-size) !important;
}

/* Impressum */
@media (max-width: 420px) {
  .page-id-42 .margin-left {
    margin-left: -7vw !important;
  }
}

/* sub menu shift */
@media (max-width: 1024px) {
  #menu-hauptmenu.menu-child-sub-active > .menu-item:not(.imp-sub-active) {
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    transition: 0.45s cubic-bezier(0.45, 0.05, 0.55, 0.95);
  }

  #menu-wrapper li.imp-sub-active ul.sub-menu {
    position: relative;
    width: 100vw;

    height: 200%;
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 0;
    background-color: var(--ast-global-color-4);
    align-items: center;
    padding-top: calc(var(--gap-m) + 8px);
  }

  #menu-wrapper li.imp-sub-active > .menu-link::after {
    content: "";
    display: block;
    height: 20px;
    width: 20px;
    background-image: url(/wp-content/themes/astra-impuls-child/img/menu-deko.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 80%;
    right: 48vw;
    z-index: 999;
  }

  #menu-wrapper .imp-sub-active ul.sub-menu .menu-item:last-child {
    margin-top: var(--gap-m);
  }

  #menu-wrapper .imp-sub-active ul.sub-menu .menu-item:last-child a {
    margin-top: var(--gap-m);
    color: white;
  }

  #menu-hauptmenu.menu-child-sub-active .menu-link:not(.imp-sub-active) {
    height: 0;
  }

  #menu-hauptmenu.menu-child-sub-active .menu-item:nth-child(2).imp-sub-active {
    padding-top: 30vh;
  }
  /*


   #menu-hauptmenu.menu-child-sub-active .imp-sub-active {
    padding-top: 15vh;
  }
  

  #menu-hauptmenu.menu-child-sub-active .menu-item:nth-child(3).imp-sub-active {
    padding-top: 20vh;
  }

  #menu-hauptmenu.menu-child-sub-active .menu-item:nth-child(3).imp-sub-active {
    padding-top: 20vh;
  }
    */
}

#menu-hauptmenu > .menu-item {
  background-color: var(--ast-global-color-2);
}

@media (min-width: 1024px) {
  .menu-item.sub-back-btn {
    display: none;
  }
}

.menu-item.sub-back-btn span {
  display: flex;
  align-items: center;
}

.menu-item.sub-back-btn span.imp-nav-target-txt::before {
  content: "";
  display: block;
  height: 10px;
  width: 7.33px;
  background-image: url(/wp-content/themes/astra-impuls-child/img/icon-button-pfeil-weiss.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  margin-right: 0.6em;
  margin-top: 0em;
  rotate: 180deg;
}

.menu-item.sub-back-btn .ast-icon.icon-arrow .ast-arrow-svg {
  display: none;
}
