/*! http://responsiveslides.com v1.54 by @viljamis */
.testimonial { margin: 1em 0; }

.testimonial .ccm-image-slider
{
	position: relative;
	background: #eee;
}

.testimonial .slider-overlay .ccm-image-slider-text
{
	padding: 2em 2em;
	color: #53565a;
	font-weight: 500;
	background: #eee !important;
	float: left;
	position: relative !important;
	margin-bottom: 1em;
	flex: 2;
}
.ccm-image-slider-text {
	display: grid;
}
.testimonial .ccm-image-slider-title
{
	margin-top: auto;
	color: #53565a;
}

.testimonial .ccm-image-slider-container a.mega-link-overlay { position: relative; }
.testimonial .rslides { margin: 0 auto; }
.testimonial .rslides > li { background: #eee; display:block; }
.testimonial .rslides picture {flex: 2;}
/*.testimonial .rslides img
{
	float: left;
}*/

/* 
.testimonial .rslides_tabs
{
	padding-left: 15px !important;
	padding-right: 15px;
	bottom: 0;
	top: auto;
	left: 30%;
	position: absolute;
	z-index: 2;
	display: inline-block;
	margin-left: 1em;
}


.testimonial .rslides_tabs li.rslides_here a
{
	border: 2px solid #53565a;
	background: #ccccc9;
}

.testimonial .rslides_tabs li a { border: 2px solid #777;background: #eee;}
.testimonial .rslides_tabs li { margin-right: 0; }
 */

.testimonial .rslides_tabs li a { border: 2px solid #eee; }

.testimonial h2
{
	padding-bottom: 15px;
	font-family: "arial",sans-serif;
	line-height: 1.3;
	font-size: 1.2em;
	font-style: normal;
	font-weight: 400;
}

.testimonial p {font-size: 1em; line-height: 1.2em;}

.testimonial h2 big
{
	font-size: 3em;
	display: block;
	line-height: .5em;
	margin-top: 30px;
}



.quote-mark
{
	position: absolute;
	bottom: 2em;
	right: 2em;
	z-index: 300;
}

.quote-mark img
{
	width: 27px;
	height: auto;
}

/* Extra small devices (phones, 600px and down) */

@media only screen and (max-width: 600px)
{
	.testimonial .rslides img
	{
		width: 100%;
		float: none;
	}
	
	.testimonial .slider-overlay .ccm-image-slider-text
	{
		width: 100%;
		float: none;
	}
	
	.testimonial .rslides_tabs { left: 0; }
}

/* Small devices (portrait tablets and large phones, 600px and up) */

@media only screen and (min-width: 600px)
{
		.testimonial .rslides img
	{
		width: 100%;
		float: none;
	}
	
	.testimonial .slider-overlay .ccm-image-slider-text
	{
		width: 100%;
		float: none;
	}

}

/* Medium devices (landscape tablets, 768px and up) */

@media only screen and (min-width: 768px)
{
	/*.testimonial .rslides img { width: 40%; float:left;}
	.testimonial .slider-overlay .ccm-image-slider-text { width: 60%;float:left; }*/
	.testimonial .slider-overlay .ccm-image-slider-text {padding: 1.5em 4em 1em 3em;}
	.testimonial h2 {font-size: 1em; line-height: 1.1em;}
	.testimonial p {font-size: .9em; line-height: 1.1em;}
	.testimonial .rslides > li {display: flex}
}

/* Large devices (laptops/desktops, 992px and up) */

@media only screen and (min-width: 992px)
{
	/*.testimonial .rslides img { width: 40%;float:left; }
	.testimonial .slider-overlay .ccm-image-slider-text { width: 60%; float:left;}*/
	.testimonial .rslides picture {flex: 1;}
}

/* Extra large devices (large laptops and desktops, 1200px and up) */

@media only screen and (min-width: 1200px)
{
	/*.testimonial .rslides img { width: 30%; float:left;}
	.testimonial .slider-overlay .ccm-image-slider-text { width: 70%;float:left; }*/
	.testimonial h2
{
	padding-bottom: 15px;
	font-family: "arial",sans-serif;
	line-height: 1.3;
	font-size: 1.2em;
	font-style: normal;
	font-weight: 400;
}

.testimonial p {font-size: 1em; line-height: 1.2em;}
}