/* Tooltip container */
.tooltipme {
    position: relative;
    display: inline-block;
  }
  
  /* Tooltip text */
  .tooltipme .tooltipmetext {
    background-color: rgba(0,0,0,1);
    color: #fff;
    text-align: center;
    padding: 7px;
    border-radius: 5px;
   
    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
  
    opacity: 0;
    transition: opacity .5s;
  }
  
  /* Show the tooltip text when you mouse over the tooltip container */
  .tooltipme:hover .tooltipmetext {
    opacity: 1;
  }
  
  .tooltipme-right .tooltipmetext {
    top: -5px;
    left: 105%;
  }
  
  .tooltipme-left .tooltipmetext {
    top: -5px;
    right: 105%;
  }
  
  .tooltipme-top .tooltipmetext {
    bottom: 130%;
    left: 50%;
  }
  
  .tooltipme-bottom .tooltipmetext {
    top: 100%;
    left: 50%;
  }
  
  .tooltipme-top .tooltipmetext::after {
    content: " ";
    position: absolute;
    top: 100%; /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
  }
  
  .tooltipme-bottom .tooltipmetext::after {
    content: " ";
    position: absolute;
    bottom: 100%;  /* At the top of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent black transparent;
  }
  
  .tooltipme-left .tooltipmetext::after {
    content: " ";
    position: absolute;
    top: 50%;
    right: 100%; /* To the left of the tooltip */
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent black transparent transparent;
  }
  
  .tooltipme-right .tooltipmetext::after {
    content: " ";
    position: absolute;
    top: 50%;
    left: 100%; /* To the right of the tooltip */
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent black;
  }