.slide-testimonial {
    margin: 40px 0;
}

.slide-testimonial .slick-list.draggable:before,
.slide-testimonial .slick-list.draggable:after {
    width: 33%;
    height: 100%;
    content: "";
    display: none;
    position: absolute;
    top: 0;
    z-index: 1;
}

.slide-testimonial .slick-list.draggable:before {
    left: 0;
    background: rgba(4, 12, 15, 1);
    background: -moz-linear-gradient(left, rgba(4, 12, 15, 1) 0%, rgba(4, 12, 15, 1) 10%, rgba(4, 12, 15, 0) 99%, rgba(4, 12, 15, 0) 100%);
    background: -webkit-linear-gradient(left, rgba(4, 12, 15, 1) 0%, rgba(4, 12, 15, 1) 10%, rgba(4, 12, 15, 0) 99%, rgba(4, 12, 15, 0) 100%);
    background: -o-linear-gradient(left, rgba(4, 12, 15, 1) 0%, rgba(4, 12, 15, 1) 10%, rgba(4, 12, 15, 0) 99%, rgba(4, 12, 15, 0) 100%);
    background: -ms-linear-gradient(left, rgba(4, 12, 15, 1) 0%, rgba(4, 12, 15, 1) 10%, rgba(4, 12, 15, 0) 99%, rgba(4, 12, 15, 0) 100%);
    background: linear-gradient(to right, rgba(4, 12, 15, 1) 0%, rgba(4, 12, 15, 1) 10%, rgba(4, 12, 15, 0) 99%, rgba(4, 12, 15, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#040c0f', endColorstr='#040c0f', GradientType=1);
}

.slide-testimonial .slick-list.draggable:after {
    right: 0;
    background: rgba(4, 12, 15, 0);
    background: -moz-linear-gradient(left, rgba(4, 12, 15, 0) 0%, rgba(4, 12, 15, 0) 1%, rgba(4, 12, 15, 1) 90%, rgba(4, 12, 15, 1) 100%);
    background: -webkit-linear-gradient(left, rgba(4, 12, 15, 0) 0%, rgba(4, 12, 15, 0) 1%, rgba(4, 12, 15, 1) 90%, rgba(4, 12, 15, 1) 100%);
    background: -o-linear-gradient(left, rgba(4, 12, 15, 0) 0%, rgba(4, 12, 15, 0) 1%, rgba(4, 12, 15, 1) 90%, rgba(4, 12, 15, 1) 100%);
    background: -ms-linear-gradient(left, rgba(4, 12, 15, 0) 0%, rgba(4, 12, 15, 0) 1%, rgba(4, 12, 15, 1) 90%, rgba(4, 12, 15, 1) 100%);
    background: linear-gradient(to right, rgba(4, 12, 15, 0) 0%, rgba(4, 12, 15, 0) 1%, rgba(4, 12, 15, 1) 90%, rgba(4, 12, 15, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#040c0f', endColorstr='#040c0f', GradientType=1);
}

.slide-testimonial .slick-arrow {
    width: 27px;
    height: 27px;
    padding: 6px;
    z-index: 2;
    background-color: #3ea3bb;
    border-radius: 50%;
}

.slide-testimonial .slick-arrow:before {
    display: none;
}

.slide-testimonial .slick-arrow.slick-prev {
    left: 0;
    -webkit-transform: rotate(180deg) translate(0, -50%);
    -moz-transform: rotate(180deg) translate(0, -50%);
    -ms-transform: rotate(180deg) translate(0, -50%);
    -o-transform: rotate(180deg) translate(0, -50%);
    transform: rotate(180deg) translate(0, -50%);
}

.slide-testimonial .slick-arrow.slick-next {
    top: 57%;
    right: 0;
}

.testimonial {
    width: 33.333%;
        min-height: 377px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    margin: 0 15px;
    padding: 0 25px 30px;
    text-align: center;
}

.testimonial:after {
    width: 100%;
    height: calc(100% - 50px);
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: rgba(48, 75, 86, .8);
    z-index: -1;
}

.testimonial figure {
    width: 100px;
    height: 100px;
    margin: 0 0 18px;
    overflow: hidden;
    border-radius: 50%;
}

.testimonial figure img {
    width: 100%;
}

.testimonial h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 15px;
}

.testimonial p {
    max-height: 172px;
    margin: 0 0 15px;
    line-height: 24px;
    overflow: hidden;
}

.btn-open-testimonial {
    width: 100px;
    height: auto;
    position: relative;
    margin: auto 0 0;
    padding: 8px 0;
    border: none;
    background-color: transparent;
}

.btn-open-testimonial:after,
.btn-open-testimonial:before {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transform-origin: left;
    -moz-transform-origin: left;
    -ms-transform-origin: left;
    -o-transform-origin: left;
    transform-origin: left;
    transition: 300ms ease;
}

.btn-open-testimonial:after {
    border-right: 1px solid #377188;
    border-left: 1px solid #377188;
    -webkit-transform: scaleY(0);
    -moz-transform: scaleY(0);
    -ms-transform: scaleY(0);
    -o-transform: scaleY(0);
    transform: scaleY(0);
}

.btn-open-testimonial:before {
    border-top: 1px solid #377188;
    border-bottom: 1px solid #377188;
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -ms-transform: scaleX(0);
    -o-transform: scaleX(0);
    transform: scaleX(0);
}

.btn-open-testimonial:hover:after {
    -webkit-transform: scaleY(1);
    -moz-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -o-transform: scaleY(1);
    transform: scaleY(1);
}

.btn-open-testimonial:hover:before {
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -o-transform: scaleX(1);
    transform: scaleX(1);
}

.btn-open-testimonial span {
    display: inline-block;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    transition: 300ms ease;
}

.btn-open-testimonial:hover span {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.btn-open-testimonial svg {
    width: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    transition: 300ms ease;
}

.btn-open-testimonial svg path {
    fill: #fff !important;
}

.btn-open-testimonial:hover svg {
    -webkit-transform: translate(100px, -50%);
    -moz-transform: translate(100px, -50%);
    -ms-transform: translate(100px, -50%);
    -o-transform: translate(100px, -50%);
    transform: translate(100px, -50%);
    opacity: 0;
}

@media(min-width: 1024px) {
    .slide-testimonial .slick-list.draggable:before,
    .slide-testimonial .slick-list.draggable:after {
        display: block;
    }
    .slide-testimonial .slick-arrow.slick-prev {
        left: 0;
    }
    .slide-testimonial .slick-arrow.slick-next {
        top: 57%;
        right: 0;
    }
}

.modal-testimonial {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    padding: 0 15px;
    color: #fff;
    z-index: 9;
}

.modal-testimonial:before {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(45, 123, 142, 1) 1%, rgba(9, 26, 30, 1) 100%), url(../img/testimonial-bg.jpg);
    background-size: cover;
    background-position: center;
    background-blend-mode: color;
    filter: blur(8px);
    transform: scale(1.2);
    z-index: -1;
}

.modal-testimonial .container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: auto;
}
.modal-testimonial figure {
    margin: 250px 0 20px;
}
.modal-testimonial h2 {
    margin: 0 0 15px;
    color: #fff;
}
.modal-testimonial p {
    font-size: 14px;
    line-height: 24px;
}
.modal-testimonial span {
    display: inline-block;
    margin: 0 0 15px;
    font-size: 18px;
    color: #fff;
}
.close-modal {
    opacity: 1;
    background-color: transparent;
    border: none;
    box-shadow: none;
    float: right;
    display: block;
    height: 40px;
    width: 110px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 5;
}
.close-modal span {
    position: relative;
    opacity: 1;
}
.close-modal span::before, .close-modal span::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ffffff;
    width: 2px;
    height: 40px;
}
.close-modal span::after {
    transform: rotate(-45deg);
}
.close-modal span::before {
    transform: rotate(45deg);
}

@media(min-width: 1024px) {
    .modal-testimonial figure {
        margin: 0 ;
    }
    .close-modal {
        top: 50px;
    }
}