/*Rating*/
.rating_form {
  display: inline-block;
  position: relative;
  height: 50px;
  line-height: 50px;
  font-size: 50px;
}

.rating_form label {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  cursor: pointer;
}

.rating_form label:last-child {
  position: static;
}

.rating_form label:nth-child(1) {
  z-index: 5;
}

.rating_form label:nth-child(2) {
  z-index: 4;
}

.rating_form label:nth-child(3) {
  z-index: 3;
}

.rating_form label:nth-child(4) {
  z-index: 2;
}

.rating_form label:nth-child(5) {
  z-index: 1;
}

.rating_form label input {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.rating_form label .icon {
  float: left;
  color: transparent;
  font-size: 40px;
}

.rating_form label:last-child .icon {
  color: #b4bab5;
}

.rating_form:not(:hover) label input:checked ~ .icon,
.rating_form:hover label:hover input ~ .icon {
  color: #fdd835;
}

.rating_form label input:focus:not(:checked) ~ .icon:last-child {
  color: #000;
  text-shadow: 0 0 5px #09f;
}
/*Rating*/
