.productreview-rating {
    border: none;
    padding: 0;
    width: auto;
    float: left;
}

/* :not(:checked) is a filter, so that browsers that don’t support :checked don’t
   follow these rules. Every browser that supports :checked also supports :not(), so
   it doesn’t make the test unnecessarily selective */
.productreview-rating:not(:checked) > input {
    position:absolute;
    top:-9999px;
    clip:rect(0,0,0,0);
}

.productreview-rating:not(:checked) > label {
    float:right;
    width:1em;
    margin: 0;
    padding:0 .1em;
    overflow:hidden;
    white-space:nowrap;
    font-size:200%;
    line-height:1.2;
    color:#ddd;
    cursor: default;
}

.productreview-rating.small:not(:checked) > label {
    font-size: 100%;
}

.productreview-rating.editable:not(:checked) > label {
    cursor:pointer;
}

.productreview-rating:not(:checked) > label:before {
    content: '★ ';
}

.productreview-rating > input:checked ~ label,
.productreview-rating > label.checked {
    color: #f70;
}

.productreview-rating.editable:not(:checked) > label:hover,
.productreview-rating.editable:not(:checked) > label:hover ~ label {
    color: gold;
}

.productreview-rating.editable > input:checked + label:hover,
.productreview-rating.editable > input:checked + label:hover ~ label,
.productreview-rating.editable > input:checked ~ label:hover,
.productreview-rating.editable > input:checked ~ label:hover ~ label,
.productreview-rating.editable > label:hover ~ input:checked ~ label {
    color: #ea0;
}

body.shop_search_results #content .productreview-rating:not(:checked) > label,
body.shop_category_view #content .productreview-rating:not(:checked) > label {
    padding: 0;
    line-height: 1;
    font-size: 180%;
}

body.shop_search_results #content .productreview .productreview-rating,
body.shop_category_view #content .productreview .productreview-rating {
    float: none;
    margin-right: 4px;
}

body.shop_search_results #content fieldset.productreview-rating,
body.shop_category_view #content fieldset.productreview-rating {
    margin: 0 auto;
}

body.shop_search_results #content .productreview-count-reviews,
body.shop_category_view #content .productreview-count-reviews {
    float: none;
    display: block;
    text-align: center;
}

.productreview-count-reviews {
    height: 38px;
    line-height: 38px;
    float: left;
}

body.shop_product_view #body > .productreview,
body.shop_productgroup_categoryquicklist #body > .productreview,
body.shop_productgroup_product #body > .productreview {
    display: block;
    float: right;
    font-weight: bold;
    padding: 10px 0;
    width: 435px;
}

body.shop_product_view #body .productreview-listglance h3,
body.shop_productgroup_categoryquicklist #body .productreview-listglance h3,
body.shop_productgroup_product #body .productreview-listglance h3 {
    font-size: 20px;
}

body.shop_product_view #body .productreview-listglance,
body.shop_productgroup_categoryquicklist #body .productreview-listglance,
body.shop_productgroup_product #body .productreview-listglance {
    float: left;
    width: 100%;
}

body.shop_productgroup_product .productreview-header,
body.shop_productgroup_categoryquicklist .productreview-header,
body.shop_product_view .productreview-header,
body.productreview_productreview_list .productreview-header,
body.shop_productgroup_product .productreview-footer,
body.shop_productgroup_categoryquicklist .productreview-footer,
body.shop_product_view .productreview-footer,
body.productreview_productreview_list .productreview-footer {
    padding: 10px 0;
}

body.shop_productgroup_product .productreview-footer,
body.shop_productgroup_categoryquicklist .productreview-footer,
body.shop_product_view .productreview-footer,
body.productreview_productreview_list .productreview-footer {
    display: none;
}

body.shop_productgroup_product .productreview-header,
body.shop_productgroup_categoryquicklist .productreview-header,
body.shop_product_view .productreview-header,
body.productreview_productreview_list .productreview-header {
    border-bottom: 1px solid #CCC;
    margin-bottom: 10px;
}

body.shop_productgroup_product .productreview-footer,
body.shop_productgroup_categoryquicklist .productreview-footer,
body.shop_product_view .productreview-footer,
body.productreview_productreview_list .productreview-footer {
    border-top: 1px solid #CCC;
    margin-top: 10px;
}

body.shop_productgroup_product .productreview-footer .create,
body.shop_productgroup_categoryquicklist .productreview-footer .create,
body.shop_product_view .productreview-footer .create,
body.productreview_productreview_list .productreview-footer .create {
    float: right;
}

body.shop_productgroup_product .productreview-header .average,
body.shop_productgroup_categoryquicklist .productreview-header .average,
body.shop_product_view .productreview-header .average,
body.productreview_productreview_list .productreview-header .average {
    float: left;
}

body.shop_productgroup_product .productreview-header .create,
body.shop_productgroup_categoryquicklist .productreview-header .create,
body.shop_product_view .productreview-header .create,
body.productreview_productreview_list .productreview-header .create {
    float: right;
}

body.shop_productgroup_product .productreview-list,
body.shop_productgroup_categoryquicklist .productreview-list,
body.shop_product_view .productreview-list,
body.productreview_productreview_list .productreview-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

body.shop_productgroup_product .productreview-list .product-review,
body.shop_productgroup_categoryquicklist .productreview-list .product-review,
body.shop_product_view .productreview-list .product-review,
body.productreview_productreview_list .productreview-list .product-review {
    padding: 10px 0;
    margin: 10px 0;
    border-bottom: 1px solid #CCC;
}

body.shop_productgroup_product .productreview-list .product-review:last-child,
body.shop_productgroup_categoryquicklist .productreview-list .product-review:last-child,
body.shop_product_view .productreview-list .product-review:last-child,
body.productreview_productreview_list .productreview-list .product-review:last-child {
    border-bottom: none;
}

body.shop_productgroup_product .productreview-list .product-review .review-details,
body.shop_productgroup_categoryquicklist .productreview-list .product-review .review-details,
body.shop_product_view .productreview-list .product-review .review-details,
body.productreview_productreview_list .productreview-list .product-review .review-details {
    float: left;
    margin-right: 10px;
}

body.productreview_adminproductreview_list .productreview-rating,
body.shop_productgroup_product .productreview-list .product-review .review-details .productreview-rating,
body.shop_productgroup_categoryquicklist .productreview-list .product-review .review-details .productreview-rating,
body.shop_product_view .productreview-list .product-review .review-details .productreview-rating,
body.productreview_productreview_list .productreview-list .product-review .review-details .productreview-rating {
    font-size: 60%;
}

body.shop_productgroup_product .productreview-list .product-review .review-content,
body.shop_productgroup_categoryquicklist .productreview-list .product-review .review-content,
body.shop_product_view .productreview-list .product-review .review-content,
body.productreview_productreview_list .productreview-list .product-review .review-content {
    overflow: hidden;
    zoom: 1;
}

body.shop_productgroup_product .productreview-list .product-review .review-details .reviewer,
body.shop_productgroup_categoryquicklist .productreview-list .product-review .review-details .reviewer,
body.shop_product_view .productreview-list .product-review .review-details .reviewer,
body.productreview_productreview_list .productreview-list .product-review .review-details .reviewer {
    clear: both;
}

body.shop_productgroup_product .productreview-list .product-review .review-details .review-user-name,
body.shop_productgroup_categoryquicklist .productreview-list .product-review .review-details .review-user-name,
body.shop_product_view .productreview-list .product-review .review-details .review-user-name,
body.productreview_productreview_list .productreview-list .product-review .review-details .review-user-name {
    display: block;
    font-weight: bold;
}

.adminproductreview-table-info tbody:first-child tr > th {
    border-left: none;
}

body.productreview_adminproductreview_list #body table td a.btn {
    margin-bottom: 10px;
}

body.productreview_productreview_create #body .photo {
    float: right;
    width: 300px;
    text-align: center;
}

body.productreview_productreview_create #body input#productreview-summary {
    width: 480px;
}

body.productreview_productreview_create #body textarea#productreview-body {
    width: 480px;
    height: 350px;
}