/*
---------------------------
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;
}



.testimonial .testimonial-content {
	position: relative;
	text-align: left;
	margin: 0 0 0rem;
	padding: 1.5rem 3rem 1.5rem 3rem;
	border: 0px solid;
	border-radius: var(--radius-medium);
	max-width: 650px;
}
.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: 0.1;
	border-radius: var(--radius-medium);
	box-shadow: var(--shadow-medium);
	z-index: 1 !important;
}

.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: 0.08;
}
.testimonial .testimonial-content.bg-white .testimonial-content-shape {
	/* background-color: #fff !important; */
}


.testimonial .testimonial-content:before {
	position: absolute;
	top: -30px;
	right: 2rem;
	content:'';
	opacity: 1;
	z-index: 2;
	width: 70px;
	height: 70px;
	background-repeat: no-repeat;
	background-size: contain;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14.1 10.07"><path fill="#001746" d="M6.04,6.3c0,2.09-1.69,3.78-3.78,3.78h-.25c-.56,0-1.01-.45-1.01-1.01s.45-1.01,1.01-1.01h.25c.97,0,1.76-.79,1.76-1.76v-.25h-2.01c-1.11,0-2.01-.9-2.01-2.01v-2.01C0,.9.9,0,2.01,0h2.01c1.11,0,2.01.9,2.01,2.01v4.28ZM14.1,6.3c0,2.09-1.69,3.78-3.78,3.78h-.25c-.56,0-1.01-.45-1.01-1.01s.45-1.01,1.01-1.01h.25c.97,0,1.76-.79,1.76-1.76v-.25h-2.01c-1.11,0-2.01-.9-2.01-2.01v-2.01c0-1.11.9-2.01,2.01-2.01h2.01c1.11,0,2.01.9,2.01,2.01v4.28Z"/></svg>');
}

.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: 600;
	font-size: 28px;	
	color: var(--color-primary);
}
.testimonial.aside .testimonial-content .testimonial-title {
	font-size: 24px;
	color: var(--color-dark);
}
.testimonial .testimonial-content .testimonial-lead p {
	font-size: 20px;
	font-weight: 400;
	line-height: 1.7;
	color: inherit;
	opacity: 1;
}

.testimonial.aside .testimonial-content p {
	font-size: 18px;
}
.testimonial .testimonial-author {
	
	width: 100%;
	padding: 30px 0rem 1.5rem 1.66rem;
	border-radius: 0 0 0px 0px;
	border-top: 0px solid #eee;
	display: flex;
	align-items: center;
	justify-content: flex-start;



}
.testimonial .testimonial-author.align-right {
	justify-content: flex-start;
	flex-direction: row-reverse;
	text-align: right;
	padding-right: 1.66rem
}
.testimonial .testimonial-author-image {
	width: 64px;
	height: 64px;
	border-radius: 100px;
	margin-right: 1rem;
}
.testimonial.aside .testimonial-author-image {
	position: absolute;
	top:50px;
	left: -50px;
	width: 160px;
	height: 160px;
	box-shadow: var(--shadow-medium);
	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 {

}
.testimonial .testimonial-author-name {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 20px;
	
	margin:0;
}
.testimonial .testimonial-author-function {
	font-size: 16px;

	
}

[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: 1.5rem 2rem 1.5rem 2rem;
	}
}
@media (max-width: 767px) {
	.testimonial .testimonial-content {
		position: relative;
		text-align: left;
		margin: 0 0 0rem;
		padding: 1rem 1rem 1.5rem 1rem;

	}
	.testimonial .testimonial-content:before {
		right: 20px;
		left: auto;
	}
	.testimonial .testimonial-content .testimonial-title {
		font-size: 20px;
	}
	.testimonial .testimonial-content .testimonial-lead p {
		font-size: 14px;
	}
	.testimonial .testimonial-author {
		padding-left: 10px;
	}
	.testimonial .testimonial-author-image {
		width: 48px;
		height: 48px;
		border-radius: 100px;
		margin-right: 1rem;
	}
	.testimonial .testimonial-author-name {
		font-weight: 600;
		font-size: 12px;
		margin:0;
	}
	.testimonial .testimonial-author-function {
		font-size: 11px;
	}
}