
/* OpSec Team
------------------------------------------- 

Table of contents
    - Page Loop
    - Media Queries

------------------------------------------- */

/* Page Loop
-------------------------------------------- */

.team-member {
    background-color: #fff;
    border: 1px solid #3167BE;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    margin-bottom: 2%;
    padding: 56px 40px 40px;
    position: relative;
}

.team-member .headshot-wrap {
    position: relative;
    width: 200px;
}

.team-member:before {
    background-color: #3167BE;
    content: '';
    height: 8px;
    left: 0;
    position: absolute;
    top: 0;
    transition: all ease 0.5s;
    width: 70%;
}

.team-member .bio-wrap {
    padding-left: 40px;
    width: calc( 100% - 200px );
}

.team-member .bio-wrap h3 {
    margin-bottom: 8px;
}

.team-member .bio-wrap .team-member-title {
    color: #3167BE;
    font-size: 16px;
    font-weight: 700;
}

/* Media Queries
------------------------------------------- */

@media only screen and (max-width: 500px) {

    .team-member {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .team-member .headshot-wrap {
        margin-bottom: 40px;
        width: 100%;
    }

    .team-member .headshot-wrap img {
        width: 100%;
    }

    .team-member .bio-wrap {
        padding-left: 0;
        width: 100%;
    }

}