/*
* Main styling file for Better Business Reviews plugin
*/

.brtpmj_businessheader {
  display: flex;
  margin-bottom: 15px;
  align-items: center;
  gap: 10px;
}
.brtpmj_businessheader img {
  width: 150px;
}
.brtpmj_business_ratings {
  display: flex;
  gap: 5px;
  position: relative;
  max-width: max-content;
}

.brtpmj_br_score_img img {
  width: 80px;
}
.brtpmj_business_ratings a {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px;
  line-height: 1;
  font-weight: bold;
  text-decoration: none;
}
.brtpmj_business_ratings a img {
  width: 15px;
  height: 15px;
  vertical-align: bottom;
}

/* single review */
.brtpmj_single_rvw {
  border: 1px solid #e5e5dd;
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 8px;
  break-inside: avoid;
}
.brtpmj_sr_author_overview {
  display: flex;
  border-bottom: 1px solid #e5e5dd;
  margin-bottom: 15px;
  padding-bottom: 10px;
}
.brtpmj_sr_ab_img {
  width: 50px;
  height: 50px;
  background: #d1f9ea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brtpmj_sr_ab_img span {
  font-weight: bold;
}
.brtpmj_sr_ab_img img {
  border-radius: 50%;
}
.brtpmj_sr_ab_name_date {
  display: flex;
  flex-direction: column;
  margin-left: 15px;
}
.brtpmj_sr_ab_name {
  font-weight: bold;
}
.logo_stars {
  max-width: 100px;
}

.show_stars {
    display: grid;
    border-right: 1px solid #464646;
    padding-right: 10px;
}
.show_points {
  position: relative;
  display: flex;
}
.brtpmj_br_score {
    font-weight: 500;
    font-size: 2rem;
    color: #3d3d3d;
    align-content: center;
}
@media (min-width: 768px) {
  #review_home_desktop .trustpilot-link {
    position: relative;
    width: max-content;
    top: 10px;
    display: block;
    left: -10px;
    background-color: #fff;
    padding: 5px 20px;
    border-radius: 35px;
    color: #3f4040;
    justify-self: right;
  }

  #review_home_mobile {
    display: none !important;
  }
}
@media (max-width: 768px) {
  #review_home_mobile .trustpilot-link {
    position: relative;
    width: max-content;
    display: block;
    padding: 5px 20px;
    border-radius: 35px;
    color: #3f4040;
    background-color: #fff;
    place-self: anchor-center;
  }

  #review_home_desktop {
    display: none !important;
  }
}
