.table-container {
    margin-top: 1em;
    margin-bottom: 1em;
}

.table-container {
/*    page-break-inside: avoid;*/
}

table {
    border: 1px solid #ddd;
    text-align: left;
    font-size: 0.7em;
    line-height: 1.2em;
    margin-bottom: 1em;
    page-break-inside: avoid;
/*    table-layout: fixed;*/
}

table entry { 
    border: 1px solid #ddd;
}

caption {
    text-align: left;
    margin-bottom: 1em;
    font-weight: bold;
    page-break-after: avoid;
}

th {
    font-weight: bold;
    vertical-align: top;
    border: 1px solid #ddd;
    background: #e2eaf3;
}

td {
    border: 1px solid #ddd;
    vertical-align: top;
    padding-left: 5px;
    padding-right: 5px;
}

th p,
td p {
    text-align: left;
}

table, th, td {
    border: 1px solid #afafaf;
    padding: 0.77em;
    border-collapse: collapse;
}

table th {
    text-align: center;
    vertical-align: top;
}

table td {
    text-align: left;
    vertical-align: top;
    min-width: 20px;
}

table p {
    margin: 0;
    hyphens: none;
}

table ul {
    margin: 0;
    padding-left: 1.5em;
}

table li {
    margin-left: 0;
}

.legend {
    margin-bottom: 0.5em;
    page-break-inside: avoid;
}

.text-wrap {
    hyphens: auto;
    hyphenate-before: 3;
    hyphenate-after: 3;
}


td.cellbackground.color_black       { background: #000000 !important; color: white !important}
td.cellbackground.color_purple      { background: #7030A0 !important; color: white !important}
td.cellbackground.color_yellow      { background: #FFFF00 !important}
td.cellbackground.color_darkorange  { background: #FF9900 !important}
td.cellbackground.color_orange      { background: #FFC000 !important}
td.cellbackground.color_blue        { background: #0070C0 !important}
td.cellbackground.color_gray85      { background: #D9D9D9 !important}
td.cellbackground.color_red         { background: #FF0000 !important}
td.cellbackground.color_darkred     { background: #C00000 !important; color: white !important}
td.cellbackground.color_lightblue   { background: #00B0F0 !important}
td.cellbackground.color_darkblue    { background: #002060 !important; color: white !important}
td.cellbackground.color_lightgreen  { background: #92D050 !important}
td.cellbackground.color_darkgreen   { background: #00B050 !important}
td.cellbackground.color_green       { background: #66FF33 !important}

table[data-column-count="15"] th,
table[data-column-count="15"] td,
table[data-column-count="16"] th,
table[data-column-count="16"] td,
table[data-column-count="17"] th,
table[data-column-count="17"] td,
table[data-column-count="18"] th,
table[data-column-count="18"] td,
table[data-column-count="19"] th,
table[data-column-count="19"] td,
table[data-column-count="20"] th,
table[data-column-count="20"] td,
table[data-column-count="21"] th,
table[data-column-count="21"] td,
table[data-column-count="22"] th,
table[data-column-count="22"] td, 
table[data-column-count="23"] th,
table[data-column-count="23"] td,
table[data-column-count="24"] th,
table[data-column-count="24"] td 
{
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    min-width: 0;
}
