﻿/* =========================================================
   TESTIMONIALS / REVIEWS
   Reversed visual companion to .mainSignup
========================================================= */
.testimonialSection {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
	min-height: 68vh;
	display: flex;
	overflow: hidden;
	background-color: var(--color-background-light);
}
/* =========================================================
   BACKGROUND IMAGE
========================================================= */
.testimonialBack {
	position: absolute;
	top: 60px;
	right: 0;
	bottom: 60px;
	left: 0;
	background-image: url("/tempimg/EndoBack.jpg");
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
/* =========================================================
   LEFT DARK PANEL
   Reverse of .mainSignupContent
========================================================= */
.testimonialPanel {
	position: relative;
	width: 38%;
	margin-left: 6%;
	margin-right: 60%;
		padding: 110px 2vw 100px 2vw;
	background-color:
		rgba(var(--color-dark-bg-rgb), 0.70);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	overflow: hidden;
	border-radius:
		0 10% 0 10%;
	color: #fff;
	z-index: 2;
}
/* =========================================================
   TOP HEADING
========================================================= */
.testimonialEyebrow {
	position: relative;
	flex: 0 0 auto;
	width: 100%;
	margin:
		0 0 18px 0;
	color: #fff !important;
	font-size: 27px;
	line-height: 1.2;
	text-align: center;
	z-index: 3;
}
/* =========================================================
   CAROUSEL AREA
   Flexible center region
========================================================= */
.testimonialCarousel {
	position: relative;
	flex: 1 1 auto;
	width: 100%;
	min-height: 280px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	z-index: 3;
}
/* =========================================================
   CAROUSEL INNER
========================================================= */
.testimonialCarousel .carousel-inner {
	position: relative;
	width: 100%;
	min-height: 280px;
	margin-top: auto;
	margin-bottom: auto;
	overflow: hidden;
}
/* =========================================================
   FIXED HEIGHT ITEMS
   JavaScript sets the actual height
========================================================= */
.testimonialCarousel.testimonialSized .item {
	height: 100%;
}
/* =========================================================
   TESTIMONIAL CONTENT
========================================================= */
.testimonialSlide {
	position: relative;
	width: 100%;
	min-height: 280px;
	box-sizing: border-box;
	padding:
		34px 1vw 20px 1vw;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.testimonialCarousel.testimonialSized .testimonialSlide {
	height: 100%;
	min-height: 100%;
}
/* =========================================================
   QUOTE
========================================================= */
.testimonialQuote {
	position: relative;
	width: 100%;
	margin:
		0 auto 24px auto;
	font-size: 28px;
	line-height: 1.45;
	font-weight: 400;
	color: #fff !important;
	text-align: center;
	z-index: 3;
}
/* =========================================================
   PERSON
========================================================= */
.testimonialPerson {
	position: relative;
	width: 100%;
	margin: 0;
	font-size: 21px;
	line-height: 1.4;
	color: #fff !important;
	text-align: center;
	z-index: 3;
}
/* =========================================================
   STARS
========================================================= */
.testimonialStars {
	position: relative;
	width: 100%;
	margin:
		16px 0 0 0;
	font-size: 22px;
	line-height: 1;
	text-align: center;
	color: var(--color-light-accent) !important;
	z-index: 3;
}
.testimonialStars i {
	margin:
		0 3px;
	color: var(--color-light-accent) !important;
}
/* =========================================================
   DOT NAVIGATION
========================================================= */
.testimonialDots {
	position: relative;
	flex: 0 0 auto;
	width: 100%;
	left: auto;
	right: auto;
	top: auto;
	bottom: auto;
	margin:
		10px 0 0 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	list-style: none;
	text-align: center;
	z-index: 4;
}
.testimonialDots li {
	position: relative;
	float: none;
	display: block;
	width: 10px;
	height: 10px;
	margin: 0;
	padding: 0;
	border:
		1px solid rgba(255, 255, 255, .85);
	border-radius: 50%;
	background-color:
		rgba(255, 255, 255, .20);
	cursor: pointer;
	box-sizing: border-box;
	transition:
		background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.testimonialDots li:hover {
	background-color:
		rgba(255, 255, 255, .60);
}
.testimonialDots li.active {
	width: 10px;
	height: 10px;
	margin: 0;
	background-color: var(--color-light-accent);
	border-color: var(--color-light-accent);
	transform: scale(1.25);
}
/* =========================================================
   READ MORE BUTTON
========================================================= */
.testimonialButton {
	position: relative;
	flex: 0 0 auto;
	width: 100%;
	margin:
		16px 0 0 0;
	text-align: center;
	z-index: 4;
}
.testimonialButton .btn {
	margin: 0;
}
/* =========================================================
   SCROLL REVEAL OVERRIDES
========================================================= */
.sr .itemInner p, .sr .itemInner h2, #Main #BlogTopics li {
	opacity: 1 !important;
	visibility: visible !important;
	transform: scale(1) !important;
}
/* Make sure testimonial content is NEVER altered
   by scroll reveal */
.sr .testimonialEyebrow, .sr .testimonialQuote, .sr .testimonialPerson, .sr .testimonialStars, .sr .testimonialStars i, .sr .testimonialDots, .sr .testimonialButton, .sr .testimonialButton .btn {
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
}
.sr .testimonialDots li {
	opacity: 1 !important;
	visibility: visible !important;
}
.sr .testimonialDots li.active {
	transform: scale(1.25) !important;
}
/* =========================================================
   MEDIUM DESKTOP
========================================================= */
@media(max-width: 1400px) {
	.testimonialPanel {
		width: 42%;
		margin-left: 4%;
		margin-right: 54%;
		padding:
			78px 3vw 70px 3vw;
	}
	.testimonialQuote {
		font-size: 26px;
	}
}
/* =========================================================
   TABLET
========================================================= */
@media(max-width: 992px) {
	.testimonialPanel {
		width: 50%;
		margin-left: 4%;
		margin-right: 46%;
	}
	.testimonialEyebrow {
		font-size: 24px;
	}
	.testimonialQuote {
		font-size: 23px;
	}
	.testimonialPerson {
		font-size: 19px;
	}
}
/* =========================================================
   MOBILE
========================================================= */
@media(max-width: 767px) {
	.testimonialSection {
		min-height: auto;
		padding:
			60px 0;
	}
	.testimonialBack {
		top: 0;
		bottom: 0;
		background-position: center center;
	}
	.testimonialPanel {
		width: auto;
		min-height: 540px;
		margin:
			0 5%;
		padding:
			50px 25px 45px 25px;
		border-radius:
			0 45px 0 45px;
		background-color:
			rgba(var(--color-dark-bg-rgb), .78);
	}
	.testimonialEyebrow {
		margin-bottom: 12px;
		font-size: 22px;
		text-align: center;
	}
	.testimonialCarousel {
		min-height: 230px;
	}
	.testimonialCarousel .carousel-inner {
		min-height: 230px;
	}
	.testimonialSlide {
		min-height: 230px;
		padding:
			30px 0 18px 0;
	}
	.testimonialQuote {
		font-size: 21px;
		line-height: 1.5;
	}
	.testimonialPerson {
		font-size: 18px;
	}
	.testimonialStars {
		font-size: 20px;
	}
	.testimonialDots {
		margin-top: 8px;
		gap: 9px;
	}
	.testimonialButton {
		margin-top: 14px;
	}
}
/* =========================================================
   TESTIMONIALS
   MOBILE / TABLET
========================================================= */

@media(max-width: 991px) {

	.testimonialSection {
		position: relative;

		width: 100%;

		min-height: auto;

		margin: 0;

		padding: 60px 0;

		display: block;

		overflow: hidden;

		background-color: var(--color-background-light);
	}


	.testimonialBack {
		position: absolute;

		top: 0;
		right: 0;
		bottom: 0;
		left: 0;

		width: 100%;
		height: 100%;


		background-size: cover;

		background-position: center center;

		background-repeat: no-repeat;
	}


	.testimonialPanel {
		position: relative;

		width: auto !important;

		min-height: 540px;

		margin: 0 5% !important;

		padding:
			50px
			28px
			60px
			28px;

		display: flex;

		flex-direction: column;

		align-items: center;

		justify-content: flex-start;

		background-color:
			rgba(
				var(--color-dark-bg-rgb),
				.78
			);

		border-radius:
			45px
			0
			45px
			0;

		box-sizing: border-box;

		overflow: hidden;

		z-index: 2;
	}


	.testimonialEyebrow {
		flex: 0 0 auto;

		width: 100%;

		margin:
			0
			0
			15px
			0;

		font-size: 24px;

		line-height: 1.2;

		text-align: center;
	}


	.testimonialCarousel {
		position: relative;

		flex: 1 1 auto;

		width: 100%;

		min-height: 250px;

		display: flex;

		flex-direction: column;

		justify-content: center;
	}


	.testimonialCarousel .carousel-inner {
		position: relative;

		width: 100%;

		min-height: 250px;

		margin:
			auto
			0;

		overflow: hidden;
	}


	.testimonialSlide {
		position: relative;

		width: 100%;

		min-height: 250px;

		padding:
			28px
			0
			20px
			0;

		display: flex;

		flex-direction: column;

		align-items: center;

		justify-content: center;

		box-sizing: border-box;

		text-align: center;
	}


	.testimonialCarousel.testimonialSized .testimonialSlide {
		height: 100%;

		min-height: 100%;
	}


	.testimonialQuote {
		width: 100%;

		margin:
			0
			auto
			24px
			auto;

		font-size: 23px;

		line-height: 1.5;

		text-align: center;
	}


	.testimonialPerson {
		width: 100%;

		margin: 0;

		font-size: 19px;

		line-height: 1.4;

		text-align: center;
	}


	.testimonialStars {
		width: 100%;

		margin:
			16px
			0
			0
			0;

		font-size: 20px;

		text-align: center;
	}


	.testimonialDots {
		position: relative;

		flex: 0 0 auto;

		width: 100%;

		margin:
			14px
			0
			0
			0;

		padding: 0;

		display: flex !important;

		align-items: center;

		justify-content: center;

		gap: 10px;

		list-style: none;

		visibility: visible !important;

		opacity: 1 !important;
	}


	.testimonialDots li {
		display: block !important;

		width: 10px;
		height: 10px;

		margin: 0;

		padding: 0;

		border:
			1px
			solid
			rgba(255,255,255,.85);

		border-radius: 50%;

		background-color:
			rgba(255,255,255,.20);

		visibility: visible !important;

		opacity: 1 !important;

		box-sizing: border-box;
	}


	.testimonialDots li.active {
		width: 10px;
		height: 10px;

		background-color:
			var(--color-light-accent);

		border-color:
			var(--color-light-accent);

		transform: scale(1.25);
	}


	.testimonialButton {
		position: relative;

		flex: 0 0 auto;

		width: 100%;

		margin:
			20px
			0
			0
			0;

		text-align: center;
	}


	.testimonialButton .btn {
		margin: 0;
	}


	/* Scroll reveal protection */

	.sr .testimonialEyebrow,
	.sr .testimonialQuote,
	.sr .testimonialPerson,
	.sr .testimonialStars,
	.sr .testimonialStars i,
	.sr .testimonialDots,
	.sr .testimonialButton,
	.sr .testimonialButton .btn {
		opacity: 1 !important;

		visibility: visible !important;

		transform: none !important;
	}


	.sr .testimonialDots li {
		opacity: 1 !important;

		visibility: visible !important;
	}


	.sr .testimonialDots li.active {
		transform: scale(1.25) !important;
	}

}