.rating {
	position: relative;
}

.star-rating,
.star-rating a:hover,
.star-rating a:active,
.star-rating a:focus,
.star-rating .current-rating{
	background: url(../images/rating/adf_rating.gif) left -1000px repeat-x;
}
.star-rating{
	position:relative;
	width:150px;
	height:30px;
	overflow:hidden;
	list-style:none;
	margin:0;
	padding:0;
	background-position: left top;
}
.star-rating li{
	display: inline;
}
.star-rating a, 
.star-rating .current-rating{
	position:absolute;
	top:0;
	left:0;
	text-indent:-1000em;
	height:30px;
	line-height:30px;
	outline:none;
	overflow:hidden;
	border: none;
}
.star-rating a:hover,
.star-rating a:active,
.star-rating a:focus{
	background-position: left bottom;
}
.star-rating a.one-star{
	width:20%;
	z-index:6;
}
.star-rating a.two-stars{
	width:40%;
	z-index:5;
}
.star-rating a.three-stars{
	width:60%;
	z-index:4;
}
.star-rating a.four-stars{
	width:80%;
	z-index:3;
}
.star-rating a.five-stars{
	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-block;
	display:-moz-inline-box;
	display:inline-block;
	vertical-align: middle;
}

/* smaller star */
.small-star, .white-star {
	width:100px;
	height:20px;
}
.small-star,
.small-star a:hover,
.small-star a:active,
.small-star a:focus,
.small-star .current-rating{
	background-image: url(../images/rating/adf_rating_nuevo_verde.png);
	line-height: 20px;
	height: 20px;
}

.top-star {
	width:70px;
}
.top-star,
.top-star a:hover,
.top-star a:active,
.top-star a:focus,
.top-star .current-rating{
	background-image: url(../images/rating/adf_rating_top.png);
	line-height: 14px;
	height: 14px;
}

.white-star,
.white-star a:hover,
.white-star a:active,
.white-star a:focus,
.white-star .current-rating{
	background-image: url(../images/rating/adf_rating_photo.png);
	line-height: 20px;
	height: 20px;
}
.rating_text {
	text-align: right;
	position: absolute;
	top: 25px;
	left: 0px;
	width: 100px;
	color: #FFF;
	text-decoration: none;
	padding-top: 0px;
	margin-top: 0px;
	margin-left: 0px;
}
.rating_text span{
	color: #afc30b;
}

.rating_popup {
	text-align: left;
	position: absolute;
	display: none;
	z-index: 1000;
	padding: 2px;
	background: #c5d076 url(/images/calendario/popup.png) no-repeat;
	color: white;
	border: 1px solid white;
	font-size: 15px;
	top: -30px;
	left: -10px;
	width: 100px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	-border-radius: 3px;
	list-style: none;
	color: #444444;
	-webkit-box-shadow: 0px 8px 8px #333;
}
.rating_popup span {
	display: block;
	font-size: 12px;
	text-align: justify;
	color: #555;
}
.rating_popup span.title {
	font-weight: bold;
	color: #222;
}
