/* Team Member by Wakaitu v2.0 - Namespaced to avoid conflict with other team plugins */

.wct-team-display {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    min-height: 290px;
    width: 100%;
    min-width: 100%;
}

.wct-team-display .wct-team-item {
    width: 22.4%;
    margin: 12px;
    border: 3px solid #273e92;
}

.wct-team-display .wct-team-item .wct-team-content {
    border: none !important;
}

.wct-team-item .wct-team-name,
.wct-team-item .wct-team-name {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 900;
    line-height: 22px;
    font-family: Aileron-bold, sans-serif !important;
}

.wct-team-item .wct-team-title {
    font-size: 18px;
}

.wct-team-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    list-style: none;
    padding: 0;
    margin-left: 0;
}

.wct-team-filters li {
    width: auto;
    padding: 3px 10px;
    background: none;
    border: 1px solid #273E92;
    color: #273E92;
    margin: 5px;
    cursor: pointer;
}

.wct-team-filters li:hover {
    cursor: pointer;
}

.wct-team-filters li.wct-active-team {
    background: #273E92;
    color: #fff;
}

.wct-team-filter-container {
    margin-bottom: 20px;
}

/* POPUP STYLE */
.wct-team-popup,
.wct-team-overlay {
    display: none;
}

.wct-team-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.93);
    z-index: 1000;
}

.wct-team-popup {
    position: fixed;
    top: 50%;
    left: 52%;
    transform: translate(-55%, -50%);
    transition: 0.5s ease-in-out;
    background: white;
    z-index: 1001;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    width: 40% !important;
    max-width: 30%;
    max-height: 90vh;
    overflow-y: auto;
}

.wct-bio-image {
    width: 95px !important;
    height: 95px !important;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    border-radius: 100%;
    position: relative;
    overflow: hidden !important;
}

.wct-bio-header {
    padding: 10px 15px;
    background: #9E9E9E;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.wct-bio-title h2 {
    margin-bottom: 0;
    font-size: 22px;
    padding: 0 20px;
    color: #000;
    line-height: 95px;
    font-family: Aileron-bold, sans-serif !important;
}

.wct-bio-bodies {
    padding: 20px;
    height: 100%;
    max-width: 100%;
}

.wct-bio-bodies ul {
    padding-left: 25px;
}

.wct-bio-bodies .wct-bio-bio {
    margin-top: 10px;
}

.wct-bio-bodies .wct-bio-position,
.wct-bio-bodies .wct-bio-expertise,
.wct-bio-bodies .wct-bio-bio {
    width: 100%;
    display: block;
}

.wct-bio-footer {
    display: block;
    background: #f1f1f1;
    width: 100%;
    height: 40px;
    color: #333;
    text-align: center;
    line-height: 38px;
}

.wct-bio-footer:hover {
    background: #273e92;
    color: #fff;
}

.wct-bio-footer .wct-team-close-popup {
    width: 100%;
    height: 30px;
    display: block;
    cursor: pointer;
}

.wct-bio-bodies i.fa.fa-graduation-cap,
.wct-bio-bodies i.fa.fa-user {
    color: #25307b !important;
    margin-right: 4px;
    font-size: 15px;
}

.wct-bio-bodies i.fa.fa-user {
    margin-right: 8px;
}

.wct-bio-bodies p {
    margin-bottom: 5px !important;
}

.wct-no-members {
    text-align: center;
    padding: 20px;
}

@media (max-width: 1200px) {
    .wct-team-popup {
        width: 40% !important;
        max-width: 40%;
    }
}

@media (max-width: 972px) {
    .wct-team-display .wct-team-item {
        width: 29%;
        margin: 12px;
        border: 3px solid #273e92;
    }
}

@media (max-width: 900px) {
    .wct-team-popup {
        width: 50% !important;
        max-width: 50%;
    }
}

@media (max-width: 700px) {
    .wct-team-popup {
        width: 80% !important;
        max-width: 80%;
    }

    .wct-team-display .wct-team-item {
        width: 45%;
        margin: 12px;
        border: 3px solid #273e92;
    }
}

@media (max-width: 500px) {
    .wct-team-display .wct-team-item {
        width: 80%;
        margin: 12px;
        border: 3px solid #273e92;
    }
}

@media (max-width: 450px) {
    .wct-team-popup {
        width: 90% !important;
        max-width: 90%;
    }
}
