.review-section {
  background-color: $off-white;
  padding: 40px 0;
  @include breakpoint(small only) {
    padding-bottom: 80px;
  }
  .reviews-title {
    font-size: 36px;
    font-weight: 600;
    color: $charcoal;
    position: relative;
  }
  .reviews-page-indicator {
    display: inline-block;
    color: $grey;
    font-size: 14px;
    font-weight: bold;
    line-height: 17px;
    vertical-align: middle;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .divider {
    margin-top: 32px;
    margin-bottom: 32px;
    border-color: white;
  }
}
.charcoal-block {
  padding: 32px;
  text-align: center;
  background-image: url("/images/bg-black-host-sm.png");
  background-position: center;
  background-size: cover;
  background-repeat: repeat;
  border-radius: 4px;
  margin-bottom: 24px;
  @media (min-width: 640px) and (max-width: 1023px) {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }
  .overall {
    font-size: 22px;
    line-height: 28px;
    color: $honey;
    font-weight: 600;
  }
  .overall-number {
    font-size: 36px;
    font-weight: 600;
    color: white;
    span {
      display: inline-block;
      vertical-align: middle;
      font-size: 16px;
      line-height: 22px;
      font-weight: 600;
    }
  }
  .stars {
    .material-icons {
      font-size: 30px;
    }
  }
}
.key-star-rating-container {
  margin-bottom: 24px;
  .star-input-display-wrapper {
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    color: $charcoal;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    .stars {
      .material-icons {
        font-size: 19px;
      }
    }
  }
}
.review-card {
  padding-bottom: 32px;
  margin-bottom: 24px;
  border-bottom: 1px solid $light-grey;
  @include breakpoint(medium up) {
    margin-bottom: 32px;
  }
  .review-card-header {
    display: inline-block;
    margin-bottom: 12px;
    span {
      margin-left: 24px;
      font-size: 14px;
      color: $charcoal;
      line-height: 17px;
      &.review-date {
        color: $grey;
        position: relative;
        &::after {
          content: "";
          position: absolute;
          width: 4px;
          height: 4px;
          border-radius: 50%;
          top: 7px;
          left: -10px;
          background-color: $grey;
        }
      }
    }
  }
  .review-body {
    display: inline-block;
    vertical-align: middle;
    white-space: pre-line;
    word-break: break-word;
  }
}
.material-icons-19 {
  .material-icons {
    font-size: 19px;
  }
}
.review-user-image {
  display: inline-block;
  margin-right: 18px;
  vertical-align: middle;
  .avatar {
    border-radius: 50%;
    margin-bottom: 0;
    width: 60px;
    height: 60px;
    div.height-100 {
      line-height: 56px !important;
    }
  }
}
.review-content {
  display: flex;
}
.load-reviews-button {
  color: $dark-mint;
  border-radius: 4px;
  background-color: white;
  border: 2px solid $light-mint;
  padding: 14px;
  text-align: center;
  font-size: 14px;
  line-height: 21px;
  width: 100%;
  &:hover {
    background-color: $dark-mint;
    color: white;
  }
}
.reviews-pagination {
  text-align: center;
  .previous-button {
    margin-right: 17px;
  }
  .next-button {
    margin-left: 17px;
  }
  .previous-button, .next-button, .page-indicator-button {
    color: $dark-mint;
    border-radius: 4px;
    background-color: white;
    border: 2px solid $light-mint;
    padding: 8px 16px;
    text-align: center;
    font-size: 14px;
    line-height: 21px;
    &:hover {
      background-color: $dark-mint;
      color: white;
    }
    &.disabled {
      color: $light-grey;
      border-color: $light-grey;
      &:hover {
        background-color: white;
        color: $light-grey;
        cursor: not-allowed;
      }
    }
  }

  .page-indicator-button {
    margin-right: 8px;
    &.active {
      background-color: $dark-mint;
      color: white;
      box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.06);
    }
  }

}