.tooltip {
  position: absolute;
  z-index: 999;
  display: block;
  visibility: visible;
  padding: 5px;
  font-size: 11px;
  opacity: 0.0;
  /*&.in     { .opacity(80); }
  &.top    { margin-top:  -2px; }
  &.right  { margin-left:  2px; }
  &.bottom { margin-top:   2px; }
  &.left   { margin-left: -2px; }
  &.top .tooltip-arrow    { #popoverArrow > .top(); }
  &.left .tooltip-arrow   { #popoverArrow > .left(); }
  &.bottom .tooltip-arrow { #popoverArrow > .bottom(); }
  &.right .tooltip-arrow  { #popoverArrow > .right(); }*/
}

.tooltip.in {
    opacity: 0.8;
}

.tooltip.top {
    margin-top: -2px;
}

.tooltip-inner {
  max-width: 200px;
  padding: 3px 8px;
  color: white;
  text-align: center;
  text-decoration: none;
  background-color: black;
  border-radius: 4px;
}

.tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
}

.tooltip.top .tooltip-arrow {
  bottom: 0;
  left: 50%;
  margin-left: -5px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid black;
}

.tooltip.bottom .tooltip-arrow {
  top: 0;
  left: 50%;
  margin-left: -5px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid black;
}

.tooltip.right .tooltip-arrow {
  left: 0;
  top: 50%;
  margin-top: -5px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 5px solid black;
}

.tooltip.left .tooltip-arrow {
  right: 0;
  top: 50%;
  margin-top: -5px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid black;
}

.tooltip.error {
    opacity: 1.0;
    font-size: 12pt;
}

.tooltip.error .tooltip-inner {
    background-color: red;
    max-width: 400px;
}

.tooltip.top.error .tooltip-arrow {
    border-top-color: red;
}

.tooltip.bottom.error .tooltip-arrow {
    border-bottom-color: red;
}

.tooltip.right.error .tooltip-arrow {
    border-right-color: red;
}

.tooltip.left.error .tooltip-arrow {
    border-left-color: red;
}