/* ===================================
	Testimonial
====================================== */
.testimonials .testimonials-author-box {
	display: flex;
	align-items: center;
	padding: 20px 15px;
}
.testimonials .testimonials-author {
	flex-shrink: 0;
}
.testimonials .testimonials-author img {
	display: block;
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 50%;
	margin-right: 15px;
}
.testimonials .testimonials-author-details {
	flex-grow: 1;
}
.testimonials .testimonials-author-details span {
	display: block;
}
.testimonials .testimonial-name {
	color: #000;
	font-weight: 500;
}
.testimonials .testimonial-position {
	display: block;
	line-height: normal;
}

/* Testimonials Style 01 */
.testimonials-style-1 {
	box-shadow: 0 0 40px 15px rgb(0 0 0 / 0.05);
	border-radius: 4px;
	padding: 25px 35px 25px 35px;
	display: flex;
	align-items: center;
}
.testimonials-style-1 .testimonial-name {
	display: block;
	font-size: 16px;
	font-weight: 700;
	margin-top: 5px;
}
.testimonials-style-1 .testimonial-position {
	display: block;
	line-height: normal;
}
.testimonials-style-1 .review-star-icon {
	line-height: normal;
}

/* Testimonials Style 02 */
.testimonials-style-2 .testimonial-content {
	position: relative;
	background-color: #fff;
	padding: 30px 48px;
	margin-bottom: 10px;
	border-radius: 10px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}
.testimonials-style-2 .testimonial-content::after {
	content: "";
	top: 100%;
	left: 50px;
	height: 0;
	width: 0;
	z-index: 9;
	margin-left: -14px;
	position: absolute;
	pointer-events: none;
	border: solid transparent;
	border-width: 14px;
	border-top-color: #fff;
}
.testimonials-style-2 .testimonials-author-details .testimonials-rounded-icon {
	display: inline-block;
}

/* Testimonials Style 03 */
.testimonials-style-3 .testimonial-content {
	position: relative;
	border: 1px solid #e4e4e4;
	padding: 20px;
	margin-bottom: 10px;
	border-radius: 5px;
	transition: 0.2s;
}
.testimonials-style-3 .testimonial-content:after,
.testimonials-style-3 .testimonial-content:before {
	top: 100%;
	left: 50px;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}
.testimonials-style-3 .testimonial-content:after {
	border-color: rgba(255, 255, 255, 0);
	border-top-color: #fff;
	border-width: 15px 15px 0 0;
	margin-left: 1px;
}
.testimonials-style-3 .testimonial-content:before {
	border-color: rgba(237, 237, 237, 0);
	border-top-color: #e4e4e4;
	border-width: 18px 18px 0 0;
}
.testimonials-style-3 .testimonials-author-details .testimonials-rounded-icon {
	display: inline-block;
}

/* Testimonials Style 04 */
.testimonials-style-4 {
	border-radius: 6px;
	background-color: #fff;
	padding: 12%;
	display: flex;
	flex-direction: column;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
	height: 100%;
}
.testimonials-style-4 .testimonial-content {
	margin-bottom: 20px;
	display: inline-block;
	order: 2;
}
.testimonials-style-4 .testimonials-author-box {
	order: 1;
	margin-bottom: 20px;
	padding: 0;
}
.testimonials-style-4 .testimonial-footer {
	order: 3;
	display: flex;
	flex-direction: row;
	width: 100%;
	justify-content: space-between;
	align-items: center;
}
.testimonials-style-4 .review-star-icon {
	display: flex;
	align-items: center;
}
.testimonials-style-4 .review-star-icon .star-rating-number {
	font-weight: 500;
	margin-right: 10px;
}
.testimonials-style-4 .testimonial-date {
	background-color: #000;
	border-radius: 3px;
	font-size: 12px;
	line-height: 26px;
	color: #fff;
	font-weight: 600;
	padding: 0 15px;
}

/* Testimonials Style 05 */
.testimonials-style-5 {
	border: 1px solid #e4e4e4;
	border-radius: 4px;
}
.testimonials-style-5 .testimonials-author-box {
	padding: 35px 45px;
}
.testimonials-style-5 .testimonials-author img {
	width: 110px;
	height: 110px;
	margin-right: 30px;
}
.testimonials-style-5 .testimonial-footer {
	border-top: 1px solid #e4e4e4;
	display: flex;
	padding: 15px 45px;
	align-items: center;
}
.testimonials-style-5 .testimonial-footer .testimonial-name {
	margin-right: 5px;
}
.testimonials-style-5 .testimonial-footer .elementor-star-rating {
	flex-shrink: 0;
	margin-left: auto !important;
}
.testimonials-style-5 .testimonial-footer .elementor-star-rating i {
	margin-right: 1px;
}
.testimonials-style-5 .testimonial-footer .elementor-star-rating i:last-child {
	margin-right: 0;
}

/* Testimonials Style 06 */
.testimonials-style-6 {
	border-radius: 6px;
	overflow: hidden;
	-webkit-box-shadow: 0 20px 60px rgba(0,0,0,.08);
	box-shadow: 0 20px 60px rgba(0,0,0,.08);
	background-color: #fff;
}
.testimonials-style-6 .testimonials-author-box {
	padding: 0;
	position: relative;
	display: block;
}
.testimonials-style-6 .testimonials-author-box img {
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 0;
	margin-right: 0;
}
.testimonials-style-6 .elementor-star-rating {
	position: absolute;
	right: 20px;
	top: 20px;
	background-color: var( --e-global-color-secondary, #232323 );
	padding: 0 15px 0;
	border-radius: 100px;
}
.testimonials-style-6 .elementor-star-rating i {
	line-height: 30px;
	margin-right: 1px
}
.testimonials-style-6 .testimonial-middle {
	padding: 40px 50px 35px; 
	text-align: center;
}
.testimonials-style-6 .testimonial-middle img {
	margin-bottom: 15px;
}
.testimonials-style-6 .testimonial-footer {
	padding: 15px;
	text-align: center;
	border-top: 1px solid #e4e4e4;
	display: flex;
	justify-content: center;
	align-items: center;
}
.testimonials-style-6 .testimonial-footer .testimonial-position {
	padding-left: 4px;
}

/* Testimonials Style 07 */
.testimonials-style-7 {
	border-radius: 6px;
	background-color: #fff;
	padding: 12%;
	display: flex;
	flex-direction: column;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
	height: 100%;
}
.testimonials-style-7 .testimonial-content {
	margin-top: 20px;
	display: inline-block;
}
.testimonials-style-7 .testimonials-author-box {
	padding: 0;
}
.testimonials-style-7 .review-star-icon {
	display: flex;
	align-items: center;
}

/* Responsive CSS Here */
@media (max-width: 1199px) {
	.testimonials-style-2 .testimonial-content {
		padding: 30px;
	}
	.testimonials-style-5 .testimonials-author-box {
		padding: 30px;
	}
	.testimonials-style-5 .testimonial-footer {
		padding: 15px 35px 15px 30px;
	}
	.testimonials-style-6 .elementor-star-rating {
		right: 10px;
		top: 10px;
	}
}

@media (max-width: 991px) {
	.testimonials-style-6 .testimonial-middle {
		padding: 30px;
	}
	.testimonials-style-6 .elementor-star-rating {
		right: 15px;
		top: 15px;
	}
}

@media (max-width: 575px) {
	.testimonials-style-1 {
		display: block;
		align-items: center;
		text-align: center;
	}
	.testimonials-style-5 .testimonials-author-box {
		padding: 25px; 
	}
	.testimonials-style-5 .testimonial-footer {
		padding: 15px;
		flex-wrap: wrap;
	} 
}