/* Directory Styles */
.listings-nav {
    z-index: 400;
    padding: 0;
    border: 1px solid #ccc;
    border-radius: .5rem;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 2rem;
    top: 100px;
    position: sticky;
    background: #fff;
}

.listings-nav-inner {
    height: 50vh;
    max-height: 200px;
    min-height: 200px;
    overflow: auto;
    padding: 1rem;
}

@media (min-width: 800px) {
    .listings-nav-inner {
        height: 50vh;
        max-height: 500px;
        min-height: 200px;
        overflow: auto;
        padding: 1rem;
    }
}

.listings-nav ul, .listings-nav li {
    margin: 0;
    padding: 0;
    list-style: none;
    display: block;
}

.listings-nav li:before {
    display: none;
}

.listings-nav a {
    position: relative;
    text-decoration: none;
    font-weight: 400;
    display: block;
    line-height: 1;
    font-size: 1.7rem;
    transition: all ease .3s;
    padding: .5rem 1rem;
    color: #4d4d4d;
    opacity: 1;
    width: 100%;
    box-sizing: border-box;
    border-radius: .5rem;
}

.listings-nav a:hover {
    background: #efefef;
    border-radius: .25rem;
}

.listings-nav a.selected {
    background: #222;
    color: #fff;
    font-weight: 600;
}

.listings-nav ul ul {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
}

@media (min-width: 500px) {
    .listings-nav {
        display: block;
    }

    .listings-nav ul ul {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

/* Larger than Desktop HD */
@media (min-width: 800px) {
    .listings-nav ul ul {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

@media (min-width: 1200px) {
    .listings-nav ul ul {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

.listings-nav li {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}

body.page87387 #search {
    width: 100%;
    padding: 2rem 0;
    background: #efefef;
    padding: 2rem;
    box-sizing: border-box;
    border-radius: .5rem;
    margin-bottom: 3rem;
}

body.page87387 #search input {
    display: block;
    width: 100%;
    margin: 0;
    background: #fff;
}

body.page87387 #search .button {
    width: 100%
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 500px) {
    body.page87387 #search input {
        float: left;
        display: block;
        width: calc(100% - 200px);
        max-width: 100%;
        margin: 0;
        background: #fff;
    }

    body.page87387 #search .button {
        float: left;
        display: block;
        width: 200px;
        margin: 0;
        height: 38px;
        line-height: 1;
        padding: 1rem 0;
    }
}

body.page87387 .listings-wrap {
    display: flex;
    flex-wrap: wrap;
    margin-left: -1rem;
}

.current-category {
    margin-bottom: 3rem;
}

body.page87387 .listing-item {
    text-align: center;
    background: #fff;
    border: 1px solid #f9f9f9;
    border-radius: .25rem;
    background: #f9f9f9;
    padding: 2rem;
    margin: 1rem;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    transition: all ease 0.3s;
    box-sizing: border-box;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
}

.listing-contact {
    opacity: 0.6;
}

body.page87387 .listing-item a {
    text-decoration: none;
}

body.page87387 .listing-item:hover {
    border: 1px solid #999;
}

body.page87387 .listings-wrap .listing-logo {
    width: 100%;
    height: 100px;
    margin: 0 auto;
    background: #eee;
    position: relative;
}

body.page87387 .listings-wrap .listing-logo:empty:after {
    content: "Image Coming Soon";
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -10px;
    width: 100%;
    line-height: 1;
    font-size: 10px;
    text-align: center;
}

body.page87387 .listings-wrap .listing-logo img {
    width: 100%;
    height: 100px;
    object-fit: contain;
}

body.page87387 .listings-wrap .listing-name {
    line-height: 1;
    margin: 0;
    margin-bottom: 1rem;
    min-height: 50px;
}

