/* Recommend Me Pattern */
.nn-agg-container {
  display: inline-block;
  position: relative;
}
.nn-agg-container::before {
  content: '';
  position: relative;
  display: inline-block;
  vertical-align: middle;
  background-image: url("/assets/templates/main/images/icons/reviews-check.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 26px;
  height: 26px;
  margin: 0 auto;
}
.nn-agg {
  display: inline-block;
}
.nn-agg-container img {
  display: none;
}
.nn-agg-container .nn-agg-rating,
.nn-reviews {
  line-height: 1.2;
  font-size: 1.8em;
}
.nn-agg-container .nn-agg-rating::after {
  content: ' Average Star Rating from';
}
.nn-reviews {
  display: inline;
  vertical-align: middle;
  margin: 0;
}
#testimonials-secondary #nn-reviews {
  background-color: #a9a9a9;
  border-radius: 40px;
  padding: 5px 20px;
  width: 70%;
  margin: 15px auto;
  vertical-align: middle;
}

@media all and (max-width: 570px) {
  #testimonials-secondary #nn-reviews {
    width: 90%;
  }
  .nn-agg-container .nn-agg-rating,
  .nn-reviews {
    font-size: 1.8em;
  }
}

@media all and (max-width: 400px) {
  #testimonials-secondary #nn-reviews {
    width: 95%;
  }
}

/* End Recommend Me Pattern */

#testimonials-secondary.secondary-tools-outer {
  background-image: url(/assets/templates/main/images/backgrounds/reviews-background-image.jpg);
  background-position: center center;
  background-size: cover;
}
/* -- Content -- */
#sidebar-content-bottom .secondary-tools, .full-width .secondary-tools {
  background-color: rgba(235,235,235,0.8);
}
#testimonials-secondary .secondary-tools {
  text-align: center;
  padding: 20px;
}
/* -- End Content -- */
@media all and (min-width: 801px) {
  .full-width #testimonials-secondary {
    background-position: right center;
  }
  .full-width #testimonials-secondary .secondary-tools {
    width: 50%; 
  }
}
@media all and (max-width: 800px) {
  #testimonials-secondary.secondary-tools-outer .secondary-tools {
    width: 80%;
    margin: 0 auto;
  } 
}
@media all and (max-width: 570px) {
  #testimonials-secondary.secondary-tools-outer .secondary-tools {
    width: 100%;
  } 
}