/**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) + 6vh);
}

#header-icons img {
  height: var(--icon-height) !important;
  display: block;
  width: auto;
}

.icon:not(.mdi) {
  display: flex;
  text-align: center;
  vertical-align: top;
  transition: all 0.5s ease 0s;
  border-radius: 50%;
  background-color: var(--ast-global-color-1);
  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 */

/**Desktop*/

/**Mobile*/

@media (max-width: 1025px) {
  #header-icons {
    grid-template-columns: repeat(3, 50px);
    grid-template-rows: repeat(1, 50px);
  }
}

/**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;
}

.gtranslate_wrapper {
  position: relative;
  display: inline-block;
}

.gt_selector,
.gt_selector:focus,
.gt_selector:active {
  height: 56px;
  width: 56px;
  font-size: 0;
  border: none;
  background-color: transparent;
  display: inline-block;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: none;
}

.gtranslate_wrapper:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: var(--icon-height, 24px);
  width: var(--icon-height, 24px);
  background-image: url(/wp-content/themes/astra-impuls-child/img/icon-lang.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

/* Gibt den ausklappbaren Optionen wieder eine normale Größe und Farbe */

.gt_selector option {
  font-size: 16px;
}

@media (max-width: 768px) {
  #header-icons {
    grid-template-columns: repeat(3, 43px);
    grid-template-rows: repeat(1, 43px);
  }
}
