/* Testimonial Slider */
.module-testimonials.option-1 .carousel-control.left, 
.module-testimonials.option-1 .carousel-control.right{
	top: 50%;
	bottom: 50%;
	display: none;
}
.module-testimonials.option-1 {
	padding: 100px 0;
	background-color: var(--color-primary);
}
.module-testimonials.option-1:before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 50%;
	background: transparent;
}
.module-testimonials.option-1 .section-headline h2 {color: #fff !important;}
.module-testimonials.option-1 .section-headline h2 span {
	font-size: 20px;
	line-height: 1;
	display: block;
	font-weight: 600;
	color: #878787;
	margin-top: 10px;
}
.module-testimonials.option-1 .testimonials-wrapper {
	display: flex;
	justify-content: center;
	transition: .5s ease-out;
	flex-direction: column;
	background: rgb(255 255 255 / 10%);
	padding: 4em;
	border-radius: 50px;
	height: 85%;
}

.testimonials-wrapper .carousel-indicators .active {
    background-color: #fff !important;
}


.module-testimonials.option-1 .testimonials-wrapper .testimonials-block {
	transition: .5s ease-out;
}

.module-testimonials.option-1 .testimonials-wrapper .testimonials-block .comment-icon {
	width: 110px;
	height: 110px;
	min-width: 110px;
	border-radius: 50%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: -50px;
	background: #393939;
	left: 50%;
	transform: translate(-50%, 0);
	display: none;
}
.module-testimonials.option-1 .testimonials-wrapper .testimonials-block .comment-icon:before {
	content: "";
	width: 90px;
	height: 90px;
	border-radius: 50%;
	border: 5px solid #fff;
	display: block;
}
.module-testimonials.option-1 .testimonials-wrapper .testimonials-block .comment-icon span {
	color: #fff;
	position: absolute;
	top: 67%;
	left: 57%;
	transform: translate(-50%, -50%);
	margin-left: -10px;
	margin-bottom: 0;
	font-size: 100px;
	font-family: 'Font Awesome 5 Free';
}
.module-testimonials.option-1 .testimonials-wrapper .testimonials-block .comment p {
	text-align: center;
	color: #fff;
	font-size: 21px;
	max-width: 680px;
	margin: 0 auto;
	line-height: 1.6;
}
.module-testimonials.option-1 .testimonials-wrapper .testimonials-block .comment .ry-name {
	margin-top: 40px;
}
.module-testimonials.option-1 .testimonials-wrapper .testimonials-block .comment .ry-name .star-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
}
.module-testimonials.option-1 .testimonials-wrapper .testimonials-block .comment .ry-name .star-wrapper svg {
	width: 19px;
	fill: #ecce68;
	margin: 0 3px;
}
.module-testimonials.option-1 .testimonials-wrapper .testimonials-block .comment .ry-name h5 {
	text-align: center;
	font-weight: 600 !important;
	text-transform: capitalize;
	margin-top: 15px;
	color: #fff;
	font-family: var(--font-default) !important;
	font-style: italic !important;
}
.module-testimonials.option-1 .testimonials-wrapper .testimonials-block .comment .ry-name h5 span {
	font-weight: 300;
}
.module-testimonials.option-1 .testimonials-wrapper .testimonials-block .comment .ry-name h5.span-2 {
	margin-right: 5px;
	font-weight: 300;
}
.module-testimonials.option-1 .button-wrapper a {
	margin: 2em auto 0;
	display: flex;
	max-width: max-content;
	background: var(--color-secondary) !important;
}

.module-testimonials.option-1 .ry-container {
    max-width: 100%;
}

.module-testimonials.option-1 .ry-container .ry-each:not(div#hp-rev-center) {width: 25%;}

div#hp-rev-center {
    width: 45%;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 1.5em 0;
}

.module-testimonials.option-1 .testimonials-wrapper h2 {
    margin: auto;
    color: #fff !important;
}

.module-testimonials.option-1 .ry-heading {
    text-align: center;
}

.module-testimonials.option-1 .testimonials-wrapper h2::before {
    background: #e3b195;
    width:180px;
}


div.hp-payment-section {
    background: #fff;
    height: 18%;
    display: flex;
    align-items: center;
    border-radius: 40px;
    overflow: hidden;
}

div#payment-flex {
    margin: auto;
    gap: 0 3em;
    max-width: 90%;
    align-items: center;
}

div#payment-flex .ry-each {
    width: 60% !important;
}

div#payment-flex .ry-each:nth-child(2) {
    width: 40% !important;
}

div#payment-flex p {
    font-family: 'Urbanist' !important;
    text-transform: uppercase !important;
    font-style: normal !important;
    font-size: 24px !important;
    letter-spacing: 4px;
    color: var(--color-primary) !important;
}

div.hp-payment-section:before {
    background: url(https://www.royacdn.com/unsafe/smart/Site-91dfa877-e297-42f4-a7ab-c07afcbbc6fa/Assets/alphaeon_overlay.png);
    position: absolute;
    right: -27px;
    bottom: -28px;
    width: 170px;
    height: 170px;
    content: '';
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

a#payment-btn {
    max-width: 220px !important;
    display: block !important;
    width: 100% !important;
    float: right;
}


@media (min-width:1200px) and (max-width:1500px) {
	
	.module-testimonials.option-1 .testimonials-wrapper .testimonials-block .comment p {
		overflow: hidden ;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		line-clamp: 3;
		-webkit-box-orient: vertical;
	}

	.module-testimonials.option-1 .testimonials-wrapper {
		padding: 2em !important;
	}

	.module-testimonials.option-1 .ry-heading {
		margin-top: -3em !important;
	}
}

@media (max-width:1199px) {
	.module-testimonials.option-1 .ry-container .ry-each:not(div#hp-rev-center) {
		width: 100% !important;
	}
	
	div#hp-rev-left {
		display: none !important;
	}

	div#hp-rev-center {
		width: 100% !important;
	}

	div#hp-reviews-flex {
		flex-direction: column !important;
		gap: 2em  0 !important;
	}

	div#hp-rev-left img, div#hp-rev-right img {
		height: 400px;
		width: 90%;
		object-fit: cover;
		margin: auto;
		border-radius: 20px;
		max-width: 500px;
		object-position: center !important;
	}



	div#payment-flex {
		flex-direction: column !important;
		padding: 1.5em 0;
	}

	a#payment-btn {
		float: none !important;
		margin: auto !important; 
	}

	div#payment-flex img {
		max-width: 250px !important;
		margin: 1em auto !important;
	}

	div.hp-payment-section {
		width: 90% !important;
	}
	
	.module-testimonials.option-1 .testimonials-wrapper {
		height: auto !important;
		width: 90% !important;
		padding: 3em 1em 8em !important;
	}
}


@media (max-width:500px) {
	
	.module-testimonials.option-1 .button-wrapper a {
		font-size: 15px !important;
		line-height: 1.5;
	}
}