
/* Le fait de faire calc(-100% - 75px) permet de décaler le tooltip de sa taille (100%) plus 50 pixel vers le haut */
.tooltipUp {
    transform: translate(-50%, calc(-100% - 50px));
    position:absolute;
    background-color: #fdfdfb;
    padding:10px;
    display: none;
    cursor: none;

    color: #363636;
}

.tooltipDown {
    transform: translate(-50%, 50px);
    position:absolute;
    background-color: #fdfdfb;
    padding:10px;
    display: none;
    cursor: none;

    color: #363636;
}

.tooltipUp .titre,
.tooltipDown .titre {
    color: white;
    font-weight: bold;
    background-color: #343d45;
    font-size: large;
    text-align: center;
}

.tooltipUp .sousTitre,
.tooltipDown .sousTitre {
    color: #5e5e5e;
}

.tooltipUp .footer,
.tooltipDown .footer {
    font-size: x-small;
    font-weight: lighter;
}

.tooltipUp hr,
.tooltipDown hr {
    border: 1px solid;
    border-radius: 100px;
    margin: 0.5rem 0;
}

.tooltipUp .data,
.tooltipDown .data {
    font-size: small;
}

.tooltipUp::after {
    content: " ";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: #fdfdfb transparent transparent transparent;
}

.tooltipDown::after {
    content: " ";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent #fdfdfb transparent;
}