.reviews { position: relative; max-width:768px; margin:0 auto; }

.reviews .overall_rating {
  display: flex;
  align-items: center;
}

.reviews .overall_rating .num {
  font-size: 30px;
  font-weight: bold;
  color: #F5A624;
}

.reviews .overall_rating .num span {
  display: none;
}

.reviews .overall_rating .stars {
  display: flex;
  padding: 0 12px 0 12px;
}

.reviews .overall_rating .stars .star, .reviews .overall_rating .stars .star-alt {
  font-size: 20px;
  color: #F5A624;
  margin-right: 3px;
}

.reviews .overall_rating .stars .star-alt {
  color: #ececec;
}

.reviews .overall_rating .total {
  color: #777777;
  font-size: 14px;
}

.reviews .overall_rating .toggle-breakdown-button {
  text-decoration: none;
  margin-left: 10px;
  color: #dddddd;
}

.reviews .overall_rating .toggle-breakdown-button:hover {
  color: #c4c4c4;
}

.reviews .review_breakdown {
  width: 280px;
  padding: 15px 0;
}

.reviews .review_breakdown a {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 10px;
}

.reviews .review_breakdown a .star {
  font-weight: 500;
  color: #777;
  width: 60px;
  font-size: 14px;
}

.reviews .review_breakdown a .bar {
  border: 1px solid #eee;
  border-radius: 4px;
  width: 150px;
  background-color: #fafafa;
  height: 20px;
  overflow: hidden;
}

.reviews .review_breakdown a .bar span {
  display: block;
  width: 0%;
  height: 20px;
  background-color: #F5A624;
}

.reviews .review_breakdown a .per {
  padding-left: 15px;
  font-weight: 500;
  color: #afafaf;
  font-size: 14px;
}

.reviews .review_breakdown a:hover .star {
  color: #5e5e5e;
}

.reviews .review_breakdown a:hover .bar {
  border: 1px solid #d5d5d5;
}

.reviews .review_breakdown a:hover .per {
  color: #969696;
}

.reviews .review_breakdown.closed {
  display: none;
}

.reviews .review_breakdown.open {
  display: block;
}

.reviews .write_review_btn, .reviews .write_review button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #5c606b;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  min-width: 120px;
  min-height: 35px;
  border: 0;
  transition: background-color .2s ease;
}

.reviews .write_review_btn:hover, .reviews .write_review button:hover {
  background-color: #50545d;
  transition: background-color .2s ease;
}

.reviews .review_header {
  display: flex;
  border-bottom: 1px solid #eee;
  padding: 25px 0 15px 0;
  margin-bottom: 10px;
  align-items: center;
}

.reviews .review_header .review_btns {
  flex-grow: 1;
}

.reviews .review_header .sort_by {
  position: relative;
  margin-top: 5px;
  height: 30px;
}

.reviews .review_header .sort_by a {
  text-decoration: none;
  font-size: 14px;
}

.reviews .review_header .sort_by > a {
  color: #555555;
  font-weight: 500;
}

.reviews .review_header .sort_by > a i {
  padding-left: 10px;
  color: #bbbbbb;
}

.reviews .review_header .sort_by .options {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 150px;
  border-radius: 4px;
  overflow: hidden;
  flex-flow: column;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2); z-index:1;
}

.reviews .review_header .sort_by .options a {
  padding: 6px 10px;
  border-bottom: 1px solid #f5f5f5;
  color: #474747;
  background-color: #fff;
}

.reviews .review_header .sort_by .options a:last-child {
  border: 0;
}

.reviews .review_header .sort_by .options a:hover {
  background-color: #4d4d4d;
  color: #fff;
}

.reviews .review_header .sort_by:hover .options, .reviews .review_header .sort_by:active .options {
  display: flex;
}

.reviews .review_header .sort_by:hover > a, .reviews .review_header .sort_by:active > a {
  color: #2f2f2f;
}

.reviews .review_header .sort_by:hover > a i, .reviews .review_header .sort_by:active > a i {
  color: #959595;
}

.reviews .write_review {
  display: none;
  padding: 20px 0 10px 0;
}

.reviews .write_review textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  height: 150px;
  margin-top: 10px;
}

.reviews .write_review input {
  display: block;
  width: 250px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-top: 10px;
}

.reviews .write_review input.rating {
  height: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.reviews .write_review button {
  margin-top: 15px;
  cursor: pointer;
}

.reviews .write_review label {
  display: block;
  padding-top: 10px;
}

.reviews .write_review .stars {
  display: flex;
  padding: 15px 0;
}

.reviews .write_review .stars .star {
  padding-right: 5px;
  font-size: 22px;
  color: #ececec;
  cursor: pointer;
}

.reviews .write_review .stars .star.selected {
  color: #F5A624;
}

.reviews .review {
  display: flex;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.reviews .review .icon {
  padding: 5px 20px 0 0;
}

.reviews .review .icon span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background-color: #777;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
}

.reviews .review .name {
  padding: 0 0 3px 0;
  margin: 0;
  font-size: 18px;
  color: #555555; text-align: left; font-weight: 700;
}

.reviews .review .con {
  display: flex;
  align-items: center;
  padding: 5px 0;
}

.reviews .review .con .rating {
  display: flex;
}

.reviews .review .con .rating .star, .reviews .review .con .rating .star-alt {
  font-size: 14px;
  color: #F5A624;
  margin-right: 3px;
}

.reviews .review .con .rating .star-alt {
  color: #ececec;
}

.reviews .review .con .rating .rating_value {
  display: none;
}

.reviews .review .con .date {
  color: #777777;
  font-size: 14px;
  padding-left: 7px;
}

.reviews .review .content {
  padding: 5px 0; font-weight:400;
}

.reviews .review .images img {
  margin-top: 10px;
  margin-right: 5px;
}

.reviews .review .images img:hover {
  cursor: pointer;
  opacity: 0.9;
}

.reviews .review .image img {
  margin-top: 5px;
  max-width: 100%;
}

.reviews .review .like-btn {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  color: #bbbbbb;
  font-weight: 500;
  font-size: 14px;
}

.reviews .review .like-btn i {
  padding-right: 7px;
}

.reviews .review .like-btn:hover {
  color: #a2a2a2;
}

.reviews .review .like-msg {
  margin: 0;
  padding: 5px 0;
  font-size: 14px;
  color: #777;
}

.reviews .review .like-msg span {
  font-size: inherit;
  color: inherit;
}

.reviews .no_reviews {
  margin: 0;
  padding: 20px 0;
}

.reviews .pagination {
  display: flex;
  justify-content: flex-end;
  padding: 15px 0;
  align-items: center;
}

.reviews .pagination a {
  display: inline-flex;
  text-decoration: none;
  background-color: #5c606b;
  font-weight: 600;
  color: #FFFFFF;
  border-radius: 5px;
  font-size: 14px;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 35px;
  transition: background-color .2s ease;
}

.reviews .pagination a:hover {
  background-color: #50545d;
  transition: background-color .2s ease;
}

.reviews .pagination div {
  display: inline-block;
  font-size: 14px;
  color: #777777;
  font-weight: bold;
  padding: 5px 10px;
}

.reviews .loader {
  display: inline-block;
  border: 2px solid #999;
  border-top: 2px solid #eee;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  animation: spin 1s ease infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 400px) {
  .reviews .con {
    flex-flow: column;
  }
  .reviews .review .con {
    align-items: flex-start;
  }
  .reviews .review .con .date {
    padding-left: 0;
    padding-top: 5px;
  }
}
