
fieldset, label { margin: 0; padding: 0; border: none}
/* body{ margin: 20px; }
h1 { font-size: 1.5em; margin: 10px; } */

/****** Style Star Rating Widget *****/

.rating {
  border: none;
  position: relative;
  float: left;
}

.rating-wrapper.active{
  display: flex;
  font-size: 26px;
}
  .rating-wrapper.active .rating{
    margin: auto;
  }


.rating > input { display: none; }
.rating > label:before {
  margin: 5px;
  font-size: 1.25em;
  font-family: 'fontello';
  display: inline-block;
  content: "\e807";
}

.card-wrapper .rating > label::before{
  margin: 0 2px;
}

.rating > .half:before {
  content: "\f022";
  position: absolute;
}

.rating > label {
  color: #999;
  float: right;
  cursor: pointer;
}

.card-wrapper .rating > label{
  color: #ccc;
}

.rating label.active{
  color: #ffe4a1;
}

.rating-wrapper.active .rating span{
  display: block;
  text-align: center;
}

/***** CSS Magic to Highlight Stars on Hover *****/

.rating-wrapper.active .rating > input:checked ~ label, /* show gold star when clicked */
.rating-wrapper.active .rating:not(:checked) > label:hover, /* hover current star */
.rating-wrapper.active .rating:not(:checked) > label:hover ~ label { color: #ffd671 !important;  } /* hover previous stars in list */

/* .rating > input:checked + label:hover,
.rating > input:checked ~ label:hover,
.rating > label:hover ~ input:checked ~ label,
.rating > input:checked ~ label:hover ~ label { color: #FFED85 !important;  } */
