/**
 * Star Ratings - Display Only
 *
 * Pure CSS. No floats or bidi. Simple em-based sizing.
 *
 * http://codepen.io/cdillon/pen/vXNbBw
 *
 * Based on Pure CSS Star Rating Widget by James Barnett
 * http://codepen.io/jamesbarnett/pen/vlpkh
 *
 * TODO Action Hook
 */

.strong-rating-wrapper {}

/* the fieldset */
.strong-rating {
	border: none;
	display: inline-block;
}


/* the stars */

.strong-rating div.star { display: inline-block; }

.strong-rating div.star:before {
	font-family: FontAwesome;
	content: "\f005";
	display: inline-block;
	font-size: 1.25em;
	line-height: 1.75;
	/* use padding not margin */
	padding: 5px;
	transition: color 0.3s ease;
}

.strong-rating div.star:hover { cursor: default; }


/* fieldset tweaks */

/* in a form */
.strong-rating-wrapper.in-form .strong-rating {
	padding: 0;
}

/* in a view */
.strong-rating-wrapper.in-view .strong-rating {
	margin: 0;
	padding: 0;
}

/* in the post editor */
.strong-rating-wrapper.in-metabox {
	display: inline-block;
	margin-right: 5px;
}

.strong-rating-wrapper.in-metabox .strong-rating {
	padding-top: 0;
}

.strong-rating-wrapper.in-metabox .strong-rating div.star:before {
	font-size: 1.5em;
	line-height: 1;
}

.strong-rating-wrapper.in-table-list .strong-rating div.star:before {
	/* use padding not margin */
	padding: 1px;
}


/* the magic */

/* this is how we highlight stars before the checked one (siblings before): */

/* hide the first label because our rating may be zero */
.strong-rating div.star0 { display: none; }

/* and turn all on */
.strong-rating div.star:before { color: #FFB900; }

/* then turn off stars after the current rating */
.strong-rating div.current ~ div.star:before { color: #DDD; }

/* and turn on the current rating */
.strong-rating div.current:before { color: #FFB900; }
