/**
 * Reviews list styles
 *
 * Copyright (c) 2011-present Qualiteam software Ltd. All rights reserved.
 * See https://www.x-cart.com/license-agreement.html for license details.
 */

div.reviews ul {
  list-style: none;
}

div.reviews ul li {
  list-style: none;
  background: none;
  padding-left: 0;
}
div.header div.left .head-h2 {
  margin: 0;
}

div.reviews li.pending div.text {
  opacity: .5;
}

div.reviews div.title div.info {
  width: 20%;
  display: inline-table;
}

div.reviews div.response {
  margin-left: 28px;
}

div.reviews div.response .text {
  word-wrap: break-word;
}

div.reviews div.title div.right-actions {
  text-align: right;
  display: inline-table;
  float: right;
}

div.reviews div.right-actions div.separator {
  width: 5px;
  display: none;
}

div.reviews div.right-actions div.moderation + div.separator {
  display: inline-block;
}

div.reviews div.separator {
  display: inline-block;
  vertical-align: middle;
  background: url(../images/line-separator.png) repeat-y center left;
}

div.reviews div.approved-separator {
  width: 14%;
  display: inline-block;
}

div.reviews li.pending .title .info {
  opacity: .5;
}

div.reviews li.pending div.vote-bar span {
  opacity: .5;
}

div.reviews div.title .reviewer-name {
  font-size: 15px;
  font-weight: 600;
}

div.reviews div.moderation {
  float: left;
  border-radius: 2px;
  padding: 2px 10px;
}

div.reviews div.right-actions div.buttons {
  float: right;
  margin: 0 0 0 10px;
  padding: 2px 0;
  line-height: 100%;
}

div.reviews div.right-actions div.buttons span.icon-pencil:before {
  display: none;
}

div.header {
  position: relative;
}

div.header div.right {
  position: absolute;
  right: 0;
}

@media (max-width: 991px) {
  div.header div.right {
    position: relative;
    bottom: 0;
  }
}

div.product-reviews div.list-pager {
  margin-bottom: 0;
  text-align: center;
}

div.product-reviews div.list-pager .pagination > .disabled > span {
  background: none;
}

div.product-reviews div.list-pager .pagination > .selected > span {
  text-align: center;
}

div.product-reviews div.list-pager:not(.list-pager-bottom) {
  display: none;
}

div.header table.rating {
  border: 0 none;
  margin: 0;
}

div.header table.rating tr {
  border: 0 none;
}

div.header table.rating td {
  border: 0 none;
  padding: 0 5px 0 0;
  vertical-align: middle;
}

button.edit-review {
  padding: 0;
  border: none;
}

button.edit-review:before {
	width: 100%;
	height: 100%;
	background: transparent;
	position: relative;
	top: auto;
	left: auto;
	margin: 0;
}

.reviews-list > li > div.line {
  padding: 0;
}

.reviews-list > li:last-of-type > div.line {
  display: none;
}

.product-details-info .back-to-product {
  display: inline-block;
}

.product-average-rating .reviews-count .link-to-tab {
  font-weight: normal;
}

@media (max-width: 767px) {
  div.reviews div.right-actions div.buttons .regular-button * {
    vertical-align: middle;
  }
}
