/* vim: set ts=2 sw=2 sts=2 et: */

/**
 * Reviews list styles
 *
 * @author    Qualiteam software Ltd <info@x-cart.com>
 * @copyright Copyright (c) 2011-2015 Qualiteam software Ltd <info@x-cart.com>. All rights reserved
 * @license   http://www.x-cart.com/license-agreement.html X-Cart 5 License Agreement
 * @link      http://www.x-cart.com/
 */

ul.reviews-list .title {
  background: #E6E6E6;
  padding-top: 5px;
  padding-left: 10px;
  padding-bottom: 4px;
  margin-bottom: 8px;
}

ul.reviews-list .rating {
  padding-top: 2px;
  padding-bottom: 5px;
}

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

div.reviews ul li {
  list-style: none;
  background: none;
  padding-left: 0px;
}

div.reviews div.text {
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 5px;
  padding-right: 5px;
}

div.reviews div.title {
  font-size: 14px;
}

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

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

div.reviews div.title .reviewer-name {
  font-size: 16px;
}

div.reviews div.title .date {
  font-size: 12px;
  color: #AAAAAA;
}

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

div.reviews div.separator {
  display: inline-block;
  background-image: url(../images/line-separator.png);
  height: 20px;
  margin-top: 8px;
  vertical-align: middle;
  background-repeat: repeat-y;
  background-position: center left;
}

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

div.reviews li.pending .title {
  background-color: #F2F2F2;
}

div.reviews li.pending {
  color: #A4A4A4;
}

div.reviews li.pending .date {
  color: #D8D8D8;
}

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

div.reviews div.moderation {
  float: left;
  font-weight: bold;
  font-style: italic;
  background-color: #BDBDBD;
  padding-right: 10px;
  color: #FFFFFF;
  -moz-border-radius: 15px;
  border-radius: 15px;
  padding-left: 10px;
  padding-top: 2px;
  padding-right: 10px;
  padding-bottom: 2px;
  margin-top: 7px; 
  margin-right: 15px;
  text-shadow: 1px 1px 2px #A4A4A4;
}

div.reviews div.right-actions div.buttons {
  float: right;
  margin: 6px 5px 0 10px;
}

div.header {
  position: relative;
}

div.header div.left {
  margin-right: 22%;
}

div.header div.left .head-h2 {
  margin: 0px;
  padding-top: 5px;
}

div.header div.line {
  padding-top: 5px;
  margin-bottom: 15px;
}

div.product-details-tabs div.header div.line {
  padding-top: 5px;
  margin-bottom: 2px;
}

div.product-reviews div.header div.right {
  bottom: 5px;
}

div.header div.right {
  position: absolute;
  padding: 3px;
  bottom: 0px;
  right: 0px;
}

div.product-details-tabs div.product-reviews div.list-pager {
  margin-bottom: 0px;
  height: 20px;
}

div.header div.average-rating {
  padding-top: 10px;
  padding-bottom: 10px;
}

div.header table.rating {
  border-width: 0px;
  border-style: none;
  margin: 0px;
}

div.header table.rating tr {
  border-width: 0px;
  border-style: none;
}

div.header table.rating td {
  border-width: 0px;
  border-style: none;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 5px;
  vertical-align: middle;
}
div.header div.title {
  font-size: 28px;
  color: #579ED2;
}

div.line {
  padding-top: 30px;
  border-bottom: 1px solid #E5E5E5;
  margin-bottom: 25px;
}

div.empty-reviews-list {
  padding-top: 20px;
  padding-bottom: 20px;
}

button.edit-review {
  width: 26px;
  height: 26px;
  padding: 0;
}

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

button.edit-review span {
  display: block;
  margin-top: 3px;
  margin-left: 2px;
}
