﻿.agent-contact-info a {
    text-decoration: none;
}

.cards.profile-cards > .card {
    width: calc(50% - 30px);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    border: solid 1px #9E9E9E;
    box-sizing: border-box;
    flex-shrink: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 15px;
    cursor: pointer;
}

    .cards.profile-cards > .card > .card-image {
        width: 50%;
        max-width: 150px;
        margin-right: 0;
        height: 100%;
        min-width: 100px;
    }

    .cards.profile-cards > .card .card-body {
        padding: 15px;
        width: 100%;
    }

.agent-contact-info {
    font-size: 16px;
}

.cards.profile-cards > .card .card-body h2.office-profile-name {
    margin-bottom: 10px;
    border-bottom: 1px solid #222;
    margin-left: -15px;
    margin-right: -15px;
    width: unset;
    max-width: unset;
    padding: 0 15px;
    padding-bottom: 10px;
}

.cards.profile-cards > .card .card-body h3.office-profile-position {
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
    overflow: hidden;
}

ul.profile-contact-methods > li {
    padding: 0;
    list-style: none;
}

.agent-contact-info a.contact-method-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #000;
    padding: 5px 0;
    flex-shrink: 0;
}

.contact-method-initial {
    margin-right: 5px;
}


@media screen and (max-width: 980px) {
    .cards.profile-cards > .card {
        width: calc(100% - 30px);
    }
}
