/* team carousel */

.tf-team-carousel .item-team {
    overflow: hidden;
}

.tf-team-carousel .item-team .images img {
    height: 350px;
    width: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: all 500ms ease;
}

.tf-team-carousel .item-team:hover .images img {
    transform: scale(1.1);
}

.tf-team-carousel .item-team .list-social {
    margin: 0;
    list-style: none;
    padding: 10px;
    border-radius: 10px;
    background: #fff;
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 20px;
    top: 50%;
    transform: translateY(-55%);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.4s ease-out 0s;
    -moz-transition: all 0.4s ease-out 0s;
    -ms-transition: all 0.4s ease-out 0s;
    -o-transition: all 0.4s ease-out 0s;
    transition: all 0.4s ease-out 0s;
}

.tf-team-carousel .item-team:hover .list-social {
    transform: translateY(-50%);
    opacity: 1;
    visibility: visible;
    transition-delay: 0.4s;
}

.tf-team-carousel .item-team .images::before {
    position: absolute;
    top: 0;
    left: -85%;
    display: block;
    content: "";
    width: 50%;
    height: 100%;
    background: -o-linear-gradient(left,rgba(255,255,255,0) 0%,rgba(255,255,255,0.3) 100%);
    background: -webkit-gradient(linear,left top,right top,from(rgba(255,255,255,0)),to(rgba(255,255,255,0.3)));
    background: linear-gradient(to right,rgba(255,255,255,0) 0%,rgba(255,255,255,0.3) 100%);
    -webkit-transform: skewX(-25deg);
    -ms-transform: skewX(-25deg);
    transform: skewX(-25deg);
}

.tf-team-carousel .item-team:hover .images::before {
    animation: shine 1.2s alternate;
}

@keyframes shine {
	100% {
		left: 125%;
	}
}

.tf-team-carousel .list-social li:not(:last-child) {
    margin-bottom: 10px;
}

.tf-team-carousel .list-social a {
    width: 30px;
    height: 30px;
    display: grid;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.tf-team-carousel .list-social a:hover {
    background: var(--theme-secondary-color);
    color: #fff;
}

.tf-team-carousel .item-team .images {
    border-radius: 10px;
    overflow: hidden;
    -webkit-mask-image: url(../../img/team-shape.png);
    -webkit-mask-size: cover;
    -webkit-mask-repeat: no-repeat;
}

.tf-team-carousel .item-team .content {
    text-align: center;
    padding-top: 17px;
}

.tf-team-carousel .item-team .name {
    color: var(--theme-primary-color);
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    text-transform: capitalize;
    margin-bottom: 3px;
}

.tf-team-carousel .item-team .position {
    color: #64666C;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
}

.tf-team-carousel .owl-nav {
    position: absolute;
    top: -15%;
    right: 0%;
    width: 100px;
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    justify-content: space-between;
}

.tf-team-carousel .owl-nav .owl-prev,
.tf-team-carousel .owl-nav .owl-next {
    position: unset !important;
}

/*carousel optiont*/
.tf-team-carousel .owl-nav .owl-prev,
.tf-team-carousel .owl-nav .owl-next {
    padding: 0;
    width: 50px;
    height: 50px;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: var(--theme-secondary-color);
    border-radius: 5px;
    color: #fff;
    text-align: center;
    line-height: 50px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.tf-team-carousel .owl-nav .owl-next {
    left: unset;
    right: 0;
}

.tf-team-carousel .owl-nav .owl-prev:before, 
.tf-team-carousel .owl-nav .owl-next:before,
.tf-team-carousel .owl-dots .owl-dot:before {
    display: none;
}

.tf-team-carousel.no-arrow .owl-nav .owl-prev,
.tf-team-carousel.no-arrow .owl-nav .owl-next {
    display: none;
}

.tf-team-carousel.has-arrow .owl-nav .owl-prev,
.tf-team-carousel.has-arrow .owl-nav .owl-next {
    display: block;
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    justify-content: center;
    align-items: center;
}

.tf-team-carousel .owl-dots {
    display: inline-block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.tf-team-carousel .owl-dots .owl-dot {
    padding: 0;
    width: 10px;
    height: 10px;
    background: #0080f0;
    display: inline-block;
    margin: 0 5px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.tf-team-carousel.has-carousel.no-bullets .owl-dots,
.tf-team-carousel.no-bullets .owl-dots {
    display: none;
}

.tf-team-carousel.has-carousel.has-bullets .owl-dots {
    display: block;
}