.testimonial_wrapper {
	width: 100%;
	color: #444444; /* Improved contrast */
	font-size: 16px; /* Increased base font size */
	font-family: 'Lato', Arial, sans-serif;
	font-weight: 400;
	line-height: 1.5; /* Improved readability */
	background: #f2f6f7;
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	-o-font-smoothing: antialiased;
}

.testimonial_slider{
	width: 100%;
	overflow: hidden;
	box-sizing: border-box;
	padding-bottom: 30px;
}

.testimonial_slider input {
	display: none;
}

.testimonial_slider #slide_1:checked ~ .boo_inner { margin-left:0; }
.testimonial_slider #slide_2:checked ~ .boo_inner { margin-left:-100%; }
.testimonial_slider #slide_3:checked ~ .boo_inner { margin-left:-200%; }
.testimonial_slider #slide_4:checked ~ .boo_inner { margin-left:-300%; }
.testimonial_slider #slide_5:checked ~ .boo_inner { margin-left:-400%; }

.testimonial_slider .boo_inner {
	width:500%;
	-webkit-transform: translateZ(0);
	-webkit-transition: all 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000); 
	-moz-transition: all 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000); 
    -ms-transition: all 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000); 
    -o-transition: all 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000); 
    transition: all 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000);

	-webkit-transition-timing-function: cubic-bezier(0.770, 0.000, 0.175, 1.000); 
	-moz-transition-timing-function: cubic-bezier(0.770, 0.000, 0.175, 1.000); 
    -ms-transition-timing-function: cubic-bezier(0.770, 0.000, 0.175, 1.000); 
    -o-transition-timing-function: cubic-bezier(0.770, 0.000, 0.175, 1.000); 
    transition-timing-function: cubic-bezier(0.770, 0.000, 0.175, 1.000);
}

.testimonial_slider .slide_content{
	width: 20%;
	float: left;
}

.testimonial_slider #controls {
	text-align: center;
}

.testimonial_slider #controls label{
	width: 12px; /* Increased for better touch target */
	height: 12px; /* Increased for better touch target */
	margin: 0 4px; /* Increased spacing */
	display: inline-block;
	background: #777; /* Darker for better contrast */
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	cursor: pointer; /* Better affordance */
	transition: background-color 0.3s ease;
}

.testimonial_slider #slide_1:checked ~ #controls label:nth-child(1), 
.testimonial_slider #slide_2:checked ~ #controls label:nth-child(2), 
.testimonial_slider #slide_3:checked ~ #controls label:nth-child(3), 
.testimonial_slider #slide_4:checked ~ #controls label:nth-child(4), 
.testimonial_slider #slide_5:checked ~ #controls label:nth-child(5){
	background: #000;
}

.testimonial {
	font-size: 16px !important;
	color: #333;
	padding: 30px 23px;
}

.testimonial img {
	display: flex;
    margin: auto;
	width: 100%;
    max-width: 700px;
}

/*!For later use!*/

.content {
	position: relative;
	padding-left: 30px;
	margin-bottom: 30px;
}

.content:before,
.content:after {
	content: "";
	height: 15px;
	width: 19px;
	position: absolute;
}

.content:before {
	background: url(icon_testimonial_before.png) 0 0 no-repeat;
	left: 0;
}

.content:after {
	background: url(icon_testimonial_after.png) 0 0 no-repeat;
	margin: 5px 10px;
}

.testimonial p {
	display: inline;
}

.author {
	margin-left: 30px;
}

.author h3 {
	color: #333;
	font-size: 13px;
	font-weight: 600px;
	padding: 0 0 5px;
}

.author h4 {
	color: #333;
	font-size: 12px;
	font-weight: 400;
	padding: 0 0 5px;
}

.author h4 a {
	color: #999;
	text-decoration: none;
	position: relative;
	padding-bottom: 1px;
	overflow: hidden;
	border-bottom: 1px solid;
}

.author h4 a:after {
	background: #999;
	height: 1px;
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 0;
	-o-transition: all .3s;
	-moz-transition: all .3s;
	-webkit-transition: all .3s;
	transition: all .3s;
}

.author h4 a:hover {
	color: #000;
	border: none;
}

.author h4 a:hover:after {
	border-color: #000;
	width: 100%;
}
