
/* Wrapper (optional, only if you want the 900px cap here) */
.TestimonialWrapper{
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  margin: 12px 12px 0px 0px;
}

.TestimonialWrapper TD {
	vertical-align: middle;
}


#TestimonialTB1 .TD {
	padding: 10px 10px 0px 10px;
}

.TestimonialImage {
	width: 179px;
}

.TestimonialInstance{ display: none; }
.TestimonialInstance.is-active{ display: block; }

.cg-testimonial-media img,
.TestimonialInstance img{
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 999px;
  border: 2px solid #fff;
  display: block;
}

/* Text */
h3.cg-testimonial-title{ font-size: 1.6em; }

.cg-testimonial-subtitle{
  opacity: 0.75;
  margin-bottom: 10px;
  font-size: 1.2em;
  font-style: italic;
  color: #e1c376;
}

/* Prevent extra whitespace at end of content */
.cg-testimonial-content p:last-child{ margin-bottom: 0; }

/* Controls */
.cg-testimonials-controls{
  margin-top: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.cg-testimonials-prev,
.cg-testimonials-next{
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 10px;
}

.cg-testimonials-dots{
  display: flex;
  gap: 8px;
  align-items: center;
}

.cg-testimonials-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  opacity: 0.35;
}

.FiveStar {
	width: 170px !important;
	height:	auto !important;;
	border: none !important;
}

.cg-testimonials-dot.is-active{ opacity: 1; }

@media screen and (max-width: 780px) {


	#TestimonialTB1,
	#TestimonialTB1 .TR,
	#TestimonialTB1 .TD {
	
		display: block;
		text-align: center !important;
	}

	#TestimonialTB1 .TestimonialImage {
		padding: 10px 10px 10px 10px;
		width: 100% !important;
		text-align: center !important
	}


	.cg-testimonial-media img:not(.FiveStar),
	.TestimonialInstance img:not(.FiveStar) {
	  width: 260px !important;
	  height: 260px !important;
	  text-align: center !important;
	  border: 2px solid #fff;
	  display: inline-block;
	margin: 0 auto;
	}
}



