/* style 1*/
.iq-testimonial-1 .iq-testimonial-info .iq-testimonial-member {
    position: relative;
    text-align: center;
    display: inline-block;
    margin-bottom: 45px;
}

.iq-testimonial-1 .iq-testimonial-info .iq-testimonial-member .iq-testimonial-avtar {
    width: 65px;
    height: 65px;
    margin-right: 15px;
    display: inline-block;
    vertical-align: middle;
}

.iq-testimonial-1 .iq-testimonial-info .iq-testimonial-member .iq-testimonial-avtar img {
    width: 100%;
}

.iq-testimonial-1 .iq-testimonial-info .avtar-name {
    display: inline-block;
    vertical-align: middle;
    text-align: left;
}

.iq-testimonial-1 .iq-testimonial-info .iq-testimonial-content p {
    margin-bottom: 0;
}

.iq-testimonial-1 .iq-testimonial-info {
    margin: 50px 15px;
    padding: 45px 84px;
    box-shadow: 4.871px 34.659px 30px 0 rgba(0, 0, 0, 0.05);
    background: var(--white-color);
    border-radius: var(--border-radius);
}

/* style 2*/
.iq-testimonial-2 .iq-testimonial-info {
    position: relative;
    text-align: center;
}

.iq-testimonial-2 .iq-testimonial-info .iq-testimonial-member {
    display: inherit;
}

.iq-testimonial-2 .iq-testimonial-info .avtar-name {
    display: inherit;
    text-align: center;
}

.iq-testimonial-2 .iq-testimonial-info .iq-testimonial-member img {
    width: 65px;
    height: 65px;
    margin: 0 auto 15px;
}

.iq-testimonial-2 .iq-testimonial-info .iq-testimonial-content p {
    padding: 0 170px;
    position: relative;
}

.iq-testimonial-2 .iq-testimonial-info .iq-testimonial-member {
    margin-bottom: 30px;
}

.iq-testimonial-2 .iq-testimonial-info .iq-testimonial-content p:before {
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: -15px;
    right: 0;
    display: inline-block;
    text-align: center;
    font-size: 75px;
    color: #e6e8ed;
    line-height: normal;
    margin: 0 auto;
    left: 0;
    z-index: -1;
    opacity: .6;
}

/*style 3*/
.iq-testimonial-3 .iq-testimonial-info {
    padding: 30px;
    background: var(--white-color);
    box-shadow: 0 0 25.4px .6px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    margin-top: 25px;
}

.iq-testimonial-3 .iq-testimonial-info .iq-testimonial-content p {
    font-style: italic;
}

.iq-testimonial-3 .iq-testimonial-member .iq-testimonial-avtar img {
    width: 65px;
    height: 65px;
    margin-right: 25px;
}

.iq-testimonial-3 .iq-testimonial-member {
    position: relative;
    text-align: left;
    display: flex;
    z-index: 1;
}

.iq-testimonial-3 .iq-testimonial-member .avtar-name span {
    color: var(--primary-color);
}

.iq-testimonial-3 .iq-testimonial-member .iq-testimonial-quote {
    display: inline-block;
    position: absolute;
    font-size: 84px;
    color: var(--white-light-color);
    width: 143px;
    height: 102px;
    z-index: -1;
    left: 43px;
    top: -26px;
}

.iq-testimonial-3 .iq-testimonial-member .avtar-name {
    flex: 1;
}

/*style 4*/
.iq-testimonial-4 .iq-testimonial-info {
    padding: 30px 30px 40px;
}

.iq-testimonial-4 .iq-testimonial-info .iq-testimonial-avtar {
    margin-right: 30px;
    width: 80px;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
}

.iq-testimonial-4 .iq-testimonial-info .iq-testimonial-avtar img {
    width: 80px;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
}

.iq-testimonial-4 .iq-testimonial-info .iq-testimonial-content {
    padding: 40px;
    z-index: 1;
    position: relative;
    background: rgba(255, 255, 255, 1.0);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 4.871px 22.659px 30px 0 rgba(0, 0, 0, 0.06);
    -moz-box-shadow: 4.871px 22.659px 30px 0 rgba(0, 0, 0, 0.06);
    box-shadow: 4.871px 22.659px 30px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid #f2f2f4;
}

.iq-testimonial-4 .iq-testimonial-info .title {
    font-size: 18px;
}

.iq-testimonial-4 .iq-testimonial-info .avtar-name {
    display: table-cell;
    margin-top: 15px;
}

.iq-testimonial-4 .iq-testimonial-info .avtar-name span {
    font-size: 14px;
}

.iq-testimonial-4 .iq-testimonial-info p {
    margin-bottom: 0;
}

.iq-testimonial-4 .iq-testimonial-info .iq-lead {
    font-size: 18px;
    line-height: 20px;
    color: #25b15f;
    font-weight: 700;
}

.iq-testimonial-4 .iq-testimonial-info .iq-testimonial-member {
    margin-top: 30px;
    display: flex;
}

.iq-testimonial-4.text-right .iq-testimonial-info .iq-testimonial-avtar {
    margin-right: 0;
    margin-left: 15px;
    float: right;
}

.iq-testimonial-4.text-center .iq-testimonial-info .iq-testimonial-member {
    display: block;
    text-align: center;
}

.iq-testimonial-4.text-center .iq-testimonial-info .iq-testimonial-avtar {
    display: inline-block;
    vertical-align: middle;
}

.iq-testimonial-4.text-center .iq-testimonial-info .avtar-name {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

.iq-testimonial-4.text-right .iq-testimonial-info .avtar-name {
    display: inline-block;
}

.iq-testimonial-4.text-right .iq-testimonial-info .iq-testimonial-member {
    display: block;
}

.iq-testimonial-4.text-left .iq-testimonial-quote {
    right: 0;
    left: auto;
    margin: 0;
    text-align: right;
    bottom: 15px;
    top: auto;
}

.iq-testimonial-4.text-right .iq-testimonial-quote {
    left: 90px;
    text-align: left;
    bottom: -15px;
    top: auto;
}

/*style 5*/
.iq-testimonial.iq-testimonial-5 {
    position: relative;
}

.iq-testimonial.iq-testimonial-5 .iq-testimonial-info {
    display: flex;
}

.iq-testimonial.iq-testimonial-5 .iq-testimonial-info .iq-testimonial-avtar {
    z-index: 2;
    flex-shrink:0;
}

.iq-testimonial.iq-testimonial-5 .iq-testimonial-info .iq-testimonial-details {
    text-align: left;
    padding: 50px;
    padding-left: 115px;
    z-index: 1;
    background-color: var(--white-color);
    margin-bottom: 30px;
    position: relative;
    margin-left: -80px;
    border-radius: var(--border-radius-box);
}

.iq-testimonial.iq-testimonial-5 .iq-testimonial-info .iq-testimonial-details .iq-testimonial-member .iq-post-meta {
    font-size: 14px;
    margin-left: 5px;
    text-transform: capitalize;
}

.iq-testimonial.iq-testimonial-5 .iq-testimonial-info .iq-testimonial-details .xamin-post-ratings {
    color: var(--primary-color);
    font-size: var(--font-size-normal);
    margin-bottom: 15px;
}

.iq-testimonial.iq-testimonial-5 .iq-testimonial-info .iq-testimonial-details .iq-testimonial-member .avtar-name {
    display: flex;
    align-items: baseline;
}

.iq-testimonial.iq-testimonial-5 .iq-testimonial-info .iq-testimonial-avtar img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-top: 15%;
    margin-left: auto;
    border: 10px solid var(--white-color);
    padding: 10px;
    border-radius: 50%;
}

.iq-testimonial.iq-testimonial-5 .iq-testimonial-info .iq-testimonial-details .iq-testimonial-content p {
    color: var(--color-theme-grey);
}

.iq-testimonial.iq-testimonial-5 .iq-testimonial-info .iq-testimonial-details .iq-testimonial-member .avtar-name .iq-lead {
    margin: 0;
}

.iq-testimonial.iq-testimonial-5 .iq-testimonial-details .iq-testimonial-quote {
    width: 15%;
    position: absolute;
    right: 30px;
    bottom: 15px;
}

.iq-testimonial.iq-testimonial-5 .iq-testimonial-details .iq-testimonial-quote svg,
.iq-testimonial.iq-testimonial-5 .iq-testimonial-details .iq-testimonial-quote i {
    fill: var(--white-light-color);
    opacity: .8;
}

.iq-testimonial.iq-testimonial-5 .iq-testimonial-member .iq-post-meta {
    z-index: 9;
}

.iq-testimonial.iq-testimonial-5 .iq-testimonial-quote {
    z-index: -1;
}

@media (max-width: 480px) {
    .iq-testimonial.iq-testimonial-5 .iq-testimonial-info .iq-testimonial-details {
        padding-left: 30px;
        margin-left: 0;
    }

    .iq-testimonial.iq-testimonial-5 .iq-testimonial-info {
        flex-direction: column;
    }

    .iq-testimonial.iq-testimonial-5 .iq-testimonial-info .iq-testimonial-avtar img {
        border-radius: 0;
        margin-top: 0;
    }

    .iq-testimonial.iq-testimonial-5 .iq-testimonial-details .iq-testimonial-quote {
        right: 15px;
        bottom: 15px;
    }

    .iq-testimonial.iq-testimonial-5 .iq-testimonial-info .iq-testimonial-details .iq-testimonial-member .avtar-name {
        flex-direction: column;
    }
}

.testimonial-bg {
    position: relative;
}

.testimonial-box h4 {
    color: var(--white-color);
    margin-bottom: 30px;
    position: relative;
}

.testimonial-box p {
    color: var(--white-color);
    font-style: italic;
    line-height: 40px;
}

.testimonial-box {
    outline: none;
    padding: 30px 45px 30px 30px;
    margin-top: 15px;
}

.testimonial-box h4:before {
    content: "";
    display: inline-block;
    position: absolute;
    font-size: 84px;
    color: var(--body-text);
    font-family: "Font Awesome 5 Free";
    background: url('../images/quotes.png')no-repeat;
    width: 143px;
    height: 102px;
    opacity: .1;
    top: 0;
}

.testimonial-img {
    position: absolute;
    right: 0;
    top: 8px;
    z-index: 2;
}

.testimonial-box h4 span {
    color: var(--primary-color);
    margin-left: 14px;
    font-size: 14px;
    font-weight: 400;
}

.testimonial-bg:after,
.man-img {
    display: none !important;
}

.iq-testimonial-2 .swiper-slide .iq-testimonial-info .iq-testimonial-content p {
    padding: 0 30px;
}

@media(max-width:1920px) {
    .testimonial-img {
        position: absolute;
        right: 0;
        top: -62px;
        z-index: 2
    }
}

@media(max-width:1199px) {
    .testimonial-style.swiper-wrapper .iq-testimonial {
        padding: 30px;
    }

    .testimonial-img,
    .testimonial-bg:before {
        display: none !important;
    }

    .testimonial-box {
        padding: 30px;
    }
}

@media(max-width:1365px) {
    .testimonial-bg:before {
        height: 634px;
    }
}

@media(max-width:979px) {
    .testimonial-style.swiper-wrapper .iq-testimonial {
        margin: 15px 30px 60px;
    }
}

@media(max-width:992px) {

    .testimonial-img,
    .testimonial-bg:before {
        display: none !important;
    }

    .testimonial-box {
        padding: 30px;
    }

    .testimonial-style.swiper-wrapper .swiper-slide .iq-testimonial-userbehavior p {
        padding: 0 100px;
    }
}

@media(max-width:767px) {
    .testimonial-style.swiper-wrapper .iq-testimonial {
        margin: 15px 0 60px;
    }

    .testimonial-style.swiper-wrapper .swiper-slide .iq-testimonial-userbehavior p {
        padding: 0 30px;
    }
}

@media(max-width:480px) {
    .iq-testimonial.iq-testimonial-5 .iq-testimonial-info .iq-testimonial-avtar img {
        padding: 0;
        width: 100%;
        height: auto;
    }
}

@media(max-width:479px) {
    .testimonial-box p {
        font-size: 14px;
        line-height: 30px;
    }

    .testimonial-box h5 span {
        margin: 0;
        display: block;
    }

    .testimonial-box h4 span {
        display: inherit;
        margin: 0;
    }
}