.testimonials .arrow {
    color: #005CC8;
    cursor: pointer;
    font-size: 2em;
    transition: all .3s ease-in-out;
}

.testimonials .arrow:before {
    cursor: pointer;
}

.testimonials .arrow:hover {
    color: #005CC8;
}

.testimonials .dots {
    text-align: center;
    width: 100%;
    height: 12px;
    padding: 0px;
}

.testimonials .dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #005CC8;
    margin: 0 10px;
    cursor: pointer;
    transition: all .5s ease-in-out;

}

.testimonials .dots .dot.te-active,
.testimonials .dots .dot:hover {
    background: #005CC8;
    border-color: #005CC8;
}

.testimonials .dots .dot.te-active {
    animation: testimonials-scale .5s ease-in-out forwards;
}

.testimonials .cont {
    position: relative;
    overflow: hidden;
}

.testimonials .cont > div {
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.testimonials .cont > div.inactive {
    opacity: 1;
}

.testimonials .cont > div.te-active {
    position: relative;
    opacity: 1;
}

.testimonials .cont div .img img {
    width: 100px;
    height: 100px;
    margin: auto;
    border-radius: 50%;
}

.testimonials .cont div h2 {
    color: #005CC8;
    margin: 15px 0;
}

.testimonials-dot-container{
    display: flex;
    align-items: center;
}

.testimonials .cont div.te-active .img img {
    animation: testimonials-show .5s ease-in-out forwards;
}

.testimonials .cont div.te-active h2 {
    animation: testimonials-content-in .4s ease-in-out forwards;
}

.testimonials .cont div.te-active p {
    animation: testimonials-content-in .5s ease-in-out forwards;
}

.testimonials .cont div.inactive .img img {
    animation: testimonials-hide .5s ease-in-out forwards;
}

.testimonials .cont div.inactive h2 {
    animation: testimonials-content-out .4s ease-in-out forwards;
}

.testimonials .cont div.inactive p {
    animation: testimonials-content-out .5s ease-in-out forwards;
}

@keyframes testimonials-scale {
    0% {
        box-shadow: 0px 0px 0px 0px #eee;
    }

    35% {
        box-shadow: 0px 0px 10px 5px #eee;
    }

    70% {
        box-shadow: 0px 0px 10px 5px #005CC8;
    }

    100% {
        box-shadow: 0px 0px 0px 0px #005CC8;
    }
}

@keyframes testimonials-content-in {
    from {
        opacity: 0;
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes testimonials-content-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-100%);
    }
}

@keyframes testimonials-show {
    from {
        opacity: 0;
        transform: scale(0);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes testimonials-hide {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0);
    }
}