/**
 * http://new-dev.ru/
 * author GoldSoft <newdevexpert@gmail.com>
 * Copyright (c) New-Dev.ru
 */

/* element separation */
.sepH_a {margin-bottom:5px!important}
.sepH_b {margin-bottom:10px!important}
.sepH_c {margin-bottom:20px!important}

.sepV_a {margin-right:5px!important}
.sepV_b {margin-right:10px!important}
.sepV_c {margin-right:20px!important}

.ratings .stars {
	position: relative;
	height: 15px;
	width: 91px;
	min-width: 91px;
    margin-bottom: 5px;
}
.ratings .star-grey, .ratings .star-gold{
	height: 15px;
	width: 91px;
	background: url(/engine/modules/postreviews/site/images/stars.png) no-repeat;
	position: absolute;
	z-index: 1
}
.ratings .star-gold{
	z-index: 2;
	-webkit-filter: hue-rotate(185deg);
	-moz-filter: hue-rotate(185deg);
	filter: hue-rotate(185deg);
}
.ratings .star-grey {
	background-position: 0 -19px;
}



/* set direction to row-reverse so 5th star is at the end and ~ can be used to fill all sibling stars that precede last starred element*/
.star-container {
	display: flex;
	flex-direction: row-reverse;
	justify-content: left;
	padding: 10px 0;
}
#postreviews_multirating_wrap .star-container,
#postreviews_multirating_result_wrap .star-container {
	justify-content: right;
}


.star-container.pr-comment-rating,
#postreviews_multirating_result_wrap .star-container {
	flex-direction: row;
}
.star-container.pr-comment-rating svg,
#postreviews_multirating_result_wrap .star-container svg {
	fill: #1394E6;
	width: 30px;
}
.star-container.pr-comment-rating svg {
	width: 15px;
}
.star-container.pr-comment-rating .svg-box,
#postreviews_multirating_result_wrap .star-container .svg-box {
	position: relative;
}
.star-container.pr-comment-rating .pr-cover,
#postreviews_multirating_result_wrap .star-container .pr-cover {
	background: white;
	height: 100%;
	overflow: hidden;
	mix-blend-mode: color;
	position: absolute;
	top: 0;
	right: 0;
}
#postreviews_multirating_wrap .star-container input[type="radio"] {
	margin-left: 0px;
}


.star-container .pr-caption {
	padding: 0.4rem 1rem 0.4rem 0;
}

.star-container label {
	cursor: pointer;
}

.star-container svg {
	width: 2rem;
	height: 2rem;
	padding: 0.01rem;
}

/* hide radio buttons */
.star-container input[type="radio"] {
	display: inline-block;
	width: 0;
	opacity: 0;
	margin-left: -2px;
}

/* set initial color to transparent so fill is empty*/
.star-container .star {
	color: transparent;
	transition: color 0.2s ease-in-out;
}

.star-container label:hover ~ label .star,
.star-container svg.star:hover,
.star-container input[type="radio"]:focus ~ label .star,
.star-container input[type="radio"]:checked ~ label .star {
	color: #6CAFFF;
}

.star-container input[type="radio"]:checked + label .star {
	animation: starred 0.5s;
}

.star-container input[type="radio"]:checked + label {
	animation: scaleup 1s;
}

/* hide source svg */
.star-source {
	width: 0;
	height: 0;
	visibility: hidden;
}

@keyframes scaleup {
	from {
		transform: scale(1.2);
	}
	to {
		transform: scale(1);
	}
}

@keyframes starred {
	from {
		color: #3394E6;/*3394E6*/
	}
	to {
		color: #6CAFFF;
	}
}


.pr-header-box {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 50px;
}
.pr-header-box .pr-header-title {
	font-size: 18px;
	font-weight: bold;
}
.pr-header-box svg {
	width: 20px;
	height: 20px;
}
.pr-header-box .header-votes-count {
	font-size: 0.9em;
}

.multirating-item-avg {
	font-weight: bold;
	font-family: Georgian,Helvetica,Arial,sans-serif;
}