/* ********************************************** */
/*              TESTIMONIAL STYLES                */
/* ********************************************** */

/* ********************************************** */
/* Testimonial Style 1                            */
/* ********************************************** */

.dh_testimonial_style1 {
	transition: 0.5s all;
}

/* Class to apply a large border radius to round off elements */
.dh_testimonial_style1.dh_rounded {
	border-radius: 30px;
}

.dh_testimonial_style1.et_pb_testimonial:before {
	transition: 0.5s all;
    position: absolute;
    z-index: 0;
    left: unset;
    top: 50px;
    left: 40px;
    margin-left: -16px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 0;
    font-size: 134px;
    content: "\7b";
    opacity: 0.7;
}

.dh_testimonial_style1 .et_pb_testimonial_portrait:before {
	display:none;
}

.dh_testimonial_style1 .et_pb_testimonial_portrait {
	transition: 0.5s all;
    display: block;
    float: left;
    position: relative;
    width: 120px;
    height: 120px;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    top: -80px;
    border-radius: 50%;
    overflow: hidden;
}

.dh_testimonial_style1.dh_img_round .et_pb_testimonial_portrait {
    border-radius: 50%;
}

/* rounded corners only */
.dh_testimonial_style1.dh_img_rounded .et_pb_testimonial_portrait {
    border-radius: 20px;
}

/* square cropping */
.dh_testimonial_style1.dh_img_square .et_pb_testimonial_portrait {
    border-radius: 0px;
}


.dh_testimonial_style1:hover {
	box-shadow: 0 0 10px 2px rgba(0,0,0,0.2);
}
.dh_testimonial_style1:hover .et_pb_testimonial_portrait {
	box-shadow: none;
}
.dh_testimonial_style1:hover:before {
	box-shadow: none;
}
.dh_testimonial_style1.dh_rounded:before {
	border-radius: 20px!important;
}


.dh_testimonial_style1 .et_pb_testimonial_meta {
	transition: 0.5s all;
	margin-top: -10px;
}

.dh_testimonial_style1 .et_pb_testimonial_author {
	transition: 0.5s all;
	display: block;
	margin-bottom: 10px;
	font-weight: 900;
	font-size: 20px;
	margin-top: 0;
}

@media(max-width: 784px) {

	.dh_testimonial_style1:before {
		font-size: 80px;
	}

	.dh_testimonial_style1 .et_pb_testimonial_portrait {
		float: left;
		width: 120px;
		height: 120px;
		margin: auto;
		margin-top: -55px;
		top: 0;
	}

	.dh_testimonial_style1 .et_pb_testimonial_meta {
    	left: 0;
		bottom: 0;
		position: relative;
	}

	.dh_testimonial_style1 .et_pb_testimonial_author {
    	display: block;
    	left: 0;
		bottom: 0;
		font-size: 16px;
		position: relative;
	}

	.dh_testimonial_style1 .et_pb_testimonial_description {
	display: block;
    width: 100%;
    float: left;
	}

}

/* ********************************************** */
/* Testimonial Style 2                           */
/* ********************************************** */

.dh_testimonial_style2 {
	transition: 0.5s all;
}

/* Class to apply a large border radius to round off elements */
.dh_testimonial_style2.dh_rounded {
	border-radius: 30px;
}

.dh_testimonial_style2.et_pb_testimonial:before {
	transition: 0.5s all;
  left: unset;
  right: -75px;
  font-size: 400px;
  content: "\7b";
  line-height: 0.5;
}

.dh_testimonial_style2 .et_pb_testimonial_portrait:before {
	display:none;
}

.dh_testimonial_style2 .et_pb_testimonial_portrait {
	transition: 0.5s all;
  width: 150px;
  height: 200px;
  top: -31px;
  left: -30px;
}

.dh_testimonial_style2.dh_img_round .et_pb_testimonial_portrait {
    border-radius: 50%;
}

/* rounded corners only */
.dh_testimonial_style2.dh_img_rounded .et_pb_testimonial_portrait {
    border-radius: 20px;
}

/* square cropping */
.dh_testimonial_style2.dh_img_square .et_pb_testimonial_portrait {
    border-radius: 0px;
}

.dh_testimonial_style2:hover {
	box-shadow: 0 0 10px 2px rgba(0,0,0,0.2);
}
.dh_testimonial_style2:hover .et_pb_testimonial_portrait {
	box-shadow: none;
}
.dh_testimonial_style2:hover:before {
	box-shadow: none;
}
.dh_testimonial_style2.dh_rounded:before {
	border-radius: 20px!important;
}


.dh_testimonial_style2 .et_pb_testimonial_meta {
	transition: 0.5s all;
	margin-top: -10px;
}

.dh_testimonial_style2 .et_pb_testimonial_author {
	transition: 0.5s all;
	display: block;
	margin-bottom: 10px;
	font-weight: 900;
	font-size: 20px;
	margin-top: 0;
}

@media(max-width: 784px) {

	.dh_testimonial_style2:before {
		font-size: 80px;
	}

	.dh_testimonial_style2 .et_pb_testimonial_portrait {
		float: left;
		width: 120px;
		height: 120px;
		margin: auto;
		margin-top: -55px;
		top: 0;
	}

	.dh_testimonial_style2 .et_pb_testimonial_meta {
    	left: 0;
		bottom: 0;
		position: relative;
	}

	.dh_testimonial_style2 .et_pb_testimonial_author {
    	display: block;
    	left: 0;
		bottom: 0;
		font-size: 16px;
		position: relative;
	}

	.dh_testimonial_style2 .et_pb_testimonial_description {
	display: block;
    width: 100%;
    float: left;
	}

}



/* ********************************************** */
/* Testimonial SLIDER Style 1                     */
/* ********************************************** */


.dh_testimonial_slider_style .et_pb_slide_description {
	text-align: left;
	animation-name: fadeRight;
}

/* JQuery takes the slide image and adds it as a background image to this section in the slide */
.dh_testimonial_slider_style .dh_slider_testimonial_portrait {
	transition: 0.5s all;
    float: left;
    position: relative;
    width: 120px;
    height: 120px;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    margin-top: -50px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 10px 2px rgba(0,0,0,0.2);
    border: 4px solid black;
    left: 20px;
}

/* Make the description full width as we've hidden the image */
.dh_testimonial_slider_style .et_pb_slide_description {
	float:none!important;
	width: 100%!important;
}
/* Hide the normal slide image section */
.dh_testimonial_slider_style .et_pb_slide_image {
	display: none!important;
}
/* Hide the slide title as we don't use it */
.dh_testimonial_slider_style .et_pb_slide_title {
	display: none;
}

.dh_testimonial_slider_style .et_pb_slide {
	background: none!important;
}

/* Style the slide like our normal testimonials */

.dh_testimonial_slider_style .et_pb_slide_description {
    transition: 0.5s all;
	background-color: #white!important;
	/* border-radius: 20px; */
	padding: 120px 0 50px 0;
	border: 1px black solid;
}

.dh_testimonial_slider_style .dh_slider_testimonial {
    transition: 0.5s all;
}

.dh_testimonial_slider_style .et-pb-active-slide:hover .et_pb_slide_description {
	box-shadow: 0 0 10px 2px rgba(0,0,0,0.2);
}

.dh_testimonial_slider_style .et-pb-active-slide:hover .dh_slider_testimonial_portrait {
    box-shadow: none;
}
.dh_testimonial_slider_style .et-pb-active-slide:hover .dh_slider_testimonial:before {
    box-shadow: none;
}

@media(max-width:768px) {
	.dh_testimonial_slider_style .et-pb-active-slide .et_pb_slide_description {
		box-shadow: 0 0 10px 2px rgba(0,0,0,0.2);
	}

	.dh_testimonial_slider_style .et-pb-active-slide .dh_slider_testimonial_portrait {
	    box-shadow: none;
	}
	.dh_testimonial_slider_style .et-pb-active-slide .dh_slider_testimonial:before {
	    box-shadow: none;
	}
}

/* Add margin to the top so we can overlap the slide images */
.dh_testimonial_slider_style .et_pb_slides {
	margin-top: 50px;
}

.dh_testimonial_slider_style .dh_slider_testimonial {
	text-shadow: none;
}


.dh_testimonial_slider_style  .et-pb-slider-arrows {
	margin-top: 80px;
	color: white;
}

.dh_testimonial_slider_style .et-pb-arrow-prev, .dh_testimonial_slider_style .et-pb-arrow-next {
background-color: black;
}

.dh_testimonial_slider_style:hover .et-pb-arrow-prev, .dh_testimonial_slider_style:hover .et-pb-arrow-next {
    opacity: 0.5;
}

.dh_testimonial_slider_style .et-pb-arrow-prev:hover, .dh_testimonial_slider_style .et-pb-arrow-next:hover {
    opacity: 0.8;
}

.dh_testimonial_slider_style:hover .et-pb-arrow-prev {
    left: 10px;
}
.dh_testimonial_slider_style:hover .et-pb-arrow-next {
    right: 10px;
}

@media(max-width: 768px) {
	.et-pb-arrow-next, .et-pb-arrow-prev {
		opacity: 1;
	}
	.et-pb-arrow-prev {
	    left: 10px;
	}
	.et-pb-arrow-next {
	    right: 10px;
	}

}


.dh_testimonial_slider_style .et-pb-controllers {
	bottom: 0;
}

.dh_testimonial_slider_style .et-pb-controllers .et-pb-active-control {
    background-color: black;
}

.dh_testimonial_slider_style .et-pb-controllers a {
    display: inline-block;
    width: 25px;
    height: 15px;
    margin-right: 10px;
    padding: 0;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    background-color: white;
    text-indent: -9999px;
    border: 1px black solid;
}

.dh_testimonial_slider_style .dh_slider_testimonial_content_container {
    margin-left: 160px;
    margin-right: 50px;

}

.dh_testimonial_slider_style .dh_slider_testimonial_content {
    margin-top: -80px;
    font-size: 14px;
}

.dh_testimonial_slider_style .dh_slider_testimonial_author {
    font-weight: 700;
    position: relative;
    font-size: 20px;
    margin-top: 40px;
		color: black;
}

.dh_testimonial_slider_style .dh_slider_testimonial_meta {
    position: relative;
    font-size: 14px;
    margin-top: 20px;
}

/* Add the large quote icon */
.dh_testimonial_slider_style .dh_slider_testimonial:before {
    font-family: "ETmodules" !important;
    transition: 0.5s all;
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 0px;
    /* background: rgba(0,0,0,0.4); */
    font-size: 134px;
    content: "\7b";
    color: rgba(0,0,0,0.2);
    opacity: 0.7;
    padding: 0px;
    line-height: 1;
	z-index: -1;
}

@media(max-width: 784px) {

	.dh_testimonial_slider_style .et_pb_slide_description {
		padding: 0;
	}

	.dh_testimonial_slider_style .dh_slider_testimonial_portrait {
		float: left;
    	width: 120px;
		height: 120px;
		margin: -20px auto;
	}

	.dh_testimonial_slider_style .dh_slider_testimonial_content {
    	margin: 0 10px;
    	padding-top: 120px;
	}

	.dh_testimonial_slider_style .dh_slider_testimonial_meta {
    	margin: 0 10px;
		padding-bottom:20px;
	}

	.dh_testimonial_slider_style .dh_slider_testimonial_author {
    	margin: 20px 10px auto 10px;
    	font-size: 16px;
	}

	.dh_testimonial_slider_style .dh_slider_testimonial_content_container {
		margin: auto;
	}

	.dh_testimonial_slider_style .et_pb_slide {
    	padding: 0 10px;
	}

	.dh_testimonial_slider_style .et-pb-arrow-prev,  .dh_testimonial_slider_style .et-pb-arrow-next {
		top: 95%;
	}

	.dh_testimonial_slider_style .et-pb-slider-arrows {
		margin-top: 55px;
		color: white;
	}

	.dh_testimonial_slider_style .et-pb-controllers {
		bottom: 20px;
	}

	.et_mobile_device .dh_testimonial_slider_style .et-pb-arrow-prev {
		left: 10px;
		opacity: 0.5;
	}

	.et_mobile_device .dh_testimonial_slider_style .et-pb-arrow-next {
		right: 10px;
		opacity: 0.5;
	}

}
