
/*---------------------------------
    TEAM SETTINGS
--------------------------------- */

p.team-title-all {
    text-transform: uppercase;
    color: #feed03;
    font-size: 16px;
    font-weight: 500;
}

a.team-links {
    width: 35px;
    height: 35px;
    background: #feed03;
    display: inline-block;
    line-height: 35px;
    border-radius: 6px;
    font-size: 16px;
    color: #000;
    text-align: center;
}

.team-accent {
    position: absolute;
    content: "";
    top: 30px;
    right: 8px;
    left: -8px;
    bottom: 94px;
    background: #feed03;
    aspect-ratio: 1/1;
    border-radius: 15px;
}

a.team-links:hover {
    background: #fff;
    color: #000;
}

.team-social-all {
    text-align: right;
    margin-top: -45px;
    position: relative;
    margin-right: 10px;
}

.team-image-phone {
    display: none;
}

.team-image {
    position: relative;
    overflow: hidden;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
    border-radius: 15px;
}

.team-data-wrapper {
    z-index: 1;
    position: relative;
    padding: 20px 0;
}

.team-single-post {
    text-align: right;
}

.team-single-post a.team-links:hover {
    background: #000;
    color: #fff;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,.5);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
}

.team-image:hover .overlay {
    height: 100%;
}

.team-more {
    color: white;
    font-size: 20px;
    position: absolute;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

#team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.team-data-wrapper {
    flex: 0 0 calc(33.33% - 20px);
    margin: 10px;
}

.team-image {
    aspect-ratio: 1/1;
}

.team-image img.fallback {
    aspect-ratio: 1/1;
    object-fit: cover;
}

@media screen and (max-width: 992px) {
    .team-data-wrapper {
        flex: 0 0 calc(50% - 20px);
        margin: 10px;
    }
}

@media screen and (max-width: 500px) {
    .team-data-wrapper {
        flex: 0 0 calc(100%);
        margin: 10px;
    }
    .team-single-post {
        text-align: left;

    }

}