/* TABLE */
table td a,
table strong,
table em {
    display: contents;
}

table:not(.dining-commons-table) {
    table-layout: fixed;
    width: 100% !important;
}

table:not(.dining-commons-table) tbody td {
    vertical-align: top;
}

table:not(.dining-commons-table) img {
    max-width: none !important;
    height: auto !important;
}


table:not(.dining-commons-table) td {
    width: auto !important;
}

table:not(.dining-commons-table) thead th,
table:not(.dining-commons-table) thead td {
    padding: 3px 15px 3px 15px;
}


table:not(.dining-commons-table) {
    margin-bottom: 30px;
}

table:not(.dining-commons-table) tbody tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

table:not(.dining-commons-table) td {
    padding: 18px 15px 18px 15px !important;
}

table:not(.dining-commons-table) tr {
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
}

table:not(.dining-commons-table) td:first-of-type {
    padding-left: 18px !important;
}


table:not(.dining-commons-table) th,
table:not(.dining-commons-table) tbody td {
    text-align: left;
}

.text-align-center {
    text-align: center !important;
}


table:not(.dining-commons-table) tr:first-of-type {
    border-top: none;
}


@media(max-width:767px) {
    table:not(.dining-commons-table) th:before {
        content: " ";
        display: block;
        height: 50px;
        width: 70px;
        margin: 0px auto 10px auto;
    }
}

@media (max-width: 815px) {

    table:not(.dining-commons-table) tbody tr td:first-of-type:before {
        display: none;
    }

    /* since some tables do need to show the heading of the first column */
    .show-first-column-heading-on-mobile table tr td:first-of-type:before {
        display: block;
    }

    table:not(.dining-commons-table) td {
        border-top: 0.1px solid #dddddd;
        border-bottom: 0.1px solid #dddddd;
    }

    table:not(.dining-commons-table) tr {
        border: none;
    }

    table:not(.dining-commons-table) tr,
    table:not(.dining-commons-table) td {
        text-align: left;
    }

    table:not(.dining-commons-table),
    table:not(.dining-commons-table) thead,
    table:not(.dining-commons-table) tbody,
    table:not(.dining-commons-table) th,
    table:not(.dining-commons-table) td,
    table:not(.dining-commons-table) tr {
        display: block;
    }

    thead:not(.dining-commons-table) tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    table:not(.dining-commons-table) tr {
        margin: 0 0 1rem 0;
    }

    table:not(.dining-commons-table) td {
        border-bottom: 1px solid #eee;
        position: relative;
        display: -webkit-box;
        display: flex;
    }

    table:not(.dining-commons-table) td:before {
        width: 50%;
        min-width: 50%;
        padding-right: 10px;
        white-space: pre-line;
    }

    table:not(.dining-commons-table) td:first-of-type {
        padding-left: 18px !important;
        border: none !important;
    }

    table:not(.dining-commons-table) td:last-of-type {
        border-bottom: none !important;
    }

    table:not(.dining-commons-table) td:before {
        content: attr(data-heading);
    }
}

/* TABLE ENDS HERE */