/* review count */
#reviewCount {
	float: left;
	width: 100%;
	font-size: 14px;
	margin-bottom: 15px;
}
#reviewCount span {
	margin: 0 8px;
	color: orange;
	font-size: 18px;
}
#reviewCount span em {
	color: #ccc;
	font-style: normal;
}
#product #box #reviewCount label {
	float: none;
	display: inline;
	font-size: 14px;
	color: #c37ee0;
}
#product #box #reviewCount label:hover {
	cursor: pointer;
	text-decoration: underline;
	color: #c37ee0;
}
/* review form */
#reviewForm {
	margin-bottom: 15px;
}
#reviewForm input[type="text"] {
	width: 100%;
	border: #ddd solid 1px;
	padding: 8px 10px;
	font-size: 14px;
	border-radius: 6px;
	box-sizing: border-box;
	margin-bottom: 10px;
}
#reviewForm textarea {
	width: 100%;
	resize: none;
	height: 86px;
	border: #ddd solid 1px;
	padding: 5px 10px;
	font-size: 14px;
	margin-bottom: 16px;
	border-radius: 6px;
	box-sizing: border-box;
}
#reviewForm input:focus,
#reviewForm textarea:focus {
	border-color: #98b81f;
	outline: none;
}
.rate span {
	float: left;
	margin: 8px 10px 0 0;
}
#reviewForm button {
	width: 100%;
	padding: 8px 20px;
	font-size: 16px;
	background: #98b81f;
	color: #fff;
	border-radius: 6px;
	margin-top: 10px;
	border:none;
}
#reviewForm button:hover {
	cursor: pointer;
	opacity: .8;
}

.rate {
    float: left;
    height: 46px;
    padding: 0;
    margin-top: 0;
}
.rate label {
	background: #fff;
	padding: 0;
	line-height: 30px;
}
.rate label:hover {
	background: #fff;
}
.rate:not(:checked) > input {
    display: none;
}
.rate:not(:checked) > label {
    float:right;
    width:1em;
    overflow:hidden;
    white-space:nowrap;
    cursor:pointer;
    font-size:30px;
    color:#ccc;
}
.rate:not(:checked) > label:before {
    content: '★ ';
}
.rate > input:checked ~ label {
    color: #ffc700;    
}
.rate:not(:checked) > label:hover,
.rate:not(:checked) > label:hover ~ label {
    color: #deb217;  
}
.rate > input:checked + label:hover,
.rate > input:checked + label:hover ~ label,
.rate > input:checked ~ label:hover,
.rate > input:checked ~ label:hover ~ label,
.rate > label:hover ~ input:checked ~ label {
    color: #85b826;
}
.spamDiv {
	display: block;
	margin-top: 15px;
}
#reviewForm .spamDiv input[type="text"] {
	width: 100px;
}

/* testimonial list */
#reviewsTable, #reviewsForm {
	float: left;
	width: 100%;
}
.testimonialItem {
	/*border: #ddd solid 1px;*/
	box-shadow: 0 0 5px rgba(0,0,0,.15);
	font-size: 13px;
	width: 100%;
	margin-bottom: 10px;
	border-collapse: collapse;
}
.testimonialItem td {
	padding: 15px;
	vertical-align: top;
}
.testimonialItem tr td:nth-child(2) {
	padding-left: 0;
	width: 100%;
}
.testimonialItem tr:nth-child(2) td {
	padding-top: 0;
}
.testimonialItem small {
	display: block;
	color: #666;
	font-size: 10px;
}
.testimonialItem .rating_icons {
	font-size: 18px;
	color: orange;
	display: block;
}
.testimonialItem blockquote {
  background: #f7feeb;
  border-left: 5px solid #98b81f;
  padding: 10px;
  margin: 10px 0 0 0;
  font-style: italic;
}
.testimonialItem p {
	margin: 0;
}
.testimonialItem img {
	min-width: 100px;
	max-width: 100px;
	padding: 0;
}

/* pagination*/
.testimonialItem {
	display: none;
}
.itemPage1 {
	display: block;
}
.reviewPagination {
  display: inline-block;
  width: 100%;
  text-align: right;
  margin: 10px 0 10px 0;
}

.reviewPagination a {
  color: black;
  padding: 8px 13px;
  text-decoration: none;
  transition: background-color .3s;
  border: 1px solid #ddd;
  margin: 0 4px;
}

.reviewPagination a.active {
  background-color: #77a422;
  color: white;
  border: 1px solid #77a422;
}

.reviewPagination a:hover:not(.active) {background-color: #ddd;}

#reviewsTable h1, #reviewsForm h1 {
	border: none;
	color: #98b81f;
	margin: 0 0 12px;
}

/* category side */
.reviewCountCat {
	float: left;
	width: 100%;
	margin: 5px 0;
}
.reviewCountCat span {
	margin: 0 3px 0 0;
	color: orange;
	font-size: 18px;
}
.reviewCountCat span em {
	color: #ccc;
	font-style: normal;
}