/* Team  */

.tf-team.style-1 .team-image,
.tf-team.style-2 .team-image {
    display: inline-flex;
    width: 100%;
    overflow: hidden;
}

.tf-team a,
.tf-team.style-2 .team-content {
    -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 .team-box-social {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tf-team .team-box-social a {
    text-align: center;
    display: inline-block;
    line-height: 1;
}

.tf-team .team-box-social a i {
    min-width: 1em;
    min-height: 1em;
}

.tf-team.style-1 .team-content {
    position: relative;
}

.tf-team.style-2 {
    position: relative;
    display: flex;
}

.tf-team.style-2 .team-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
}

.tf-team.style-2:hover .team-content {
    opacity: 1;
    visibility: visible;
}

.tf-team.style-3 {
    display: flex;
}

.tf-team.style-3 .team-image {
    display: flex;
    width: 50%;
}

.tf-team.style-3 .team-content {
    padding: 30px;
    width: 50%;
}

@media (max-width: 767px) { 
    .tf-team.style-3 {
        display: block;
    }
    
    .tf-team.style-3 .team-content {
        width: 100% !important;
    }
}