/* star rating code - use lists because its more semantic */
/* No javascript required */
/* all the stars are contained in one matrix to solve rollover problems with delay */
/* the background position is just shifted to reveal the correct image. */
/* the images are 16px by 16px and the background position will be shifted in negative 16px increments */
/*  key:  B=Blank : O=Orange : G = Green * /
/*..... The Matrix ....... */
/* colours ....Background position */
/* B B B B B - (0 0)*/
/* G B B B B - (0 -16px)*/
/* G G B B B - (0 -32px)*/
/* G G G B B - (0 -48px)*/
/* G G G G B - (0 -64px)*/
/* G G G G G - (0 -80px)*/
/* O B B B B - (0 -96px)*/
/* O O B B B - (0 -112px)*/
/* O O O B B - (0 -128px)*/
/* O O O O B - (0 -144px)*/
/* O O O O O - (0 -160px)*/

ul.rate_list{
	list-style:none;
	list-style-image:none;
	padding-bottom: 20px;
}

ul.rate_list_small{
	list-style:none;
	float: left;
	clear: right;
	margin: 0;
}
li.rate_item{
	list-style-image: none;
	clear:both;
}
li.rate_item_small{
	list-style-image: none;
}

div.star_wrapper{
	float: left;
	clear: left;
	margin: -17px 0 0 15px;
}

div.rate_text{
	float: left;
	width: 180px;
}
div.rate_text_small{
	display: block;
	float: left;
	margin-right: 10px;
	margin-bottom: 4px;
}
div.rate_text_small_right{ /* käytetään events/view */
	display: list-item;
	list-style: none;
	list-style-image: none;
	float: left;
	clear: left;
	margin-right: 10px;
	margin-bottom: 4px;
}
div.rate_stars{
	float: left;
	width: 110px;
	margin-top: 3px;
}
div.rate_stars_small{
	display: inline;
	float: left;
	clear: right;
	width: 60px;
	height: 12px;
	margin-top: -1px;
}
/* the default rating is placed as a background image in the ul */
/* use the background position according to the table above to display the required images*/
.rating{
	width:80px;
	height:16px;
	margin:0 0 8px 0;
	padding:0;
	list-style:none;
	clear:both;
	position:relative;
	background: url(../img/starmatrix.gif) no-repeat 0 0;
	overflow: hidden;
}
.rating_small{
	width:60px;
	height:12px;
	margin:0 0 8px 0;
	padding:0;
	list-style:none;
	list-style-image: none;
	clear:both;
	position:relative;
	background: url(../img/starmatrixsmall.gif) no-repeat 0 0;
	overflow: hidden;
}
/* for review/view start */

div.rate_text_x{
	font-size: 12px;
	line-height: 16px;
	float: left;
	width: 160px;
}
div.rate_stars_x{
	display: inline;
	float: left;
	clear: right;
	width: 60px;
	height: 12px;
	margin-top: 4px;
}

.rating_x{
	width:60px;
	height:12px;
	margin:0 0 8px 0;
	padding:0;
	list-style:none;
	list-style-image:none;
	clear:both;
	position:relative;
	background: url(../img/starmatrixsmall.gif) no-repeat 0 0;
	overflow: hidden;
}
/* for review/view end */

/* add these classes to the ul to effect the change to the correct number of stars */
.snostar {background-position:0 0}
.sonestar {background-position:0 -12px}
.stwostar {background-position:0 -24px}
.sthreestar {background-position:0 -36px}
.sfourstar {background-position:0 -48px}
.sfivestar {background-position:0 -60px}

/* add these classes to the ul to effect the change to the correct number of stars */
.nostar {background-position:0 0}
.onestar {background-position:0 -16px}
.twostar {background-position:0 -32px}
.threestar {background-position:0 -48px}
.fourstar {background-position:0 -64px}
.fivestar {background-position:0 -80px}

.nostar_yellow {background-position:0 0}
.onestar_yellow {background-position:0 -96px}
.twostar_yellow{background-position:0 -112px}
.threestar_yellow{background-position:0 -128px}
.fourstar_yellow {background-position:0 -144px}
.fivestar_yellow {background-position:0 -160px}

ul.rating li {
	cursor: pointer;
	list-style-image: none;
 /*ie5 mac doesn't like it if the list is floated\*/
	float:left;
	/* end hide*/
	text-indent:-999em;
}
ul.rating li a {
	position:absolute;
	left:0;
	top:0;
	width:16px;
	height:16px;
	text-decoration:none;
	z-index: 200;
}
ul.rating li.one a {left:0}
ul.rating li.two a {left:16px;}
ul.rating li.three a {left:32px;}
ul.rating li.four a {left:48px;}
ul.rating li.five a {left:64px;}
ul.rating li a:hover {
	z-index:2;
	width:80px;
	height:16px;
	overflow:hidden;
	left:0;	
	background: url(../img/starmatrix.gif) no-repeat 0 0;
	list-style-image: none;
}
ul.rating li.one a:hover {background-position:0 -96px;}
ul.rating li.two a:hover {background-position:0 -112px;}
ul.rating li.three a:hover {background-position:0 -128px}
ul.rating li.four a:hover {background-position:0 -144px}
ul.rating li.five a:hover {background-position:0 -160px}

/* end rating code  h3{margin:0 0 2px 0;font-size:110%} */



