
.tooltiptop {
  position: relative;
  display: inline-block;
}

.tooltiptop .tooltiptexttop {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 15px;
  position: absolute;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: 0.3s;
  font-size:16px !important;
}

.tooltiptop .tooltiptexttop::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border-width: 15px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltipright {
  position: relative;
  display: inline-block;
}

.tooltipright .tooltiptextright {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 15px;
  
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: -5px;
  left: 105%;
  font-size:16px !important;
}

.tooltipright:hover .tooltiptextright {
  visibility: visible;
}
.tooltipright .tooltiptextright::after {
  content: "";
  position: absolute;
  top: 40%;
  right: 100%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent #555 transparent transparent;
}