.vote-block {
  margin: 0 10px 0 0;
  float: left;
  vertical-align: middle;
  position: relative;
}
.vote-block .rating-info {
  position: absolute;
  bottom: -40px;
  font-size: 12px;
  padding: 5px;
  border: 1px solid;
  border-radius: 4px;
  background-color: #E8E9BE;
  display: none;
	z-index: 100;
}
.vote-block span.rating-text {
font-size: 14px;
display: block;
float: left;
margin-left: 5px;
margin-top:5px
}
.vote-block .rating {
  list-style: none;
  margin: 0 10px 0 0;
  padding: 0;
  height: 17px;
  float: left;
  vertical-align: middle;
  background: none !important;
}
.vote-block .rating:hover li {
  background-image: url("images/stars.png");
}
.vote-block .rating li {
 display: block;
width: 22px;
height: 22px;
float: right;
text-indent: -9999px;
cursor: pointer;
margin-bottom: 0px !important;
}
.vote-block .rating li:hover,
.vote-block .rating li:hover ~ li {
  background-position: 0 -24px;
}
.vote-block.disabled .rating li.current {
  display: block;
  z-index: 10;
}
.vote-block .rating li.active,
.vote-block .rating li.active ~ li {
  background-position: 0 -45px;
}
.vote-block li.current {
  display: none;
}
.vote-block ol.show-current {
position: relative;
padding: 0px !important;
margin: 3px 0px 0px 0px !important;
}
.vote-block ol.show-current li {
  z-index: 2;
  position: relative;
}

.vote-block.disabled ol.show-current li {
  cursor: default;
}
.vote-block ol.show-current li.current {
  position: absolute;
top: 0;
left: 0;
display: block;
width: 100%;
z-index: 1;
background-position: 0 0;
background-repeat: repeat-x;
background-image: url("images/stars.png");
}
.vote-block ol.show-current li.current span {
  display: block;
  height: 22px;
  width: 0;
  background: inherit;
  background-position: 0 -24px;
}

.vote-block-overlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
	background: linear-gradient(to bottom, rgba(255,187,0,0.65) 0%, rgba(47,152,80,0.65) 100%);
    z-index: 9999;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.vote-block-overlay > div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: auto;
    text-align: center;
    color: black;
	background-color: white;
	padding: 20px;
	width: 360px;
}
.vote-block-overlay > div > *:nth-child(1n) {
  display: block;
}

.vote-block-overlay > div > textarea {
  margin-bottom: 10px;
}

.bx_bt_submit {
	background: #146e38;
	color: #fff;
	display: inline-block;
	border-radius: 12px;
	text-align: center;
	text-decoration: none;
	font-size: 14px;
	cursor: pointer;
	padding: 6px 12px;
	box-shadow: 0px 3px 4px -1px rgba(0, 0, 0, 0.75);
	border: none;
	float: left;
}
.bx_bt_submit:hover {
	background: #2f9851;
}
.comment-close {
	position: absolute;
	top: 0px;
	right: -26px;
	width: 26px;
	height: 26px;
	cursor: pointer;
	z-index: 8040;
	background-image: url(/local/templates/.default/components/citfact/catalog.section/fact_section/images/fancybox-close.png);
}
.votes_hint {
	background: #efa020;
	color: #fff;
	text-align: center;
	padding: 30px 15px 30px 15px;
	width: 210px;
	position: absolute;
	z-index: 2;
	top: -50px;
	left: -6px;
	opacity: 0;
	display: none;
	border-radius: 20px;
	box-shadow: 0 3px 5px rgba(0,0,0,0.3);
}

.votes_hint b {
	display: block;
	width: 180px;
	height: 29px;
	background: url(images/hvostik.png) 50% 0 no-repeat;
	position: absolute;
	bottom: -29px;
}

.hint_close {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 2px;
	height: 18px;
	width: 18px;
	overflow: hidden;
	border-radius: 9px;
	/*background: #FFF062;*/
	opacity: 1;
	text-shadow: none;
	float: none;
	color: white;
	text-decoration: none;
	font: bold 13px/14px Arial, sans-serif;
}

.hint_close:hover {
	color: #146e38;
}

@media (max-width: 400px) {
	.vote-block span.rating-text {
		margin-top: 35px;
		float: unset;
	}
}
