﻿:root {
  --tooltip-arrow-height: 8px;
  --tooltip-arrow-width: 8px;
  --tooltip-bg-color: black;
  --tooltip-fg-color: white;
  --tooltip-padding-y: 8px;
  --tooltip-padding-x: 8px;
  --tooltip-radius: 8px;
}

.tooltip {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  line-height: inherit;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  word-spacing: normal;
  white-space: normal;
  line-break: auto;
  position: absolute;
  z-index: var(--vel-zindex-tooltip);
  display: block;
  margin: 0;
  font-size: inherit;
  word-wrap: break-word;
}
.tooltip .tooltip-arrow {
  position: absolute;
  display: block;
  width: var(--tooltip-arrow-width);
  height: var(--tooltip-arrow-height);
}
.tooltip .tooltip-arrow::before {
  position: absolute;
  content: "";
  border-color: transparent;
  border-style: solid;
}

.bs-tooltip-top, .tooltip[x-placement^=top] {
  padding: var(--tooltip-arrow-height) 0;
}
.bs-tooltip-top .tooltip-arrow, .tooltip[x-placement^=top] .tooltip-arrow {
  bottom: 0;
}
.bs-tooltip-top .tooltip-arrow::before, .tooltip[x-placement^=top] .tooltip-arrow::before {
  top: 0;
  border-width: var(--tooltip-arrow-height) var(--tooltip-arrow-width) 0;
  border-top-color: var(--tooltip-bg-color);
}

.bs-tooltip-right, .tooltip[x-placement^=right] {
  padding: 0 var(--tooltip-arrow-height);
}
.bs-tooltip-right .tooltip-arrow, .tooltip[x-placement^=right] .tooltip-arrow {
  left: 0;
  width: var(--tooltip-arrow-width);
  height: var(--tooltip-arrow-height);
}
.bs-tooltip-right .tooltip-arrow::before, .tooltip[x-placement^=right] .tooltip-arrow::before {
  right: 0;
  border-width: var(--tooltip-arrow-width) var(--tooltip-arrow-height) var(--tooltip-arrow-width) 0;
  border-right-color: var(--tooltip-bg-color);
}

.bs-tooltip-bottom, .tooltip[x-placement^=bottom] {
  padding: var(--tooltip-arrow-height) 0;
}
.bs-tooltip-bottom .tooltip-arrow, .tooltip[x-placement^=bottom] .tooltip-arrow {
  top: 0;
}
.bs-tooltip-bottom .tooltip-arrow::before, .tooltip[x-placement^=bottom] .tooltip-arrow::before {
  bottom: 0;
  border-width: 0 var(--tooltip-arrow-width) var(--tooltip-arrow-height);
  border-bottom-color: var(--tooltip-bg-color);
}

.bs-tooltip-left, .tooltip[x-placement^=left] {
  padding: 0 var(--tooltip-arrow-height);
}
.bs-tooltip-left .tooltip-arrow, .tooltip[x-placement^=left] .tooltip-arrow {
  right: 0;
  width: var(--tooltip-arrow-width);
  height: var(--tooltip-arrow-height);
}
.bs-tooltip-left .tooltip-arrow::before, .tooltip[x-placement^=left] .tooltip-arrow::before {
  left: 0;
  border-width: var(--tooltip-arrow-width) 0 var(--tooltip-arrow-width) var(--tooltip-arrow-height);
  border-left-color: var(--tooltip-bg-color);
}

.tooltip-inner {
  max-width: 27em;
  padding: var(--tooltip-padding-y) var(--tooltip-padding-x);
  margin: 0;
  color: var(--tooltip-fg-color);
  text-align: center;
  background-color: var(--tooltip-bg-color);
  border-radius: var(--tooltip-radius);
}
