.document table {
    position: relative;
    max-width: 100%;
    margin: var(--document_block_size_margin) auto;
    border-collapse: collapse;
    border: solid 3px var(--document_general_color_use);
    color: var(--document_general_color_use);
}
.document table:first-child {
    margin-top: 0;
}
.document table:last-child {
    margin-bottom: 0;
}

.document table.fix {
    table-layout: fixed;
}

.document table > caption {
    text-align: center;
    font-family: inherit;
    font-weight: var(--document_general_font_bold);
    font-size: var(--document_general_size_font);
}
.document table > thead {
    border-bottom: double 3px var(--document_general_color_use);
}
.document table > tfoot {
    border-top: double 3px var(--document_general_color_use);
}

.document table th,
.document table td {
    margin: 0;
    padding: var(--document_table_size_padding);
    text-align: left;
    vertical-align: top;
    word-break: break-all;
    border: solid 1px var(--document_general_color_use);
}
.document table th {
    font-weight: var(--document_general_font_bold);
}
.document table td {
    font-weight: var(--document_general_font_normal);
}
.document table tbody th {
    width: 0;
    white-space: nowrap;
}

.document table .nowrap {
    white-space: nowrap;
}
.document table .textLeft {
    text-align: left;
}
.document table .textCenter {
    text-align: center;
}
.document table .textRight {
    text-align: right;
}
.document table .verticalTop {
    vertical-align: top;
}
.document table .verticalMiddle {
    vertical-align: middle;
}
.document table .verticalBottom {
    vertical-align: bottom;
}
.document table .data {
    font-family: var(--document_general_font_code);
}
.document table .number {
    text-align: right;
    font-family: var(--document_general_font_code);
}

.document .hugeContent table {
    width: 100%;
    max-width: 100%;
}

@media print {
    .document table thead {
        display: table-header-group;
    }
}
