/**
 * @file
 * AI rating styles
 */
.star-wrap {
  display: flex;
}

.star {
  margin: 5px;
  font-size: 0;
  width: 15px;
  height: 14px;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: transparent;
  border: none;
  background-image: url(img/star.svg);
}

.star-wrap.star-rating-1 .star:nth-child(-n+1),
.star-wrap.star-rating-2 .star:nth-child(-n+2),
.star-wrap.star-rating-3 .star:nth-child(-n+3),
.star-wrap.star-rating-4 .star:nth-child(-n+4),
.star-wrap.star-rating-5 .star:nth-child(-n+5),
.star:hover {
  background-image: url(img/star-selected.svg);
}

.rating-select {
  display: none;
}
