/*--------------------------------------------------------------
# Image Hover Effects
--------------------------------------------------------------*/
.t-center {
    position: relative;
    margin: 0 auto;
	margin-top: 40px;
	margin-bottom: 20px;
	padding-bottom: 40px; 
    width: 100%;
    text-align: center;
	z-index: 1;
}


.testimonial-view {  
	text-align: center;
    display: inline-block;
	width: 300px;
	height: 416px;
	padding: 0;
	margin: 5px 10px 10px 10px;
	overflow: hidden;
	cursor: default;
	position: relative;
    background: #fff;
    border: 1px solid #eee;
	z-index: 1;
}

.testimonial-view .single-title, .testimonial-view  .us-position {
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}
.testimonial-view .single-title {
    background-color: rgba(0, 0, 0, 0.3);		
}


.testimonial-view:hover .single-title , .testimonial-view:hover .us-position,  .soc:hover .testimonial-view  {
	display: block;
	color: #fff;
}
.testimonial-container:hover .single-title, .testimonial-container a:hover .testimonial-view, .soc:hover .testimonial-view{
	-webkit-transition: all 0.3s linear 0s;
	-moz-transition: all 0.3s linear 0s;
	-o-transition: all 0.3s linear 0s;
	transition: all 0.3s linear 0s;
    background-color: rgba(0, 0, 0, 0.6);	
}

.testimonial-container {

	overflow: hidden;
	position: relative;
	display: inline-block;
	z-index: 2;
	overflow: hidden;
}

.testimonial-container .soc, .testimonial-container .soc a {
	display: none;

}

 .testimonial-container:hover a {
	display: block;	
}

.testimonial-container:hover .soc {
	position: absolute;
	text-align: center;
	width: 100%;
	bottom: 110px;	
	left: 0;
	display: block;	
}

.testimonial-container .soc a {
	width: 35px;
	height: 35px;
	font-size: 22px;
	position: relative;
	z-index: 999;
	margin-bottom: 80px;
	display: inline-block;	
}

.testimonial-container .soc img {
	transform: scale(1);
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2 ease-out;	
}

.testimonial-container .soc img:hover {
	opacity: 0.9;
	z-index:99999999999999;
	position: relative;
	width: 35px;
	height: 35px;	
}


.testimonial-view .single-title {
	position: absolute;
	padding: 300px 0 95px 0;		
	left: 0;
	color: #eee;
	bottom: 0;
	text-align: center;
	font-size: 28px;	
	width: 100%;
	z-index: 9999999999999999999999;
}

.testimonial-view  .us-position {
	position: absolute;
	padding: 0 0 70px 0;		
	left: 0;
	color: #eee;
	bottom: 0;
	text-align: center;
	font-size: 16px;	
	width: 100%;
	z-index: 9999999999999999999999;	
}

.testimonial-view em  {
    font-size: 14px;
    position: absolute;
    display: block;
	text-align: center;
	padding: 5px;
	width: 100%;
	font-family: sans-serif;		
	font-weight: normal;
}

.testimonial-view .testimonial-mask {
	width: 300px;
	height: 420px;
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 0;
	position: absolute;
	z-index: 6;
}

.testimonial-view img {
	width: 300px;
	height: 418px;
	display: block;
	position: absolute;
    object-fit: cover;
    object-position: 50% 50%;
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2 ease-out;	

}

.testimonial-view:hover  img, .soc a:hover img{
    -webkit-transform: scale(1.3);
    -moz-transform: scale(1.3);
    -o-transform: scale(1.3);
    -ms-transform: scale(1.3);
    transform: scale(1.3);
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2 ease-out;	
}

.testimonials-infos {
	color: #997500;
    position: absolute;	
   	z-index: 1;
	width: 250px;
	height: 320px;
	display: inline-block;
	text-align: center;
	top: 0;
	left: 0;
	opacity: 0.1;
	font-size: 243px;
	background-repeat: no-repeat;	
   -webkit-transition: all 0.4s ease-in-out;
   -moz-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;
   -ms-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;	
}

.testimonial-view:hover .testimonials-infos {
	display: inline-block;
	z-index: 999999;
	width: 60px;
	height: 60px;
	line-height: 60px;
	opacity: 1;	
	font-weight: bold;
	background-repeat: no-repeat;
	color: #fff;
	font-size: 43px;
	text-align: center;
	top: 40%;
	left: 40%;
	position: absolute;
   -webkit-transition: all 0.4s ease-in-out;
   -moz-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;
   -ms-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

.testimonial-img-effect .testimonial-mask {
	opacity: 0.1;
	overflow: visible;
   -moz-box-sizing:border-box;
   -webkit-box-sizing:border-box;
	box-sizing:border-box;
   -webkit-transition: all 0.8s ease-in-out;
   -moz-transition: all 0.8s ease-in-out;
   -o-transition: all 0.8s ease-in-out;
   -ms-transition: all 0.8s ease-in-out;
	transition: all 0.8s ease-in-out;
}

.testimonial-img-effect:hover .testimonial-mask {
	opacity: 1;
	position: absolute;
	z-index: 6;
}

.app-first .app-sub {
	float: left;
	width: 250px;
	height: 200px;
	margin: 5px 15px 20px 0;
	display: inline-block;
	overflow: hidden;
}

.app-basic {
	width: 100%;
	height: 100%;
	position: relative;
	cursor: pointer;
	-webkit-perspective: 300px;
	-moz-perspective: 300px;
	-o-perspective: 300px;
	-ms-perspective: 300px;
	perspective: 300px;
}

.app-transform {
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-o-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.app-transform > div {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	background-position: center center;
	-webkit-transition: all 0.4s linear;
	-moz-transition: all 0.4s linear;
	-o-transition: all 0.4s linear;
	-ms-transition: all 0.4s linear;
	transition: all 0.4s linear;
	-webkit-transform-origin: 50% 0%;
	-moz-transform-origin: 50% 0%;
	-o-transform-origin: 50% 0%;
	-ms-transform-origin: 50% 0%;
	transform-origin: 50% 0%;
}

.app-transform .app-transform-back {
    padding: 10px;
	background: #778e04;
	-webkit-transform: translate3d(0,0,-250px) rotate3d(1,0,0,90deg);
	-moz-transform: translate3d(0,0,-250px) rotate3d(1,0,0,90deg);
	-o-transform: translate3d(0,0,-250px) rotate3d(1,0,0,90deg);
	-ms-transform: translate3d(0,0,-250px) rotate3d(1,0,0,90deg);
	transform: translate3d(0,0,-250px) rotate3d(1,0,0,90deg);
    box-shadow: inset 0 0 0 #000, inset 0 1px 122px #000, inset 0 0 0 #000;	
	opacity: 0;
}

.app-transform h2 {
	color: #fff;
	letter-spacing: 1px;
	font-size: 26px;
	padding: 60px 10px 10px 10px;
	text-align: center;
	margin: 0 auto;

}

.app-basic:hover .app-transform-front {
	-webkit-transform: translate3d(0,280px,0) rotate3d(1,0,0,-90deg);
	-moz-transform: translate3d(0,280px,0) rotate3d(1,0,0,-90deg);
	-o-transform: translate3d(0,280px,0) rotate3d(1,0,0,-90deg);
	-ms-transform: translate3d(0,280px,0) rotate3d(1,0,0,-90deg);
	transform: translate3d(0,280px,0) rotate3d(1,0,0,-90deg);
	opacity: 0;
}

.app-basic:hover .app-transform-back {
	-webkit-transform: rotate3d(1,0,0,0deg);
	-moz-transform: rotate3d(1,0,0,0deg);
	-o-transform: rotate3d(1,0,0,0deg);
	-ms-transform: rotate3d(1,0,0,0deg);
	transform: rotate3d(1,0,0,0deg);
	opacity: 1;
}

.app-basic img {
	-webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2 ease-out;
    object-fit: cover;
    object-position: 50% 50%;	
}

.app-basic img:hover {

    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    overflow: hidden;
}

/* ----------------------------------- testimonials-post-type ----------------------------------- */
.title-testimonials {
	text-align: center;
	font-weight: 900;
	font-size: 3vw;
	margin: 0 0 60px 0;
	text-align:center;
}

.testimonials-boxes {
    position: relative;
	margin: 0 auto;
    width: 100%;
    text-align: center;
	display: inline-block;
	clear: both;
	float: none;
	overflow: hidden;
}

	
.testimonials {
    overflow: hidden;
	width: 31%;
	height: auto;
	vertical-align: top;
	color: #333333;
	word-wrap: break-word;
    display: inline-block;	
}

.testimonials img {
	width: auto;
	height: 300px;
}

.testimonials-mask {
	display: none;
}

.testimonials:hover .testimonials-mask {
	display: inline-block !important;
	position: absolute;
	z-index: 2;
	width: 100%;
	height: 100%;
	text-align: center;
	margin: 0;
	padding: 0;
	background-color:rgba(119,142,4,0.6);	
}

.testimonials h4 {
	padding: 10px 0 10px 0;
	font-size: 25px;
	color: #555555;
	margin: 0;
}

.testimonials-shortcode img {
	width: 100%;
	padding: 20px;	
	margin: 0 auto;
}

.testimonials .read-more {
    background: #778E04;
	text-align: center;
	color: #fff;
	padding: 8px;
	margin: 0 auto;
	margin-top: 20px;
}

.testimonials-shortcode {
	margin-left: auto;
	margin-right: auto;
	text-align:	center;
	width: 100%;
	display: inline-block;
}

.testimonials-shortcode .testimonials {
	width: 250px;
	min-height: auto;
	text-align: center;
	display: inline-block;
}

.title-about_us {
	font-size: 3vw;
}
