/**HEADER ICONS*/

#header-icons {
  z-index: 100;
  display: grid;
  pointer-events: all;
  grid-template-columns: repeat(3, 56px);
  grid-template-rows: repeat(1, 56px);
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
  gap: 8px;
  margin-top: calc(var(--gap-xl) + 2vh);
}

#header-icons img {
  height: var(--icon-height) !important;
  display: block;
  width: auto;
}

.icon {
  display: flex;
  text-align: center;
  vertical-align: top;
  transition: all 0.5s ease 0s;
  border-radius: 50%;
  background-color: var(--ast-global-color-0);
  border: solid 1.5px #fff;
  justify-content: center;
  align-items: center;
}

.icon:hover {
  transform: translateY(-5px);
}

.icon img {
  transition: all 0.5s ease 0s;
}

.icon a {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* FOOTER ICONS */
.footer-icon-phone::before {
  content: " ";
  display: inline-block;
  background-image: url("/wp-content/themes/astra-impuls-child/img/footer-icon-phone.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: middle;
}

.footer-icon-mail::before {
  content: " ";
  display: inline-block;
  background-image: url("/wp-content/themes/astra-impuls-child/img/footer-icon-mail.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: middle;
}

/**Desktop*/
@media (min-width: 1300px) {
  /*placeholder*/
}

/**Mobile*/
@media (max-width: 1299px) {
  #header-icons {
    grid-template-columns: repeat(3, 56px);
    grid-template-rows: repeat(1, 56px);
  }
}

/**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 {
  height: 100%;
  width: 100%;
}

a.glink {
  font-size: 0;
}

.glink-dsgvo-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

a.glink:after {
  height: var(--icon-height);
  width: var(--icon-height);
  background-image: url(/wp-content/themes/astra-impuls-child/img/icon-lang.svg);
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.5s ease 0s;
}
