.SVG_Star {
    width: 20px;
    fill: #ffc12d;
}

.module-testimonials.style-4 {
	margin: 100px 0;
    padding: 100px 0;
	background: #46637e;
    position: relative;
    z-index: 2;
}

.module-testimonials.style-4 .ry-flex {}

.module-testimonials.style-4 .ry-flex .ry-each.each-middle {
    max-width: 580px;
    border-radius: 20px;
    overflow: hidden;
}

.module-testimonials.style-4 .ry-flex .ry-each {
    max-width: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-testimonials.style-4 .ry-flex .ry-each .each-comment h5 {
    font-size: 20px;
    text-align: center;
    font-family: Red Hat Display;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.module-testimonials.style-4 .ry-flex .ry-each .each-comment {}

.module-testimonials.style-4 .ry-flex .ry-each .each-comment .star-rate {
    display: flex;
    justify-content: center;
}

.module-testimonials.style-4 .ry-flex .ry-each .each-comment .star-rate svg {
    margin: 0 1px;
}

.module-testimonials.style-4 .ry-flex .ry-each .each-comment .ry-text p {
    margin: 30px 0 100px;
    font-family: Red Hat Display;
    color: #FFFFFF;
    line-height: 1.6;
}

.module-testimonials.style-4 .ry-flex .ry-each .carousel-control {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 0;
    top: unset;
	opacity: 1;
	border-color: #fff;
}

.module-testimonials.style-4 .ry-flex .ry-each .carousel-control span {
    display: none;
}

.module-testimonials.style-4 .ry-flex .ry-each .carousel-control.left {
    left: calc(50% - 60px);
}

.module-testimonials.style-4 .ry-flex .ry-each .carousel-control.right {
    right: calc(50% - 60px);
}

.module-testimonials.style-4 .ry-flex .ry-each .carousel-control:before {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' class='bi bi-arrow-left' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M15 8a.5.5 0 0 0-.5-.5H2.707l3.147-3.146a.5.5 0 1 0-.708-.708l-4 4a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708L2.707 8.5H14.5A.5.5 0 0 0 15 8z'/%3E%3C/svg%3E%0A");
    background-size: contain;
}

.module-testimonials.style-4 .ry-flex .ry-each .carousel-control.right:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' class='bi bi-arrow-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z'/%3E%3C/svg%3E");
}

.module-testimonials.style-4 .ry-flex .each-middle {
    flex-direction: column;
    margin-top: -200px;
    margin-bottom: -200px;
    align-items: initial;
    justify-content: initial;
}
.module-testimonials.style-4 .ry-flex .ry-each.each-middle:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    background: linear-gradient(to top, #99651400, #ffffff);
    z-index: 1;
}

.module-testimonials.style-4 .ry-flex .each-middle .photo, .module-testimonials.style-4 .ry-flex .each-middle .photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.module-testimonials.style-4 .ry-flex .each-middle .group-text {
    position: relative;
    z-index: 2;
    padding: 60px 30px;
}

.module-testimonials.style-4 .ry-flex .each-middle .group-text .icon-wrapper {
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #46637e;
    position: relative;
    margin: 0 auto 20px;
}

.module-testimonials.style-4 .ry-flex .each-middle .group-text .icon-wrapper span {
    color: #FFFFFF;
    font-family: Red Hat Display;
    font-size: 120px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    height: 57px;
}

.module-testimonials.style-4 .ry-flex .each-middle .group-text .section-headline h2 {
    text-align: center;
    font-size: 58px;
    font-family: Red Hat Display;
    text-transform: uppercase;
	color: #46637e;
}

.module-testimonials.style-4 .ry-flex .each-middle .group-text .section-headline h2 .span-1 {
	font-size: 20px;
	display: block;
	margin-bottom: 5px;
	color: #000;
	letter-spacing: 3px;
}

.module-testimonials.style-4 .ry-flex .each-middle .group-text .ry-btn {
    margin-top: 20px;
    margin: 20px auto 0;
}

@media (max-width: 1680px) {
	.module-testimonials.style-4 .ry-flex .each-middle .group-text .section-headline h2 {
		font-size: 50px;
	}
	.module-testimonials.style-4 .ry-flex .ry-each {
		max-width: 25%;
		width: 100%;
	}
	.module-testimonials.style-4 .ry-flex .ry-each.each-middle {
		max-width: 40%;
		margin-left: 20px;
		margin-right: 20px;
	}
	
}

@media (max-width: 1080px) {
	.module-testimonials.style-4 {
		padding: 60px 0 150px;
	}
	.module-testimonials.style-4 .ry-flex {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.module-testimonials.style-4 .ry-flex .ry-each {
		max-width: 100%;
	}
	
	.module-testimonials.style-4 .ry-flex .ry-each.each-middle {
		max-width: 100%;
		margin: 30px 0;
	}
	.module-testimonials.style-4 .ry-flex .ry-each .each-comment .ry-text p,
	.module-testimonials.style-4 .ry-flex .each-middle .group-text .section-headline h2 {
		text-align: center;
	}
	.module-testimonials.style-4 .ry-flex .each-middle .group-text {
		position: relative;
		z-index: 2;
		padding: 60px 30px 50vh;
	}
	.module-testimonials.style-4 .ry-flex .each-middle .group-text .section-headline h2 {
		font-size: 46px;
	}
	.module-testimonials.style-4 .ry-flex .each-middle .group-text .section-headline h2 .span-1 {
		font-size: 18px;
	}
	.module-testimonials.style-4 .ry-each .ry-btn {
		margin-left: auto;
		margin-right: auto;
	}
}

@media (max-width: 480px) {
	.module-testimonials.style-4 .ry-flex .each-middle .group-text .section-headline h2 {
		font-size: 42px;
	}
	
	.module-testimonials.style-4 .ry-flex .ry-each .each-comment .ry-text p,
	.module-testimonials.style-4 .ry-each .ry-btn {
		font-size: 18px !important;
	}
}
@media (max-width: 420px) {
	.module-testimonials.style-4 .ry-flex .each-middle .group-text .section-headline h2 {
		font-size: 36px;
	}
	
	.module-testimonials.style-4 .ry-flex .ry-each .each-comment .ry-text p,
	.module-testimonials.style-4 .ry-each .ry-btn.
	.module-testimonials.style-4 .ry-flex .each-middle .group-text .section-headline h2 .span-1 {
		font-size: 16px !important;
	}
}


