/*-------------------------------------------------------+
| Dynamic Star Rating Redux
| Developed by Jordan Boesch
| www.boedesign.com
| Licensed under Creative Commons - http://creativecommons.org/licenses/by-nc-nd/2.5/ca/
| Used CSS from komodomedia.com.
+--------------------------------------------------------+
| Ajax Rating System mSF For PHP-Fusion 7.xx v.1.0
| Copyright © 2008-2009 Powered by .:MeF:.
| URL: http://x-iweb.ru/
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/

.mg_star-rating,
.mg_star-rating a:hover,
.mg_star-rating a:active,
.mg_star-rating .mg_current-rating{
	/*background: url(../images/rating_star.gif) left -1000px repeat-x;*/
	background: url(../images/rating_smiley.gif) left -1000px repeat-x;
	/*background: url(../images/rating_star_small.gif) left -1000px repeat-x;*/
}
.mg_star-rating{
	position:relative;
	width:125px;
	height:25px;
	overflow:hidden;
	list-style:none;
	margin:0;
	padding:0;
	background-position: left top;
}
.mg_star-rating li{
	display: inline;
}
.mg_star-rating a, 
.mg_star-rating .mg_current-rating{
	position:absolute;
	top:0;
	left:0;
	text-indent:-1000em;
	height:25px;
	line-height:25px;
	outline:none;
	overflow:hidden;
	border: none;
}
.mg_star-rating a:hover{
	background-position: left bottom;
}
.mg_star-rating a.mg_one-star{
	width:20%;
	z-index:6;
}
.mg_star-rating a.mg_two-stars{
	width:40%;
	z-index:5;
}
.mg_star-rating a.mg_three-stars{
	width:60%;
	z-index:4;
}
.mg_star-rating a.mg_four-stars{
	width:80%;
	z-index:3;
}
.mg_star-rating a.mg_five-stars{
	width:100%;
	z-index:2;
}
.mg_star-rating .mg_current-rating{
	z-index:1;
	background-position: left center;
}	

/* SECOND STAR (ALREADY VOTED */


.mg_star-rating2,
.mg_star-rating2 a:active,
.mg_star-rating2 .mg_current-rating{
	/*background: url(../images/rating_star.gif) left -1000px repeat-x;*/
	background: url(../images/rating_smiley.gif) left -1000px repeat-x;
	/*background: url(../images/rating_star_small.gif) left -1000px repeat-x;*/
}
.mg_star-rating2{
	position:relative;
	width:125px;
	height:25px;
	overflow:hidden;
	list-style:none;
	margin:0;
	padding:0;
	background-position: left top;
}
.mg_star-rating2 li{
	display: inline;
}
.mg_star-rating2 a, 
.mg_star-rating2 .mg_current-rating {
	position:absolute;
	top:0;
	left:0;
	text-indent:-1000em;
	height:25px;
	line-height:25px;
	outline:none;
	overflow:hidden;
	border: none;
	cursor:default;
}

.mg_star-rating2 a.mg_one-star{
	width:20%;
	z-index:6;
}
.mg_star-rating2 a.mg_two-stars{
	width:40%;
	z-index:5;
}
.mg_star-rating2 a.mg_three-stars{
	width:60%;
	z-index:4;
}
.mg_star-rating2 a.mg_four-stars{
	width:80%;
	z-index:3;
}
.mg_star-rating2 a.mg_five-stars{
	width:100%;
	z-index:2;
}
.mg_star-rating2 .mg_current-rating{
	z-index:1;
	background-position: left center;
}


/* END SECOND STAR */

/* for an inline rater */
.inline-rating{
	display:-moz-inline-block;
	display:-moz-inline-box;
	display:inline-block;
	vertical-align: middle;
}
.mg_voted_twice {
	background: #FFDDDD url(../images/rating_warning.gif) no-repeat 5px 50%;
	padding:5px 3px 5px 5px;
	text-align:center;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	color:#333;
	width:190px;
	font-size:11px;
	}
.mg_voted {
	background: #E7FFCE url(../images/rating_tick.gif) no-repeat 5px 50%;
	padding:5px 3px 5px 5px;
	text-align:center;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	color:#333;
	width:190px;
	font-size:11px;
	}
/* The text that displays the rating information */
.mg_rated_text {
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:11px;
	margin-bottom:5px;
	color:#666;
	}
/* Green text that shows 3.34/5 */
.mg_out5Class {
	color:#00CC00;
	font-weight:bold;
	}
.mg_percentClass {
	/* Insert styles here for the percentage display. Example (74%) */
	}
.mg_votesClass {
	/* Insert styles here for the votes display. Example (2 Votes) */
	}
.topRatedList {
	padding:0;
	margin:0;
	}
.topRatedList li {
	list-style-type:none;
	}
.shadow {
	padding:5px;
	border:2px solid gainsboro;
	-webkit-box-shadow: 5px 5px 8px #818181;
	-moz-box-shadow: 5px 5px 8px #818181;
	-moz-border-radius-topleft: 25px;
	-moz-border-radius-bottomright: 25px;
	-webkit-border-top-left-radius: 25px;
	-webkit-border-bottom-right-radius: 25px;
}
.rounded {
	padding:5px;
	border:2px solid gainsboro;
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
	background: -moz-linear-gradient(center top, #b8d8f2, #92bde0 25%, #3282c2 50%, #92bde0 75%, #b8d8f2);
	background: -webkit-gradient(linear, center top, center bottom, from(#b8d8f2), color-stop(25%, #92bde0), color-stop(50%, #3282c2), color-stop(75%, #92bde0), to(#b8d8f2)); 
}
.gradient {
	color: white;
	background: #3282c2 url(../images/gradient.gif) top left repeat-x; /*fall back gradient image*/
	background: -moz-linear-gradient(center top, #b8d8f2, #92bde0 25%, #3282c2 50%, #92bde0 75%, #b8d8f2);
	background: -webkit-gradient(linear, center top, center bottom, from(#b8d8f2), color-stop(25%, #92bde0), color-stop(50%, #3282c2), color-stop(75%, #92bde0), to(#b8d8f2)); 
}
.back {
	width:10%;
	padding:6px;
	margin:auto;
	color: white;
	font-weight: bold;
	text-decoration: none;
	cursor:pointer;
	cursor:hand;
	background: #3282c2 url(../images/gradient1.gif) left repeat-x; /*fall back gradient image*/
	-webkit-box-shadow: 5px 5px 8px #818181;
	-moz-box-shadow: 5px 5px 8px #818181;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	background: -moz-linear-gradient(center top, #b8d8f2, #92bde0 25%, #3282c2 50%, #92bde0 75%, #b8d8f2);
	background: -webkit-gradient(linear, center top, center bottom, from(#b8d8f2), color-stop(25%, #92bde0), color-stop(50%, #3282c2), color-stop(75%, #92bde0), to(#b8d8f2)); 
 }
.back  a{
	color: white;
	font-weight: bold;
	text-decoration: none;
}
.status {
	width:1px;
	height:1px;
}
.rateoverlay{
background:transparent url(../images/overlay.png) repeat top left;
position:fixed;
top:0px;
bottom:0px;
left:0px;
right:0px;
z-index:110;
}
.loading{
position:fixed;
top:-250px;
left:30%;
right:30%;
padding:20px;
z-index:111;
}
.ratetooltip {
	position: absolute;
	display: none;
	background-color: #FFFFFF;
	color: dimgray;
	text-align:center;
	width:150px;
	border:1px solid dimgray;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	box-shadow: 7px 7px 8px #818181;
	-webkit-box-shadow: 7px 7px 8px #818181;
	-moz-box-shadow: 7px 7px 8px #818181;
	background: -moz-linear-gradient(left top 315deg, #FFED9E, #fff);
	background: -webkit-gradient(linear, left top, right bottom, from(#FFED9E), to(#fff)); 
}
