.ids-tooltip {
  display: inline-flex;
  position: relative !important;
  width: max-content;
}
.ids-tooltip .ids-tooltip__trigger {
  display: inline-flex;
}
.ids-tooltip .ids-tooltip__content {
  display: none;
  color: var(--IDS-TOOLTIP__COLOR);
  font-size: 1rem;
  line-height: 1.5rem;
  box-sizing: border-box;
  position: absolute;
  text-align: left;
  width: max-content;
  z-index: 2000;
  background-color: var(--IDS-TOOLTIP__BACKGROUND-COLOR);
  border: var(--IDS-TOOLTIP__BORDER-THICKNESS) solid var(--IDS-TOOLTIP__BORDER-COLOR);
  box-shadow: var(--IDS-BOX-SHADOW-ELEVATED-1);
  border-radius: var(--IDS-BORDER-RADIUS);
  padding: var(--IDS-TOOLTIP__PADDING);
  font-family: var(--IDS-FONT-FAMILY-BASE);
}
.ids-tooltip .ids-tooltip__content.ids-tooltip__content--top-left {
  left: 0;
  transform: translateY(-100%);
  top: -0.5rem;
}
.ids-tooltip .ids-tooltip__content.ids-tooltip__content--top {
  left: 50%;
  transform: translate(-50%, -100%);
  top: -0.5rem;
}
.ids-tooltip .ids-tooltip__content.ids-tooltip__content--top-right {
  right: 0;
  transform: translateY(-100%);
  top: -0.5rem;
}
.ids-tooltip .ids-tooltip__content.ids-tooltip__content--bottom-left {
  left: 0;
  transform: translateY(100%);
  bottom: -0.5rem;
}
.ids-tooltip .ids-tooltip__content.ids-tooltip__content--bottom {
  left: 50%;
  right: auto;
  transform: translate(-50%, 100%);
  bottom: -0.5rem;
}
.ids-tooltip .ids-tooltip__content.ids-tooltip__content--bottom-right {
  right: 0;
  transform: translateY(100%);
  bottom: -0.5rem;
}
.ids-tooltip:focus-within .ids-tooltip__content, .ids-tooltip:hover .ids-tooltip__content {
  display: inline-block;
}