body {
  font-family: "Segoe UI", "Helvetica Neue", "Helvetica", "Arial", "sans-serif";
  font-size: 12px;
  margin: 0;
  height: 100%;
  line-height: 1;
  min-width: 100%;
  overflow: hidden;
  width: 1px;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

.container-overall,
.container-reviews {
  height: 130px;
}

/* .container-overall
 *************************************************************/

.container-overall {
  text-align: center;
  z-index: 100;
}

@media screen and (min-width: 520px) {
  .container-overall {
    float: left;
    width: 200px;
  }
}

/* .container-reviews
 *************************************************************/

.container-reviews {
  margin: 20px 0 0;
  overflow: hidden;
  padding: 0 40px;
  position: relative;
}

@media screen and (min-width: 520px) {
  .container-reviews {
    float: left;
    margin: 0;
    width: calc(100% - 200px);
  }
}

@media screen and (min-width: 728px) {
  .container-reviews {
    width: calc(100% - 200px);
  }
}

/* Left side
 *************************************************************/

.humanscore {
  font-size: 24px;
  margin: 0 0 12px;
}

.stars {
  width: 155px;
  height: 29px;
  margin: 0 auto 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.reviewcount {
  color: rgba(0, 0, 0, 0.6);
  font-size: 13px;
  line-height: 16px;
  margin: 0 0 14px;
}

.reviewcount a {
  color: #000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
}

.reviewcount a:hover {
  border-color: #000;
}

.logo,
.logo img {
  width: 95px;
  height: 24px;
}

/* .reviews
 *************************************************************/

.reviews-wrapper {
  overflow: hidden;
}

.reviews {
  height: 100%;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.review {
  display: inline-block;
  height: 130px;
  margin: 0;
  padding: 0 20px 0 20px;
  position: relative;
  vertical-align: top;
  white-space: normal;
}

.review-stars {
  margin: 0 0 12px;
  width: 110px;
  height: 20px;
  background-repeat: no-repeat;
}

.star-icon-0 {
  background-image: url("/static/svg/star-0.svg");
}

.star-icon-1 {
  background-image: url("/static/svg/star-1.svg");
}

.star-icon-1-5 {
  background-image: url("/static/svg/star-1.5.svg");
}

.star-icon-2 {
  background-image: url("/static/svg/star-2.svg");
}

.star-icon-2-5 {
  background-image: url("/static/svg/star-2.5.svg");
}

.star-icon-3 {
  background-image: url("/static/svg/star-3.svg");
}

.star-icon-3-5 {
  background-image: url("/static/svg/star-3.5.svg");
}

.star-icon-4 {
  background-image: url("/static/svg/star-4.svg");
}

.star-icon-4-5 {
  background-image: url("/static/svg/star-4.5.svg");
}

.star-icon-5 {
  background-image: url("/static/svg/star-5.svg");
}

.review-time {
  color: rgba(0, 0, 0, 0.6);
  position: absolute;
  right: 20px;
  top: 4px;
}

.review-title {
  font-size: 14px;
  font-weight: 700;
  height: 16px;
  margin: 0 0 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.review-content {
  font-size: 13px;
  line-height: 16px;
  word-wrap: break-word;
}

.review-customer {
  color: rgba(0, 0, 0, 0.6);
  position: absolute;
  bottom: 2px;
  height: 14px;
  left: 20px;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: calc(100% - 20px);
  z-index: 2;
}

/* Slider
 *************************************************************/

.reviews {
  transition-property: transform;
  user-select: none;
  transition-timing-function: ease;
  transform: translateX(0px);
  transition-duration: 1s;
}

.arrow-left,
.arrow-right {
  height: 100%;
  position: absolute;
  top: 0;
  width: 40px;
  z-index: 10;
}

.arrow-left {
  left: 0;
}
.arrow-right {
  right: 0;
}

.arrow {
  position: absolute;
  left: 8px;
  top: 52px;

  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.3);

  position: relative;
}

.arrow::after {
  position: absolute;
  content: " ";

  height: 5px;
  width: 5px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-width: 0 1px 1px 0;
}

.arrow::after {
  top: 8px;
  left: 7px;

  transform: rotate(-45deg);
}

.arrow-left .arrow {
  transform: rotate(180deg);
}

.arrow.active,
.arrow.active::after {
  cursor: pointer;
  border-color: rgba(0, 0, 0, 0.6);
}

/* Dark style
 */

body.dark {
  color: #fff;
}

body.dark .reviewcount a {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

body.dark .reviewcount a:hover {
  border-color: #fff;
}

body.dark .reviewcount,
body.dark .review-customer,
body.dark .review-time {
  color: rgba(255, 255, 255, 0.6);
}

body.dark .arrow,
body.dark .arrow::after {
  border-color: rgba(255, 255, 255, 0.3);
}

body.dark .arrow.active,
body.dark .arrow.active::after {
  border-color: rgba(255, 255, 255, 0.6);
}
