.id--51 div#ratingWrapper > div {
  max-width: unset;
}

@media (max-width: 991px) {
  .id--51 .rate-wrapper.unveil-wrapper .rate-average-inner {
    display: flex;
    align-items: flex-start;
  }

  .id--51 .rate-wrapper.unveil-wrapper .rate-star-wrap {
    display: flex;
    align-items: flex-start;
    padding-bottom: 20px;
  }
}

.p-detail .votes-wrap.simple-vote .vote-wrap {
  border: unset;
  width: 100%;
  flex-basis: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  background: #f3f3f3;
  border-radius: 10px !important;
  margin-bottom: 20px;
}

.id--51 .content-inner .votes-wrap.simple-vote {
  margin-left: -10px;
  margin-right: -10px;
}

.id--51 .content-inner > .votes-wrap.simple-vote > .vote-wrap {
  border: unset;
  margin: 10px;
  width: 100%;
  flex-basis: 100%;
  padding: 20px;
  background: #f3f3f3;
  border-radius: 10px !important;
}

@media (min-width: 768px) {
  .id--51 .content-inner > .votes-wrap.simple-vote > .vote-wrap {
    width: calc(100% / 2 - 20px);
    flex-basis: calc(100% / 2 - 20px);
    border-radius: 10px !important;
    border: 1px solid #e8e4de;
    background: white;
  }
}

@media (min-width: 1200px) {
  .id--51 .content-inner > .votes-wrap.simple-vote > .vote-wrap {
    width: calc(100% / 3 - 20px);
    flex-basis: calc(100% / 3 - 20px);
    border-radius: 10px !important;
    border: 1px solid #e8e4de;
    background: white;
  }
}

.id--51 .content-inner .votes-wrap.simple-vote {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

.discussion-form,
.discussionContainer > .discussion > .vote-wrap:nth-child(odd),
.votes-wrap.admin-response {
  background: unset;
}

/* footer */

.rating-wrapper-pw {
  display: flex;
  flex-wrap: nowrap;
  padding-left: 20px;
  padding-right: 20px;
  flex-direction: column;
  /* align-items: flex-start; */
  align-items: center;
  justify-content: center;
  /* width: calc(100% - 120px); */
  width: 100%;
}

.ratings__header-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  color: #fff;
  background: var(--color-secondary);
  width: 120px;
  height: 120px;
  border-radius: 100%;
  justify-content: center;
}

.ratings__header-text .rate-average {
  font-weight: 600;
  color: #ffffff;
}

.rating-wrapper-pw h2 {
  margin-bottom: 5px;
  margin-top: 0px;
  font-weight: 700;
  letter-spacing: 0;
  display: block;
  color: #1a1937;
}

.rating-wrapper-pw a {
  color: #1a1937;
  text-decoration: underline;
}

.rating-wrapper-pw a:hover {
  text-decoration: unset;
}

.banner-rating {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}

.banner-rating:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 100vw;
  height: 100%;
  background: #f9f9f9;
  transform: translateX(-50%);
  z-index: 0;
}

.banner-rating * {
  z-index: 1;
}

.ratings__header {
  display: flex;
  width: 100%;
  margin-bottom: 40px;
}

.banner-rating .rate-items {
  margin-left: -10px;
  margin-right: -10px;
}

.banner-rating .rate-items > .vote-wrap {
  border: unset;
  width: 100%;
  flex-basis: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border-radius: 10px !important;
  margin-bottom: 20px;
  margin-left: 20px;
  margin-right: 20px;
  border: 1px solid #e8e4de;
  background: white;
}

@media (min-width: 992px) {
  .banner-rating .rate-items > .vote-wrap {
    margin-right: 0px;
    width: calc(100% / 3 - 20px);
    flex-basis: calc(100% / 3 - 20px);
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  .banner-rating .rate-items > .vote-wrap {
    margin-right: 0px;
    width: calc(50% - 20px);
    flex-basis: calc(50% - 20px);
  }
}

@media (min-width: 768px) {
  .banner-rating .rate-items {
    margin-left: -20px;
    margin-right: -20px;
  }
}

@media (min-width: 1200px) {
  .banner-rating .rate-items > .vote-wrap {
    width: calc(100% / 4 - 20px);
    flex-basis: calc(100% / 4 - 20px);
  }
}

.banner-rating .vote-pic {
  display: none;
}

.banner-rating .rate-items {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.banner-rating .vote-content {
  order: -1;
  margin-top: 12px;
  margin-bottom: 0;
}

.banner-rating .vote-name {
  margin-bottom: 0;
  font-weight: 700;
  margin-right: 10px;
}

.banner-rating span.vote-delimeter {
  display: none;
}

.banner-rating span.stars {
  order: -1;
  width: 150px;
  height: 20px;
}

.banner-rating .stars a,
.banner-rating .stars span {
  float: left;
  height: 20px;
  position: relative;
  width: 30px;
}

.vote-wrap .vote-header {
  margin-top: 10px;
}

.banner-rating .vote-wrap .vote-header .vote-name {
  font-weight: 400;
  color: var(--color-primary-hover);
  margin-bottom: 0px;
}

.banner-rating .stars a:before,
.banner-rating .stars span:before {
  font-size: 20px;
}

@media (max-width: 1px) {
  .banner-rating .rate-items {
    margin-left: -10px;
    margin-right: -10px;
  }

  .rating-wrapper-pw h2 {
    margin-bottom: 5px;
    margin-top: 0px;
    font-weight: 400;
    letter-spacing: 0;
    display: block;
    color: #292929;
  }

  .rating-wrapper-pw {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 25px;
    padding-right: 30px;
    flex-direction: column;
  }

  .ratings__header-text {
    padding-left: 25px;
    padding-right: 25px;
    border-right: 2px solid #292929;
  }
}

.vote-wrap .vote-header .vote-time {
  display: none;
}

.banner-rating .sr-only {
  display: none;
}

.stars .star.is-active:hover,
.stars .star.star-half:before,
.stars .star.star-on:before {
  color: #f5b301;
}

.banner-rating .stars .star.is-active:hover,
.banner-rating .stars .star.star-half:before,
.banner-rating .stars .star.star-on:before {
  color: #ffc500 !important;
}

@media (max-width: 374px) {
  .ratings__header-text {
    width: 100px !important;
    height: 100px !important;
  }

  .rating-wrapper-pw {
    padding-right: 0px !important;
    width: calc(100% - 100px) !important;
  }

  .banner-rating.container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.rate-star.stars .rate-value {
  width: 1ch;
  text-align: center;
}

.votes .rate-list .star::before {
  content: "\e91c";
}

.banner-rating .vote-content {
  font-size: 16px;
  line-height: 22px;
}

.banner-rating .stars a:before,
.banner-rating .stars span:before {
  font-size: 20px;
}

.banner-rating span.vote-rating * {
  font-size: 14px;
}

.stars .star.is-active:hover,
.stars .star.star-half:before,
.stars .star.star-on:before {
  color: #f5b301;
}

.banner-rating .stars .star.is-active:hover,
.banner-rating .stars .star.star-half:before,
.banner-rating .stars .star.star-on:before {
  color: #ffc500 !important;
}

.ratings__header-text .rate-average {
  font-size: 44px;
  font-weight: 600;
  color: #ffffff;
}

.in-hodnoceni-obchodu .btn.loadMore__button,
.in-hodnoceni-obchodu .pagination .pagination__list .pagination__link,
.in-hodnoceni-obchodu a.btn.goToTop__button {
  background-color: var(--colors-surface-white);
  border-color: var(--color-primary-hover);
  color: var(--color-primary-hover);
}
