﻿/* Content CSS */
table.table {
    border-color: transparent;
}

table > tbody > tr > td > table td {
    position: relative;
}

table > tbody > tr > td > table img {
    position: absolute;
    height: 100%;
    width: 100%;
    border-radius: var(--bs-border-radius-lg);
    object-fit: cover;
    top: 0;
    left: 0;
}

body {
    background-color: var(--bs-body-secondary);
}

    img {
        max-width: 100%;
        object-fit: contain;
    }

    table:not(.table-striped) {
        border: none;
        border-collapse: separate !important;
        border-spacing: .25rem;
        width: 100% !important;
    }

    table > tbody > tr > td {
        /* card container */
        vertical-align: top;
    }

        /*table > tbody > tr > td {*/
        /* card container spacing */
        /*padding: .5rem;
        }*/

        table > tbody > tr > td > table > tbody > tr > td {
            /* card content */
            border: 1px solid lightgray;
            border-radius: var(--bs-border-radius-xl);
            background: white;
            padding: 1.5rem;
        }

@media only screen and (max-width: 992px) {
    table {
        height: unset !important;
    }

        table:not(.table-responsive) td {
            display: block;
            width: 100% !important;
        }

        table colgroup col {
            width: unset !important;
        }

        table tr,
        table td {
            height: unset !important;
        }
}

details {
    transition: all .2s;
}

    details[open] {
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
        border-radius: 10px;
        margin: 1rem 0;
    }

        details[open],
        details[open] > summary {
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
        }

            details[open],
            details[open] > div {
                border-bottom-left-radius: 10px;
                border-bottom-right-radius: 10px;
            }

    details > summary {
        background-color: #fff;
        position: relative;
        cursor: pointer;
        padding: 1.5rem;
        list-style: none;
        &::-webkit-details-marker

{
    display: none;
}

}

details > summary:hover {
    background-color: rgba(0,0,0,.05);
}

details > summary::after {
    content: ">";
    position: absolute;
    right: 0;
    margin-right: 2rem;
    transform: rotate(90deg);
    transition: transform .3s;
}

details[open] > summary::after {
    transform: rotate(-90deg)
}

details > div {
    background-color: #fff;
    padding: 1.5rem;
}

img {
    border-radius: var(--bs-border-radius-xl);
}