.timelineEventEnvelope.stavakce_8_0 {
    background-color: rgb(255, 255, 255);
}

.timelineEventEnvelope.stavakce_10_0 {
    background-color: #aca7a7;
    color: #fff;
    border-color: #fff;
}

.timelineEventEnvelope.stavakce_11_0 {
    background-color: #ff4d4d;
    color: #fff;
    border-color: #fff;
}

.timelineEventEnvelope.stavakce_319_0 {
    background-color: #ffff92;
}

.timelineEventEnvelope.stavakce_638_0 {
    background-color: #ff9999;
}

.timelineEventEnvelope.stavakce_8_1 {
    background-color: #99cc33;
    color: #ffffff;
    border-color: #ffffff;
}

.timelineEventEnvelope.stavakce_10_1 {
    background-color: #aca7a7;
    color: #fff;
    border-color: #fff;
}

.timelineEventEnvelope.stavakce_11_1 {
    background-color: #ff4d4d;
    color: #fff;
    border-color: #fff;
}

.timelineEventEnvelope.stavakce_319_1 {
    background-color: #ffff92;
}

.timelineEventEnvelope.stavakce_638_1 {
    background-color: #ff9999;
}

.timelineEventEnvelope.akce_inst_sml_todo {
    background-color: #ffda71;
}

.timelineEventEnvelope.akce_inst_sml_ok {
    background-color: #7fff8c;
}

.properties-report-wrapper {
    margin-left: 20px;
}

.revisions-report-wrapper {
    margin-left: 20px;
}

/* --------------------------------------------------------------------------- */
/* Chart drill-down floating window
   Uses SMO's Table3 color scheme (#3e81c1) so the floating window looks
   like a native part of the UI. Fixed positioning ensures it stays visible
   regardless of page scroll position.                                         */
/* --------------------------------------------------------------------------- */
div.t3WinTable.chartDrillTable {
    position: fixed !important;
    top: 60px;
    left: 60px;
    z-index: 9999;
    max-height: 85vh;
    overflow-y: auto;
    border: 1px solid #464646;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    min-width: 800px;
    max-width: 95vw;
}
div.t3WinTable.chartDrillTable .t3WinTableTitle {
    background-color: #464646;
    color: #fff;
    cursor: move;
    font-size: 14px;
    padding: 8px 12px;
    width: 100%;
}
div.t3WinTable.chartDrillTable .t3WinTableTitle .closeButton {
    color: #fff;
    cursor: pointer;
    font-size: 16px;
}
div.t3WinTable.chartDrillTable .gridtitle {
    display: none;
}
div.t3WinTable.chartDrillTable .DebugTable {
    margin-bottom: 0;
    padding-bottom: 0;
    margin-left: 0;
    margin-top: 0;
}
div.t3WinTable.chartDrillTable table.tablePaging.t3paging {
    margin-bottom: 0;
}

/* Row striping — mirror in-page Table3 (.odd=#fafafa, .even=#fff) */
div.t3WinTable.chartDrillTable .t3Body .odd .t3FixedCols,
div.t3WinTable.chartDrillTable .t3Body .odd .t3FlexiCols {
    background-color: #fafafa;
}
div.t3WinTable.chartDrillTable .t3Body .even .t3FixedCols,
div.t3WinTable.chartDrillTable .t3Body .even .t3FlexiCols {
    background-color: #ffffff;
}

/* Mirror in-page Table3 header styling inside the floating window */
div.t3WinTable.chartDrillTable .table3 .t3Header {
    background-color: #464646;
    color: #fff;
}
div.t3WinTable.chartDrillTable .table3 .t3Header .t3FixedCols {
    background-color: #464646;
}
div.t3WinTable.chartDrillTable .table3 .t3Header .t3FlexiCols {
    background-color: #464646;
}
div.t3WinTable.chartDrillTable .table3 .t3Header .header {
    color: #fff;
}
div.t3WinTable.chartDrillTable .table3 .t3Header div[class*="c-"] {
    color: #fff;
}
div.t3WinTable.chartDrillTable .table3 .t3Header .orderButtons button {
    color: #fff;
}
div.t3WinTable.chartDrillTable .table3 .t3Header .orderButtons .filter .fa-light {
    color: #fff;
}

/* Paging bar colors */
div.t3WinTable.chartDrillTable table.tablePaging {
    background-color: #464646;
    color: #fff;
}
div.t3WinTable.chartDrillTable table.tablePaging th {
    color: #fff;
}

/* jQuery UI slider/pager buttons */
div.t3WinTable.chartDrillTable .table3 .ui-state-default,
div.t3WinTable.chartDrillTable .ui-widget-content .ui-state-default,
div.t3WinTable.chartDrillTable .ui-widget-header .ui-state-default {
    background: none;
    background-color: #464646;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 0;
    padding: 0 5px;
}

/* Constrain body height — keeps paging footer visible */
div.t3WinTable.chartDrillTable .table3 .t3Body {
    max-height: 55vh;
    overflow-y: auto;
}

/* Font & line height */
div.t3WinTable.chartDrillTable .table3 {
    font-size: 12px;
}
div.t3WinTable.chartDrillTable .t3Body div[class*="c-"] {
    line-height: 22px;
}

/* Remove top resize handle overlap */
div.t3WinTable.chartDrillTable .ui-resizable-n {
    top: -4px;
}