﻿.btn-filter {
    font-size: 11px;
    font-weight: normal;
    padding: 6px 10px !important;
}

.cat-item {
    margin: 8px 0px;
    white-space: nowrap;
    width: 100%;
}

.cat-item.hidden {
    display: none !important;
}

.cat-row {
    align-items: center;
    display: flex;
    gap: 0.5em;
    justify-content: space-between;
}

.cat-row div:first-of-type {
    overflow-x: clip;
    text-overflow: ellipsis;
    width: calc(100% - 2em);
}

.category-toggle {
    cursor: pointer;
    flex-shrink: 0;
    height: 1em;
    position: relative;
    width: 1em;
}

.category-toggle i {
    font-size: 1em;
    height: 100%;
    left: 0;
    line-height: 1em;
    position: absolute;
    text-align: center;
    top: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    width: 100%;
}

.category-toggle i.fa-minus {
    opacity: 0;
    transform: rotate(0deg);
    z-index: 1;
}

.category-toggle i.fa-plus {
    opacity: 1;
    transform: rotate(0deg);
    z-index: 2;
}

.category-toggle.open .fa-plus {
    transform: rotate(90deg);
    opacity: 0;
}

.category-toggle.open .fa-minus {
    opacity: 1;
}

.item-count {
    color: #999292;
}

.list-columns {
    -moz-column-count: 3;
    -moz-column-gap: 20px;
    -webkit-column-count: 3;
    -webkit-column-gap: 20px;
    column-count: 3;
    column-gap: 20px;
    padding-bottom: 40px;
}

.list-columns ul {
    padding-bottom: 1px;
}

.list-unstyled li.empty {
    color: #949494;
    font-weight: 400;
    cursor: default;
}

.list-unstyled li.empty a {
    color: #949494;
    font-weight: 400;
    cursor: default;
}

.list-unstyled a {
    line-height: 2;
}


.mfg-item {
    margin: 8px 0px;
    overflow-x: clip;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.nav-pills > li > a {
    border: 2px solid transparent;
    display: block;
    padding: 10px 15px;
    text-decoration: none;
}

.nav-pills > li.active > a {
    border: 2px solid #be2025;
    border-radius: 4px;
    color: #be2025;
}

.nested-list > ul {
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    -o-column-break-inside: avoid;
    column-break-inside: avoid;
    display: table;
    display: table;
}

.nested-list ul {
    padding-left: 20px;
    list-style: none;
}

.nested-list .link-parent {
    font-family: "Open Sans Condensed", sans-serif;
    font-weight: 700;
}

.nested-list .link-child {
    font-weight: normal;
}

.product-attachment {
    margin-bottom: 24px;
    width: 124px;
}

.product-attachment .card-text {
    font-size: smaller;
    overflow-x: clip;
    text-overflow: ellipsis;
}

.product-attachment a:hover i.text-primary {
    color: #be2025 !important;
    -webkit-transition: color 0.3s linear;
    -moz-transition: color 0.3s linear;
    -o-transition: color 0.3s linear;
    transition: color 0.3s linear;
}

.product-attachment a:hover span {
    color: inherit;
}

.product-description div:first-of-type {
    font-weight: 600;
}

.product-description div:nth-child(2) {
    font-weight: normal;
    margin: 12px;
}

.product-description p {
    font-weight: 600;
}

.product-description ul {
    list-style: circle;
    margin-left: 24px;
}

.product-info {
    border: 0;
}

.wanted-table {
    width: 100%;
}

.wanted-table .btn {
    white-space: nowrap;
}

.wanted-table td {
    width: 100%;
}

.wanted-table td:first-of-type {
    padding-right: 24px;
    white-space: nowrap;
    width: auto;
}

.wanted-table td:last-of-type {
    width: auto;
}

.wanted-table td,
.wanted-table th,
.wanted-table tr {
    border: 0;
    vertical-align: middle;
}

.wanted-table th {
    background-color: white;
    border-bottom: 1px solid black;
    font-size: larger;
    padding: 0 0 8px 8px;
}

.wanted-table tr:nth-of-type(2n+1) {
    background-color: #f9f9f9;
}

.wanted-table tr.placeholder-glow {
    background-color: white;
}

.wanted-table tr.placeholder-glow span.placeholder {
    display: block;
    height: 55px;
}

.widget-content {
    width: 100%;
}

.widget-title::after {
    transition: transform 0.3s ease
}

.widget-title.rotated::after {
    transform: rotate(180deg);
}

#CategoryList ul {
    width: 100%;
}

#CategoryList .cat-item {
    margin: 0;
}

/* Add FA down chevron at the end of accordion headers */
.accordion-button::after {
    content: "\f107"; /* fa-chevron-down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900; /* needed for solid icons */
    font-size: 1rem;
    display: inline-block;
    margin-left: auto; /* push to far right */
    transition: transform 0.2s ease;
}

/* Rotate icon when expanded */
.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg); /* points up when open */
}


@media (max-width: 991px) {
    .list-columns {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .list-columns {
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
    }
    #CategoryList .cat-item {
        margin: 5px;
    }
}