/* styles for voting box on cregj pages */

.votebuttons {					/* The Voting element */
  /* display: block; */
  /* border: 1px solid blue; */
  /* border-radius: 3px; */
  background-color: Lavender;
  padding: 0px 15px; /* padding: 10px 10px 0px 10px; */
  margin: 0 10px;
  float: right;
}

.voters {						/* The text within votebuttons for the number of voters */
  display: none; 					/* display: inline-block; NOW SET IN initialise() */
  width: 6em;
  text-align: center;
  font-size: smaller;
  font-weight: normal;
  white-space: nowrap;
  /* background-color: green; */
  padding-left: 5px;
  /* margin: 3px 0 0 0; */
}

.score {						/* The text within votebuttons for the score */
  display: none; 					/* display: inline-block; NOW SET IN initialise() */
  width: 5em;
  text-align: center;
  font-weight: bold;
  white-space: nowrap;
  /* background-color: yellow; */
}

.votebuttons button {			/* The text for the actual buttons */
  height: 1.7em;
  position: relative;
  bottom: 2px;
}


/* --------------------------------- from a stackoverflow answer -------------------- */

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
  color: blue;
  margin-left: 10px;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}