/*
Afficher un tooltip "tooltip text" quand on passe sur le texte "Hover over me"

<div class="tooltip">Hover over me
  <span class="tooltiptext">Tooltip text</span>

</div>

*/


.tooltip {
    position: relative;
    display: inline-block;
    background-image: url(help.1_20.png); /*Image help*/
    background-repeat: no-repeat;
    background-position: center right;
    padding-right: 23px;    
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 60%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 1s;
}

/* la flèche en dessous du cadre */
/* On ne met pas la flèche car il y a l'image "help"'
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}
*/

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}