/*
---------------------------
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: 0px;
	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 .testimonial-content {
	position: relative;
	text-align: left;
	margin: 0 0 0rem;
	padding: 1.5rem 3rem 1.5rem 3rem;
	border: 0px solid;
	border-radius: 0px;
	max-width: 550px;
	/* 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: 0.08;
	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: -25px;
	left: 1rem;
	content:'';
	opacity: 1;
	z-index: 2;
	width: 50px;
	height: 50px;
	background-repeat: no-repeat;
	background-size: contain;
	background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpA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ou++Dgw8nUZMbnJRVAOap+431b6apg7Wd3WnmNzU3mwDQ/U2VtN462QSA7q9XuKZGZxEAur+pctZfJ4sA0P31C9fUjJkHgO5vqpRx68w8AHR/XOGampXsS6GTbth6ezt8Zyv6C5iXvng7ae0mzz/c3l4x1g3DmnH3Gr6UOjic/ef+Jk1YCwEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAoCWB/wAMMbJFv7rKAAAAAElFTkSuQmCC');
}
.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: 400;
	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 {
	
	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: 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 {

}
.testimonial .testimonial-author-name {
	font-family: 'montserrat';
	text-transform: uppercase;
	font-weight: 600;
	font-size: 15px;
	
	margin:0;
}
.testimonial .testimonial-author-function {
	font-size: 12px;
	opacity: 0.6;
}

[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;
	}
}