/* když je sidebar sbalený, schovej heading Admin */
html.sidebar-left-collapsed .nav-main-heading {
    display: none;
}


/* zmena zobrazeni seznamu zarizeni */
.inner-wrapper,.content-body {
    overflow: visible !important;
}
@media (min-width: 768px) {
    html.fixed .inner-wrapper,
    html.fixed .content-body {
        overflow: visible !important;
    }

    html.fixed .sticky-filter {        
        position: sticky;
        top: 115px; /* Výška hlavičky (60px) + 20px odstup */
        z-index: 999;
        /*border: 2px solid gray;*/
    }
}

/*widget tabulka*/
.js-widget-table th {
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.view-types a {
    font-size: 2.2em;
    color: #969696;
    margin-right: .25rem;
}
.view-types a.active {
    color: #0088CC;
}

/* Tlacitko v tabulce */
.btn-action {
    padding-top: .18rem !important;
    padding-bottom: .18rem !important;
}

/* sirka sloupce tabulky podle textu */
td.auto {
    width: 1px;
    white-space: nowrap;
}

/* widgety svj */
.my-widget {
    display: table;
    width: 100%;
}

.my-widget-col {
    vertical-align: top;
    display: table-cell;
    width: 100%;
}

.my-widget-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 35px;
    font-size: 2.8rem;
    text-align: center;
    color: white;
    background-color: rgb(246, 246, 246);
    /*background-color: rgb(236, 237, 240);*/
}

/*pro calendar ve filtru*/
.date-hidden {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    visibility: hidden;
}

.swal2-container {
    z-index: 10002 !important;
}

.bg-light-gray, .table-light-gray, .bg-color-lightgrey, thead.bg-color-lightgrey th, tr.bg-color-lightgrey td {
    background: #f6f6f6 !important;
}

.bg-light-gray2, .bg-color-lightgray2, thead.bg-color-lightgray2 th, tr.bg-color-lightgray2 td {
    background: #ECEDF0 !important;
}

.form-max-width {
    max-width: 480px;
}

.table-max-width {
    max-width: 1300px;
}


.entity-hidden td {
    font-style: italic !important;
    color: #999 !important;
}

td.entity-disabled {
    text-decoration: line-through;
}

/* grafy */
.chart {
    width: 100%;
    height: 100%;
}

.chart-parent {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    width: 100%;
}

/* https://github.com/jtblin/angular-chart.js/issues/614 */
.chart-parent > div {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}




/* ToDo */
.chart-dropdown {
    color: #777;
    font-family: "Poppins", Arial, sans-serif;
    line-height: 22px;
    margin: 0;
    font-size: 13px;
}


.cell-bullet {
    width: 40px;
    vertical-align: middle;
}

.bullet {
    border-width: 2px;
    border-style: solid;
    border-radius: 0px;
    height: 12px;
    width: 32px;
}

/* parametry na karte zarizeni */
.data-params {
    margin: 1px 0px;
}

.data-param {
    display: inline-block;
    width: 80px;
}

.data-value {
    display: inline-block;
}

/* rozklik napr. radku tabulky, vazba na JS */
.js-click-href {
    cursor: pointer;
}

.ms-0-2{
    margin-left: .20rem!important
}

.me-0-2{
    margin-right: .20rem!important
}

.btn-default.activex {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}


/*Canvas malovani GUI*/
.canvas-wrapper {
    position: relative;
    display: block;
    height: 322px;
    width: 482px;
    background-color: gray;
}

.canvas-wrapper canvas {
    position: absolute;
    top: 1px;
    left: 1px;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-crosshair {
    cursor: crosshair;
}

.cursor-resize-se {
    cursor: se-resize;
}

.cursor-move {
    cursor: move;
}

.cursor-help {
    cursor: help;
}