.supplier {
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.supplier-img {
    display: inline-block;
}

.supplier-img > img {
    border-radius: 5px;
    max-width: 100%;
}

.supplier-info {
    width: 220px;
    margin-left: 15px;
}

a.supplier-name {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.supplier-products {
    min-width: 0;
}

.supplier-product {
    display: block;
    position: relative;
    border: 1px solid #eee;
    border-radius: 5px;
    cursor: pointer;
}

.supplier-product-price {
    position: absolute;
    right: 3px;
    bottom: 3px;
    display: inline-block;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
    padding-left: 3px;
    padding-right: 3px;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    border-radius: 5px;
}

.button-supplier-action a {
    text-decoration: none;
}

.button-supplier-action {
    white-space: nowrap;
}

@media (max-width: 767px) {
    .supplier-products {
        margin-top: 15px;
    }

    .supplier-img {
        width: 50px;
    }

    .supplier-info > .button-supplier-action {
        display: none;
    }
}

@media (min-width: 768px) {
    .supplier-products {
        margin-left: 15px;
    }

    .supplier-img {
        width: 80px;
    }

    .supplier-details > .button-supplier-action {
        display: none;
    }

    .supplier-info > .button-supplier-action {
        margin-top: 9px;
    }
}

.input-search-suppliers {
    display: inline-block;
    position: relative;
}

.input-search-suppliers > input {
    height: 26px !important;
    padding-left: 5px;
    padding-right: 20px;
}

.input-search-suppliers > button {
    position: absolute;
    right: 6px;
    top: 3px;
    background: none;
    cursor: pointer;
}

.otc-supplier-favorite.added .button-add-favorite {
    display: none !important;
}

.otc-supplier-favorite:not(.added) .button-rmv-favorite {
    display: none !important;
}

.otc-supplier-tabs {
    border: 1px solid #e2e2e2;
    border-radius: 3px;
    font-size: 0;
}

.otc-supplier-tabitm {
    display: inline-block;
    color:inherit;
    padding-left: 10px;
    padding-right: 10px;
    height: 24px;
    line-height: 24px;
    font-size: 12px;
    text-decoration: none;
}

.otc-supplier-tabitm + .otc-supplier-tabitm {
    border-left: 1px solid #e2e2e2;
}

.otc-supplier-tabitm.active {
    background: #00a2ea;
    color: #fff;
}

.supplier-category {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 10px;
    height: 26px;
    line-height: 26px;
    margin-right: 10px;
    margin-bottom: 10px;
    color: inherit;
    border: 1px solid #e2e2e2;
    font-size: 12px;
}

.supplier-category.selected {
    color: #00a2ea !important;
    border-color: #00a2ea !important;
}

.supplier-categories-toggle {
    display: block;
    margin-bottom: 15px;
    text-align: center;
    background: rgba(227,227,227,.65);
    border-radius: 5px;
    height: 22px;
    line-height: 22px;
    font-size: 12px;
}

.supplier-categories-less {
  height: 82px;
  overflow: hidden;
}