#tooltip {
    z-index: 3;
    max-width: 1200px;
    text-align: left;
    color: rgba(0, 0, 0, 0.8);
}

#arrow,
#arrow::before {
    position: absolute;
    width: 9px;
    height: 9px;
    background: inherit;
}

#arrow {
    visibility: hidden;
}

#arrow::before {
    visibility: visible;
    content: '';
    transform: rotate(45deg);
    border-top: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
}

#tooltip[data-popper-placement^='top']>#arrow {
    bottom: -4px;
}

#tooltip[data-popper-placement^='bottom']>#arrow {
    top: -4px;
}

#tooltip[data-popper-placement^='left']>#arrow {
    right: -4px;
}

#tooltip[data-popper-placement^='right']>#arrow {
    left: -4px;
}

#tooltip {
    /* ... */
    display: none;
}

#tooltip[data-show] {
    display: block;
}

.popover-container {
    display: inline-block;
    position: absolute;
    width: 27px;
}

@media only screen and (max-width: 767px) {
    #tooltip {
        max-width: 100vw;
    }
}