/*******************************/
/* CSS ETOILE
/*******************************/
/*  key:  B=Blank : O=Orange : G = Green */
/* 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)*/


/* 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,
.ratingSimple{
    width:80px;
    height:16px;
    margin:0;
    padding:0 !important;
    list-style:none;
    clear:both;
    position:relative;
    background: url(avis/star-matrix.png) no-repeat 0 0;
}
/* add these classes to the ul to effect the change to the correct number of stars */
.nostar {background-position:0 0}
.half_star {background-position:0 -16px}
.onestar {background-position:0 -32px}
.half_onestar {background-position:0 -48px}
.twostar {background-position:0 -64px}
.half_twostar {background-position:0 -80px}
.threestar {background-position:0 -96px}
.half_threestar {background-position:0 -112px}
.fourstar {background-position:0 -128px}
.half_fourstar {background-position:0 -144px}
.fivestar {background-position:0 -160px}

ul.rating li{
    cursor: pointer;
    float:left;/*ie5 mac doesn't like it if the list is floated\*/
    text-indent:-999em;/* end hide*/
}
ul.ratingSimple li{
    float:left;/*ie5 mac doesn't like it if the list is floated\*/
    text-indent:-999em;/* end hide*/
}
ul.rating li a,
ul.ratingSimple li span{
    position:absolute;
    left:0;
    top:0;
    width:16px;
    height:16px;
    text-decoration:none;
    z-index: 200;
}
ul.rating li.one a,
ul.ratingSimple li.one span {left:0}
ul.rating li.half_one a,
ul.ratingSimple li.half_one span {left:8px}
ul.rating li.two a,
ul.ratingSimple li.two span {left:16px;}
ul.rating li.half_two a,
ul.ratingSimple li.half_two span {left:24px;}
ul.rating li.three a,
ul.ratingSimple li.three span {left:32px;}
ul.rating li.half_three a,
ul.ratingSimple li.half_three span {left:40px;}
ul.rating li.four a,
ul.ratingSimple li.four span {left:48px;}
ul.rating li.half_four a,
ul.ratingSimple li.half_four span {left:56px;}
ul.rating li.five a,
ul.ratingSimple li.five span {left:64px;}

ul.rating li a:hover {
    z-index:2;
    width:80px;
    height:16px;
    overflow:hidden;
    left:0;
    background: url(avis/star-matrix.png) no-repeat 0 0
}
ul.rating li.one a:hover {background-position:0 -176px;}
ul.rating li.two a:hover {background-position:0 -192px;}
ul.rating li.three a:hover {background-position:0 -208px}
ul.rating li.four a:hover {background-position:0 -224px}
ul.rating li.five a:hover {background-position:0 -240px}
