.tooltip {
  pointer-events: none !important;
  z-index: 999999999;
  margin-top: 7px;
  margin-left: 12px !important;
  position: relative;
}

.tooltip.bottom {
  z-index: 999999999;
  position: relative;
}

#rating-widget {
  display: block;
}

.star-container {
  font-family: "Ubuntu", Arial, sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

#rating-widget .rating-stars {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #008C0E;
  border-radius: 28px;
  padding: 4px 10px;
  gap: 6px;
}

.star {
  display: block;
  width: 16px;
  height: 16px;
}

.review-text {
  font-family: "Ubuntu", Arial, sans-serif;
  font-size: 12px;
  color: #5C5C5D;
  margin: 2px 0 0 2px;
}

.tooltip-grey {
  width: 14px;
  vertical-align: top;
}

.btn-tooltip .tooltip-inner .tooltip-clix {
  background-color: #efefef !important;
}

.review-count-text {
  font-family: "Ubuntu", Arial, sans-serif;
  color: #090C7D;
  font-weight: bold;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

/* Make the tooltip fit on small screens */
@media (max-width: 576px) {
  #rating-widget .tooltip {
    left: 16px !important;
    right: 16px !important;
    max-width: calc(100vw - 32px);
    transform: none !important;
  }

  #rating-widget .tooltip .tooltip-inner {
    max-height: none;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.4;
    display: block;
  }

  .tooltip div {
    min-width: auto;
  }
}

.review-count-text2 {
  font-family: "Ubuntu", Arial, sans-serif;
  color: #090C7D;
  font-weight: normal;
  font-size: 14px;
}

.tooltip div {
  background-color: #fff;
  color: #090C7D;
  font-size: 14px;
  padding: 12px;
  margin-left: -5px;
  min-width: 330px;
  line-height: 20px;
}

@media (max-width: 991px) {
  .tooltip div {
    margin-top: -5px
  }
}

.inline {
  display: inline-block;
}

.gap {
  margin-right: 8px;
}

.from {
  font-family: "Ubuntu", Arial, sans-serif;
  color: #090C7D;
  font-weight: normal;
  font-size: 12px;
}

@media (max-width: 624px) {
  .tooltip div {
    min-width: 260px;
    max-width: 260px;
  }
}

@media (max-width: 500px) {
  .tooltip div {
    min-width: 230px;
    max-width: 230px;
  }
}

@media (max-width: 440px) {
  .tooltip div {
    min-width: 160px;
    max-width: 160px;
  }

  .tooltip.bottom {
    left: 43% !important;
  }
}