﻿

.tableresponsive {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
}

.tablecaption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
}

.tabletr {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    padding: .35em;
}

.tableth,
.tabletd {
    padding: .625em;
    text-align: center;
    border-style: solid;
    border-width: thin;
    border-color: #000000;
    word-break: break-all;
    column-width: unset;
}

.tablethr,
.tabletdr {
    padding: .625em;
    text-align: right;
    border-style: solid;
    border-width: thin;
    border-color: #000000;
    word-break: break-all;
    column-width: unset;
}

.tablethl,
.tabletdl {
    padding: .625em;
    text-align: left;
    border-style: solid;
    border-width: thin;
    border-color: #000000;
    word-break: break-all;
    column-width: unset;
}

.tablethl2,
.tabletdl2 {
    padding: .625em;
    text-align: left;
    border-style: solid;
    border-width: thin;
    border-color: #000000;
    word-break: break-word;
    column-width: unset;
}

.tableth {
    font-size: .85em;
    letter-spacing: .1em;
    text-transform: uppercase;
}




@media only screen and (max-width: 1200px) {
    /* For mobile phones: */

    .tableresponsive {
        border: 0;
    }

    .tablecaption {
        font-size: 1.3em;
    }

    .tablethl,
    .tablethl2,
    .tablethr,
    .tableth {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }


    .tabletr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }


    .tabletd {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
        word-break: break-all;
    }

        .tabletd::before {
            content: attr(data-label);
            float: left;
            font-weight: bold;
            text-transform: uppercase;
        }


        .tabletd:last-child {
            border-bottom: 0;
        }

    .tabletdl {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
        word-break: break-all;
    }

        .tabletdl::before {
            content: attr(data-label);
            float: left;
            font-weight: bold;
            text-transform: uppercase;
        }


        .tabletdl:last-child {
            border-bottom: 0;
        }

    .tabletdl2 {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
        word-break: break-word;
    }

        .tabletdl2::before {
            content: attr(data-label);
            float: left;
            font-weight: bold;
            text-transform: uppercase;
        }


        .tabletdl2:last-child {
            border-bottom: 0;
        }

    .tabletdr {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
        word-break: break-all;
    }

        .tabletdr::before {
            /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
            content: attr(data-label);
            float: left;
            font-weight: bold;
            text-transform: uppercase;
        }


        .tabletdr:last-child {
            border-bottom: 0;
        }
}
