a.tooltip {
  display: inline-block;
  position: relative;
  white-space: pre-wrap;    
}
a.tooltip:after {
  content: attr(data-tooltip);
  white-space: pre-wrap;    
  position: absolute;
  bottom: 120%;
  left: 20%;
  font-size: 18px;
  padding: 5px 15px;
  color: black;
  -webkit-border-radius:0px;
  -moz-border-radius :0px;
  border-radius : 0px;
  white-space: nowrap;
  opacity: 0;
  -webkit-transition: all 0.4s ease;
  -moz-transition : all 0.4s ease;
  transition : all 0.4s ease;
}
a.tooltip:before {
  content: "";
  position: absolute;
  white-space: pre-wrap;    
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  -webkit-transition: all 0.4s ease;
  -moz-transition : all 0.4s ease;
  transition : all 0.4s ease;
  opacity: 0;
  left: 30%;
  bottom: 90%;
}
a.tooltip:hover:after {
  bottom: 100%;
}
a.tooltip:hover:before {
  bottom: 70%;
}
a.tooltip:hover:after, a:hover:before {
  opacity: 1;
}/* CSS Document */

