.rating {
  cursor: pointer;
  display: block;
}
.rating:after {
  content: '.';
  display: block;
  height: 0;
  width: 0;
  clear: both;
  visibility: hidden;
}
.cancel,
.star {
  float: left;
  margin-right: 2px;
  width: 16px;
  height: 15px;
  overflow: hidden;
  text-indent: -999em;
  cursor: pointer;
}
.star-left,
.star-right {
  width: 8px
}
.cancel,
.cancel a {background: url(/img/icons/delete.gif) no-repeat 0 -16px;}

.star,
.star a {background: url("/img/icons/icon_stars.png") no-repeat 0 0px;} /* /img/icons/star.gif (old graphic) */
.star-left,
.star-left a {background: url("/img/icons/icon_stars_left.png") no-repeat 0 0px;} /* /img/icons/star-left.gif (old graphic) */
.star-right,
.star-right a {background: url("/img/icons/icon_stars_right.png") no-repeat 0 0px;} /* /img/icons/star-left.gif (old graphic) */

.cancel a,
.star a {
  display: block;
  width: 100%;
  height: 100%;
  background-position: 0 0px;
}

div.star.public,
div.star-left.public {
  cursor: default;
}

div.star.on.public,
div.star-left.public {
  background-position: 0 -30px;
}

div.rating div.on a {
  background-position: 0 -30px;
}
div.rating div.hover a,
div.rating div a:hover {
  background-position: 0 -30px;
}