/* ============ AVERAGE RATING SUMMARY ============ */

.ratingline {
  font-family: sans-serif;
  margin: 20px 0;
}

.averagerating-label {
  font-weight: bold;
  display: inline-block;
  margin-right: 10px;
}

.averagerating {
  display: inline-block;
  font-size: 26px;
  font-weight: bold;
  margin-right: 10px;
}

.averagestars {
  display: inline-block;
  vertical-align: middle;
  font-size: 22px;
}

.ratingbar {
  font-size: 14px;
  margin: 6px 0;
  display: flex;
  align-items: center;
}

.ratingbox {
  display: inline-block;
  width: 100px;
  height: 20px;
  background-color: white;
  border: 1px solid black;
  margin: 0 10px;
  vertical-align: middle;
  position: relative;
}

.ratingfill {
  display: inline-block;
  height: 18px;
  background-color: #ff9c1a;
  vertical-align: top;
}

/* ============ TAB NAVIGATION ============ */

.nav-tabs > li > a {
  font-weight: bold;
  color: #144d71;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
  background-color: #144d71;
  color: #fff;
}

.nav-tabs > li.disabled > a {
  color: #aaa;
  pointer-events: none;
  cursor: not-allowed;
}

/* ============ TESTIMONIAL BLOCK ============ */

.tab-pane {
  padding-top: 15px;
}

.testimonial-block {
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
  overflow: hidden;
  position: relative;
}

.circle {
  float: left;
  background-color: #9b1515;
  color: #fff;
  width: 70px;
  height: 70px;
  display: table;
  border-radius: 50%;
  margin-right: 20px;
}

.circle-inner {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  font-size: 30px;
}

.testimonial-meta {
  overflow: hidden;
}

.name {
  font-size: 16px;
  font-weight: bold;
}

.date,
.verifiedusers {
  color: #888;
  font-size: 14px;
  margin-top: 2px;
}

.ratingline>.averagestars>.stars { margin-top: -13px; }

.stars { margin-top:3px; }

.stars i {
  color: #e6e6e6;
  font-size: 18px;
  letter-spacing: 2px;
}

.stars i.active {
  color: #ff9c1a;
}

.testimonialtext {
  margin-top: 10px;
  margin-left: 90px;
}

.dev-response {
  margin-top: 10px;
  font-style: italic;
  color: #555;
}

/* ============ QUOTE ICONS ============ */

.quote-icon {
  display: none;
  fill: #bbb;
  position: absolute;
  width: 30px;
  height: 30px;
  left: -47px;
  top: 83px;
}

.smallquote-icon {
  display: inline-block;
  fill: #bbb;
  margin-right: 10px;
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

@media (min-width: 768px) {
  .quote-icon {
    display: block;
    left: 18px;
    top: 134px;
  }
  .smallquote-icon {
    display: none;
  }
}

/* ============ RESPONSIVE TWEAKS ============ */

@media (max-width: 767px) {
  .circle {
    width: 50px;
    height: 50px;
  }

  .circle-inner {
    font-size: 20px;
  }

  .testimonialtext {
    margin-left: 0;
  }
}

.rating-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.rating-summary {
  flex: 1 1 300px;
  margin-right: 20px;
}

.review-submit {
  flex: 0 0 auto;
  margin-top: 10px;
}

.review-submit .btn {
  font-weight: bold;
  padding: 10px 16px;
  font-size: 16px;
}
