table {
    font-family: sans-serif;
    text-align: left;
    border-collapse: collapse;
    width: 100%;
    max-width: 800px;
}
/* td:nth-child(1), th:nth-child(1) {
    text-align: right;
} */
.entry:nth-child(even) {
    /* background-color: #fff3e3; */
}

.rowhead td {
    height: 0pt;
}
.desc {
    display: block;
    font-style: italic;
    font-size: 0.9em;
    /* line-height: 11pt; */
    margin: 0px;
    margin-bottom: 6pt;
}
.enddesc {
    display: block;
    font-style: italic;
    font-size: 0.9em;
    /* line-height: 11pt; */
    margin: 0px;
    margin-bottom: 1pt;
}
.category {
    font-weight: 550;
}
.group {
    color: #b60000;
}

td, th {
    /* padding: 3pt 8px 3pt 8px; */
    padding: 1ex;
    vertical-align: top;
}
tr {
    border-top: 1px rgba(0,0,0,0.2) solid;
    border-bottom: 1px rgba(0,0,0,0.2) solid;
}
td[colspan] {
    text-align: center;
}
/* td:nth-child(3),
td[colspan]+td {
    font-variant: small-caps;
} */

table tr:first-child {
  border-top: 0;
}
table tr:last-child {
  border-bottom: 0;
}

td:not([colspan]):first-child ~ td ~ td,
td[colspan]:first-child ~ td {
    display: block;
    padding: 0;
    margin: 1ex;
}

@media screen and (max-width: 700px) {
    table {
        display: flex;
        flex-flow: column nowrap;
        margin-top: 1em !important;
    }
    tr {
        /* display: flex; */
        display: block;
        flex-flow: row wrap;
        justify-content: center;
        /* padding: .5em 1em; */
        margin: .5em 0 1.5em 0;
        border: 1px rgba(0,0,0,0.2) solid;
        border-radius: 1ex;
        box-shadow: 0 .3ex 0 rgba(0,0,0,0.2);
    }
    tr:first-child {
        display: none;
    }
    .entry:nth-child(even) {
        /* box-shadow: 0 5pt 5pt -5pt #9a6c30; */
    }
    td {
        /* display: inline-block; */
        text-align: left;
        flex-grow: 1;
        margin: 0;
        /* padding: 2pt 0 2pt 5pt; */
        padding: 1ex;
        border: 0px;
    }
    td[colspan] {
        text-align: center;
        /* padding: 2pt 0 2pt 0; */
    }
    td:not([colspan]):first-child {
        text-align: right;
        border-right: 1px rgba(0,0,0,0.2) solid;
        /* padding: 2pt 5pt 2pt 0; */
        /* margin-right: 0; */
    }
    td:not([colspan]):first-child ~ td ~ td,
    td[colspan]:first-child ~ td {
        border-top: 1px rgba(0,0,0,0.2) solid;
        flex-basis: 100%;
        display: block;
        margin: 0;
        padding: 1ex;
        /* text-align: center; */
        /* padding: 5pt 0 0 0; */
        /* margin: 0; */
    }
}
