/* component */
.star-rating-wrapper {
    margin-bottom: 24px;
}

.star-rating-wrapper .inline-block {
    display: inline-block;
}

.star-rating-wrapper .results-label {
    font-weight: bold;
    font-size: 20px;
}

.star-rating {

    display: inline-flex;
    flex-direction: row-reverse;
    font-size: 1.5em;
    justify-content: space-around;
    padding: 0 .2em;
    text-align: center;
    width: 7em;
}

.star-rating input {
    display: none;
}

.star-rating label {
    color: #ccc;
    cursor: pointer;
}

@media (max-width: 768px) {
    .star-rating-wrapper.vote {
        margin-left: 15px;
    }

    .star-rating.results {
        margin-left: 20px;
    }
}

.star-rating.results label {
    cursor: auto;
}

.star-rating :checked ~ label {
    color: #f90;
}

.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #f90;
}

.star-rating.results label:hover,
.star-rating.results label:hover ~ label {

}

.star-rating.results label.star,
.star-rating.results label.star ~ label {
    color: #ccc;
}

.star-rating.results label.star-active.star,
.star-rating.results label.star-active.star ~ label {
    color: #f90;
}

.star-rating.results label.star-active.star:hover,
.star-rating.results label.star-active.star:hover ~ label {

}

.star-rating-submit {
    display: inline-block;
}

.star-rating-wrapper.results {
    display: none;
}

.star-rating.submit.button:disabled {
    background: #ccc;
}

.star-rating.submit.button,
.star-rating.submit.button i {
    font-size: 18px;
}

.star-rating.submit.button {
    height: 30px;
}

.star-rating.submit.button .loading {
    display: none;
}

.star-rating.submit.button .text {
    display: block;
}

.star-rating.submit.button.disabled:disabled .loading {
    display: block;
}

.star-rating.submit.button.disabled:disabled .text {
    display: none;
}

