/* subcategory buttons */

body.directory-full-page-layout div.subcategory.card {
    min-width:200px;
    max-width:300px;
    width:22%;
    display:inline-block;
}
body.directory-full-page-layout div.subcategory.card a{
    font-size:20px;
}

body.directory-full-page-layout div.subcategory.card a span {
    margin-top:5px;
    font-size:12px; 
}


/* organize listings with new layout */
.card-columns { column-count: 1; }
@media only screen and (min-width:511px){
    .card-columns { column-count: 2; }
}
@media only screen and (min-width:1025px){
    .card-columns { column-count: 3; }
}
@media only screen and (min-width:1280px){
    .card-columns { column-count: 4; }
}
@media only screen and (min-width:1500px){
    .container { max-width: 1500px !important; }
    .card-columns { column-count: 5; }
}

.other-listing.card, .listing.card { overflow: hidden; }
.listing.card span.badge-new { 
    position:absolute;
    top: 10px;
    right:10px;
}
.listing.card a.h3, .listing.card a.h2, .listing.card a.title {
    max-height: 70px;
    overflow: hidden;
}
