#rateForm {
  line-height: 1.5;
  font-size: 1.1rem;
  /* display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px; */
}
#rateForm label, #rateForm input {
  display: block;
  /* width: 100%; */
}
#rateForm label {
  font-weight: bold;
  margin-bottom: 5px;
}

#rateForm .rate label, #rateForm .rate input,
#rateForm .rate1 label, #rateForm .rate1 input,
#rateForm .rate2 label, #rateForm .rate2 input, {
  display: inline-block;
}
/* Modified from: https://codepen.io/tammykimkim/pen/yegZRw */
.rate, .rate2 {
  /* float: left; */
  /* display: inline-block; */
  height: 1.2em;
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: flex-end;
}
.rate2 {
  line-height: 2.4rem;
}
#rateForm .rate > label, #rateForm .rate2 > label {
  margin-bottom: 0;
  margin-top: -5px;
  height: 30px;
}
.rate:not(:checked) > input, .rate2:not(:checked) > input {
  /* position: absolute; */
  top: -9999px;
  margin-left: -24px;
  width: 24px;
  padding-right: 14px;
  z-index: -10;
}
.rate:not(:checked) > label, .rate2:not(:checked) > label {
  float:right;
  width:1em;
  overflow:hidden;
  white-space:nowrap;
  /* cursor:pointer; */
  /* font-size:30px;  /*  this is for star rating star size*/
  color:#ccc;
}
.rate:not(:checked) > label {
  /*  this is for star rating star size*/
  font-size:30px;
}
.rate2:not(:checked) > label {
  /*  this is for star rating star size*/
  font-size:22px;
}
.rate:not(:checked) > label {
  cursor:pointer;
}
/* #star1:focus{

} */
/* .rate2 {
  float: none;
} */
.rate:not(:checked) > label::before, .rate2:not(:checked) > label::before {
  content: '♥ ';
  position: relative;
  top: -5px;
  left: 2px;
  font-family: 'Verdana' !important;
}
.rate > input:checked ~ label, .rate2 > input:checked ~ label {
  color: #ffc700;
  color: #39ac39;
  color: #fcc603;
  color: #9e32a8;
  /* outline: -webkit-focus-ring-color auto 5px; */
}
/* .rate > input:checked:focus + label, .rate > input:focus + label {
  outline: -webkit-focus-ring-color auto 5px;
} */
.rate:not(:checked) > label:hover,
.rate:not(:checked) > label:hover ~ label {
  color: #deb217;
  color: #2d862d;
  color: #fcc603;
  color: #c69fc9;

  /* outline: -webkit-focus-ring-color auto 5px; */
}
.rate > input:checked + label:hover,
.rate > input:checked + label:hover ~ label,
.rate > input:checked ~ label:hover,
.rate > input:checked ~ label:hover ~ label,
.rate > label:hover ~ input:checked ~ label {
  color: #c59b08;
  color: #2d862d;
  color: #dbad02;
  color: #c69fc9;

}
