/* Match homepage testimonial slider typography / sizes exactly.
   Homepage source: bt_bb_content_slider (image 100px, text 16px/24px, FA xsmall stars).
   Only loads when [RGtestimonials] is used. */

.tap-testimonials {
	--tap-star: #193b54;
	--tap-text: #181818;
	--tap-cite: #181818;
	--tap-dot: #90ee90;
	--tap-font: Niramit, Arial, Helvetica, sans-serif;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0 0 2.5em;
	padding-bottom: 0.5em;
	overflow: hidden;
	font-family: var(--tap-font);
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	color: var(--tap-text);
}

.tap-testimonials__slider {
	width: 100%;
	box-sizing: border-box;
}

.tap-testimonials__slider.slick-slider {
	position: relative;
	display: block;
	box-sizing: border-box;
	user-select: none;
	touch-action: pan-y;
}

.tap-testimonials__slider .slick-list {
	position: relative;
	display: block;
	overflow: hidden;
	margin: 0 -1rem; /* homepage bt_bb_gap_large */
	padding: 0;
}

.tap-testimonials__slider .slick-track {
	position: relative;
	top: 0;
	left: 0;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.tap-testimonials__slider .slick-track:before,
.tap-testimonials__slider .slick-track:after {
	display: table;
	content: "";
}

.tap-testimonials__slider .slick-track:after {
	clear: both;
}

.tap-testimonials__slider .slick-slide {
	display: none;
	float: left;
	height: auto;
	min-height: 1px;
	box-sizing: border-box;
	padding: 0 1rem; /* homepage bt_bb_gap_large */
}

.tap-testimonials__slider.slick-initialized .slick-slide {
	display: block;
}

.tap-testimonials__slider .slick-slide > div {
	height: auto;
}

.tap-testimonial {
	display: block;
	width: 100%;
	text-align: left;
	outline: none;
	box-sizing: border-box;
	font-family: var(--tap-font);
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	color: var(--tap-text);
}

/* Image — homepage style="max-width: 100px" + hard-rounded */
.tap-testimonial__image {
	margin: 0 0 1em; /* bt_bb_bottom_spacing_small separator */
	max-width: 100px;
	width: 100px;
}

.tap-testimonial__img {
	display: block;
	width: 100px !important;
	height: 100px !important;
	max-width: 100px;
	object-fit: cover;
	border-radius: 50%;
	line-height: 0;
}

/* Paragraph — homepage .bt_bb_text p = 16px / 24px / weight 500 */
.tap-testimonial__text {
	color: var(--tap-text);
	font-family: var(--tap-font);
	font-size: 16px !important;
	font-weight: 500;
	line-height: 24px !important;
	margin: 0;
}

.tap-testimonial__text p {
	margin: 0 0 1em;
	font-family: var(--tap-font);
	font-size: 16px !important;
	font-weight: 500;
	line-height: 24px !important;
	color: var(--tap-text);
}

.tap-testimonial__text p:last-child {
	margin-bottom: 0;
}

/* Name — homepage <cite> inside <p> = 16px / 24px / weight 500 */
.tap-testimonial__name {
	margin: 0 0 1em; /* space before stars like separator */
	color: var(--tap-cite);
	font-family: var(--tap-font);
	font-size: 16px !important;
	font-weight: 500;
	line-height: 24px !important;
}

.tap-testimonial__name cite {
	font-family: var(--tap-font);
	font-size: 16px !important;
	font-style: normal;
	font-weight: 500;
	line-height: 24px !important;
	color: var(--tap-cite);
}

/* Stars — homepage bt_bb_size_xsmall FA icons = 14px, color #193b54 */
.tap-testimonial__stars {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center;
	justify-content: flex-start;
	gap: 0;
	line-height: 1;
	margin: 0;
}

.tap-testimonial__star {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0 0.1em 0 0; /* homepage icon style padding */
	width: auto;
	height: 14px;
	line-height: 14px;
	font-size: 14px !important;
	color: #c5c5c5;
}

.tap-testimonial__star:before {
	font-family: FontAwesome, "FontAwesome", sans-serif;
	content: "\f005";
	font-size: 14px !important;
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	speak: none;
	display: inline-block;
}

.tap-testimonial__star.is-filled {
	color: var(--tap-star);
}

.tap-testimonial__star.is-filled:before {
	color: var(--tap-star);
}

/* Hide any leftover text node inside star spans */
.tap-testimonial__star > * {
	display: none !important;
}

/* Homepage-style accent dots */
.tap-testimonials__slider .slick-dots {
	position: relative;
	bottom: auto;
	left: auto;
	width: 100%;
	margin: 2em 0 0 !important;
	padding: 0;
	list-style: none;
	display: block;
	text-align: center;
	line-height: 0;
}

.tap-testimonials__slider .slick-dots li {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	margin: 0 3px;
	width: 1em;
	height: 1em;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	cursor: pointer;
}

.tap-testimonials__slider .slick-dots li button {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 0;
	line-height: 0;
	color: transparent;
	outline: none;
	cursor: pointer;
	z-index: 2;
}

.tap-testimonials__slider .slick-dots li button:before {
	display: none !important;
	content: none !important;
}

.tap-testimonials__slider .slick-dots li:before {
	content: "";
	display: block;
	background: #191919;
	height: 2px;
	width: 100%;
	opacity: 0.2;
	transform: scaleX(0.8);
	transition: 200ms ease all;
	position: absolute;
	top: 50%;
	left: 0;
	margin-top: -1px;
	z-index: 0;
}

.tap-testimonials__slider .slick-dots li:after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	border-radius: 50%;
	background: var(--tap-dot);
	transform: scale(0);
	transition: 200ms ease all;
	z-index: 1;
	pointer-events: none;
}

.tap-testimonials__slider .slick-dots li:hover:before,
.tap-testimonials__slider .slick-dots li.slick-active:before {
	transform: scale(0);
	opacity: 0;
}

.tap-testimonials__slider .slick-dots li:hover:after {
	transform: scale(0.8);
}

.tap-testimonials__slider .slick-dots li.slick-active:after {
	transform: scale(1);
}

@media (max-width: 575px) {
	.tap-testimonials__slider .slick-list {
		margin: 0 -0.5rem;
	}

	.tap-testimonials__slider .slick-slide {
		padding: 0 0.5rem;
	}

	.tap-testimonial__image {
		max-width: 100px;
		width: 100px;
	}

	.tap-testimonial__img {
		width: 100px !important;
		height: 100px !important;
	}
}
