.truncate-if p {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}

#reviews-popup .truncate-if p {
  overflow: auto;
  display: block;
  -webkit-line-clamp: initial;
  -webkit-box-orient: initial;
}

.reviews-Trustpilot {
  padding-top: 75px;
  background: url(../images/reviews-trustpilot.webp) no-repeat center 15px;
  cursor: pointer;
}

.reviews-realself {
  padding-top: 75px;
  background: url(../images/reviews-realself.webp) no-repeat center 15px;
  cursor: pointer;
}

.reviews-GoogleReviews {
  padding-top: 75px;
  background: url(../images/reviews-google.webp) no-repeat center 15px;
  cursor: pointer;
}

.reviews-Whatclinic {
  padding-top: 75px;
  background: url(../images/reviews-whatclinic.webp) no-repeat center 15px;
  cursor: pointer;
}
.trustpilot-text p, .googlereviews-text p {
  margin: 0;
}
.trustpilot-text strong {
  color: #51B37F;
  font-size: 24px;
}
.googlereviews-text strong {
  color: #4285F4;
  font-size: 24px;
}

.influencer-ba-items {
  position: relative;
}

.influencer-ba-item-wrap {
  display: block;
  width: 100%;
}

.influencer-ba-item {
  display: flex;
  width: 100%;
  position: relative;
  max-height: 115px;
  cursor: pointer;
}

.active .influencer-ba-item:after {
  left: 50%;
  top: 100%;
  margin-left: -20px;
  border: solid transparent;
  content: "";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(248, 234, 252, 0);
  border-top-color: #F8EAFC;
  border-width: 20px;
}

.influencer-ba-header {
  margin-left: 20px;
}

[dir="rtl"] .influencer-ba-header {
  margin-left: 0;
  margin-right: 20px;
}

.influencer-ba-follower_count {
  margin-left: auto;
}

[dir="rtl"] .influencer-ba-follower_count {
  margin-left: 0;
  margin-right: auto;
}

.influencer-ba-image {
  display: none;
  width: 100%;
  top: 0;
  right: 0;
}

[dir="rtl"] .influencer-ba-image {
  left: 0;
  right: auto;
}

.active .influencer-ba-image {
  display: inline-block;
}

#doctors {
  position: relative;
}

#doctors .e-loop-item .e-con-full.e-parent {
  position: inherit;
}

.e-loop-item .doctor-item {
  width: 100%;
  cursor: pointer;
}

#doctors .e-loop-item.active .doctor-item {
  background-color: #ffffff;
  border-color: #ffffff;
}

.e-loop-item .doctor-details {
  display: none;
}

.e-loop-item.active .doctor-details {
  display: flex;
}

.doctor-details > .elementor-element {
  height: 513px;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  margin-top: 20px;
  margin-bottom: 20px;
}

a.see-all-doctors {
  font-size: 1rem;
  color: #000000;
  text-decoration: underline;
  display: block;
  text-align: center;
  margin-top: 20px;
}

.read-more-link {
  display: none;
}
.wa-form-open .e-con:has(.wa-form-overlay) {
  display: block;
}
.wa-form-overlay {
  border-radius: 0;
  background: rgba(0, 0, 0, .8);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
}
html:has(body.wa-form-open),
body.wa-form-open {
  overflow: hidden;
}
body.wa-form-open .wa-form-overlay~.e-con {
  background: #ffffff;
  z-index: 1000;
  position: fixed;
  top: 30%;
  width: calc(100vw - 20px);
  left: 10px;
}
@media (min-width:768px) {
  body.wa-form-open .wa-form-overlay~.e-con {
    width: 370px;
    left: calc(50vw - 185px);
  }
}
body.wa-form-open efilli-layout-dynamic {
  position: relative;
  z-index: 98;
}
.e-form__buttons.leadform-with-buttons {
  column-gap: 20px;
  flex-wrap: nowrap;
}
.elementor-button.btn-leadform-submit.btn-leadform-whatsapp {
  background-color: #4caf50;
}
.elementor-button.btn-leadform-submit.btn-leadform-livechat {
  background-color: #c264de;
}
.elementor-button.btn-leadform-submit {
  color: #ffffff;
  margin-top: 0;
}

#whatsapp-button, #WhatsAppMobileButton {
  position: fixed;
  bottom: 0;
  width: 100%;
  display: block;
  z-index: 9998;
  color: #ffffff;
  background: #4caf50;
  background: linear-gradient(135deg, rgb(76, 175, 80) 35%, rgb(194, 100, 222) 65%);
  font-size: 18px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-radius: 0;
  opacity: 0;
  transition: opacity 0.5s;
  visibility: hidden;
  animation: gradient 5s ease infinite;
  background-size: 400% 400%;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  #whatsapp-button.inview, #WhatsAppMobileButton.inview {
    opacity: 1;
    visibility: visible;
  }
}

@media (min-width: 768px) {
  .influencer-ba-item {
    width: 48%;
  }

  .active .influencer-ba-item::after {
    left: calc(100% + 20px);
    top: 50%;
    margin-top: -20px;
    border-top-color: transparent;
    border-left-color: #F8EAFC;
  }

  [dir="rtl"] .active .influencer-ba-item:after {
    left: inherit;
    right: calc(100% + 20px);
    margin-left: inherit;
    margin-right: -20px;
    border-left-color: #FFFFFF;
    border-right-color: #F8EAFC;
  }

  .influencer-ba-image {
    position: absolute;
    max-width: 48%;
  }

  #doctors .elementor-loop-container {
    height: 574px;
    overflow-y: auto;
    width: 40%;
  }

  .e-loop-item .doctor-item {
    width: 97%;
  }

  .e-loop-item .doctor-details {
    position: absolute;
    top: 0;
    right: 0;
    width: 59%;
  }
  [dir="rtl"] .e-loop-item .doctor-details {
      position: absolute;
      top: 0;
      left: 0;
      right: inherit;
      width: 59%;
    }
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}