.star-rating {
    width: 0;
    position: relative;
    display:inline-block;
    background-image: url(../img/star_0.svg);
    background-position: 0 0;
    background-repeat: repeat-x;
}

.star-rating[data-title]:hover:after {
    content: attr(data-title);
    padding: 4px 8px;
    color: #333;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 20;
    white-space: nowrap;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0px 0px 4px #222;
    -webkit-box-shadow: 0px 0px 4px #222;
    box-shadow: 0px 0px 4px #222;
    background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
    background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #eeeeee),color-stop(1, #cccccc));
    background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
    background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
    background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
    background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
}

.star-rating .star-value {
    height: 100%;
    position: absolute;
}

.star-rating .star-value {
    position: absolute;
    height: 100%;
    width: 100%;
    background: url('../img/star_1.svg') ;
    background-repeat: repeat-x;
}




/****** Rate it rules *****/

.rateit {
    display: -moz-inline-box;
    display: inline-block;
    position: relative;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}


/*.rateit .rateit-range * {
    display:block;
}*/

/* for IE 6 */
* html .rateit, * html .rateit .rateit-range
{
    display: inline;
}

/* for IE 7 */
* + html .rateit, * + html .rateit .rateit-range
{
    display: inline;
}

.rateit .rateit-hover, .rateit .rateit-selected
{
    position: absolute;
    left: 0px;
}

.rateit .rateit-range
{
    position: relative;
    display: -moz-inline-box;
    display: inline-block;
    height: 16px;
    outline: none;
    vertical-align: -5px;
}


/* Creating set 24px image . */

div.medium .rateit-range
{
    /*White*/
    width: 24px;
    height: 24px;
}

div.medium .rateit-hover
{
    /*Red*/
    width: 24px;
    height: 24px;
    display: none

}

div.medium .rateit-selected
{
    /*Yellow*/
    width: 24px;
    height: 24px;
}

/* Creating set 32 */

div.bigstars .rateit-range
{
    /*White*/
    width: 32px;
    height: 32px;
}

div.bigstars .rateit-hover
{
    /*red*/
    width: 32px;
    height: 32px;
    display: none
}

div.bigstars .rateit-selected
{
    /*Gold*/
    width: 32px;
    height: 32px;
}


.rateit button.rateit-reset
{
    background: url('../img/delete.gif') 0 0;
    width: 16px;
    height: 16px;
    display: -moz-inline-box;
    display: inline-block;
    float: left;
    outline: none;
    border:none;
    padding: 0;
}

.rateit button.rateit-reset:hover, .rateit button.rateit-reset:focus
{
    background-position: 0 -16px;
}


/*** Rate it font ***/

.rateit-font {
    font-size: 24px;
    line-height: 1em;
}

.rateit-font .rateit-range {
    background: none;
    height: auto;
}

.rateit-font .rateit-empty {
    color: #ccc;
}

.rateit-font .rateit-range > div {
    background: none;
    overflow: hidden;
    cursor: default;
}

.rateit.rateit-font .rateit-reset {
    font-size: inherit;
    background: none;
    width: 0.6em;
    height: 0.6em;
    margin-top: 0.2em;
    background: gray;
    border-radius: 50%;
    position: relative;
}

.rateit.rateit-font .rateit-reset span {
    display: block;
    font-weight: bold;
    color: white;
    height: calc(50% - 0.045em);
    top: 0;
    position: absolute;
    border-bottom: 0.09em solid white;
    width: 72%;
    margin-left: 14%;
}


.rateit.rateit-font .rateit-reset:hover, .rateit.rateit-font button.rateit-reset:focus {
    background: #e6574b; /* Old browsers */
    background: radial-gradient(ellipse at center, #e6574b 55%,#f6836b 77%,#f9d3cc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    background-position: 0 0;
}

/*** RTL RULES, thank's to Arik Numlock ***/

.rateit .rateit-hover.rateit-hover-rtl, .rateit .rateit-selected.rateit-selected-rtl {

    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);

    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
    right: 0;
    left: auto;

}

/****** End rateit rules ******/




/****** NON ADMIN RULES ******/

.yasr_schema{
    font-size: small;
}

#yasr-custom-text-before-overall {
    display: block;
    padding-right: 15px;
    vertical-align: top;
}

#yasr-custom-text-before-visitor-rating {
    display: block;
    padding-right: 15px;
    vertical-align: top;
}

.yasr-container-custom-text-and-visitor-rating {
    /**/
}

#yasr-custom-text-before-visitor-rating {
    display: block;
    vertical-align: top;
    padding-right: 15px;
}

#yasr_visitor_votes {
    font-size: small;
    display: inline-block;
}

.yasr-total-average-text {
    display: inline-block;
}

.yasr-dashicons-visitor-stats {
    vertical-align: bottom !important;
    text-decoration: none;
    cursor: pointer;
}

.yasr-total-average-text-medium {
    display: block;
}

.yasr-small-block-bold {
    display: block;
    font-weight: bold;
    font-size: 12px;
}

.yasr-highest-rated-text{
    display: block;
}

.yasr-loader-multiset-visitor {
    display: none;
}

.yasr-multiset-average {
    text-align: center;
}



/*** Widgets ***/

.yasr-widget-recent-ratings-table {

    border: none;

}

.yasr-widget-recent-ratings-td {

    border: none;

}

.yasr-widget-recent-ratings-text {

    font-weight: bold;

}


/***  Progress bar, this class are used in
yasr_pro_comment_reviews_stats shortcode too***/

.yasr-progress-bars-container {
    width: 100%;
}

.yasr-progress-bar-row-container {
    padding-top: 2px;
    padding-left: 10px;
    padding-right: 10px;
    display: block;
}

.yasr-progress-bar-name {
    width: 55px;
    font-size: 100%;
    line-height: 1.5;
    text-align: left;
    display: inline-block;
}

.yasr-progress-bar {
    display: inline-block;
    width: 100px;
    height: 17px !important;
    border: 0px !important;
    border-bottom-left-radius: 0px !important;
    border-top-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    border-top-right-radius: 0px !important;
    margin-right: 5px;
    margin-bottom: -2px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.4), inset 0 0 0 1px rgba(0,0,0,.1);
}

/*I must use this to remove radius on top left.*/

.yasr-progress-bar > .ui-progressbar-value {
    border-bottom-left-radius: 0px !important;
    border-top-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    border-top-right-radius: 0px !important;
    background: linear-gradient(to bottom,#ffce00,#ffa700);
    background-color: #ffce00;
    box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,.25);
}

.yasr-progress-bar-votes-count {
    min-width: 45px;
    font-size: 100%;
    display: inline-block;
}


/*** End progress bar ***/


/*** Tooltip ***/

.yasr-visitors-stats-tooltip {
    min-width:200px;
    text-align: center;
}

/*** Tooltip ***/