

/*
    PAGE TESTIMONIALS
*/

#testimonial-slider{
    padding: 62px 0 92.5px;
    background: url(../img/web_development_outsourcing/dots_bg.png);
    color: #333333;
    background-size: 6px;
    background-position-y: 4px;
    margin-bottom: 0;
}
.testimonial-slider {
    position: relative;
    height: 375px;   
    width: 100%;
    margin-top: 30px;
    padding: 0 50px;
}
.testimonial-slider.swiper-container-vertical > .swiper-pagination-bullets {
    left: 2px;
    top: 50%;
    pointer-events: none;
}
html .swiper-container-vertical > .swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 16px 0;
}
.testimonial-slider .swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    border: 2px solid #E3E3E3;
    background: none;
    opacity: 1;
    pointer-events: all;
    background-color: rgba(255, 255, 255, 0.5);
}
.testimonial-slider .swiper-pagination-bullet-active {
    width: 20px;
    height: 20px;
    border: 2px solid #03BBD3;
    position:relative;
    left:-2px;
}

.testimonial-slide {
    display: flex;
}
.testimonial-left {
    width: 30px;
    height: 14px;
    position: absolute;
    z-index: 99;
    right: 0;
    top: calc(50% - 25px);
    background-color: rgba(255, 255, 255, 0.5);
    background-image: url(../img/icons/arrow-slider-top.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}
.testimonial-right {
    width: 30px;
    height: 14px;
    position: absolute;
    z-index: 99;
    right: 0;
    top: calc(50% + 25px);
    background-color: rgba(255, 255, 255, 0.5);
    background-image: url(../img/icons/arrow-slider-bottom.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.testimonial-slide-content {
    width: 68%;
    color: #fff;
    background-color: #03BBD3;
    padding: 40px;
}

.testimonial-slide-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.6;
}

.testimonial-header-line {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.testimonial-header-line .icon {
    margin-right: 12px;
    margin-bottom: 3px;
}

.testimonial-header-line span {
    font-weight: 500;
}

.testimonial-header-line span a {
    color: inherit;
}

.testimonial-header-line span a:hover {
    opacity: 0.8;
}

.testimonial-slide-text {
    width: 100%;
    height: 190px;
    overflow: auto;
    margin-top: 28px;
    padding-right: 40px;
}

.testimonial-slide-text::-webkit-scrollbar {
    width: 2px;
}

.testimonial-slide-text::-webkit-scrollbar-track {
    border-radius: 2px;
    background: rgba(213, 216, 220, 0.4);
}

.testimonial-slide-text::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background: #D5D8DC;
}

.testimonial-slide-text p {
    font-size: 20px;
    line-height: 1.65;
    font-weight: 500;
    color: #ffffff;
}

.testimonial-slide-image {
    width: 32%;
    position: relative;
    background-size: cover;
    background-position:  center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.testimonial-slide-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: -30px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
}

.icon {
    display: block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.icon-location-white {
    background-image: url(../img/icons/location-white.svg);
}

.icon-link-white {
    background-image: url(../img/icons/link-white.svg);
}

.icon-calendar-white {
    background-image: url(../img/icons/calendar-white.svg);
}

.icon-location-grey {
    background-image: url(../img/icons/location-grey.svg);
}

.icon-calendar-grey {
    background-image: url(../img/icons/calendar-grey.svg);
}

.icon-link {
    background-image: url(../img/icons/link.svg);
}


/*featured-testimonials*/
.testimonials-btn {
    position: relative;
}
/* .testimonials-btn:after {
    content: '';
    width: calc(100% - 92px);
    height: 3px;
    position:absolute;
    top: 29px;
    left: 0;
    background-color:#E3E3EC;
} */
.testimonials-btn .button-blue-empty {
    margin: auto;
    background-color:#ffffff;
    position:relative;
    z-index:1;
    margin-top: -32.5px;
}
.testimonials-btn .button-blue-empty:hover{
    background-color:#03BBD3;
}
.testimonials-btn .testimonials-number {
    right: 0;
    bottom: 7px;
}
.testimonials-container {
    margin: 60px 0 0;
}
.testimonials-block {
    margin: 0 0 40px;
    position: relative;
    height: 282px;
    display: flex;
    flex-wrap: wrap;
    background: #FFFFFF;
    /* border: 3px solid #03BBD3; */
}
.testimonials-block:nth-last-child(1) {
    margin-bottom: 60px;
}
.testimonials-photo{
    width: 32%;
    height: 100%;
    position: relative;
}
.testimonials-photo img{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* object-position: -30px; */
}

.testimonials-text {
    width: 68%;
    padding: 40px;
    border: 2px solid #EEEFF1;
    border-left: none;
    height: 282px;  
}
.testimonials-info{
    display: flex;
    justify-content: space-between;
}
.testimonials-info-block {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0 0 30px;
}

.testimonials-info-block:nth-child(2) {
    max-width: 45%;
    display: flex;
}

.testimonial-slide-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 35px;
}

.testimonials-block .testimonial-slide-footer {
    margin-top: 30px;
}

.testimonials-rating {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.testimonials-rating li {
    width: 20px;
    height: 20px;
    margin-left: 5px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('../img/icons/star.svg');
}

.testimonials-rating li.empty {
    background-image: url('../img/icons/star-empty.svg');
}

.testimonials-block .testimonials-rating li {
    background-image: url('../img/icons/star-blue.svg');
}

.testimonials-block .testimonials-rating li.empty {
    background-image: url('../img/icons/star-blue-empty.svg');
}

.icon-calendar-date {
    background-image: url(../img/icons/gray-calendar.svg);
}

.icon-location {
    background-image: url(../img/icons/gray-location.svg);
}
.testimonials-info-block span {
    margin-left: 11px;
    font-weight: 500;
    font-size: 18px;
    color: #D5D8DC;
    display: block;
    max-width: calc(100% - 31px);
    flex: 1;
}
.testimonials-info-block span a {
    color: #D5D8DC;
    display: block;
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.testimonials-text p {
    font-weight: 500;
    line-height: 33px;
    font-size: 20px;
    color: #333333;
    height: 99px;
    overflow: auto;
    padding-right: 40px;
}
.testimonials-text p::-webkit-scrollbar {
    width: 2px;
}

.testimonials-text p::-webkit-scrollbar-track {
    border-radius: 2px;
    background: rgba(213, 216, 220, 0.4);
}

.testimonials-text p::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background: #D5D8DC;
}
.testimonials-name {
    font-weight: 600;
    line-height: 1.22;
    font-size: 18px;
    color: #03BBD3;
}

.testimonial-slide .testimonials-name {
    color: #fff;
}
.testimonials-number {
    font-weight: bold;
    font-size: 60px;
    color: #EEEFF1;
    position: absolute;
    left: -125px;
    top: 50%;
    margin-top: -30px;
    opacity: 0.5;
    z-index: 1;
    min-width: 92px;
    text-align: right;
}
.testimonials-block:nth-child(even) .testimonials-number {
    left: auto;
    right: -110px;
}
.testimonials-block:nth-child(odd):after {
    content: '';
    position: absolute;
    width: 72px;
    height: 322px;
    border: 2px solid #03bbd3;
    border-left: none;
    top: 135px;
    left: 100%;
}
.testimonials-block:nth-child(odd):before {
    content: '';
    position: absolute;
    width: 72px;
    height: 322px;
    border: 2px solid #03BBD3;
    border-right: none;
    top: -190px;
    right: 100%;
    z-index: 2
}
.testimonials-block:first-child:before {
    height: 225px;
    top: -88px;
    border-top: none;
    border-left: none;
}
.testimonials-block:last-child:after {
    content: none;
}
@media (min-width:1320px){
    #testimonial-slider .container{
        width:1290px;
    }
}