
.ratings-wrapper
{
    display: inline-block;
    margin: .2rem;
    text-align: center;
    position: relative;
    line-height: 1rem;
    cursor: pointer;
    text-decoration: none;
}

.ratings-wrapper .info,
.ratings-wrapper .request
{
    font-size: .75rem;
    line-height: .75rem;
    transition: opacity 0.3s;
}

.ratings-wrapper .info
{
    opacity: 1;
}

.ratings-wrapper .request
{
    position: absolute;
    bottom: 0;
    display: block;
    white-space: nowrap;
    opacity: 0;
    left: 50%;
    transform: translateX(-50%);
}

.ratings-wrapper:hover .request
{
    opacity: 1;
}

.ratings-wrapper:hover .info
{
    opacity: 0;
}

.ratings-wrapper .stars
{
    display: inline-block;
    position: relative;
    text-align: left;
    line-height: 1rem;
}

.stars > div.grey > div
{
    background-color: grey;
}

.stars > div.gold > div
{
    background-color: #F5AE0A;
}

.stars > div.grey,
.stars .gold
{
    white-space: nowrap;
    overflow: hidden;
}

.stars .gold
{
    position: absolute;
    width: 50%;
    top: 0;
    left: 0;
}

.stars > div > div {
    width: 1.5rem;
    height: 1.5rem;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    display: inline-block;
}