.cf:before,
.cf:after {
	content: " "; /* 1 */
	display: table; /* 2 */
}

.cf:after {
	clear: both;
}

#testimonials_wrapper
{
	width: 100%;
	position: relative;
	padding: 35px 0;
}

#testimonials_inner
{
	position: relative;
	width: 90%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 25px 0;
	border-top: 1px solid #E6E7E8;
	border-bottom: 1px solid #E6E7E8;
}

#testimonials_intro
{
	margin-bottom: 35px;
}

#testimonials_intro h2
{
	position: relative;
	font-family: 'Raleway', sans-serif;
	font-size: 0.9375em;
	font-weight: 500;
	line-height: 100%;
	color: #4B5C66;
	margin-bottom: 20px;
}

#testimonials_intro div
{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding-right: 330px;
	position: relative;
}

#testimonials_intro div p
{
	width: 90%;
}

#leave_feedback_link
{
	position: absolute;
	right: 0;
	bottom: 0;
	width: 280px;
	display: block;
	background: url(../images/arrows/dark_arrow.png) #CAD400;
	background-repeat: no-repeat;
	background-position: 270px 50%;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-khtml-border-radius: 4px;
	text-decoration: none;
	font-family: 'Raleway', sans-serif;
	font-size: 0.9375em;
	font-weight: 500;
	line-height: 100%;
	color: #fff;
	padding: 10px 15px;
}

.testimonial_col
{
	width: 19.1%;
	float: left;
	margin-right: 1.125%;
	position: relative;
}

.testimonial_col5{margin-right: 0;}

.testimonial_col6
{
	width: 100%;
	margin: 1.125% 0 0 0;
}

.testimonial
{
	border-radius: 5px;
	position: relative;
}

.large_testimonial{height: 100%;}

.small_testimonial
{
	position: absolute;
	height: 50%;
	left: 0;
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.top_testimonial{padding-bottom: 6px; top: 0;}
.bottom_testimonial{padding-top: 6px; bottom: 0;}

.testimonial.light > div{background: #cdced0;}
.testimonial.dark > div{background: #4B5C66;}
.testimonial.green > div{background: #CAD400;}

.testimonial > div
{
	border-radius: 5px;
	position: relative;
	padding: 15px 20px 20px 20px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	height: 100%;
}

.testimonial span
{
	position: relative;
	left: -10px;
	display: block;
	width: 36px;
	height: 40px;
	margin-bottom: 10px;
}

.testimonial.light span,
.testimonial.green span{background: url(../images/quote_icon_dark.png); background-image: url(../images/quote_icon_dark.svg), none;}
.testimonial.dark span{background: url(../images/quote_icon_light.png); background-image: url(../images/quote_icon_light.svg), none;}

.testimonial.dark p{color: #fff;}


/* iPad landscape -1px ––––––––––––––– */
@media screen and (max-width: 1023px) {	
.testimonial_col{width: 49%; margin-right: 2%; margin-bottom: 20px;}
.testimonial_col6 {margin-top: 0;}
.testimonial_col2,.testimonial_col4,.testimonial_col6{margin-right: 0;}
.small_testimonial{position: relative; height: 100%; width: 49%; float: left; padding: 0;}
.top_testimonial{margin-right: 2%;}
.testimonial_col5 .bottom_testimonial{position: absolute; right: 0; height: 100%; left: auto;}
}


/* Intro full width ––––––––––––––– */
@media screen and (max-width: 850px) {
#testimonials_intro div{padding: 0;}	
#testimonials_intro div p{width: 100%;}
#leave_feedback_link{position: relative; margin-top: 15px; width: 230px; background-position: 220px 50%; max-width: 100%;}
}


/* iPad Portrait ––––––––––––––– */
@media screen and (max-width: 768px) {	
.testimonial_col{width: 100%; margin-right: 0; margin-bottom: 15px; float: none;}
}

/* single column ––––––––––––––– */
@media screen and (max-width: 560px) {	
.small_testimonial, .testimonial_col5 .bottom_testimonial{width: 100%; float: none; position: relative;}
.top_testimonial{margin-bottom: 15px;}
}
