
/* Common Styles for all instances */
div[id ^="roof-maxx-testimonials-container-theme2-"] {
	width: 100%;
	max-width: 1170px;
	margin: auto;
	overflow: hidden;
	z-index: 1;
	position: relative;
}

div[id ^="roof-maxx-testimonials-container-theme2-"] .testimonial-review-section {
	padding: 20px;
	margin: 25px auto 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
}

div[id ^="roof-maxx-testimonials-container-theme2-"] .testimonial-review-section span {
	font-size: 1.5em;
	font-weight: bold;
}

@media (max-width: 400px) {
	div[id ^="roof-maxx-testimonials-container-theme2-"] .testimonial-review-section {
		padding: 20px 5px;
	}
	
	div[id ^="roof-maxx-testimonials-container-theme2-"] .testimonial-review-section span {
		font-size: 1.3em;
	}
}

div[id ^="roof-maxx-testimonials-container-theme2-"] .testimonial-review-section a {
	padding: 10px;
	background-color: #ec9a20;
	color: #fff !important;
	display: flex;
	align-items: center;
	transition: .4s;
	gap: 5px;
}

div[id ^="roof-maxx-testimonials-container-theme2-"] .testimonial-review-section a:hover {
	background-color: #cd871a;
}

div[id ^="roof-maxx-testimonials-container-theme2-"] .slider {
	overflow: hidden;
	width: 100%;
	display: flex;
	margin: 0 auto;
	padding-bottom: 0px;
}

div[id ^="roof-maxx-testimonials-container-theme2-"] .slide {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	width: 100%;
	padding: 10px 25px 30px;
	height: auto;
	min-height: 445px;
}

/*@media (max-width: 767px) {*/

/*    div[id ^="roof-maxx-testimonials-container-theme2-"] .slide {*/

/*        height: auto;*/

/*        padding-bottom:30px;*/

/*    }*/

/*}*/

/*@media (max-width: 485px) {*/

/*    div[id ^="roof-maxx-testimonials-container-theme2-"] .slide {*/

/*        min-height: 445px;*/

/*    }*/

/*}*/
div[id ^="roof-maxx-testimonials-container-theme2-"] .testimonial-card {
	display: inline-table;
	margin: 10px 25px;
	width: calc(33.333% - 55px);
	padding: 20px 15px 5px;
	min-height: 220px;
	max-height: 250px;
	text-align: left;
	border-radius: 10px;
	position: relative;
	box-shadow: 4px 10px 25px -3px #000;
}

div[id ^="roof-maxx-testimonials-container-theme2-"] .testimonial-card:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #6a813c;
	border-radius: 5px;
	transform: rotate(-7deg);
}

div[id ^="roof-maxx-testimonials-container-theme2-"] .testimonial-card:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #fff;
	border-radius: 5px;
	border: 3px solid #ccc;
}

/* Responsive Design Adjustments */
@media (max-width: 1024px) {
	div[id ^="roof-maxx-testimonials-container-theme2-"] .testimonial-card {
		width: calc(42% - 20px);
	}
}

@media (max-width: 767px) {
	div[id ^="roof-maxx-testimonials-container-theme2-"] .testimonial-card {
		width: calc(90% - 20px);
	}
}

div[id ^="roof-maxx-testimonials-container-theme2-"] .testimonial-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 1;
	position: relative;
	height: 100%;
}

div[id ^="roof-maxx-testimonials-container-theme2-"] .testim-date {
	font-size: .8em;
	margin: 0;
}

div[id ^="roof-maxx-testimonials-container-theme2-"] .testim-name {
	font-weight: 900;
	text-transform: capitalize;
	margin-bottom: 0;
	color: #505050;
}

div[id ^="roof-maxx-testimonials-container-theme2-"] .testim-reviewer-pic {
	width: 40px;
	margin: 5px;
}

div[id ^="roof-maxx-testimonials-container-theme2-"] .testim-reviewer-pic[src*="pixabay"] {
	border-radius: 50%;
	border: 1px solid;
}

div[id ^="roof-maxx-testimonials-container-theme2-"] .testim-stars {
	color: #ec9a20;
	font-size: 1.5em;
	margin: 10px 0;
}

div[id ^="roof-maxx-testimonials-container-theme2-"] .comment {
	max-height: 150px;
	width: 100%;
	overflow-y: auto;
	margin: 10px 0;
	border-top: 1px solid #eee;
	padding: 10px;
	font-size: 1em;
	background-color: #f7f7f7;
}

@media (max-width: 767px) {
	div[id ^="roof-maxx-testimonials-container-theme2-"] .comment {
		max-height: 80px;
	}
}

@media (max-width: 485px) {
	div[id ^="roof-maxx-testimonials-container-theme2-"] .comment {
		max-height: 120px;
		margin-bottom: 10px;
	}
}

div[id ^="roof-maxx-testimonials-container-theme2-"] .verified-logo {
	width: 100px;
}

/* Custom Scrollbar Styles */
div[id ^="roof-maxx-testimonials-container-theme2-"] ::-webkit-scrollbar {
	width: 10px;
	/* Width of the vertical scrollbar */
	height: 10px;
}

div[id ^="roof-maxx-testimonials-container-theme2-"] ::-webkit-scrollbar-track {
	background-color: #888;
}

div[id ^="roof-maxx-testimonials-container-theme2-"] ::-webkit-scrollbar-thumb {
	background-color: #eaab3a;
}

div[id ^="roof-maxx-testimonials-container-theme2-"] ::-webkit-scrollbar-thumb:hover {
	background-color: #cd871a;
}

div[id ^="roof-maxx-testimonials-container-theme2-"] ::-webkit-scrollbar-corner {
	background-color: red;
}

div[id ^="roof-maxx-testimonials-container-theme2-"] .testimonial-controls {
	width: 35px;
	height: 120px;
	color: #fff;
	background-color: #ec9a20;
	padding: 0px 7px;
	position: absolute;
	border: none;
	top: 50%;
	transition: .3s;
}

div[id ^="roof-maxx-testimonials-container-theme2-"] .testimonial-controls:hover {
	background-color: #cd871a;
}

div[id ^="roof-maxx-testimonials-container-theme2-"] button.prev {
	left: 0%;
}

div[id ^="roof-maxx-testimonials-container-theme2-"] button.next {
	right: 0%;
}

div[id ^="roof-maxx-testimonials-container-theme2-"] button.next.testimonial-controls:before {
	content: " ";
	border-right: 2px solid #fff;
	border-top: 2px solid #fff;
	width: 20px;
	height: 20px;
	transform: rotate(45deg) translate(-3px, 3px);
	cursor: pointer;
	display: block;
}

div[id ^="roof-maxx-testimonials-container-theme2-"] button.prev.testimonial-controls:before {
	content: " ";
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	width: 20px;
	height: 20px;
	transform: rotate(45deg) translate(3px, -3px);
	cursor: pointer;
	display: block;
}

@media (max-width: 485px) {
	div[id ^="roof-maxx-testimonials-container-theme2-"] button.prev {
		left: 4%;
	}
	
	div[id ^="roof-maxx-testimonials-container-theme2-"] button.next {
		right: 4%;
	}
}

div[id ^="roof-maxx-testimonials-container-theme2-"] .slider-dots {
	text-align: center;
	padding: 10px 0;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}

div[id ^="roof-maxx-testimonials-container-theme2-"] .dot {
	cursor: pointer;
	height: 15px;
	width: 15px;
	margin: 0 5px;
	background-color: #7d7d7d;
	border-radius: 50%;
	display: inline-block;
	transition: background-color .6s ease;
}

div[id ^="roof-maxx-testimonials-container-theme2-"] .dot.active {
	background-color: #6e8044;
}
