.rating {
  padding: 10px 0px 10px 0px;
  text-align: right;
}

.rating li {
  display: inline-block;
}

.rating a {
  display: block;
  text-decoration: none;
}

.rating a::before {
  content: '\f006';
  color: #FAC648;
  font-family: FontAwesome;
  font-size: 16px;
  line-height: 16px;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
}

.rating a:focus, .rating a:hover {
  color: #FAC648;
  opacity: 0.5;
  text-decoration: none;
	text-shadow: 0px 0px 0px rgba(0,0,0,0);
}

.rating .star1 li:nth-child(1) a:before,

.rating .star2 li:nth-child(1) a:before,
.rating .star2 li:nth-child(2) a:before,

.rating .star3 li:nth-child(1) a:before,
.rating .star3 li:nth-child(2) a:before,
.rating .star3 li:nth-child(3) a:before,

.rating .star4 li:nth-child(1) a:before,
.rating .star4 li:nth-child(2) a:before,
.rating .star4 li:nth-child(3) a:before,
.rating .star4 li:nth-child(4) a:before,

.rating .star5 li:nth-child(1) a:before,
.rating .star5 li:nth-child(2) a:before,
.rating .star5 li:nth-child(3) a:before,
.rating .star5 li:nth-child(4) a:before,
.rating .star5 li:nth-child(5) a:before {
  content: '\f005';
}

.ratingComment {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 310px;
  margin: -100px 0px 0px -145px;
  text-align: center;
  font-weight: 700;
  padding: 30px 10px 30px 10px;
  z-index: 999;
  box-shadow: 0px 0px 120px rgba(0, 0, 0, 0.5);
  background-color: #aaaaaa;
  border: 1px solid #ffffff;
  color: #ffffff;
  display: none;
  /* initial setting */
}

.ratingComment.red {
  background-color: #F36523;
  border: 1px solid #ffffff;
  color: #ffffff;
}

.ratingComment.green {
  background-color: #3eb84f;
  border: 1px solid #ffffff;
  color: #ffffff;
}
