﻿
/*-------------------------------------
	  Testimonials 
-------------------------------------*/
.testimonial-home {
max-width:1000px;
margin:auto;
}
.testimonial-pic-block{
	/* text-align: center; */
	float: left;
}
.testimonial-pic {
    background: #FFF;
    width: 100px;
    height: 100px;
    position: relative;
    display: inline-block;
    border: 5px solid #FFF;
}

    .testimonial-pic.radius {
        border-radius: 100%;
        -webkit-border-radius: 100%;
        -moz-border-radius: 100%;
    }

        .testimonial-pic.radius img {
            width: 100%;
            border-radius: 100%;
            -webkit-border-radius: 100%;
            -moz-border-radius: 100%;
        }

    .testimonial-pic.shadow {
        -webkit-box-shadow: 2px 3px 6px -3px rgba(0, 0, 0, 0.35);
        -moz-box-shadow: 2px 3px 6px -3px rgba(0, 0, 0, 0.35);
        box-shadow: 2px 3px 6px -3px rgba(0, 0, 0, 0.35);
    }

.quote-left,
.quote-right {
    position: relative;
}

    .quote-left:before,
    .quote-right:after {
        font-family: "FontAwesome";
        position: absolute;
        z-index: 10;
        top: 15px;
    }

    .quote-left:before {
        content: "\f10d";
        left: 0;
    }

    .quote-right:after {
        content: "\f10e";
        left: auto;
        right: 0;
    }

.testimonial-text {
    padding: 15px;
    position: relative;
}

    .testimonial-text p:last-child {
        margin: 0;
    }

.testimonial-detail {
    padding: 5px;
}

.testimonial-name,
.testimonial-position {
    display: block;
}

.testimonial-position {
    font-style: italic;
}

.testimonial-text p {
    margin: 0;
}

/*7.1 testimonial with background image*/
.testimonial-bg {
    color: #fff;
}

/*7.2 testimonial 6*/
.testimonial-6,
.testimonial-grid-6 {
    position: relative;
}

.testimonial-6 {
    padding: 4px 4px 4px 4px;
    display: flex;
    vertical-align: middle;
    align-items: center;
}

    .testimonial-6 .testimonial-text,
    .testimonial-grid-6 .testimonial-text {
        padding: 0 30px;
   /*     margin-bottom: 20px;*/
       /* -webkit-box-shadow: 3px 3px 5px rgb(0,0,0,0.1);
        box-shadow: 3px 3px 5px 0 rgb(0,0,0,0.1);*/
    }
.testimonial-6 .testimonial-text {
    /* min-height:230px; */
    /* max-height:230px; */
    overflow:auto;
    margin-bottom: 30px;
}

    .testimonial-6 .testimonial-pic,
    .testimonial-grid-6 .testimonial-pic {
        /* width: 140px; */
        /* height: 140px; */
        position: relative;
        border: 0px;
        margin: auto;
        width: 255px;
        height: auto;
    }

        .testimonial-6 .testimonial-pic:after,
        .testimonial-6 .testimonial-pic:before,
        .testimonial-grid-6 .testimonial-pic:after,
        .testimonial-grid-6 .testimonial-pic:before {
            content: "";
            position: absolute;
            background-color: #a90404;
        }

        .testimonial-6 .testimonial-pic:after,
        .testimonial-grid-6 .testimonial-pic:after {
            left: -5px;
            top: -5px;
            width: 5px;
            height: 80px;
        }

        .testimonial-6 .testimonial-pic:before,
        .testimonial-grid-6 .testimonial-pic:before {
            left: 0px;
            top: -5px;
            width: 80px;
            height: 5px;
        }

    .testimonial-6 .testimonial-name,
    .testimonial-grid-6 .testimonial-name,
    .testimonial-6 .testimonial-position,
    .testimonial-grid-6 .testimonial-position {
        display: block;
    }

    .testimonial-6 .fa-quote-left,
    .testimonial-grid-6 .fa-quote-left {
        font-size: 18px;
		display:none;
    }

    .testimonial-6 .testimonial-paragraph p,
    .testimonial-grid-6 .testimonial-paragraph p {
        padding: 0px 0px;
        text-align: justify;
    }

    .testimonial-6 .testimonial-name,
    .testimonial-grid-6 .testimonial-name {
        color: #a90404;
        text-transform: capitalize;
        font-size: 16px;
    }

    .testimonial-6 .testimonial-position,
    .testimonial-grid-6 .testimonial-position {
        font-style: normal;
    }

    .testimonial-6 .testimonial-detail,
    .testimonial-grid-6 .testimonial-detail {
        padding-left: 0px;
        padding-right: 0px;
    }

/* testimonial 6 owl-dots*/
.testimonial-home.owl-carousel .owl-dots .owl-dot span {
    height: 10px;
    width: 20px;
    background: no-repeat;
    border: 1px solid #000;
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    transition: all 0.5s linear;
}

.testimonial-home.owl-carousel .owl-dots .owl-dot.active span {
    border: none;
    background-color: #000 !important;
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    transition: all 0.5s linear;
}


.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
    font-size: 40px;
    width: 40px;
    height:40px;
    line-height: 50px;
    border-radius: 50%;
    border: 2px solid;
    outline:none;
}
.owl-carousel .owl-nav button.owl-prev {
float:left;
    margin-left: -50px;
}
.owl-carousel .owl-nav button.owl-next {
    float:right;
    margin-right: -50px;
}
.owl-carousel .owl-nav span
{
    display: block;
    width: 100%;
    height: 100%; 
    line-height: 30px;
}
.owl-carousel .owl-nav
{
    /*position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);*/

        width: fit-content; 
    margin: auto;
    width: max-content;
}

 .testi-sec{
 background:url(../images/bg/testimonial.jpg);
 }
@media (max-width:991px) {
    .owl-carousel .owl-nav {
    position:relative;
        text-align: center;
    transform: translateY(0%);
    }

        .owl-carousel .owl-nav button.owl-next,
        .owl-carousel .owl-nav button.owl-prev {
        float:none;
        margin:0 5px;
        }
}



@media (max-width:525px) {
	 .testimonial-pic-block{
		width:100%;
		} 
		.testimonial-6{
		display:block;
		}
		.testimonial-6 .testimonial-text{
		padding:0;
		overflow: inherit;
margin-bottom: 0px;
		}
		.testimonial-6 .testimonial-pic{
				width:100%;}
		}