/* Styles for the loading spinner */
.happy-loading-spinner {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}section.section.section-testimonials .happy-review-container {
    display: none !important;
}section.section.section-testimonials.section-testimonials--blocks .happy-review-container {
    display: none;
}
.happy-review-container{
    margin: 0;
    margin-right: 19.6px;
    height: 251px !important;
    background-color: #efefef !important;
    padding: 15px;
}
.happy-reviews-main button.slick-prev.pull-left.slick-arrow {
  position: absolute;
  background: transparent;
  border: 0;
  left: -36px;
  transform: translateY(-14px) rotate(180deg);
}
.happy-reviews-main button.slick-next.pull-right.slick-arrow {
  position: absolute;
  background: transparent;
  border: 0;
  right: -17px;
  top: 121px;
}
.happy-reviews-main .slick-prev:before,
.slick-next:before {
  display: none !important;
}
.happy-reviews-main button.slick-prev.pull-left.slick-arrow:before {
  display: none;
}

.happy-loading-spinner.spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #000;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.happy-review-container {
  background-color: #efefef !important;
  padding: 15px;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 8px;
}

.pagination-container ul {
  position: relative;
}

.happy-reviews-main .container.slick-slider.slick-initialized.slick-dotted {
  margin-bottom: 0;
}

.happy-reviews-main .review-source {
  float: right;
  margin-top: -43px;
}
.happy-reviews-main .review-name {
  font-weight: bold;
  font-size: 16px;
  text-transform: capitalize;
  overflow: hidden;
  padding-right: 25px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #000000;
  margin-bottom: 0px;
}
.happy-reviews-main .review-date {
  margin: 0 !important;
  padding: 0;
  font-size: 13px;
  color: #000000;
  opacity: 0.5;
}

.happy-reviews-main .profile-icon {
  float: left;
  width: 13%;
  margin-right: 15px;
  /* Adjust the margin as needed */
}

.happy-reviews-main .review-details {
  overflow: hidden;
  /* Clear the float to prevent layout issues */
}

.happy-reviews-main .review-source {
  margin-bottom: 10px;
}

.happy-reviews-main .review-source img {
  max-width: 63px;
  max-height: 37px;
  margin-right: 5px;
}

.pagination-container li {
  font-weight: 600;
}
.happy-review-container {
  margin: 0;
  margin-right: 19.6px;
  height: 251px !important;
}
.pagination-container li.slick-active {
  border-radius: 50px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  background: white;
  width: 50px;
  height: 49px;
  line-height: 2.5;
  font-weight: 700;
  text-align: center;
  font-size: 20px;
  color: #f9361c;
}

.pagination-container {
  text-align: center;
}

.slick-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.slick-dots li {
  margin: 0 5px;
}

.slick-dots li button {
  font-size: 16px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  color: #333;
}

.happy-reviews-main .review-rating {
  margin-bottom: -15px;
  margin-top: 0;
}

.happy-reviews-main .rating-stars {
  color: #f6bb06;
  /* Set star color to gold */
  font-size: 23px;
}

.happy-reviews-main .review-content {
  margin-bottom: 15px;
  font-weight: 600;
  text-align: center;
  margin-top: 14px;
}

.happy-reviews-main .slick-slide {
  transition: transform 300ms ease-out;
}
.happy-reviews-main .slick-slide:hover {
  -webkit-transform: translate(0, -5px);
  -ms-transform: translate(0, -5px);
  transform: translate(0, -5px);
}
.happy-reviews-main hr {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 20px 0;
}
.happy-reviews-main .review-content-inner {
  max-height: 100px;
  overflow-y: auto;
  margin-top: 15px;
  padding-right: 13px;
}

/* For Webkit-based browsers (Chrome, Safari) */
.review-content-inner::-webkit-scrollbar {
  width: 4px; /* Adjust the width as needed */
}

.review-content-inner::-webkit-scrollbar-thumb {
  background-color: gray;
  border-radius: 3px;
}

.review-content-inner::-webkit-scrollbar-track {
  background-color: transparent;
}

@media only screen and (max-width: 600px) {
  .happy-reviews-main .profile-icon {
    float: left;
    margin-top: 0px;
    width: 13%;
    margin-right: 15px;
  }
  .happy-reviews-main button.slick-prev.pull-left.slick-arrow {
    display: none !important;
  }
  .happy-reviews-main button.slick-next.pull-right.slick-arrow {
    display: none !important;
  }
  .happy-review-container {
    margin: 0;
    margin-right: 19.6px;
    height: 251px !important;
  }section.section.section-testimonials .happy-review-container {
    display: none !important;
}
}