.tui-tooltip.tui-tooltip-zoom-appear,
.tui-tooltip.tui-tooltip-zoom-enter {
  opacity: 0;
}

.tui-tooltip.tui-tooltip-zoom-enter,
.tui-tooltip.tui-tooltip-zoom-leave {
  display: block;
}

.tui-tooltip-zoom-enter,
.tui-tooltip-zoom-appear {
  opacity: 0;
  animation-duration: 0.3s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.18, 0.89, 0.32, 1.28);
  animation-play-state: paused;
}

.tui-tooltip-zoom-leave {
  animation-duration: 0.3s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.6, -0.3, 0.74, 0.05);
  animation-play-state: paused;
}

.tui-tooltip-zoom-enter.tui-tooltip-zoom-enter-active,
.tui-tooltip-zoom-appear.tui-tooltip-zoom-appear-active {
  animation-name: rcToolTipZoomIn;
  animation-play-state: running;
}

.tui-tooltip-zoom-leave.tui-tooltip-zoom-leave-active {
  animation-name: rcToolTipZoomOut;
  animation-play-state: running;
}

@keyframes rcToolTipZoomIn {
  0% {
    opacity: 0;
    transform-origin: 50% 50%;
    transform: scale(0, 0);
  }

  100% {
    opacity: 1;
    transform-origin: 50% 50%;
    transform: scale(1, 1);
  }
}

@keyframes rcToolTipZoomOut {
  0% {
    opacity: 1;
    transform-origin: 50% 50%;
    transform: scale(1, 1);
  }

  100% {
    opacity: 0;
    transform-origin: 50% 50%;
    transform: scale(0, 0);
  }
}

.tui-tooltip {
  position: absolute;
  z-index: 1070;
  display: block;
  visibility: visible;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.9;
}

.tui-tooltip-hidden {
  display: none;
}

.tui-tooltip-placement-top,
.tui-tooltip-placement-topLeft,
.tui-tooltip-placement-topRight {
  padding: 5px 0 9px 0;
}

.tui-tooltip-placement-right,
.tui-tooltip-placement-rightTop,
.tui-tooltip-placement-rightBottom {
  padding: 0 5px 0 9px;
}

.tui-tooltip-placement-bottom,
.tui-tooltip-placement-bottomLeft,
.tui-tooltip-placement-bottomRight {
  padding: 9px 0 5px 0;
}

.tui-tooltip-placement-left,
.tui-tooltip-placement-leftTop,
.tui-tooltip-placement-leftBottom {
  padding: 0 9px 0 5px;
}

.tui-tooltip-inner {
  padding: 8px 10px;
  color: #fff;
  text-align: left;
  text-decoration: none;
  background-color: #373737;
  border-radius: 6px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.17);
  min-height: 34px;
}

.tui-tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}

.tui-tooltip-placement-top .tui-tooltip-arrow,
.tui-tooltip-placement-topLeft .tui-tooltip-arrow,
.tui-tooltip-placement-topRight .tui-tooltip-arrow {
  bottom: 4px;
  margin-left: -5px;
  border-width: 5px 5px 0;
  border-top-color: #373737;
}

.tui-tooltip-placement-top .tui-tooltip-arrow {
  left: 50%;
}

.tui-tooltip-placement-topLeft .tui-tooltip-arrow {
  left: 15%;
}

.tui-tooltip-placement-topRight .tui-tooltip-arrow {
  right: 15%;
}

.tui-tooltip-placement-right .tui-tooltip-arrow,
.tui-tooltip-placement-rightTop .tui-tooltip-arrow,
.tui-tooltip-placement-rightBottom .tui-tooltip-arrow {
  left: 4px;
  margin-top: -5px;
  border-width: 5px 5px 5px 0;
  border-right-color: #373737;
}

.tui-tooltip-placement-right .tui-tooltip-arrow {
  top: 50%;
}

.tui-tooltip-placement-rightTop .tui-tooltip-arrow {
  top: 15%;
  margin-top: 0;
}

.tui-tooltip-placement-rightBottom .tui-tooltip-arrow {
  bottom: 15%;
}

.tui-tooltip-placement-left .tui-tooltip-arrow,
.tui-tooltip-placement-leftTop .tui-tooltip-arrow,
.tui-tooltip-placement-leftBottom .tui-tooltip-arrow {
  right: 4px;
  margin-top: -5px;
  border-width: 5px 0 5px 5px;
  border-left-color: #373737;
}

.tui-tooltip-placement-left .tui-tooltip-arrow {
  top: 50%;
}

.tui-tooltip-placement-leftTop .tui-tooltip-arrow {
  top: 15%;
  margin-top: 0;
}

.tui-tooltip-placement-leftBottom .tui-tooltip-arrow {
  bottom: 15%;
}

.tui-tooltip-placement-bottom .tui-tooltip-arrow,
.tui-tooltip-placement-bottomLeft .tui-tooltip-arrow,
.tui-tooltip-placement-bottomRight .tui-tooltip-arrow {
  top: 4px;
  margin-left: -5px;
  border-width: 0 5px 5px;
  border-bottom-color: #373737;
}

.tui-tooltip-placement-bottom .tui-tooltip-arrow {
  left: 50%;
}

.tui-tooltip-placement-bottomLeft .tui-tooltip-arrow {
  left: 15%;
}

.tui-tooltip-placement-bottomRight .tui-tooltip-arrow {
  right: 15%;
}
