/* card-view.css */

.card-wrapper {
    overflow: hidden;
    max-width: 90em;
    margin: auto;
    padding: 4em 2.5em;
}

.card {
    border-radius: .8em;
}

.card:hover {
    box-shadow: 0 .125rem .5rem rgba(0, 0, 0, .375) !important;
    border-color: rgba(0, 0, 0, .375);
}

.card .list-group *:not(li) {
    margin-bottom: -1px;
}

.card .accordion-collapse li {
    background-color: #e9ecef;
}

.card .accordion-button {
    padding-top: .65em;
    padding-bottom: .65em;
    background-color: #f8f9fa;
}

.card .accordion-button::after {
    margin: auto;
}

.card .accordion-button:hover {
    background-color: #dee2e6;
}

.card .accordion-button.disabled {
    padding-top: 1.25em;
    padding-bottom: 1.25em;
    pointer-events: none;
    opacity: .65;
}

.card .accordion-button.disabled:after {
    content: none;
}

.card-header,
.card-header img,
.card:first-child {
    border-top-left-radius: .8em !important;
    border-top-right-radius: .8em !important;
}

.card-footer,
.card-footer .accordion-button,
.card-footer .accordion .list-group-item:last-child,
/*.card .collapsible:last-child,*/
.card:last-child {
    border-bottom-left-radius: .8em !important;
    border-bottom-right-radius: .8em !important;
}

.card-header-icon {
    font-family: "Material Symbols Outlined";
    font-size: 5.5em;
    text-align: right;
    width: 100%;
    max-height: 60px;
    position: absolute;
    top: -.25em;
    left: -.1em;
    opacity: .25;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.card.text-danger *:not(.new-release > span) {
    color: rgba(220, 53, 69, .85);
}

.card.dimmed {
    opacity: .3;
}

.card [name="item_image"] {
    position: relative;
    top: 0;
    left: 0;
    height: 180px;
}

.card [name="item_image"] img {
    height: 180px;
    object-fit: cover;
    object-position: 50% 0%;
    /*border-top-left-radius: .72em !important;
    border-top-right-radius: .72em !important;*/
}

.card [name="reference_number"] {
    position: absolute;
    bottom: -1.5em;
    right: -1.8em;
    z-index: 9;
}

.list-group-item:not([name="scraper"]):hover {
    filter: brightness(.95);
}

@media only screen and (max-width: 575.98px) {
    .card-wrapper:not(.row-cols-1) {
        padding: 4em .5em;
    }
}

/*@media only screen and (min-width: 1199.98px) {
    .card [name="item_image"],
    .card [name="item_image"] img {
        height: 240px;
    }
}*/
