
.chart-tooltip {
    opacity: 1;
    position: absolute;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    transition: all .2s ease;
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    pointer-events: none;
}

.chart-tooltip thead th {
    text-align: left;
}

.pointer-top,
.pointer-bottom,
.pointer-left,
.pointer-right {
}

/*top*/
.pointer-top:before, .pointer-top:after {
    content: '';
    width: 0;
    height: 0;
    border: solid transparent;
    position: absolute;
    bottom: 100%;
    left: 50%;
    pointer-events: none;
}

.pointer-top:before {
    border-color: rgba(0, 0, 0, 0);
    border-bottom-color: black;
    border-width: 5px;
    margin-left: -5px;
}

.pointer-top:after {
    border-color: rgba(0, 0, 0, 0);
    border-bottom-color: white;
    border-width: 4px;
    margin-left: -4px;
}

/*bottom*/
.pointer-bottom:before, .pointer-bottom:after {
    content: '';
    width: 0;
    height: 0;
    border: solid transparent;
    position: absolute;
    top: 100%;
    left: 50%;
    pointer-events: none;
}

.pointer-bottom:before {
    border-color: rgba(0, 0, 0, 0);
    border-top-color: black;
    border-width: 5px;
    margin-left: -5px;
}

.pointer-bottom:after {
    border-color: rgba(0, 0, 0, 0);
    border-top-color: white;
    border-width: 4px;
    margin-left: -4px;
}

/*left*/
.pointer-left:before, .pointer-left:after {
    content: '';
    width: 0;
    height: 0;
    border: solid transparent;
    position: absolute;
    top: 50%;
    right: 100%;
    pointer-events: none;
}

.pointer-left:before {
    border-color: rgba(0, 0, 0, 0);
    border-right-color: black;
    border-width: 5px;
    margin-top: -5px;
}

.pointer-left:after {
    border-color: rgba(0, 0, 0, 0);
    border-right-color: white;
    border-width: 4px;
    margin-top: -4px;
}

/*right*/
.pointer-right:before, .pointer-right:after {
    content: '';
    width: 0;
    height: 0;
    border: solid transparent;
    position: absolute;
    top: 50%;
    left: 100%;
    pointer-events: none;
}

.pointer-right:before {
    border-color: rgba(0, 0, 0, 0);
    border-left-color: black;
    border-width: 5px;
    margin-top: -5px;
}

.pointer-right:after {
    border-color: rgba(0, 0, 0, 0);
    border-left-color: white;
    border-width: 4px;
    margin-top: -4px;
}