/**
 * jQuery simple tooltip
 * version 1.0.0
 * License MIT
 */
.jqt {
    position: absolute;
    min-width: 50px;
    width: max-content;
    max-width: 300px;
    font-size: 1rem;
    font-weight: 700;
    background: rgba(0,0,0,.7);
    color: white;
    padding: 3px 10px;
    border-radius: 10px;
    opacity: 1;
    z-index: 100;
}

.jqt.left {
    top: 50%;
    transform: translateY(-50%);
    right: calc(100% + 5px);
    border-radius: 5px;
}

.jqt.left:after {
    content: '';
    position: absolute;
    top: 50%;
    margin: -5px 0;
    right: -10px;
    border: 5px solid transparent;
    border-left: 5px solid rgba(0,0,0,.7);
}

.jqt.right {
    top: 50%;
    transform: translateY(-50%);
    left: calc(100% + 5px);
    border-radius: 5px;
}

.jqt.right:after {
    content: '';
    position: absolute;
    top: 50%;
    margin: -5px 0;
    left: -10px;
    border: 5px solid transparent;
    border-right: 5px solid rgba(0,0,0,.7);
}

.jqt.top {
    bottom: calc(100% + 5px);
}

.jqt.top:after {
    content: '';
    position: absolute;
    top: 100%;
    border: 5px solid transparent;
    border-top: 5px solid rgba(0,0,0,.7);
    left: 50%;
    margin: 0 -5px;
}

.jqt.bottom {
    top: calc(100% + 5px);
}

.jqt.bottom:after {
    content: '';
    position: absolute;
    bottom: 100%;
    border: 5px solid transparent;
    border-bottom: 5px solid rgba(0,0,0,.7);
    left: 50%;
    margin: 0 -5px;
}