@media (max-width: 768px) {
    #brand-slides {
        padding-left: 0px;
        padding-right: 0px;
        margin-top: 0px;
    }
}

div#brand-list-holder {
    margin: 20px 2%;
    border-top: 2px solid;
    width: 96%;
}

ul.tab_link li {
    display: inline-block;
    padding: 5px;
    width: 34px;
    text-align: center;
}

ul.tab_link {
    border: 1px solid #303030;
    padding: 0;
}

ul.tab_link li a {
    font-weight: bold;
    color: #303030;
    padding: 2px 7px;
    display: block;
}

ul.brandlist {
    padding: 0;
    float: left;
    width: 20%;
    margin-top: 12px;
    padding: 15px;
}

ul.brandlist:first-child {
    margin-left: 0%;
}

@media (max-width: 1024px) {
    ul.brandlist:nth-child(5), ul.brandlist:nth-child(4) {
        display: none;
    }

    ul.brandlist {
        width: 33.33333%;
    }
}

@media (max-width: 767px) {
    ul.brandlist:nth-child(3) {
        display: none;
    }

    ul.brandlist {
        width: 50%;
    }
}

@media (max-width: 480px) {
    ul.brandlist:nth-child(2) {
        display: none;
    }

    ul.brandlist:first-child {
        margin-left: 0;
    }

    ul.posts.brandlist {
        text-align: center;
        width: 100%;
    }
}

ul.brandlist li {
    display: block;
    margin: 8px 0px 10px;
}

ul.brandlist li:first-child {
    margin: 0px 0px 8px;
}

ul.brandlist li a {
    text-transform: uppercase;
    color: #A4A4A4;
}

ul.tab_link li a:active, ul.tab_link li a:focus {
    text-decoration: none;
}

ul.tab_link li a.on {
    background: #EF3F3B;
    color: #fff;
}

/* Style for Store Info Section - START */
article.store-info {
    background: #ddd;
    padding: 15px 15px 30px;
    border-top: 1px solid #e6e6e6;
    background-color: #f5f5f6;
}

/* For the Parent location separators  */
p.parent-locations span::after {
    content: ',';
}

p.parent-locations span:last-child::after {
    content: '';
}

h2.store-info-label {
    text-transform: uppercase;
    font-weight: 300;
    font-size: 1.8em;
}

h3.brand-title {
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #BDBCBC;
    text-transform: uppercase;
    font-size: 1.3em;
    font-weight: bold;
}

p.location-label {
    font-weight: bold;
    margin-top: 20px;
}

p.location-label i {
    font-size: 2em;
}

ul.location-list {
    margin: 0 0 0 15px;
    padding: 0;
}

ul.location-list li {
    display: block;
    margin: 7px 0px;
    cursor: pointer;
}

ul.child-locations {
    margin: 0;
    padding: 0;
}

ul.location-list li li {
    margin: 0;
    padding: 7px 0;
}

p.location-image img {
    width: 100%;
    height: auto;
}

ul.location-list li a {
    color: #333;
}

p.parent-locations span a {
    color: #535354;
}

p.parent-locations span a:focus, ul.location-list li a:focus {
    text-decoration: none;
}

article.store-info a.active {
    text-decoration: underline !important;
}

/* Style for Store Info Section - END */

/* Tabbar Styles - START */
.shilla-brand-tabs ul {
    margin-bottom: 20px;
    display: flex;
    height: 40px;
    padding: 0;
}

.shilla-brand-tabs ul li {
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #DDD;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    display: inline-block;
    flex: 1;
    padding: 9px 0px 8px;
    position: relative;
}

.shilla-brand-tabs ul li:last-child {
    border-right: 1px solid #ddd;

}

.shilla-brand-tabs ul li a {
    text-transform: uppercase;
    color: #333;
}

.shilla-brand-tabs ul li.current-menu-item {
    background: #ef3f3b;
}

.shilla-brand-tabs ul li.current-menu-item a {
    color: #fff;
}

.shilla-brand-tabs ul li.current-menu-item::before {
    content: "\f0d7";
    position: absolute;
    z-index: 999;
    color: #EF3F3B;
    bottom: -24px;
    font-family: FontAwesome;
    font-size: 32px;
    left: 46%;
}

@media (max-width: 640px) {
    .shilla-brand-tabs ul li a {
        font-size: .8em;
        min-height: 40px;
        padding: 12px 0 0;
    }

    .shilla-brand-tabs ul li {
        padding: 7px 0px 8px;
    }
}

@media (max-width: 480px) {
    .shilla-brand-tabs ul li a {
        font-size: .8em;
        padding: 0 0 5px;
        display: inline-block;
        vertical-align: middle;
        line-height: normal;
        min-height: 0;
    }
    .shilla-brand-tabs ul {
        margin-bottom: 15px;
        height: 60px;
        line-height: 15px;
    }

    ul.brandlist li a {
        font-size: 1.2em;
    }

    .shilla-brand-tabs ul li.current-menu-item::before{
        bottom: -30px;
        left: 43%;
    }
    .shilla-brand-tabs ul li {
        text-align: center;
        height: 60px;
        display: block;
        line-height: 60px;
        padding: 0px 10px;
    }
}

/* Tabbar Styles - END */
