.starRating:not(old){
  display        : inline-block;
  width          : 7.5em;
  height         : 1.5em;
  overflow       : hidden;
  vertical-align : bottom;
}

.starRating:not(old) > input{
  margin-right : -100%;
  opacity      : 0;
}

.starRating:not(old) > label{
  display         : block;
  float           : right;
  position        : relative;
  background      : url('../images/star-off.svg');
  background-size : contain;
}

.starRating:not(old) > label:before{
  content         : '';
  display         : block;
  width           : 1.5em;
  height          : 1.5em;
  background      : url('../images/star-on.svg');
  background-size : contain;
  opacity         : 0;
  transition      : opacity 0.2s linear;
}

.starRating:not(old) > label:hover:before,
.starRating:not(old) > label:hover ~ label:before,
.starRating:not(:hover) > :checked ~ label:before
{
  opacity : 1;
}
.testimonials #myModal #frm_add_review label.error,
.testimonials #myModal .form-message.review-error{color:#FF0000;}
.testimonials #myModal .form-message.review-success{color:#008000;}  
.testimonials .checkbox {padding-bottom: 20px; position: relative; }
.testimonials .checkbox label.error {position: absolute; left: 0px; margin: 0px; bottom: 0px; padding: 0px; font-weight: bold; }
.testimonials .testimonial-rating {padding-bottom: 20px; position: relative; }
.testimonials .testimonial-rating label.error {position: absolute; left: 0px; margin: 0px; bottom: 0px; padding: 0px; background: none; }


#ncdv_testimonial_page_form #frm_add_review label.error {color:#FF0000;}
#ncdv_testimonial_page_form #frm_add_review .checkbox {padding-bottom: 20px; position: relative; }
#ncdv_testimonial_page_form #frm_add_review .checkbox label.error {position: absolute; left: 0px; margin: 0px; bottom: 0px; padding: 0px;}
#ncdv_testimonial_page_form #frm_add_review .testimonial-rating {padding-bottom: 10px; position: relative; padding-top: 5px; }
#ncdv_testimonial_page_form #frm_add_review .testimonial-rating label.error {/*position: absolute;*/ display: block; left: 0px; margin: 0px; bottom: 0px; padding: 0px; background: none; top: 10px;}
#ncdv_testimonial_page_form #frm_add_review .checkbox input[type="checkbox"] {-webkit-appearance: checkbox; margin: 3px 0 0 -20px;}

#ncdv_testimonial_page_form .review-success {padding: 20px 13px;border: 1px solid green;margin-top: 10px;color: green;font-size: 16px;}
#ncdv_testimonial_page_form .review-error {padding: 20px 13px;border: 1px solid red;margin-top: 10px;color: red;font-size: 16px;}
