/* Testimonial Slider */
.module-testimonials.option-1 .carousel-control.left, 
.module-testimonials.option-1 .carousel-control.right{
	top: 50%;
	bottom: 50%;
}

.module-testimonials.option-1 .testimonials-wrapper .testimonials-block {
    max-width: 1400px;
    width: 90%;
}

.testimonials-wrapper .testimonials-block .carousel-control .right:before {
    right: initial;
    left: -8px;
}

.module-testimonials.option-1 .carousel-control.right:before {
    right: inherit;
    left: -13px;
}

.testimonials-wrapper .testimonials-block .carousel-control:hover span:before {
    background: var(--color-primary);
}

.testimonials-wrapper .testimonials-block .carousel-control:hover:before {
    z-index: 300;
}

.module-testimonials.option-1 {
    background-image: url(https://www.royacdn.com/unsafe/smart/Site-53f7c59b-853c-4e63-b00e-c51ec2adb28f/ASSETS/testimonials_bg.jpg);
    background-size: cover;
    background-position: center;
    padding: 10em 0 5em;
    margin-bottom: -8em;
}

div.testimonials-block .star-wrapper svg {
    width: 20px;
    fill: var(--color-primary);
}

div.testimonials-block .star-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0 8px;
}

div.testimonials-block .ry-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    margin-top: 2em;
}

.module-testimonials.option-1 div#rev-text {
    width: 60%;
    z-index: 300;
    top: 3em;
}

.module-testimonials.option-1  div#rev-image {
    width: 60%;
    margin-left: -3em;
    
}

div.testimonials-block {
    padding: 10em 7em 7em;
    background: #fff;
    margin-top: 4em;
    box-shadow: -1px 5px 8px 0px rgb(102 102 102 / 24%);
}

div.testimonial-inner h3 {
    font-family: 'Roboto Slab';
    color: var(--color-secondary);
    font-size: 30px;
    text-align: left;
    line-height: 1.2;
}

div.testimonials-block h5 {
    color: var(--color-secondary) !important;
    font-family: var(--title-default) !important;
    font-weight: 600 !important;
    font-size: 27px;
}


div.testimonials-block .carousel-indicators {
    display: none !important;
}

div.testimonials-block .comment p {
    color: #666;
    line-height: 34px;
    font-weight: 500 !important;
}

.testimonials-block:before {
    position: absolute;
    content: '';
    width: 90%;
    height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-image-slice: 1;
    border-width: 3px;
    border-image-source: linear-gradient(243deg, #b19b6b 0%, #e7dbb8 50%, #b19b6b 100%);
}

div.testimonial-inner h3:before {
    background: url(https://www.royacdn.com/unsafe/smart/Site-53f7c59b-853c-4e63-b00e-c51ec2adb28f/ASSETS/quote.png);
    position: absolute;
    width: 90px;
    height: 60px;
    background-size: contain;
    content: '';
    background-repeat: no-repeat;
    top: -25%;
    left: -5%;
}

div.testimonials-block .carousel-inner {
    overflow: visible;
}

.module-testimonials.option-1 .section-headline h2 {
	font-size: 230%;
	text-transform: uppercase;
	line-height: 1;
}
.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;
}
.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);
}
.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: var(--color-secondary);
	line-height: 1.6;
	text-align: center;
	font-size: 20px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
}
.module-testimonials.option-1 .testimonials-wrapper .testimonials-block .comment .ry-name {
	margin: 40px auto;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1em;
	flex-direction: row-reverse;
}
.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: 22px;
	fill: #ffb700;
	margin: 0 3px;
	height: 22px;
}
.module-testimonials.option-1 .testimonials-wrapper .testimonials-block .comment .ry-name h5 {
	text-align: center;
	font-weight: 500 !important;
	text-transform: uppercase;
	margin-top: 0;
	color: var(--color-secondary);
	font-size: 35px;
}
.module-testimonials.option-1 .testimonials-wrapper .testimonials-block .comment .ry-name h5 span {display: none;}
.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 0 0;
	lex;
	max-width: max-content;
	clear: both;
}

@media (max-width:1199px) {
    div.map-section img {
        height: 500px !important;
    }

    div#rev-flex {
        flex-direction: column;
        gap: 2em 0;
    }
    
    div.testimonials-block {
        margin: 2em auto 0;
        padding: 5em 2em 4em;
    }
    
    .module-testimonials.option-1 div#rev-text {
        top: 0;
        width: 100% !important;
    }
    
    .module-testimonials.option-1 div#rev-text h4, .module-testimonials.option-1 div#rev-text h2 {
        text-align: center !important;
    }
    
    .module-testimonials.option-1 div#rev-image {
        width: 100%;
        margin: 1em auto 0;
        max-width: 500px;
    }
    
    div.testimonial-inner h3 {
        text-align: center !important;
        font-size: 25px;
    }
    
    div.testimonial-inner p {
        text-align:center
    }
    
    div.testimonials-block .ry-name {
        flex-direction: column;
        gap: 1em 0 !important;
    }
    
    .module-testimonials.option-1 .button-wrapper {
        justify-content: center;
        display: flex;
    }
    
    div.testimonials-block h5 {
        font-size: 20px !important;
    }
    
    div.testimonial-inner h3:before {
        left: 0;
        right: 0;
        margin: auto;
        top: -13%;
        width: 40px;
        height: 30px;
    }
    
    .testimonials-block:before {
        height: 95%;
        width: 95%;
    }
    
    div.testimonial-inner .comment {
        width: 90%;
        margin: auto;
        float: none;
        clear: both;
    }

}