.member-category-list
{
    display: flex;
    flex-wrap: wrap;
    overflow:hidden;
    margin:0 -10px;
}

.member-category
{
    width: 33.33%;
    padding: 0 10px;
    margin-bottom:20px;
}

.member-category-wrapper
{
    position:relative;
}

.member-category img
{
    display:block;
    width:100%;
}

.member-category h2
{
    position: absolute;
    bottom: 0;
    width: 100%;
    color: #fff;
    background: rgba(0,0,0,0.5);
    padding: 5px;
}

.member-listing-archive
{
    border:1px solid #777;
    padding: 5px;
    margin-bottom: 15px;
    box-shadow: 2px 2px 4px #999;
}

.member-actions
{
    border-left: 1px solid #777;
    padding: 10px;
    vertical-align: middle;
    min-width:160px;
}

.member-wrapper
{
    display:flex;
}

.member-listing-details
{
    padding-right:10px;
}

.member-categories
{
    margin-bottom: 10px;
    font-size: 0.8em;
}

.member-actions
{
    margin-left:auto;
    white-space:nowrap;
}

.member-listing-archive .member-listing-details .member-content
{
    font-size:0.9em;
}

.member-listing-details .member-address
{
    margin-bottom:10px;
}

.member-actions .member-phone
{
    font-size:1.2em;
    font-weight:600;
    margin-bottom:10px;
}

.member-actions .member-website,
.member-actions .member-directions,
.member-actions .member-email
{
    margin-bottom:10px;
}

article.members .member-content
{
    font-size:1.2em;
}

.member-info
{
    margin:0;
    padding-top: 20px;
    padding-left: 10px;
    margin-bottom: 20px;
    font-size:1.2em;
    line-height: 1.5em;
    list-style-type: none;
}

.member-info .member-contact
{
    background-image: url('../images/icon-member.png');
}

.member-info .member-address
{
    background-image: url('../images/icon-address.png');
}

.member-info .member-phone
{
    background-image: url('../images/icon-phone.png');
}

.member-info .member-email
{
    background-image: url('../images/icon-email.png');
}

.member-info .member-website
{
    background-image: url('../images/icon-website.png');
}

.member-info li
{
    background-size: 1.5em;
    background-repeat: no-repeat;
    padding-left: 52px;
    margin-bottom: 20px;
}

@media (max-width: 991px)
{
    .member-category
    {
        width:50%;
    }
}

@media (max-width: 771px)
{
    .member-category
    {
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .member-wrapper
    {
        display:block;
    }
    
    .member-actions
    {
        display: flex;
        flex-wrap: wrap;
        border: none;
        padding:10px 0;
    }
    
    .member-actions .member-phone
    {
        width:100%;
    }
    
    .member-actions .member-website,
    .member-actions .member-directions,
    .member-actions .member-link
    {
        padding-right:20px;
    }
}