.brands-wrapper-nav {
    position: relative;
}

.listNav,
.ln-letters {
    overflow: hidden;
}

.ln-letters {
    min-height: 50px;
    width: auto;
    display: inline-block;
}

.listNavHide {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

.letterCountShow {
    display: block;
}

.ln-letters a {
    min-width: 17px;
    float: left;
    color: #333;
    cursor: pointer;
    min-height: 20px;
    border: 1px solid #CCC;
    border-right: none;
    display: block;
    padding: 2px 5px;
    font-size: 14px;
    text-align: center;
    line-height: 20px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
    border-right: none;
    text-decoration: none;
    background-color: #e2e2e2;
    margin-bottom: 10px;
    transition: color 100ms linear;
    -webkit-transition: color 100ms linear;
    -ms-transition: color 100ms linear;
}

.ln-letters a.all {
    min-width: 90px;
    border-right: 1px solid #CCC;
    border-radius: 5px;
}

.ln-letters a:nth-child(2) {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    clear: left;
}

.ln-letters .ln-last {
    border-right: 1px solid #CCC;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.ln-letters a:hover,
.ln-letters .ln-selected {
    background: #FBF8E9;
}

.ln-letters .ln-disabled {
    opacity: 0.6;
    pointer-events: none;
    background-color: #F1F1F1;
}

.ln-letter-count {
    color: #336699;
    font-size: .8em;
    left: 0;
    line-height: 1.35;
    position: absolute;
    text-align: center;
    top: 0;
    width: 20px;
}

#brands-wrapper {
    padding: 0;
    margin: 0;
    list-style: outside disc;
    -webkit-column-gap:1.5em;
    -moz-column-gap:1.5em;
    -o-column-gap:1.5em;
    column-gap:1.5em;
    -moz-column-fill: balance;
    column-fill: balance;
    -webkit-column-count: 3;
    -moz-column-count: 3;
    -o-column-count: 3;
    column-count: 3;
}

#brands-wrapper > li {
    list-style-type: none;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}

#brands-wrapper > li ul {
    list-style: outside disc;
}

@media only screen and (max-width: 1140px) {
    .ln-letters {
        margin: 0 -5px;
    }
    .ln-letters a {
        min-width: 15px;
        margin: 0 5px 10px;
        border: 1px solid #CCC;
        border-radius: 5px;
    }
}

@media only screen and (max-width: 767px) {
    #brands-wrapper {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        -o-column-count: 1;
        column-count: 1;
    }
}
