.agent-small {
    @extend .clearfix;
    margin: 0 0 15px 0;

    &:last-child {
        margin-bottom: 0;
        padding-bottom: 0;

        .agent-small-content {
            border-bottom: 0;
            margin-bottom: 0;
            padding-bottom: 0;
        }
    }
}

.agent-small-inner {
    display: table;
    width: 100%;
}

.agent-small-image {
    display: table-cell;
    width: 76px;

    @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
        width: 60px;
    }

    @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
        width: 60px;
    }

    img {
        border-radius: 50%;
        height: auto; 
        position: relative;
        width: 100%;
        z-index: 2;
    }
}

.agent-small-image-inner {
    background-color: rgba(black, .15);
    border-radius: 50%;
    height: 50px;
    float: left;
    margin: 0 16px 0 0;
    position: relative;
    width: 50px;

    &:before {
        @include placeholder('\f007', 18);
    }
}

.agent-small-content {
    border-bottom: 1px solid rgba(black, .12);
    display: table-cell;
    padding-bottom: 12px;
    vertical-align: top;

    .footer & {
        border-bottom-color: rgba(#fff, .12);
    }
}

.agent-small-title {
    margin: 0 0 5px 0;

    a {
        color: rgba(black, .7);
        font-size: 15px;
        font-weight: 500;

        .footer & {
            color: #fff;
        }
    }
}

.agent-small-email, .agent-small-phone {
    font-size: 12px;
    line-height: 22px;

    @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
        font-size: 11px; 
        white-space: nowrap;
    }

    @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
        font-size: 11px; 
        white-space: nowrap;
    }

    .fa {
        color: rgba(black, .6);
        font-size: 13px;
        margin: 0 6px 0 0;
        vertical-align: middle;

        .footer & {
            color: rgba(#fff, .7);
        }
    }

    a {
        &:hover {
            text-decoration: none;
        }

        .footer & {
            color: #fff;
        }
    }
}
