/* 
 * Review form
 */

 .stars {
	overflow: hidden;
	width: 100% !important;
	max-width: 320px !important;
	margin: 0 auto;
	position: relative;
}

/* active */
.stars input[type=radio]:checked ~ label:after {
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 151.10529 143.55' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 28.961843,143.55 75.552635,0 122.14343,143.55 0,54.775662 h 151.10528' fill='%23f5821f'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: 100% 100%;
}

.stars input[type=radio] {
	margin: 0;
    position: absolute;
    top: 24px;
    left: 23px;
}

.stars:hover input[type=radio]:checked ~ label:after,
.stars label:after {
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 151.10529 143.55' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 28.961843,143.55 75.552635,0 122.14343,143.55 0,54.775662 h 151.10528' fill='%23c6c6c6'/%3E%3C/svg%3E");
}

.stars label {
	box-sizing: border-box;
	width: 20%;
	padding-right: 2%;
	height: 100%;
	float: right;
	cursor: pointer;
	position: relative;
	z-index: 10;
}

.stars label:after {
	display: block;
	content: "";
	height: 60px;
	width: 100%;
	float: right;
	transition: all 0.25s;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 151.10529 143.55' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 28.961843,143.55 75.552635,0 122.14343,143.55 0,54.775662 h 151.10528' fill='%23c6c6c6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: 100% 100%;
}


/* hover */
.stars label:hover:after,
.stars label:hover ~ label:after {
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 151.10529 143.55' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 28.961843,143.55 75.552635,0 122.14343,143.55 0,54.775662 h 151.10528' fill='%23f5821f'/%3E%3C/svg%3E");
}


/* 
 * Average rating 
 */

.block-mm-review .content {
	height: 100%;
}

.avg-score {
	color: #f5821f;
	font-size: 30px;
}

.star-avg {
	box-sizing: border-box;
	width: 20%;
	padding-right: 2%;
	height: 100%;
	float: left;
	position: relative;
	z-index: 10;
}

.star-avg:after {
	display: block;
	content: "";
	height: 100px;
	width: 100%;
	float: right;
	transition: all 0.25s;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 151.10529 143.55' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 28.961843,143.55 75.552635,0 122.14343,143.55 0,54.775662 h 151.10528' fill='%23c6c6c6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: 100% 100%;
}

/* active */
.star-avg.active:after {
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 151.10529 143.55' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 28.961843,143.55 75.552635,0 122.14343,143.55 0,54.775662 h 151.10528' fill='%23f5821f'/%3E%3C/svg%3E");
}


@media (max-width: 420px) { 
	/*.star-avg:after {
		height: 80px;
	}*/

	.stars label:after{
		height: 60px;
	}

	.avg-score {
	    font-size: 1.5rem;
	}
}