.tablesheet-Active td {
    background-color: #ff8989!important;
}

.tablesheet-Container {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;    
}

.tablesheet-Container_standalone {
    height: 100vh;
    width: 100vw;
}

.tablesheet-Container_part {
    height: 100%;
}

.tablesheet-Change, .tablesheet-Change a {
    color: blue!important;
}

.tablesheet-Sum {
    font-weight: bold;
    padding-top: 8px;
    padding-bottom: 8px;
}

.tablesheet-THead {
    top: 0;
    position: sticky;
    z-index: 2;   
}

.tablesheet-Viewport {
    overflow: auto;
    flex-grow: 1;
    border: #cdcdcd 1px solid;
}

.tablesheet-Viewport .tablesheet-Table {
    background-color: transparent;
    border-spacing: 0;
    font-size: small;
    border: 0;
    margin: 0;
}


/*******************************************************************************
* Elements
*******************************************************************************/

.tablesheet-Viewport .tablesheet-Table th, .tablesheet-Viewport .tablesheet-Table td {
    border-width: 0 1px 1px 0;
}

.tablesheet-Viewport .tablesheet-Table th:first-of-type, .tablesheet-Viewport .tablesheet-Table td:first-of-type {
    left: 0;
    position: sticky;
    z-index: 1;
    background-clip: padding-box;
}

.tablesheet-Viewport .tablesheet-Table th:last-of-type, .tablesheet-Viewport .tablesheet-Table td:last-of-type {
     border-right-width: 0;
}

.tablesheet-Viewport .tablesheet-Table td {
    word-break: normal;
    overflow-wrap: anywhere;
    padding-left: 8px;
}

.tablesheet-Viewport .tablesheet-Table td:first-of-type {
    padding-left: 15px;
}

.tablesheet-Viewport .tablesheet-Table td:last-of-type {
    padding-right: 15px;
}


/*******************************************************************************
* tablesheet-action-
*******************************************************************************/

.tablesheet-action-Buttons {
    flex-shrink: 0;
    flex-grow: 0;
}

.tablesheet-action-Cell {
    display: flex;
}

.tablesheet-action-Content {
    flex-grow: 1;
    margin-right: 6px;
    margin-bottom: 4px;
}

.tablesheet-cell-Number .tablesheet-action-Content {
    align-self: center;
}


/*******************************************************************************
* tablesheet-cell-
*******************************************************************************/

.tablesheet-cell-Link {
    white-space: pre-line;
}

.tablesheet-cell-MoreDetails {
    margin-top: -1em;
}

.tablesheet-cell-MoreSummary {
    text-align: right;
    z-index: 10;
}

.tablesheet-cell-Number {
    text-align: right;
}

.tablesheet-cell-Text {
    white-space: pre-line;
}


/*******************************************************************************
* tablesheet-column-
*******************************************************************************/

.tablesheet-column-Large {
    min-width: 500px;
    max-width: 500px;
}

.tablesheet-column-Medium {
    min-width: 280px;
    max-width: 280px;
}

.tablesheet-column-Small {
    min-width: 120px;
    max-width: 120px;
}


/*******************************************************************************
* tablesheet-count-
*******************************************************************************/

.tablesheet-count-Block {
    font-size: 0.9em;
    font-weight: normal;
    font-family: monospace;
}

.tablesheet-count-Number {
    font-family: monospace;
}


/********************
 * ODS
 ********************/

column.Large ~ .tablesheet-column-Large {
    width: 9cm;
}

column.Medium ~ .tablesheet-column-Medium {
    width: 5cm;
}

column.Small ~ .tablesheet-column-Small {
    width: 3cm;
}