/* Based on article by Jude Bert <http://judebert.com/progress/archives/202-Improving-CSS-Star-Rating.html>
------------------------------------------------------------------------*/
/* Background is full bar */
.star-rating,
.star-rating a:hover,
.star-rating .current-rating {
	background: url(star_rating.png) left;
}

.star-rating {
	position: relative;
	width: 50px; /* 5 stars width */
	height: 10px; /* 1 star height */
	overflow: hidden;
	list-style: none;
	margin: 0px;
	padding: 0px;
	background-position: top left;
}

.star-rating li {
  display: inline;
}

.star-rating a,
.star-rating .current-rating {
	position: absolute;
	top: 0;
	left: 0;
	text-indent: -9000px;
	height: 10px; /* 1 star height */
	line-height: 10px; /* 1 star height */
	outline: none;
	overflow: hidden;
	border: none;
	/* I replaced the pixel-width with an em-width, but must set font size in px */
	font-size: 10px; /* 1 star width */
}

/* Show stars when hovered */
.star-rating a:hover {
	background-position: left bottom;
}

/* Set each section to the appropriate width, stacking so leftmost is topmost */
.star-rating a.rate1 {
	width: 20%;
	z-index: 6;
}

.star-rating a.rate2 {
	width:40%;
	z-index: 5;
}

.star-rating a.rate3 {
	width:60%;
	z-index: 4;
}

.star-rating a.rate4 {
	width:80%;
	z-index: 3;
}

.star-rating a.rate5 {
	width:100%;
	z-index: 2;
}

.star-rating .current-rating {
	z-index: 1;
	background-position: left center;
}

/* for an inline rater */
.inline-rating {
	display: -moz-inline-stack;
	display: inline-block;
	vertical-align: middle;
	white-space: nowrap;
	zoom: 1;
	*display: inline;
}