.main-title {
    font-size: 2rem;
    margin: 0 0 1rem 0;
    padding: 0;
}

@media (min-width: 768px) {
    .main-title {
        font-size: 4rem;
        margin: 0;
    }
}

table {
    table-layout: fixed;
    min-width: 700px;
}

@media (min-width: 768px) {
    table {
        min-width: 900px;
    }
}


table th,
table td {
    width: 25%;
    word-wrap: break-word;
}

table th {
    vertical-align: top;
}

table td {
    vertical-align: middle;
}

table>tbody>tr:nth-of-type(odd)>* {
    --bs-table-color-type: var(--bs-table-striped-color);
    --bs-table-bg-type: var(--bs-table-striped-bg);
}

table>tbody>tr:nth-of-type(even)>*,
table>thead>tr {
    --bs-table-color-type: inherit;
    --bs-table-bg-type: inherit;
}

table> :not(caption)>*>* {
    padding: 2.5rem 1rem !important;
}

table th img {
    max-width: 80%;
    margin: 0.25rem 0 1rem 0;
}

table tr td:first-child {
    font-weight: 600;
    text-align: left;
}


@media (max-width: 767px) {
    p.m-0.p-0.fs-5 {
        margin: 0.5rem auto 0 auto !important;
        font-size: 0.95rem !important;
        max-width: 75% !important;
    }

    h2.m-0.p-0 {
        margin-top: 0.25rem !important;
        font-size: 1.2rem;
    }

    table {
        position: relative;
    }

    table th,
    table td {
        width: auto;
        min-width: 200px;
        font-size: 0.75rem !important;
    }

    table th {
        position: sticky;
        top: 0;
        background: var(--bs-body-bg);
        z-index: 1;
    }

    table> :not(caption)>*>* {
        padding: 0.5rem 0.25rem !important;
    }

    table th .fs-3 {
        font-size: 1rem !important;
    }

    table th .fs-6 {
        font-size: 0.8rem !important;
    }

    table th img {
        max-width: 50% !important;
    }

    .col-8.col-sm-6.col-lg-4.col-xl-3 {
        max-width: 200px !important;
    }
}

@media print {
    @page {
        margin: 0;
    }

    body {
        margin: 1.6cm;
    }

    header,
    footer,
    .page-title,
    .container>div:first-child,
    .container>div:last-child {
        display: none;
    }

    div.content-wrap {
        padding: 0 !important;
    }

    p.m-0.p-0.fs-5 {
        margin: 0.5rem auto 0 auto !important;
        font-size: 0.95rem !important;
        max-width: 75% !important;
    }

    h2.m-0.p-0 {
        margin-top: 0.25rem !important;
        font-size: 1.2rem;
    }

    .container {
        max-width: 100% !important;
    }

    .mb-5 {
        margin-bottom: 1rem !important;
    }

    .table-responsive {
        padding-bottom: 0 !important;
    }

    table {
        width: 100%;
        min-width: 0;
        margin-top: 1rem !important;
    }

    table> :not(caption)>*>* {
        padding: 0.5rem 0.25rem !important;
    }

    table th {
        font-size: 0.75rem !important;
    }

    table td {
        font-size: 0.75rem !important;
    }

    table th .fs-3 {
        font-size: 1rem !important;
    }

    table th .fs-6 {
        font-size: 0.8rem !important;
    }

    table th img {
        max-width: 50% !important;
    }
}


@media screen and (max-width: 767px) {
    .table-sticky-container {
        max-height: 600px; /* Ajusta la altura según tus necesidades */
        overflow-y: auto;
    }
    .table-sticky-container thead th {
        position: sticky;
        top: 0;
        background-color: #f8f9fa; /* Fondo para que se destaque */
        z-index: 1;
    }    
}

@media screen and (min-width: 768px) {
    .table-sticky-container {
        max-height: 900px; /* Ajusta la altura según tus necesidades */
        overflow-y: auto;
    }
    .table-sticky-container thead th {
        position: sticky;
        top: 0;
        background-color: #f8f9fa; /* Fondo para que se destaque */
        z-index: 1;
    }    

    /* Scrollbar Styling */
    .table-sticky-container::-webkit-scrollbar {
        width: 6px; /* Ancho del scrollbar */
    }

    .table-sticky-container::-webkit-scrollbar-thumb {
        background-color: #ced4da; /* Color del scrollbar */
        border-radius: 10px; /* Bordes redondeados */
    }

    .table-sticky-container::-webkit-scrollbar-thumb:hover {
        background-color: #adb5bd; /* Color al pasar el cursor */
    }

    .table-sticky-container::-webkit-scrollbar-track {
        background-color: #f8f9fa; /* Fondo del track */
    }    
}

