
.rating{
  margin: 5px 0;
}

.rating:after{
  content:".";
  display:block;
  clear:both;
  visibility:hidden;
  line-height:0;
  height:0;
}

.rating ul, .rating a:hover, .rating .now{
  background: transparent url(star.png) repeat-x;
}

.rating ul, .rating li{
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.rating ul{
  height: 16px;
  float: left;
}

.rating li{
  position: relative;
  display: block;
}

.rating a{
  position: absolute;
  cursor: pointer;
  left: 0;
  top: 0;
  display:block;
  width:16px;
  height: 16px;
  text-decoration: none;
  text-indent: -9999px;
  z-index: 10;
}

.rating ul li a:hover{
  background-position: left bottom;
  z-index: 5;
  left: 0 !important;
}

.rating .s2 a{left:16px;}
.rating .s2 a:hover{width: 32px;}

.rating .s3 a{left: 32px;}
.rating .s3 a:hover{width: 48px;}

.rating .s4 a{left: 48px;}
.rating .s4 a:hover{width: 64px;}

.rating .s5 a{left: 64px;}
.rating .s5 a:hover{width: 80px;}

.rating .s6 a{left: 80px;}
.rating .s6 a:hover{width: 96px;}

.rating .s7 a{left: 96px;}
.rating .s7 a:hover{width: 112px;}

.rating .s8 a{left: 112px;}
.rating .s8 a:hover{width: 128px;}

.rating .s9 a{left: 128px;}
.rating .s9 a:hover{width: 144px;}

.rating .s10 a{left: 144px;}
.rating .s10 a:hover{width: 160px;}

.rating .now{
  background-position: left center;
  position: absolute;
  height: 16px;
  display: block;
  text-indent: -9999px;
  z-index: 1;
}

.rating .meta{
  font-size: 11px;
  color: #999;
  float: left;
  margin-left: 5px;
  line-height: 18px;
}

.rating .meta strong{
  color: #666;
}

.rating.error .meta{
  color: #ff0000;
  font-weight: bold;
}
