/* Star Rating Base */
.yasr-star-rating {
    width: 0;
    position: relative;
    display: inline-block;
    background-position: 0 0;
    background-repeat: repeat-x;
    vertical-align: bottom;
}

.yasr-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;
    border-radius: 5px;
    box-shadow: 0 0 4px #222;
    background: linear-gradient(to bottom, #eeeeee, #cccccc);
}

.yasr-star-rating .yasr-star-value {
    position: absolute;
    height: 100%;
    width: 100%;
    background-repeat: repeat-x;
}

.yasr-star-rating::before,
.yasr-star-value::before {
    content: none !important;
}

/* General Rules */
.yasr-auto-insert-overall,
.yasr-auto-insert-visitor {
    margin-top: 10px;
}

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

#yasr_visitor_votes,
.yasr-total-average-text {
    display: inline-block;
    font-size: small;
}

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

.yasr-total-average-text-medium,
.yasr-small-block-bold,
.yasr-highest-rated-text {
    display: block;
}

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

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

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

.yasr-multiset-average-text {
    vertical-align: super;
}

/* Widgets */
.yasr-widget-recent-ratings-table,
.yasr-widget-recent-ratings-td {
    border: none;
}

.yasr-widget-recent-ratings-text {
    font-weight: bold;
}

/* Progress Bars */
#yasr-medium-rating-tooltip {
    font-size: 14px;
}

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

.yasr-progress-bar-row-container {
    padding: 2px 5px 0 5px !important;
    display: block !important;
}

.yasr-progress-bar-name {
    float: left;
    width: 20% !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    text-align: center !important;
    display: inline-block !important;
}

.yasr-single-progress-bar-container {
    width: 70% !important;
    float: left;
}

.yasr-progress-bar {
    display: inline-block !important;
}

.yasr-progress-bar-votes-count {
    width: 10%;
    float: right;
    text-align: right;
    font-size: 14px !important;
    display: inline-block !important;
}

/* Tooltip Styling */
.yasr-visitors-stats-tooltip,
.tippy-tooltip.yasr-theme {
    background-color: white;
    text-align: center;
    color: #0a0a0a;
}

.tippy-tooltip.yasr-theme {
    border: 1px solid #aaaaaa;
}

.tippy-roundarrow {
    fill: #aaa !important;
}

/* Utility Classes */
.yasr-w3-container:after,
.yasr-w3-container:before {
    content: "";
    display: table;
    clear: both;
}

.yasr-w3-border-0 {
    border: 0 !important;
}

.yasr-w3-border {
    border: 1px solid #ccc !important;
    background: linear-gradient(to bottom, #eee, #f6f6f6);
}

.yasr-w3-border-top {
    border-top: 1px solid #ccc !important;
}

.yasr-w3-border-bottom {
    border-bottom: 1px solid #ccc !important;
}

.yasr-w3-border-left {
    border-left: 1px solid #ccc !important;
}

.yasr-w3-border-right {
    border-right: 1px solid #ccc !important;
}

.yasr-w3-amber,
.yasr-w3-hover-amber:hover {
    color: #000 !important;
    background: linear-gradient(to bottom, #ffda44, #f1cb32);
    background-color: #ffce00;
}
