/****** Style Star Rating Widget *****/
#rating {
  border: none;
  float: left;
}

#rating > input {
  display: none;
}

/*ẩn input radio - vì chúng ta đã có label là GUI*/
#rating > label:before {
  margin: 5px;
  font-size: 7.25em;
  font-family: FontAwesome;
  display: inline-block;
  content: "\f005";
}

/*1 ngôi sao*/
#rating > .half:before {
  content: "\f089";
  position: absolute;
}

/*0.5 ngôi sao*/
#rating > label {
  color: #ddd;
  float: right;
}

/*float:right để lật ngược các ngôi sao lại đúng theo thứ tự trong thực tế*/
/*thêm màu cho sao đã chọn và các ngôi sao phía trước*/
#rating > input:checked ~ label,
#rating:not(:checked) > label:hover,
#rating:not(:checked) > label:hover ~ label {
  color: #ffd700;
}

/* Hover vào các sao phía trước ngôi sao đã chọn*/
#rating > input:checked + label:hover,
#rating > input:checked ~ label:hover,
#rating > label:hover ~ input:checked ~ label,
.listReviews {
  border-top: 1px solid #eee;
  padding: 15px 0;
}

.listReviews > h3 {
  font-size: 18px;
  padding: 15px 0;
}

.reviews_detail {
  height: auto;
  border: 1px solid #eee;
  border-radius: 5px;
  padding: 15px;
  background-color: #fff;
  margin: 0;
}

.reviews_detail > div {
  height: 150px;
  border-right: 1px solid #ddd;
}

.reviews_detail .diem,
.reviews_detail .thongke,
.reviews_detail .danhgia {
  display: inline-flex;
  justify-content: center;
  flex-direction: column;
}

.reviews_detail > div:nth-child(3) {
  border-right: unset;
}

.averageRatings {
  font-size: 40px;
  color: #fd9727;
  line-height: 40px;
  display: flex;
  width: 110px;
  margin: 13px auto;
}

.diem {
  text-align: center;
}

.formReview {
  height: 100% !important;
}

.stars {
  width: fit-content;
  margin: 0 auto;
  cursor: pointer;
}

.star {
  color: orange !important;
}

.rate {
  height: 50px;
  margin-left: -5px;
  padding: 5px;
  font-size: 30px;
  position: relative;
  cursor: pointer;
  margin-bottom: 0;
}

.rate input[type="radio"] {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 0%);
  pointer-events: none;
}

.star-over::after {
  font-weight: 900;
  font-size: 22px;
  content: "\f005";
  display: inline-block;
  color: orange;
  z-index: 1;
  position: absolute;
  top: 19px;
  left: 6px;
}

.thongke > div {
  line-height: 20px;
  position: relative;
  width: 100%;
  float: left;
  margin-top: 10px;
}

.reviews_detail .fa {
  font-size: 15px;
}

#formReview .fa {
  font-size: 24px;
}

.checked {
  color: orange;
}

/* Three column layout */
.side {
  float: left;
  width: 15%;
  text-align: right;
  padding-right: 10px;
}

.middle {
  float: left;
  width: 60%;
  padding-top: 7px;
}

/* Place text to the right */
.reviews_detail .right {
  width: 25%;
  text-align: right;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* The bar container */
.bar-container {
  width: 100%;
  background-color: #f1f1f1;
  text-align: center;
  color: white;
}

.bar {
  height: 8px;
}

/* Individual bars */
.bar-5 {
  width: 0%;
  background-color: #f44336;
}

.bar-4 {
  width: 0%;
  background-color: #f44336;
}

.bar-3 {
  width: 0%;
  background-color: #f44336;
}

.bar-2 {
  width: 0%;
  background-color: #f44336;
}

.bar-1 {
  width: 0%;
  background-color: #f44336;
}

.reviewer span {
  font-weight: bold;
  margin-bottom: 5px;
  display: inline-block;
  text-transform: capitalize;
  font-size: 14px;
}

.review-images img {
  max-width: 150px;
  max-height: 150px;
  padding-right: 5px;
}

.review-content p > i {
  line-height: 1.5;
  margin-left: 10px;
  font-style: normal;
}

a.loadAll {
  padding: 10px 15px;
  border: 1px solid red;
  border-radius: 5px;
}

a.loadAll span {
  margin-left: 10px;
  font-size: 18px;
}

label.smemberRv {
  cursor: pointer;
  color: #2ba832;
  font-size: 13px;
}

.imgReviews {
  margin-bottom: 20px;
}

.imgReviews img {
  max-width: 150px;
  max-height: 150px;
  padding-right: 5px;
}

.reviews_detail .thongke,
.formReview {
  border-right: 0 !important;
}

.form-control {
  border: 1px solid #e6e6e6;
}

.averageRatings .fa {
  font-size: 40px;
}

.review {
  display: none;
  margin-top: 20px;
}

textarea.form-control {
  height: 116px;
}

.fa.star {
  font-family: fontawesome !important;
}
#danhgia {
    margin-top: 50px;
    padding-top: 30px;
}