/* General Style */
.rating_form {
	display: inline-block;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.rating_form.cursor .item {
	cursor: pointer;
}
.rating_form.update {
	opacity: 0.5;
}
.rating_form .item.spinner,
.rating_form .item.spinner.hover {
	color: #555;
}
.rating_form .item {
	float: left;
	list-style: none !important;
	margin: 0;
	padding: 0 5px 0 0;
	line-height: .8em;
	color: #ffd700;
	font-size: 32px;
	border: 0;
	width: auto;
}
.rating_form .item img {
	width: 32px;
	height: 32px;
	border: 0;
	box-shadow: none;
}
.rating_form .item.hover {
	color: #ff7f00;
}
.rating_form .item *,
.rating_form .item:before {
	vertical-align: middle;
}
.rating_form .def {
	float: left;
	list-style: none !important;
	background-color: #dddddd;
	padding: 7px 5px;
	margin: 0 5px 0 0;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	line-height: 1em;
	color: #777777;
	font-size: 18px;
	width: auto;
}
.rating_form .def:last-child {
    margin-right: 0 !important;
}
/* If stats enabled */
.rating_form.stats_on .rating_total:hover {
	cursor: pointer;
	font-weight: bold;
}
/* Messages */
.rating_form .thankyou {
	background-color: #cffa90 !important;
	color: #51711a !important;
}
.rating_form .rated {
	display: none;
	background-color: #faf190 !important;
	color: #716d1a !important;
}
/* TuD */
.rating_form .up_rated {
	color: #59d600;
}
.rating_form .up_rated.hover {
	color: #0e8b00;
}
.rating_form .up_rated_txt {
	background-color: #bdffaf;
	color: #0e8b00;
}
.rating_form .down_rated {
	color: #d60000;
}
.rating_form .down_rated.hover {
	color: #b80000;
}
.rating_form .down_rated_txt {
	background-color: #ffb0b0;
	color: #b80000;
}
/* Tooltip */
.rating_form .tooltip {
	position: absolute;
	display: block;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	padding: 10px;
	line-height: 1em;
	text-align: center;
	color: #ffffff;
	background: #000000;
	font-size: 13px;
	top: 40px; /* Set height between icon and tooltip in px  */
	z-index: 2;
	opacity: 1;
}
.rating_form .tooltip:after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	width: 0;
	height: 0;
	margin-left: -6px;
	border-top: 6px solid #000000;
	border-right: 6px solid transparent;
	border-left: 6px solid transparent;
}
/* Static Titles */
.rating_form .title {
	color: #555555;
	font-size: 14px;
	font-weight: bold;
	padding-left: 5px;
}
/* Rating Stats */
.rating_form_wrap .rating_stats {
	display: none;
	position: absolute;
	background-color: #ffffff;
	border: 1px solid #9b9b9b;
	font-size: 13px;
	color: #777777;
	box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
	padding: 0;
	z-index: 1;
}
.rating_form_wrap .rating_stats table {
    width: 100%;
}
.rating_form_wrap .rating_stats .rf_stats_header {
	background-color: #c7c7c7;
	color: #595959;
	padding: 5px 5px 5px 10px;
	font-weight: bold;
	border-bottom: 1px solid #9b9b9b;
	line-height: 1.7;
	height: auto;
	text-align: left;
}
.rating_form_wrap .rating_stats .rf_stats_close {
	display: inline-block;
	background-color: #ff5a5a;
	color: #ffffff;
	padding: 0 5px;
	margin-left: 5px;
	font-weight: bold;
	float: right;
}
.rating_form_wrap .rating_stats .rf_stats_close:hover {
	background-color: #ca1818;
	cursor: pointer;
}
.rating_form_wrap .rating_stats table {
	border-collapse: collapse;
	margin: 0 !important;
	padding: 0;
	border: 0 !important;
}
.rating_form_wrap .rating_stats table th {
	padding: 3px 10px;
	background: #dfdfdf;
	color: #777777;
	font-weight: bold;
	border-bottom: 1px solid #bababa;
	border-right: 1px solid #bababa;
	text-transform: uppercase;
	font-size: 11px;
	line-height: 2;
}
.rating_form_wrap .rating_stats table th:last-child {
	border-right: 0;
}
.rating_form_wrap .rating_stats tbody td {
	padding: 5px;
	border-top: 0;
	text-align: center;
	font-weight: bold;
	font-size: 14px;
	border-right: 1px solid #e2e2e2;
	line-height: 2;
}
.rating_form_wrap .rating_stats tbody td:last-child {
	border-right: 0;
}
/* Edit rating button */
.rating_form_wrap .edit_rating {
	color: #000 !important;
    float: left;
    margin: 0 5px 0 0 !important;
    cursor: pointer;
}
/* If rating Stats is active */
.rating_form .rating_stats_active .rating_total {
	font-weight: bold;
}
/* Top Rating Results Widget */
.rf_top_ratings_widget a {
	display: block;
	overflow: hidden;
	text-decoration: none;
}
.rf_top_ratings_widget .rf_place {
	font-weight: bold;
	padding-right: 5px;
}
.rf_top_ratings_widget .rf_avg_rating {
	padding-left: 5px;
}
.rf_top_ratings_widget .rf_post_content {
	display: block;
}
.rf_top_ratings_widget .rf_post_image {
	float: left;
    margin: 5px 10px 0 0;
}
.rf_top_ratings_widget .rf_widget_list {
	list-style-type: none;
	padding: 0;
}
.rf_top_ratings_widget .rf_widget_list li {
	margin: 0;
	overflow: hidden;
}
.rf_top_ratings_widget .rf_widget_list li span {
	margin: 0;
}
.rf_top_ratings_widget .rf_widget_list .rating_form li {
	font-size: 13px;
}
.rf_top_ratings_widget .rf_widget_list li .rating_form img {
	width: 13px;
	height: 13px;
}
.rf_top_ratings_widget .rf_widget_list li [class^="rating_form_"] {
	vertical-align: middle;
}
/* TuD */
.rf_top_ratings_widget .rf_widget_list li .rating_form .up_rated,
.rf_top_ratings_widget .rf_widget_list li .rating_form .down_rated {
	font-size: 16px;
}
.rf_top_ratings_widget .rf_widget_list li .rating_form .up_rated_txt {
	font-size: 10px;
	padding: 3.5px;
}
.rf_top_ratings_widget .rf_widget_list li .rating_form .down_rated_txt {
	font-size: 10px;
	margin-right: 0;
	padding: 3.5px;
}
.rf_top_ratings_widget .rf_widget_list li .rating_form .item:last-child {
	padding-right: 0;
}
/* Rating Form Total */
.rf_total {
	margin-top: 1em;
	display: inline-block;
	color: #777;
	font-size: 1.2em;
	line-height: 1em;
	padding: 10px 15px;
	text-align: center;
	background: #ddd;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}
/* User Stats */
.rf_user_stats {
	border-top: 1px solid #e2e2e2;
}
.rf_user_stats .rf_user_stats_header {
	line-height: 1;
	font-size: 12px;
	padding: 5px 10px;
	border-bottom: 1px solid #e2e2e2;
	background-color: #f8f8f8;
}
.rf_user_stats .rf_user_stats_header .rf_stats_close {
    margin-top: -2px;
    margin-right: -5px;
    padding: 2px 5px !important;
	float: none !important;
}
.rf_user_stats .user_stats_name {
	display: block;
    font-size: 12px;
    font-weight: normal;
    color: #757575;
}
.rf_user_stats .user_stats_name.name_left {
	text-align: left;
    padding: 0 5px;
}
.rf_user_stats tr {
	border-bottom: 1px solid #e2e2e2;
}
.rf_user_stats tr:last-child {
	border-bottom: none;
}
/* Results */
.rf_results {
	display: inline-block;
}
.rf_results table {
	border-collapse: collapse;
	border: 0 !important;
	margin: 0 !important;
}
.rf_results table td {
	border: 0;
	padding: 0;
    padding-bottom: 5px;
	vertical-align: middle;
	line-height: 1;
    font-size: 13px;
}
.rf_results table tr:last-child td {
    padding-bottom: 0;
}
.rf_results .rf_results_outer {
	margin: 0 10px;
}
/* Spinner */
@-moz-keyframes cyto-spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes cyto-spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes cyto-spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }
.cyto-spin {
    -webkit-animation: cyto-spin 2s linear infinite;
    -moz-animation: cyto-spin 2s linear infinite;
    animation: cyto-spin 2s linear infinite;
	padding: 0 !important;
}
/* Text Widget */
.textwidget .rating_form_wrap .item {
	line-height: 0.8em;
	font-size: 32px;
	margin: 0;
}
.textwidget .rating_form_wrap .def {
	line-height: 1em;
	font-size: 18px;
	margin: 0 5px 0 0;
}