/* Google Reviews Carousel Styles */

#google-reviews {
  position: relative;
}

/* Owl Carousel overrides for reviews */
#google-reviews.owl-carousel .owl-stage-outer {
  overflow: visible; /* Allow shadows to show */
}

#google-reviews.owl-carousel .owl-item {
  padding: 10px;
}

.review-item, .review-item-long {
  border: solid 1px rgba(190, 190, 190, .35);
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.25);
  margin: 10px;
  word-break: break-word;
  position: relative;
  height: auto;
  min-height: 300px;
}

.review-header{
  display: flex;
}

.review-picture{
  width: 30%;
  height: auto;
  align-self: center;
  margin-right: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.25);
  border-radius: 50%;
  border: 3px solid #fff;
}

.review-usergrade{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.review-meta, .review-stars {
  text-align: left;
  font-size: 115%;
}

.review-author {
  text-transform: capitalize;
  font-weight: bold;
}

.review-date {
  opacity: .6;
  display: block;
}

.review-text {
  line-height: 1.55;
  text-align: left;
  max-width: 100%;
  margin: 25px 0 50px;
  padding: 0px 2% !important;
}

.read-more-btn {
  display: inline-block;
  margin-top: 10px;
  color: #277ba4;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
}

.read-more-btn:hover {
  color: #1f6283;
  text-decoration: underline;
}

.review-text-short,
.review-text-full {
  display: inline;
}

.review-stars ul {
  display: inline-block;
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.review-stars ul li {
  float: left;
  list-style: none !important;
  margin-right: 1px;
  line-height: 1;
}

.review-stars ul li i {
  color: #eb6e00;
  font-size: 1.4em;
  font-style: normal;
}

.review-stars ul li i.inactive {
  color: #c6c6c6;
}

.star:after {
  content: "\2605";
}

.buttons {
  margin: 50px 0 0 0; 
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.more-reviews {
  text-align: center;
}

.write-review {
  text-align: center;
}

.ndrsl-testimonial-source {
  margin-top:2px;
  margin-bottom:0;
  font-size:14px;
  color:#777;
  word-break: break-word;
  position: absolute;
  bottom: 22px;
}

.ndrsl-testimonial-source a,
.ndrsl-testimonial-source a:hover,
.ndrsl-testimonial-source a:active,
.ndrsl-testimonial-source a:focus,
.ndrsl-testimonial-source a:visited {
  text-decoration:none;
  color:#777;
  font-weight:normal;
  border-bottom:none
}

.ndrsl-testimonial-source a:hover {
  opacity:1 !important;
  text-decoration:underline !important
}

.ndrsl-testimonial-source .ndrsl-source-icon {
  width:20px;
  height:20px;
  object-fit:contain;
  display:inline-block;
  vertical-align:middle;
  margin-right: 5px;
}

/* Custom Owl Carousel Navigation */
#google-reviews .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  margin-top: -25px;
  pointer-events: none;
}

#google-reviews .owl-nav button {
  pointer-events: all;
  position: absolute;
  width: 50px;
  height: 50px;
  background: rgba(39, 123, 164, 0.9) !important;
  color: white !important;
  border-radius: 50%;
  font-size: 30px !important;
  line-height: 50px !important;
  transition: all 0.3s;
  border: none;
}

#google-reviews .owl-nav button:hover {
  background: rgba(39, 123, 164, 1) !important;
  transform: scale(1.1);
}

#google-reviews .owl-nav button.owl-prev {
  left: -25px;
}

#google-reviews .owl-nav button.owl-next {
  right: -25px;
}

#google-reviews .owl-nav button span {
  display: block;
}

/* Owl Carousel Dots */
#google-reviews .owl-dots {
  text-align: center;
  margin-top: 30px;
}

#google-reviews .owl-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: #ddd !important;
  border-radius: 50%;
  transition: all 0.3s;
}

#google-reviews .owl-dot.active {
  background: #277ba4 !important;
  transform: scale(1.3);
}

#google-reviews .owl-dot:hover {
  background: #277ba4 !important;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .review-item, .review-item-long {
    margin: 2px;
    padding: 8px 25px 17px;
  }
  
  .review-picture {
    width: 20%;
  }
  
  .review-stars ul li i {
    font-size: 1.2em;
  }
  
  .review-text {
    line-height: 1.3;
    margin: 13px 0 18px;
  }
  
  .review-usergrade {
    line-height: 18px;
  }
  
  .ndrsl-testimonial-source {
    bottom: 6px;
  }
  
  #google-reviews .owl-nav button.owl-prev {
    left: 5px;
  }
  
  #google-reviews .owl-nav button.owl-next {
    right: 5px;
  }
}