﻿#dc-header {
    text-align: center;
    color: white;
}

    #dc-header h1 {
        font-size: clamp(2rem, 5vw, 4rem);
        font-weight: 700;
        margin: 0;
        padding: 2.5rem 0;
    }

#dc {
    background: white;
    border: 1px solid #ddd;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding-top: .75rem;
    padding-bottom: .75rem;
}

#dc-desc {
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

    #dc-desc p:last-of-type {
        margin-bottom: 0;
    }

.btn-dc-more-info {
    width: 100%;
    background-color: white;
    color: var(--tir-dark-blue);
    font-weight: 550;
    border-radius: .75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease-in-out;
    border-color: var(--tir-dark-blue);
    border-width: 2px;
}

    .btn-dc-more-info:hover {
        background-color: var(--tir-dark-blue);
        color: white;
        border-color: var(--tir-dark-blue);
    }

#dc-also-viewed a {
    color: rgba(0,0,0,.8);
    transition: all ease-in-out .25s;
    text-decoration: underline !important;
}

    #dc-also-viewed a:hover {
        color: rgba(0,0,0,1);
        font-weight: 450;
    }

#dc-counts {
    padding: .75rem;
    border: 1px #ddd solid;
    border-radius: 1rem;
}

    #dc-counts h5 {
        font-size: 1.15rem;
        color: var(--tir-dark-blue);
        font-weight: bold;
        margin-bottom: .75rem;
    }

.dc-select-table {
    margin: 0;
    margin-bottom: .75rem;
    text-align: center;
    border-collapse: separate;
    border-spacing: 0;
}

    /* Do not add margin to the final select table */
    .dc-select-table:last-of-type {
        margin-bottom: 0;
    }

    /* Style the header row cells */
    .dc-select-table th {
        background: var(--tir-dark-blue);
        color: white;
    }

    /* Style the sub header row cells */
    .dc-select-table tbody tr:first-child td {
        background-color: var(--bs-secondary-bg);
        padding: .33rem 0;
        font-weight: 500;
    }

    /* Set the width of the final column */
    .dc-select-table thead th:last-of-type {
        width: 22.5%;
    }

    /* Add border to main body cells (not sub header row) */
    .dc-select-table tbody tr:not(:first-child) td:first-child {
        border-left: 1px #ddd solid;
    }

    .dc-select-table tbody tr:not(:first-child) td {
        border-right: 1px #ddd solid;
    }

        /* Left align the Select desc with padding */
        .dc-select-table tbody tr:not(:first-child) td:first-of-type {
            text-align: left;
            padding-left: 1.25rem;
        }

    /* Add border radius effect to table */

    /* Target top left cell to apply border radius */
    .dc-select-table th:first-of-type {
        border-top-left-radius: 1rem;
    }

    /* Target top right cell to apply border radius */
    .dc-select-table th:last-of-type {
        border-top-right-radius: 1rem;
    }

    /* Target bottom left cell to apply border radius */
    .dc-select-table tr:last-of-type td:first-of-type {
        border-bottom-left-radius: 1rem;
    }

    /* Target bottom right cell to apply border radius */
    .dc-select-table tr:last-of-type td:last-of-type {
        border-bottom-right-radius: 1rem;
    }
