/*
---------------------------
TESTIMONIALS
---------------------------
*/

.testimonial {
	float: left;
	width: 100%;
	display: block;
	position: relative;
	background: rgba(255, 255, 255, 0);
	min-height: 220px;
	position: relative;
	padding-top: 15px;
	border-radius: 10px;
	
	z-index: 98 !important;
	-webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
}

a.testimonial:hover {
	background: rgba(255, 255, 255, 1);
	z-index: 99 !important;
/*
	-webkit-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
*/
}

.testimonial > div {
	max-width: 740px;
	border-radius: 10px;
	box-shadow: 5px 5px 40px rgba(var(--color-dark-rgb), 0.2);
}

.testimonial .testimonial-content {
	position: relative;
	text-align: left;
	margin: 0 0 0rem;
	padding: 2.5rem 4rem 2.5rem 3rem;
	border: 0px solid;
	border-radius: 10px 10px 0 0;

	/* background-color: rgba(0, 0, 0, 0.04); */
	
}
.testimonial .testimonial-content * {
	position: relative;
	z-index: 2;
}
.testimonial .testimonial-content .testimonial-content-bg {
	position: absolute;
	left: 0;
	bottom:0;
	width: 100%;
	height: 100%;
	opacity: 1;
	z-index: 1 !important;
	border-radius: 10px 10px 0 0 ;
}
.testimonial .testimonial-content .testimonial-content-bg.bg-white {
	
}

.testimonial.aside .testimonial-content {
	padding: 3rem 3rem 1.5rem 150px;
}

.testimonial.aside .testimonial-content.align-right {
	padding-right:170px;
	padding-left: 3rem;
}

.testimonial .testimonial-content .testimonial-content-shape {
	position: absolute;
	bottom: -14px;
	left: 10%;
	content:'';
	width: 14px;
	height: 14px;
	clip-path: polygon(0 0, 0% 100%, 100% 0);
	background-color: rgba(0, 0, 0, 0.04);
	opacity: 1;
}
.testimonial .testimonial-content.bg-white .testimonial-content-shape {
	/* background-color: #fff !important; */
}


.testimonial .testimonial-content .testimonial-content-icon {
	position: absolute;
	top: -20px;
	left: 3rem;
	font-size: 3rem;
	opacity: 1;
	z-index: 2;
}
.testimonial.aside .testimonial-content:before {
	top:2rem;
	left: 4.5rem;
	width: 50px;
	height: 50px;
	background-size: 48px auto;
}

/* Align Right */
.testimonial .testimonial-content.align-right {
	position: relative;
	text-align: right;
}
.testimonial .testimonial-content.align-right .testimonial-content-shape{
	left: auto;
	right: 45px;
}
.testimonial .testimonial-content.align-right:before {
	position: absolute;
	top:1rem;
	left: auto;
	right: 1rem
}
.testimonial.aside .testimonial-content.align-right:before {
	top:2rem;
	left: auto;
	right:5.5rem;
	background-size: 48px auto;
}

.testimonial .testimonial-content .testimonial-title {
	font-weight: 700;
	font-size: 26px;
	
	/* color: #1d1d1b; */
}
.testimonial.aside .testimonial-content .testimonial-title {
	font-size: 24px;
	/* color: #1d1d1b; */
}
.testimonial .testimonial-content .testimonial-lead p {
	
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
	color: inherit;
	opacity: 0.7;

}
.testimonial .testimonial-content .testimonial-lead.c-white p {
	/* color: #fff; */
}
.testimonial.aside .testimonial-content p {
	font-size: 18px;
}
.testimonial .testimonial-author {
	position: relative;
	width: 100%;
	padding: 10px 2rem 20px 2rem;
	border-radius: 0 0 10px 10px;
	border-top: 1px solid #eee;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	z-index: 3;
}
.testimonial .testimonial-author.align-right {
	justify-content: flex-start;
	flex-direction: row-reverse;
	text-align: right;
	padding-right: 1.66rem
}
.testimonial .testimonial-author-image {
	/* position: absolute;
	bottom: 0px;
	right:20px; */
	position: relative;
	margin-top: -50px;
	width: 120px;
	height: 120px;
	border-radius: 100px;
	margin-right: 1rem;
	border: 10px solid #fff;
}
.testimonial-author-logo {
	position: relative;
	margin-top: -5px;
	max-width: 150px;
	max-height: 60px;
}
.testimonial.aside .testimonial-author-image {
	position: absolute;
	top:50px;
	left: -50px;
	width: 160px;
	height: 160px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.171);
	z-index: 8;
}


.testimonial .testimonial-author.align-right .testimonial-author-image {
	margin-left: 1rem;
	margin-right: 0rem;
}
.testimonial.aside .align-right .testimonial-author-image {
	left: auto;
	right: -50px;
}

.testimonial-author-section {
	padding-top: 10px;
	display: flex;
	justify-content: flex-start;
}
.testimonial .testimonial-author-name {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 18px;
	font-style: italic;
	margin:0;
}
.testimonial .testimonial-author-function {
	font-size: 16px;
	font-weight: 300;
	
}

[class*=" bg-"]:not(.bg-white):not(.bg-light) .testimonial .testimonial-content p,
[class*=" bg-"]:not(.bg-white):not(.bg-light) .testimonial .testimonial-author-name {
	color: rgba(255, 255, 255, 1) !important;
}
[class*=" bg-"]:not(.bg-white):not(.bg-light) .testimonial .testimonial-author-function {
	color: rgba(255, 255, 255, 0.4) !important;
}

[class*=" bg-"]:not(.bg-white):not(.bg-light) .testimonial .testimonial-content {
	background: rgba(255, 255, 255, 0.08);
}
[class*=" bg-"]:not(.bg-white):not(.bg-light) .testimonial .testimonial-content:after {
	border-color: rgba(255, 255, 255, 0.08)  transparent transparent transparent;
	
}

@media (max-width: 1130px) {
	.testimonial .testimonial-content {
		position: relative;
		text-align: left;
		margin: 0 0 0rem;
		padding: 2.5rem 2rem 2.5rem 2rem;
	}
}

@media (max-width: 1023px) {
	
	.testimonial .testimonial-content .testimonial-title {
		font-size: 22px;
	}
	.testimonial .testimonial-author {
		position: relative;
		width: 100%;
		padding: 10px 2rem 20px 2rem;
		border-radius: 0 0 10px 10px;
		border-top: 1px solid #eee;
		background: #fff;
		display: flex;
		align-items: center;
		justify-content: space-between;
		
		z-index: 3;
	}
	.testimonial-author-logo {
		position: relative;
		margin-top: -5px;
		max-width: 150px;
		max-height: 60px;
	}
}
@media (max-width: 767px) {
	.testimonial .testimonial-content {
		position: relative;
		text-align: left;
		margin: 0 0 0rem;
		padding: 35px 25px 25px 25px;

	}
	.testimonial .testimonial-content .testimonial-content-icon {
		position: absolute;
		top: -20px;
		left: 2rem;
		font-size: 3rem;
	}
	.testimonial .testimonial-content .testimonial-title {
		font-size: 20px;
	}
	
	.testimonial .testimonial-content .testimonial-lead p {
		font-size: 14px;
	}
	.testimonial .testimonial-author {
		padding-left: 10px;
		padding-right: 10px;
	}
	.testimonial-author-section {
		padding-top: 10px;
		display: flex;
		justify-content: flex-start;
		align-items: center;
	}
	.testimonial .testimonial-author-image {
		
		width: 80px;
		height: 80px;
		margin-top: 0px;
		margin-right: 0rem;
	}
	.testimonial-author-logo {
		position: relative;
		margin-top: 0px;
		max-width: 100px;
		max-height: 40px;

	}
	.testimonial .testimonial-author-name {
		font-weight: 700;
		font-size: 14px;
		margin:0;
	}
	.testimonial .testimonial-author-function {
		font-size: 14px;
	}
}