/* Recommend Me Pattern */
.nn-agg-container {
  background-image: url("/assets/templates/main/images/icons/icon-review-star.png");
  background-position: left;
  background-repeat: no-repeat;
  background-size: auto 27px;
  padding-left: 35px;
  margin-right: 7px;
}
.nn-agg-container img {
  display: none;
}
.nn-agg-container .nn-agg-rating {
  line-height: 27px;
}
.nn-reviews {
  display: inline-block;
  margin: 0 0 0 12px;
  line-height: 27px;
  font-size: 1.8em;
  font-style: italic;
}
#nn-reviews {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.nn-agg {
  display: inline-block;
  background-color: #a9a9a9;
  border-radius: 24px;
  padding: 5px 10px;
}

/* End Recommend Me Pattern */

#testimonials-secondary .secondary-tools,
#testimonials-secondary .width-limiter {
  position: relative;
}
#testimonials-secondary #nn-reviews {
  text-align: center;
}
.sidebar-right #testimonials-secondary .secondary-tools {
  width: 90%;
  margin: 0px auto 0 auto;
}
.sidebar-right #testimonials-secondary .width-limiter::before {
  width: 100%;
  height: 100%;
  max-height: 250px;
  left: 50%;
  top: -160px;
  transform: translateX(-50%);
}

@media all and (min-width: 801px) {
  #testimonials-secondary .secondary-tools {
    width: 100%;
    margin: 0 0 0 auto;
  }
  #testimonials-secondary .width-limiter {
    position: relative;
  }
  #testimonials-secondary .width-limiter::before {
    width: 50%;
    height: 100%;
    left: 0;
    top: 0;
  }
}
@media all and (max-width: 800px) {
  #testimonials-secondary .secondary-tools {
    width: 100%;
    margin: 160px auto 0 auto;
  }
  #testimonials-secondary .width-limiter::before {
    width: 100%;
    height: 100%;
    max-height: 250px;
    left: 50%;
    top: -160px;
    transform: translateX(-50%);
  }
}