.smartx-listing-items{
    display: flex;
    flex-wrap: wrap;
}

.smartx-listing-item-wrap{
    width: 50%;
    margin-bottom: 2em;
}

.smartx-listing-terms{
    margin-left: 0;
}

.smartx-listing-terms li{
    list-style: none; display: inline-block;
    padding: 0 5px 0 0;
}

.smartx-listing-terms li h2:before{
    content: '/';
    padding: 0 5px 0 0;
}

.smartx-listing-terms li:first-child h2:before{
    content: '';
    padding: 0;
}

.smartx-listing-content-wrap{
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.smartx-listing-image{
    width: calc(30% - 20px);
    margin-right: 20px;
    height: 150px;
    overflow: hidden;
    position: relative;
}

.smartx-listing-image img{
    margin: auto;
    vertical-align: middle;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 5px;
}

.smartx-listing-content{
    width: 65%;
}

.smartx-listing-title{
    margin-top: 0;
}

.smartx-listing-description{
    margin-bottom: 10px;
}

.smartx-listing-meta{
    display: flex;
    align-items:flex-start;
}

.smartx-listing-meta a {
    margin-right: 7px;
}

.smartx-listing-meta form{
    margin-right: 10px;
}

@media only screen and (max-width:980px){
    .smartx-listing-items{
        flex-direction: column;
    }

    .smartx-listing-item-wrap{
        width: 100%;
    }
}

@media only screen and (max-width: 768px){
    
    .smartx-listing-content-wrap{
        flex-direction: column;
    }

    .smartx-listing-image, .smartx-listing-content{
        width: 100%;
    }

    .page-template-business-listing{
        padding: 0 2em;
    }
}