.rating-dynamic {
  display: block;
  height: 65px;
  max-width: 375px; }
  .rating-dynamic .rating-dynamic__header {
    font-size: 16px;
    letter-spacing: 0;
    line-height: 25px;
    display: block;
    margin-bottom: 10px;
    max-width: 375px; }

.ratings {
  float: left;
  position: relative; }
  .ratings__input {
    display: none; }
    .ratings__input:checked + .icon svg {
      -webkit-animation: grow 0.5s;
      animation: grow 0.5s; }
  .ratings__description {
    font-size: 20px;
    letter-spacing: 0;
    line-height: 30px;
    opacity: 0;
    left: 0;
    margin-top: 5px;
    pointer-events: none;
    position: absolute;
    top: 30px;
    white-space: nowrap; }
  .ratings .icon {
    float: right;
    line-height: 30px;
    height: 30px;
    padding-left: 15px;
    width: 30px; }
    .ratings .icon:last-of-type {
      padding-left: 0; }
    .ratings .icon:hover + .ratings__description {
      opacity: 1;
      -webkit-transition: ease-in-out 0.2s;
      transition: ease-in-out 0.2s; }
  .ratings__input:checked + .icon + .ratings__description,
  .ratings .icon:hover + .ratings__description {
    opacity: 1;
    -webkit-transition: ease-in-out 0.2s;
    transition: ease-in-out 0.2s; }
  .ratings svg,
  .ratings:hover .ratings__input:checked ~ .icon svg {
    fill: #d7d7d7;
    -webkit-transition: ease-in-out 0.2s;
    transition: ease-in-out 0.2s; }
  .ratings__input:checked ~ .icon svg,
  .ratings:hover .ratings__input:checked ~ .icon:hover svg,
  .ratings:hover .icon:hover svg,
  .ratings:hover .icon:hover ~ .icon svg {
    fill: #2175d9; }
  .ratings:hover .ratings__input:checked ~ .icon:hover svg,
  .ratings:hover .icon:hover svg,
  .ratings:hover .icon:hover ~ .icon svg {
    cursor: pointer;
    -webkit-transition: ease-in-out 0.2s;
    transition: ease-in-out 0.2s; }
  .ratings:hover .ratings__input:checked + .icon + .ratings__description {
    visibility: hidden;
    opacity: 0;
    -webkit-transition-duration: 0.1s;
    transition-duration: 0.1s; }
  .ratings:hover .ratings__input:checked + .icon:hover + .ratings__description {
    visibility: visible;
    opacity: 1;
    -webkit-transition-duration: 0.1s;
    transition-duration: 0.1s; }
  .ratings label span {
    pointer-events: none; }

.bg-variant-brand-primary .ratings .icon svg,
.bg-variant-brand-primary .ratings:hover .ratings__input:checked ~ .icon svg {
  fill: var(--color-white-alpha-30); }

.bg-variant-brand-primary .ratings__input:checked ~ .icon svg,
.bg-variant-brand-primary .ratings:hover .ratings__input:checked ~ .icon:hover svg,
.bg-variant-brand-primary .ratings:hover .icon:hover svg,
.bg-variant-brand-primary .ratings:hover .icon:hover ~ .icon svg {
  fill: var(--color-white); }

.bg-variant-brand-tertiary .ratings .icon svg,
.bg-variant-brand-tertiary .ratings:hover .ratings__input:checked ~ .icon svg {
  fill: var(--color-gray-20); }

.bg-variant-brand-tertiary .ratings__input:checked ~ .icon svg,
.bg-variant-brand-tertiary .ratings:hover .ratings__input:checked ~ .icon:hover svg,
.bg-variant-brand-tertiary .ratings:hover .icon:hover svg,
.bg-variant-brand-tertiary .ratings:hover .icon:hover ~ .icon svg {
  fill: var(--color-brand-primary); }

.bg-variant-white .ratings .icon svg,
.bg-variant-white .ratings:hover .ratings__input:checked ~ .icon svg {
  fill: var(--color-gray-20); }

.bg-variant-white .ratings__input:checked ~ .icon svg,
.bg-variant-white .ratings:hover .ratings__input:checked ~ .icon:hover svg,
.bg-variant-white .ratings:hover .icon:hover svg,
.bg-variant-white .ratings:hover .icon:hover ~ .icon svg {
  fill: var(--color-brand-primary); }

.bg-brand--blue .rating-dynamic__header {
  color: #fff; }

.bg-brand--blue .ratings svg,
.bg-brand--blue .ratings:hover .ratings__input:checked ~ .icon svg {
  fill: rgba(247, 245, 240, 0.5); }

.bg-brand--blue .ratings__input:checked ~ .icon svg,
.bg-brand--blue .ratings:hover .ratings__input:checked ~ .icon:hover svg,
.bg-brand--blue .ratings:hover .icon:hover svg,
.bg-brand--blue .ratings:hover .icon:hover ~ .icon svg {
  fill: #fff; }

.bg-brand--blue .ratings__description.text--alternative {
  color: #fff; }

@media (min-width: 375px) {
  .ratings__description {
    left: 100%;
    margin-left: 20px;
    margin-top: 0;
    top: 0; } }

@-webkit-keyframes grow {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1); }
  33% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1); }
  66% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9); }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1); } }

@keyframes grow {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1); }
  33% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1); }
  66% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9); }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1); } }

/** READONLY **/
.rating__wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex; }

.rating-readonly {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
  -webkit-flex-direction: column-reverse;
  -ms-flex-direction: column-reverse;
  flex-direction: column-reverse;
  -webkit-flex-wrap: wrap-reverse;
  -ms-flex-wrap: wrap-reverse;
  flex-wrap: wrap-reverse;
  height: 20px;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  max-width: 295px;
  z-index: 0; }
  .rating-readonly.rating--l {
    min-width: 295px; }
  .rating-readonly.rating--m .rating-readonly__icon--wrapper,
  .rating-readonly.rating--m .icon--filled:before {
    width: 120px; }
  .rating-readonly.rating--s .rating-readonly__icon--wrapper,
  .rating-readonly.rating--s .icon--filled:before {
    width: 90px; }

.rating-readonly__icon--wrapper {
  height: 20px;
  margin-right: 20px;
  width: 150px; }

.rating-readonly__description {
  font-size: 18px;
  letter-spacing: 0;
  line-height: 30px;
  line-height: 20px;
  margin-top: 5px; }

.icon--filled {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' width='20' height='20' fill='%232175d9'%3E%3Cpath d='M29.951 10.817a1.002 1.002 0 00-.808-.68l-9.153-1.33L15.896.511c-.336-.683-1.457-.683-1.793 0L10.01 8.806l-9.154 1.33a1 1 0 00-.554 1.706L6.926 18.3l-1.564 9.117a1 1 0 001.451 1.054L15 24.167l8.186 4.304a1.006 1.006 0 001.054-.076 1 1 0 00.398-.978L23.074 18.3l6.624-6.458a1 1 0 00.253-1.025'/%3E%3C/svg%3E%0A");
  background-size: 30px 20px;
  height: 20px;
  position: relative; }

.icon--filled:before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' width='20' height='20' fill='%23d7d7d7'%3E%3Cpath d='M29.951 10.817a1.002 1.002 0 00-.808-.68l-9.153-1.33L15.896.511c-.336-.683-1.457-.683-1.793 0L10.01 8.806l-9.154 1.33a1 1 0 00-.554 1.706L6.926 18.3l-1.564 9.117a1 1 0 001.451 1.054L15 24.167l8.186 4.304a1.006 1.006 0 001.054-.076 1 1 0 00.398-.978L23.074 18.3l6.624-6.458a1 1 0 00.253-1.025'/%3E%3C/svg%3E%0A");
  background-size: 30px 20px;
  bottom: 0;
  content: '';
  left: 0;
  opacity: 1;
  position: absolute;
  top: 0;
  width: 150px;
  z-index: -1; }

@media only screen and (min-width: 310px) {
  .rating-readonly {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: row-reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse; }
  .rating-readonly__description {
    margin-top: 0; } }

.bg-variant-brand-primary .rating-readonly .icon--filled {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' width='20' height='20' fill='%23fff'%3E%3Cpath d='M29.951 10.817a1.002 1.002 0 00-.808-.68l-9.153-1.33L15.896.511c-.336-.683-1.457-.683-1.793 0L10.01 8.806l-9.154 1.33a1 1 0 00-.554 1.706L6.926 18.3l-1.564 9.117a1 1 0 001.451 1.054L15 24.167l8.186 4.304a1.006 1.006 0 001.054-.076 1 1 0 00.398-.978L23.074 18.3l6.624-6.458a1 1 0 00.253-1.025'/%3E%3C/svg%3E%0A");
  background-size: 30px 20px; }

.bg-variant-brand-primary .rating-readonly .icon--filled:before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' width='20' height='20' fill='%23fff'%3E%3Cpath d='M29.951 10.817a1.002 1.002 0 00-.808-.68l-9.153-1.33L15.896.511c-.336-.683-1.457-.683-1.793 0L10.01 8.806l-9.154 1.33a1 1 0 00-.554 1.706L6.926 18.3l-1.564 9.117a1 1 0 001.451 1.054L15 24.167l8.186 4.304a1.006 1.006 0 001.054-.076 1 1 0 00.398-.978L23.074 18.3l6.624-6.458a1 1 0 00.253-1.025'/%3E%3C/svg%3E%0A");
  background-size: 30px 20px;
  opacity: 0.3; }

.bg-brand--blue .icon--filled {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' width='20' height='20' fill='%23fff'%3E%3Cpath d='M29.951 10.817a1.002 1.002 0 00-.808-.68l-9.153-1.33L15.896.511c-.336-.683-1.457-.683-1.793 0L10.01 8.806l-9.154 1.33a1 1 0 00-.554 1.706L6.926 18.3l-1.564 9.117a1 1 0 001.451 1.054L15 24.167l8.186 4.304a1.006 1.006 0 001.054-.076 1 1 0 00.398-.978L23.074 18.3l6.624-6.458a1 1 0 00.253-1.025'/%3E%3C/svg%3E%0A"); }

.bg-brand--blue .icon--filled:before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' width='20' height='20' fill='%23fff'%3E%3Cpath d='M29.951 10.817a1.002 1.002 0 00-.808-.68l-9.153-1.33L15.896.511c-.336-.683-1.457-.683-1.793 0L10.01 8.806l-9.154 1.33a1 1 0 00-.554 1.706L6.926 18.3l-1.564 9.117a1 1 0 001.451 1.054L15 24.167l8.186 4.304a1.006 1.006 0 001.054-.076 1 1 0 00.398-.978L23.074 18.3l6.624-6.458a1 1 0 00.253-1.025'/%3E%3C/svg%3E%0A");
  background-size: 30px 20px;
  opacity: 0.5; }

.bg-brand--blue .rating-readonly__description.text--alternative {
  color: #fff; }

.dashboard-card--middle .icon--filled:before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' width='20' height='20' fill='%232175d9'%3E%3Cpath d='M29.951 10.817a1.002 1.002 0 00-.808-.68l-9.153-1.33L15.896.511c-.336-.683-1.457-.683-1.793 0L10.01 8.806l-9.154 1.33a1 1 0 00-.554 1.706L6.926 18.3l-1.564 9.117a1 1 0 001.451 1.054L15 24.167l8.186 4.304a1.006 1.006 0 001.054-.076 1 1 0 00.398-.978L23.074 18.3l6.624-6.458a1 1 0 00.253-1.025'/%3E%3C/svg%3E%0A");
  opacity: 0.3;
  background-size: 30px 20px; }

/*# sourceMappingURL=rating.css.map */
