/*!
 * required gridstack 0.6.3 CSS for default 12 and 1 columnMode size. Use gridstack-extra.css for others
 * https://gridstackjs.com/
 * (c) 2014-2020 Alain Dumesny, Dylan Weiss, Pavel Reznikov
 * gridstack.js may be freely distributed under the MIT license.
*/

:root .grid-stack-item-th>.ui-resizable-handle {
    filter: none
}

.grid-stack-th.grid-stack-rtl>.grid-stack-item-th {
    direction: rtl
}

.grid-stack-th>.grid-stack-item-th {
    min-width: 50%;
    position: absolute;
    padding: 0
}

.grid-stack-th>.grid-stack-item-th>.grid-stack-item-th-content,
.grid-stack-th>.grid-stack-item-th>.grid-stack-item-content {
    margin: 0;
    position: absolute;
    top: 0;
    left: 0.625rem;
    right: 0.625rem;
    bottom: 0;
    width: auto;
    overflow-x: hidden;
    overflow-y: auto
}

.grid-stack-th>.grid-stack-item-th>.ui-resizable-handle {
    position: absolute;
    font-size: 0.0063rem;
    display: block;
    -ms-touch-action: none;
    touch-action: none
}

.grid-stack>.grid-stack-item-th.ui-resizable-autohide>.ui-resizable-handle,
.grid-stack>.grid-stack-item-th.ui-resizable-disabled>.ui-resizable-handle {
    display: none
}

.grid-stack-th>.grid-stack-item-th.ui-draggable-dragging,
.grid-stack-th>.grid-stack-item-th.ui-resizable-resizing {
    z-index: 100
}

.grid-stack-th>.grid-stack-item-th.ui-draggable-dragging>.grid-stack-item-th-content,
.grid-stack-th>.grid-stack-item-th.ui-resizable-resizing>.grid-stack-item-th-content,
.grid-stack-th>.grid-stack-item-th.ui-draggable-dragging>.grid-stack-item-content,
.grid-stack-th>.grid-stack-item-th.ui-resizable-resizing>.grid-stack-item-content {
    box-shadow: 1px 0.25rem 0.375rem rgba(0, 0, 0, .2);
    opacity: .8
}

.grid-stack-th>.grid-stack-item-th>.ui-resizable-se,
.grid-stack-th>.grid-stack-item-th>.ui-resizable-sw {
    /* background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCIgdmlld0JveD0iMCAwIDUxMS42MjYgNTExLjYyNyIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNTExLjYyNiA1MTEuNjI3OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggZD0iTTMyOC45MDYsNDAxLjk5NGgtMzYuNTUzVjEwOS42MzZoMzYuNTUzYzQuOTQ4LDAsOS4yMzYtMS44MDksMTIuODQ3LTUuNDI2YzMuNjEzLTMuNjE1LDUuNDIxLTcuODk4LDUuNDIxLTEyLjg0NSAgIGMwLTQuOTQ5LTEuODAxLTkuMjMxLTUuNDI4LTEyLjg1MWwtNzMuMDg3LTczLjA5QzI2NS4wNDQsMS44MDksMjYwLjc2LDAsMjU1LjgxMywwYy00Ljk0OCwwLTkuMjI5LDEuODA5LTEyLjg0Nyw1LjQyNCAgIGwtNzMuMDg4LDczLjA5Yy0zLjYxOCwzLjYxOS01LjQyNCw3LjkwMi01LjQyNCwxMi44NTFjMCw0Ljk0NiwxLjgwNyw5LjIyOSw1LjQyNCwxMi44NDVjMy42MTksMy42MTcsNy45MDEsNS40MjYsMTIuODUsNS40MjYgICBoMzYuNTQ1djI5Mi4zNThoLTM2LjU0MmMtNC45NTIsMC05LjIzNSwxLjgwOC0xMi44NSw1LjQyMWMtMy42MTcsMy42MjEtNS40MjQsNy45MDUtNS40MjQsMTIuODU0ICAgYzAsNC45NDUsMS44MDcsOS4yMjcsNS40MjQsMTIuODQ3bDczLjA4OSw3My4wODhjMy42MTcsMy42MTcsNy44OTgsNS40MjQsMTIuODQ3LDUuNDI0YzQuOTUsMCw5LjIzNC0xLjgwNywxMi44NDktNS40MjQgICBsNzMuMDg3LTczLjA4OGMzLjYxMy0zLjYyLDUuNDIxLTcuOTAxLDUuNDIxLTEyLjg0N2MwLTQuOTQ4LTEuODA4LTkuMjMyLTUuNDIxLTEyLjg1NCAgIEMzMzguMTQyLDQwMy44MDIsMzMzLjg1Nyw0MDEuOTk0LDMyOC45MDYsNDAxLjk5NHoiIGZpbGw9IiM2NjY2NjYiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K); */
    background-image: var(--resizer-image);
    background-repeat: no-repeat;
    background-position: center;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg)
}

.grid-stack-th>.grid-stack-item-th>.ui-resizable-se {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg)
}

.grid-stack-th>.grid-stack-item-th>.ui-resizable-nw {
    cursor: nw-resize;
    width: 1.25rem;
    height: 1.25rem;
    left: 0.625rem;
    top: 0
}

.grid-stack-th>.grid-stack-item-th>.ui-resizable-n {
    cursor: n-resize;
    height: 0.625rem;
    top: 0;
    left: 1.5625rem;
    right: 1.5625rem
}

.grid-stack-th>.grid-stack-item-th>.ui-resizable-ne {
    cursor: ne-resize;
    width: 1.25rem;
    height: 1.25rem;
    right: 0.625rem;
    top: 0
}

.grid-stack-th>.grid-stack-item-th>.ui-resizable-e {
    cursor: e-resize;
    width: 0.625rem;
    right: 0.625rem;
    top: 0.9375rem;
    bottom: 0.9375rem
}

.grid-stack-th>.grid-stack-item-th>.ui-resizable-se {
    cursor: se-resize;
    width: 1.75rem;
    height: 1.75rem;
    right: 0.625rem;
    bottom: 0
}

.grid-stack-th>.grid-stack-item-th>.ui-resizable-s {
    cursor: s-resize;
    height: 0.625rem;
    left: 1.5625rem;
    bottom: 0;
    right: 1.5625rem
}

.grid-stack-th>.grid-stack-item-th>.ui-resizable-sw {
    cursor: sw-resize;
    width: 1.25rem;
    height: 1.25rem;
    left: 0.625rem;
    bottom: 0
}

.grid-stack-th>.grid-stack-item-th>.ui-resizable-w {
    cursor: w-resize;
    width: 0.625rem;
    left: 0.625rem;
    top: 0.9375rem;
    bottom: 0.9375rem
}

.grid-stack-th>.grid-stack-item-th.ui-draggable-dragging>.ui-resizable-handle {
    display: none!important
}

.grid-stack-th>.grid-stack-item-th[gs-w='1'] {
    width: 50%
}

.grid-stack-th>.grid-stack-item-th[gs-x='0'] {
    left: 0;
    padding-right:0.5rem;
    padding-bottom: 1rem;
}
.grid-stack-th>.grid-stack-item-th[gs-w='1'][gs-x='0'] .ui-resizable-se{
    right: 1rem !important;
}
.grid-stack-th>.grid-stack-item-th[gs-x='1'] {
    left: 50%;
    padding-left:0.5rem;
    padding-bottom: 1rem;
}

.grid-stack-th>.grid-stack-item-th[gs-min-w='1'] {
    min-width: 50%
}

.grid-stack-th>.grid-stack-item-th[gs-max-w='1'] {
    max-width: 50%
}

.grid-stack-th>.grid-stack-item-th[gs-w='2'] {
    width: 100%;
    padding-right:0 !important;
    padding-bottom: 1rem;
}

.grid-stack-th>.grid-stack-item-th[gs-x='2'] {
    left: 100%
}

.grid-stack-th>.grid-stack-item-th[gs-min-w='2'] {
    min-width: 100%
}

.grid-stack-th>.grid-stack-item-th[gs-max-w='2'] {
    max-width: 100%
}

.grid-stack-th.grid-stack-animate .grid-stack-item-th {
    -webkit-transition: left .3s, top .3s, height .3s, width .3s;
    -moz-transition: left .3s, top .3s, height .3s, width .3s;
    -ms-transition: left .3s, top .3s, height .3s, width .3s;
    -o-transition: left .3s, top .3s, height .3s, width .3s;
    transition: left .3s, top .3s, height .3s, width .3s
}

.grid-stack-th.grid-stack-animate .grid-stack-item-th.grid-stack-placeholder,
.grid-stack-th.grid-stack-animate .grid-stack-item-th.ui-draggable-dragging,
.grid-stack-th.grid-stack-animate .grid-stack-item-th.ui-resizable-resizing {
    -webkit-transition: left 0s, top 0s, height 0s, width 0s;
    -moz-transition: left 0s, top 0s, height 0s, width 0s;
    -ms-transition: left 0s, top 0s, height 0s, width 0s;
    -o-transition: left 0s, top 0s, height 0s, width 0s;
    transition: left 0s, top 0s, height 0s, width 0s
}

/******************************/

.grid-stack-item-th .ui-resizable-se {
    right: 0.5rem !important;
    bottom: 1.5rem !important;
}

.grid-th-box{
    border-radius: 1rem;
    border: 1px solid var(--main-popup-group-box-border);
    width: 100%;
    float: left;
    height:100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--grid-item-bg-color);
}

.grid-stack-item-th:not(.ui-draggable-disabled) .grid-stack-item-th-heading {
    cursor: move;
}

.grid-stack-item-th-heading {
    background: #333;
}

.grid-stack-th-panel {
    /* padding-left: 0.625rem;
    padding-right: 0.625rem; */
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    border: 1px solid var(--main-popup-group-box-border);
    overflow: hidden;
}

.grid-stack-th-panel-loader {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    border-radius: 0.625rem;
    background: rgba(0, 0, 0, 0.7);
    background: var(--grid-stack-th-panel-loader-bg);
    z-index:8;
}

.grid-stack-th-panel-loader table,
.grid-stack-th-panel-loader tr,
.grid-stack-th-panel-loader td {
    text-align: center;
    vertical-align: middle;
    width: 100%;
    height: 100%;
}
    
#gridTimeHistoryFromDateTime .dropdown-menu,
#gridTimeHistoryToDateTime .dropdown-menu {
    position: absolute;
}

#gridTimeHistoryFromDateTime .list-unstyled,
#gridTimeHistoryToDateTime .list-unstyled {
    display: block;
}

#heatmapSidebarFromPicker,
#heatmapSidebarToPicker {
    width: 100%;
    max-width: 100%;
}
#heatmapSidebarFromPicker .input-group-text,
#heatmapSidebarToPicker .input-group-text {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
}

.jstree-default .jstree-search {
    color: #209020 !important;
}

.jstree-default .jstree-hovered {
    background: #457ab180 !important;
}

.jstree-default .jstree-clicked:not(.jstree-hovered) {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#results-tree-container,
#markers-tree-container,
#panels-tree,
.timehistory-settings-section {
    margin-top: 0.3125rem;
    background: var(--resultstree-bg);
    border-radius: 0.3125rem;
    padding: 0.625rem;
    margin-bottom:1rem;
}

#results-tree-container,
#markers-tree-container {
    height: 90%;
    width:100%;
    overflow: hidden;

}

#results-tree,
#markers-tree {
    overflow: hidden;
    width: 100%;
}

#results-tree .popover,
#meteo-results-tree .popover {
    position: fixed;
}

#results-tree-warning {
    position: absolute;
    left: 0rem;
    top: 0rem;
    right: 0rem;
    z-index: 10000;
    border-radius: 0.3125rem;
    padding: 0.625rem;
    margin: 0.9375rem;
    background: #fff;
    box-shadow: 0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.2), 0 0.375rem 1.25rem 0 rgba(0, 0, 0, 0.2);
}

#results-tree-progress {
    display: block;
    position: absolute;
    left: 0rem;
    top: 0rem;
    right: 0rem;
    bottom: 0rem;
}

.slick-sort-indicator-desc {
    background: url(images/sort-desc.gif);
}
  
.slick-sort-indicator-asc {
    background: url(images/sort-asc.gif);
}

.slick-sort-indicator {
    margin-left: 0rem !important;
}

#eventlist-events .slick-header,
#eventlist-selevent-summary .slick-header,
#eventlist-vibdose-workers .slick-header {
    background: var(--eventlist-header-bg-color);
    height: auto !important;
}

#eventlist-events .slick-header-column,
#eventlist-selevent-summary .slick-header-column,
#eventlist-vibdose-workers .slick-header-column,
#vibdose-wb-grid .slick-header-column {
    background: var(--eventlist-header-bg-color);
    color: var(--eventlist-header-text-color);
    border: 1px solid var(--eventlist-border-color);
}

#eventlist-events .slick-cell:not(.selected),
#eventlist-selevent-summary .slick-cell,
#eventlist-vibdose-workers .slick-cell,
#vibdose-wb-grid .slick-cell {
    color: #333;
    color: var(--eventlist-text-color);
    border-right-color: #000 !important;
    border-right-color: var(--eventlist-border-color) !important;
}

#eventlist-events .slick-cell > div,
#eventlist-selevent-summary .slick-cell > div {
    padding: 0.3rem;
}

#eventlist-events .slick-cell {
    border-right-color: #000 !important;
    border-right-color: var(--eventlist-border-color) !important;
}

#eventlist-events .slick-header-column:last-child,
#eventlist-selevent-summary .slick-header-column:last-child,
#eventlist-vibdose-workers .slick-header-column:last-child,
#vibdose-wb-grid .slick-header-column:last-child,
#eventlist-events .slick-cell:last-child,
#eventlist-selevent-summary .slick-cell:last-child,
#eventlist-vibdose-workers .slick-cell:last-child,
#vibdose-wb-grid .slick-cell:last-child {
    border-right: none !important;
}

#eventlist-events .slick-row.highlighted {
    /* background: var(--ui-state-default-bg) !important; */
    background: var(--active-blue) !important;
    color: var(--filled-button-color) !important;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

#eventlist-events .slick-cell.selected:first-child {
    background: transparent;
}

#eventlist-events .slick-row.odd:not(.highlighted):hover,
#eventlist-events .slick-row.even:not(.highlighted):hover {
    background: var(--eventlist-bg-active-color) !important;
}

#eventlist-events .slick-cell.selected:not(:first-child) {
    background: transparent !important;
}

#eventlist-events .slick-row.odd:not(.highlighted),
#eventlist-selevent-summary .slick-row.odd,
#eventlist-vibdose-workers .slick-row.odd,
#vibdose-wb-grid .slick-row.odd {
    background: var(--eventlist-bg-odd-color) !important;
    color: var(--eventlist-text-color) !important;
}

#eventlist-selevent-summary .slick-row.odd:hover,
#eventlist-selevent-summary .slick-row.even:hover,
#eventlist-vibdose-workers .slick-row.odd:hover,
#eventlist-vibdose-workers .slick-row.even:hover,
#vibdose-wb-grid .slick-row.odd:hover,
#vibdose-wb-grid .slick-row.even:hover {
    background: var(--eventlist-bg-active-color) !important;
}

#eventlist-events .slick-row.even:not(.highlighted),
#eventlist-selevent-summary .slick-row.even,
#eventlist-vibdose-workers .slick-row.even,
#vibdose-wb-grid .slick-row.even {
    background: var(--eventlist-bg-even-color) !important;
    color: var(--eventlist-text-color) !important;
}

#eventlist-container {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;

}

#eventlist-title {
    position: absolute;
    left: 1rem;
    top: 1rem;
    right: 1rem;
    height: 3.125rem;
}

#eventlist-events-container {
    position: absolute;
    left: 30.625rem; /*410px;*/
    top: 4.125rem;
    right: 1rem;
}

.userHeight #eventlist-events-container {
    bottom: 0rem;
    overflow-y: scroll;
}

#eventlist-events-container.no-events {
    left: 1rem;
}

#eventlist-container .grid-stack-th-panel-loader {
    z-index: 101;
}

#eventlist-docking-container {
    position: absolute;
    left: 1rem;
    top: 4.125rem;
    bottom: 0rem;
    width: 30rem; /*400px;*/
    overflow: hidden;
    padding-right: 0.75rem;
}

#eventlist-docking-container .ui-resizable-e {
    width: 0.75rem;
    right: 0px;
}

#eventlist-docking-container .slick-viewport {
    overscroll-behavior: 'none';
    overflow-x: hidden !important;
}

#eventlist-events {
    width: 100%;
}

#eventlist-selevent-summary-container {
    margin-bottom: 0.625rem;
}

#eventlist-selevent-summary {
    position: relative;
    background: #fff;
}

#eventlist-table tr td {
    padding-top: 0.625rem;
}

#eventlist-table tr td.fullScreened {
    padding-top: 0rem;
}

.eventlist-table-note-button,
.eventlist-table-remove-event,
.eventlist-table-maximize-event,
.eventlist-table-minimize-event {
    height: 1em;
    font-size: 2em;
    line-height: 1em;
    cursor: pointer;
    fill: var(--filled-button-color);
    transition: all .3s ease-in-out;
}

.eventlist-table-note-button:hover,
.eventlist-table-remove-event:hover,
.eventlist-table-maximize-event:hover,
.eventlist-table-minimize-event:hover {
    filter: opacity(0.5);
}

#eventlist-selevent-noevent,
#eventlist-selevent-empty {
    display: block;
    position: absolute;
    left: 0rem;
    top: 0rem;
    right: 0rem;
    bottom: 0rem;
    font-size: 1.125rem;
    padding-left: 0rem;
}

@media(max-width: 81rem) {
    #eventlist-container {
        display: flex;
        flex-direction: column;
    }
    #eventlist-title,
    #eventlist-docking-container,
    #eventlist-events-container,
    #eventlist-selevent-noevent,
    #eventlist-selevent-empty {
        position: relative !important;
        width: 100% !important;
        left: 0rem !important;
        top: unset !important;
        bottom: unset !important;
    }
    #eventlist-docking-container {
        flex-grow: 1;
        overflow: visible;
    }
    #eventlist-events-container {
        padding-top: 0.625rem;
    }
    #eventlist-docking-container .slick-viewport {
        overscroll-behavior: 'contain';
    }
    #eventlist-container {
        left: 1rem;
        top: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
    #eventlist-docking-container .ui-resizable-e {
        width: 0;
    }
    #eventlist-docking-container{
        padding-right: 0;
        padding-top: 1rem;
    }
}

#eventlist-selevent-values {
    height: auto;
    /* font-size: larger !important; */
    padding: 0 0 0.5rem 0;
    margin: 0;
}

#eventlist-selevent-values th {
    font-weight: normal;
}

.eventlist-selevent-header {
    cursor: pointer;
    color: var(--filled-button-color);
    background: var(--active-blue);
    margin-bottom: 0.1875rem;
    padding: 0rem 0.75rem 0rem 0.75rem;
    border-radius: 1rem;
}

.eventlist-slick-checkboxsel {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.eventlist-slick-checkboxsel input[type="checkbox"] {
    margin: 0;
}

#eventlist-add-filter {
    float: right;
    line-height: 1em;
    font-size: 1em;
    cursor: pointer;
    transition: all .3s ease-in-out;
}

#eventlist-add-filter .glyphicon {
    top: 0.125rem;
}

.eventlist-filter-block {
    padding: 0.3125rem;
    margin-bottom: 0.1875rem;
    /* border: 1px solid white; */
    border-radius: 0.3125rem;
    background: var(--eventlist-header-bg-color);
}

.eventlist-filter-block input,
.eventlist-filter-block select {
    height: 2.3rem;
    margin-right: 0.3125rem;
}

.eventlist-filter-block input {
    width: 30%;
}

.eventlist-filter-block span {
    line-height: 1.5;
    cursor: pointer;
    transition: all .3s ease-in-out;
    display: inline-flex;
    height: 2.3rem;
    align-items: center;
    top:1px;
}

.eventlist-filter-block span:hover {
    color: var(--button-blue-bg-top);
}

#eventlist-audio-icon,
#eventlist-note-icon {
    /*position: absolute;
    right: 0rem;
    width: 1em;*/
    position: relative;
    top: -0.25rem;
    min-width: 1.25em;
    padding-left: 0.25rem;
}
#eventlist-note-icon {
    padding-right:0.15rem;}



.eventlist-ai-icon {
    width: 2.2rem;
    height: 2.2rem;
    padding-right: 0.25rem;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.eventlist-ai-class {
    min-width: 0;
}

.eventlist-ai-class span {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.eventlist-ai-confidence {
    margin: 0.25rem;
}

.eventlist-ai-confidence svg {
    width: 2.2rem;
    height: auto;
}

.eventlist-ai-confidence.confidence-low svg {
    fill: #ff3332;
}

.eventlist-ai-confidence.confidence-mediumlow svg {
    fill: #eb7a18;
}

.eventlist-ai-confidence.confidence-medium svg {
    fill: #efab00;
}

.eventlist-ai-confidence.confidence-mediumhigh svg {
    fill: #30b945;
}

.eventlist-ai-confidence.confidence-high svg {
    fill: #2e8c3c;
}

#eventlist-events .slick-row.highlighted svg#confidence-high,
#eventlist-selevent-summary .slick-row.highlighted svg#confidence-high {
    fill: var(--ai-confidence-high-sel);
}

.eventlist-ai-icon svg {
    fill:#f46e00;
    max-height: 2rem;
    max-width: 1.5rem;
}

#eventlist-events .slick-row:not(.highlighted) #eventlist-audio-icon svg,
#eventlist-selevent-summary .slick-row:not(.highlighted) #eventlist-audio-icon svg,
#eventlist-events .slick-row:not(.highlighted) #eventlist-note-icon svg,
#eventlist-selevent-summary .slick-row:not(.highlighted) #eventlist-note-icon svg {
    fill: var(--eventlist-text-color);
}

#eventlist-events .slick-row.highlighted #eventlist-audio-icon svg,
#eventlist-selevent-summary .slick-row.highlighted #eventlist-audio-icon svg,
#eventlist-events .slick-row.highlighted #eventlist-note-icon svg,
#eventlist-selevent-summary .slick-row.highlighted #eventlist-note-icon svg {
    fill: var(--filled-button-color);
}

.grid-stack-th-panel .timehistory-legend-container td {
    display: inline-block;
}

.timehistory-legend-color-box {
    cursor: pointer;
    /* margin-left: 0.3125rem; */
}

.th-plot-table {
    /* background: #ddd;
    background: var(--th-plot-table-bg); */
    width:100%;
    padding-left: 0.3125rem;
    min-width: 9.375rem;
    overflow: auto;
    margin-right: 0.625rem;
    scrollbar-width: thin;
}

.th-plot-table::-webkit-scrollbar {
    width: 0.625rem !important;
}

.th-plot-table::-webkit-scrollbar-thumb {
    border-left: 0.125rem solid var(--grid-item-bg-color) !important;
}

.th-plot-table table {
    width: 100%;
}

.th-plot-table table,
#eventlist-events,
#eventlist-selevent-summary,
#eventlist-vibdose-workers,
#vibdose-wb-grid {
    background: #fff;
    background: var(--th-event-table-bg);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 0.3125rem;
    border: 1px solid #fff;
    border: 1px solid var(--eventlist-border-color);
    border-radius: 1rem;
    overflow: hidden;
}

#eventlist-vibdose-workers .slick-pane-header {
    border-top-right-radius: 1rem;
    border-top-left-radius: 1rem;
}

#eventlist-vibdose-workers {
    position: relative;
}

#vibdose-wb-grid{
    border-radius: 0;
}

.eventlist-selevent-row td.fullScreened {
    overflow: auto !important;
}

.th-plot-table th {
    background: #ccc;
    background: var(--panel-header-bg-color);
    padding-top: 0.3125rem;
    border-left: 1px solid #fff;
    border-left: 1px solid var(--eventlist-border-color);
}

.th-plot-table td:not(:first-child) {
    border-left: 1px solid var(--eventlist-border-color);
}

.th-plot-table-top-left-border {
    border-top-left-radius: 0.3125rem;
}

.th-plot-table-top-right-border {
    border-top-right-radius: 0.3125rem;
}

.th-plot-table-bottom-left-border {
    border-bottom-left-radius: 0.3125rem;
}

.th-plot-table-bottom-right-border {
    border-bottom-right-radius: 0.3125rem;
}

.th-plot-table th:first-child {
    border-left: 0;
}

.th-plot-table tr.even {
    background: #fff;
    /* background: var(--th-plot-table-tr-bg-even); */
    background: var(--eventlist-bg-even-color);
}

.th-plot-table tr.odd {
    background: #eee;
    /* background: var(--th-plot-table-tr-bg-odd); */
    background: var(--eventlist-bg-odd-color);
}

.th-plot-table th, .th-plot-table td {
    padding: .3rem;
}

.th-plot-table tr {
    color: #fff;
    color: var(--th-plot-table-color);
}

.th-plot-table tr.meteo {
    font-weight: bold;
}

.th-plot-table:not(.maximized) tr.envelope {
    display: none;
}

.th-plot-table .plot-table-event-value {
    color: #f00;
}
.th-plot-axis {
    flex: 0 0 15px;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.th-plot-axis>span {
    white-space: nowrap;
    /* padding-top: 20px; */
}
.wrapperDF {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
    flex-grow:1; 
    min-height:200px;
    display: flex;
    flex-direction: row;
    background-color: transparent;
}
.th-plot-placeholder {
    /* flex-basis: 80%; */
    width: 100%;
    /* flex: 0 0 75%; */
    position: relative;
}

.th-plot-placeholder.th-event-mode {
    width: 100%;
}

.th-plot-table-desktop-container {
    display: flex;
    width:22.5rem;
    /* flex-basis: 20%; */
    /* flex: 0 0 20%; */
}

.th-plot-table-desktop-container.th-event-mode {
    display: flex;
    /* flex: 0 0 35%; */
    width:35rem;
    /* flex-basis: 35%; */
    max-width: 35%;
}

.th-plot-table-mobile-container {
    display: none;
}

.th-plot-zoom-wrapper {
    padding-top: 0.3125rem;
    background: transparent;
}
.dir-chart-wrapper{
    flex-direction: row
}
.dir-chart-container-z{
    width:30vw;
    height:40vw; 
    max-width:27rem;
    overflow:visible;
    display:block;
    max-width:500px; 
    max-height:500px;

}

.dir-chart-container{
    display:flex;
    height:40vw; 
    width:40vw; 
    justify-content:center; 
    max-width:500px; 
    max-height:500px;
    float:right

}

@media(max-width: 768px) {
    .dir-chart-wrapper{
        flex-direction: column;
    }
    .dir-chart-container{
        width:100%;    
        min-width:200px;
        min-height:200px;
    }
    .dir-chart-container-z{
        width:100%;
        max-width:500px;
        min-width:200px;
        display:flex;
        justify-content: center;
        min-height:200px;
    }
    .th-plot-placeholder,
    .th-plot-placeholder.th-event-mode {
        /* flex-basis: 100%; */
        width:100%;
    }
    .th-plot-table-desktop-container,
    .th-plot-table-desktop-container.th-event-mode {
        display: none;
    }
    .th-plot-table-mobile-container {
        display: flex;
        max-height: 9.375rem;
        overflow-y:auto
    }
    .th-plot-table {
        padding-top: 0.5rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        margin: 0rem;
    }
    .th-plot-zoom-wrapper {
        padding-top: 0rem;
        padding-bottom: 0.3125rem;
    }
}

@media(min-width: 1920px) {
    .th-plot-placeholder,
    .th-plot-placeholder.th-event-mode,
    .th-plot-table-desktop-container,
    .th-plot-table-desktop-container.th-event-mode
    {
        flex-basis: unset;
    }
    .th-plot-table-desktop-container {
        width: 22rem;
    }
    .th-plot-table-desktop-container.th-event-mode {
        width: 27rem;
        max-width: unset;
    }
}

.results-status {
    display: block;
    transition: opacity .3s ease-in-out;
    opacity: 0;
    text-align: center;
    padding-top:0.3125rem;
}

.results-status.visible {
    opacity: 1;
}

.xaxisLabel {
	color: var(--plot-axis-x-color) !important;
}

.limit-line-close-btn .glyphicon {
    margin-right: 0px;
}

.chart-note-popover {
    z-index: 100 !important;/*2000*/
}
.chart-note-popover.bs-popover-top {
    margin-bottom: 0.65rem;
}

.chart-note-popover.popover {
    white-space: normal;
    max-width: min(25rem, 92vw);
}
.chart-note-popover .popover-body {
    white-space: normal;
}
.chart-note-popover .popover-header {
    font-size: 0.875rem !important;
    line-height: 1.25;
    font-family: "Open Sans", Helvetica, Arial, sans-serif !important;
    font-weight: 600;
    text-align: left;
    margin: 0;
    padding: 0.5rem 0.875rem;
    background-color: #f7f7f7;
    border-bottom: 1px solid #ebebeb;
    border-radius: 0.3125rem 0.3125rem 0 0;
}
.chart-note-content-container .chart-note-main-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
}
.chart-note-content-container .chart-note-content {
    flex: 1 1 auto;
    min-width: 0;
}
.chart-note-content-container .chart-note-actions {
    flex-shrink: 0;
    white-space: nowrap;
    padding-bottom: 0.3em;
}
.chart-note-content-container .chart-note-more-row {
    text-align: center;
    width: 100%;
    margin-top: 0.25rem;
}

.chart-more-notes-btn {
    cursor: default;
    opacity: 0.85;
}

.chart-note-popover-topmost {
    z-index: 108 !important;
}  

.note-alert {
    border: 1px solid red !important;
}

.chart-note {
    position: absolute;
    width: 0;
    height: 0;
    overflow: visible;
}

.chart-note-content {
    max-width: 25em;
    max-height: 20em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.chart-note-remove,
.chart-note-edit,
.chart-note-edpand {
    transition: all 0.3s ease-in-out;
}

.chart-note-remove:hover,
.chart-note-edit:hover,
.chart-note-expand:hover {
    color: red;
    cursor: pointer;
}

.marker-popover {
    white-space: normal;
}
.image-spin {
    -webkit-animation:spin 2s linear infinite;
    -moz-animation:spin 2s linear infinite;
    animation:spin 2s linear infinite;
}

.event-chart-caption.legend-caption{
    padding-top:.375rem;
}
@media (min-resolution: 120dpi) { 
    .event-chart-caption.legend-caption{
        padding-top:.6rem;
    }
    .point-name-legend{
    margin-top: 0.1875rem;

    }
}
.point-name-legend{
  padding-right:5px; 
  margin-top: 0.375rem;
}

#sideMenu .th-tables-hours-fromto,
#th-tables-time-range .th-tables-hours-fromto {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  box-sizing: border-box;
  width: 100%;
}

#sideMenu .th-tables-specific-hours-pair,
#th-tables-time-range .th-tables-specific-hours-pair {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 0.5rem;
  flex: 1 1 0;
  min-width: 0;
}

#sideMenu .th-tables-specific-hours-label,
#th-tables-time-range .th-tables-specific-hours-label {
  color: var(--text-white-on-black, #eee);
  white-space: nowrap;
}

#sideMenu .th-tables-specific-hours-select,
#th-tables-time-range .th-tables-specific-hours-select {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100%;
  border-radius: 6px;
  box-sizing: border-box;
}

#sideMenu .th-tables-logger-step-li,
#th-tables-time-range .th-tables-logger-step-li {
  width: auto;
  max-width: 100%;
}

#sideMenu .th-tables-logger-step-wrap,
#th-tables-time-range .th-tables-logger-step-wrap {
  width: auto !important;
  max-width: 16rem;
  display: flex !important;
  flex-wrap: nowrap;
}

#sideMenu .th-tables-logger-step-wrap > select,
#th-tables-time-range .th-tables-logger-step-wrap > select {
  width: 100% !important;
  max-width: 16rem;
  min-width: 8.5rem;
  box-sizing: border-box;
  border-radius: 6px;
}

#sideMenu .th-tables-interval-row,
#th-tables-time-range .th-tables-interval-row,
#specificHoursMeteoWrapper .th-tables-interval-row,
#specificHoursWrapperQ .th-tables-interval-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0.625rem;
  float: none;
}

#sideMenu .th-tables-interval-label,
#th-tables-time-range .th-tables-interval-label,
#specificHoursMeteoWrapper .th-tables-interval-label,
#specificHoursWrapperQ .th-tables-interval-label {
  white-space: nowrap;
  color: var(--text-white-on-black, #eee);
}

#sideMenu .th-tables-interval-select,
#th-tables-time-range .th-tables-interval-select,
#specificHoursMeteoWrapper .th-tables-interval-select,
#specificHoursWrapperQ .th-tables-interval-select {
  width: 100% !important;
  min-width: 0;
  margin-top: 0 !important;
  border-radius: 6px;
  box-sizing: border-box;
}

.timehistory-settings-section ul.list-inline > li.staticMeasurementPeriodUl:first-of-type {
  margin-top: 0.5rem;
}

.timehistory-settings-section li.staticMeasurementPeriodUl > label,
#th-tables-time-range li.staticMeasurementPeriodUl > label {
  display: block;
  margin: 0 0 0.25rem 0;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-white-on-black, #fff);
}

.timehistory-settings-section ul.list-inline > li.staticMeasurementPeriodUl:nth-of-type(2) {
  margin-top: 0.5rem;
}

#sideMenu .measuringPeriod .input-group.date.filter-bar-component.events-datetimepicker:not(select),
.timehistory-settings-section .input-group.date.filter-bar-component.events-datetimepicker:not(select),
#th-tables-time-range .input-group.date.filter-bar-component.events-datetimepicker:not(select) {
  position: relative !important;
  isolation: isolate !important;
  border: none !important;
  border-radius: 6px !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

#sideMenu .measuringPeriod .input-group.date.filter-bar-component.events-datetimepicker:not(select)::after,
.timehistory-settings-section .input-group.date.filter-bar-component.events-datetimepicker:not(select)::after,
#th-tables-time-range .input-group.date.filter-bar-component.events-datetimepicker:not(select)::after {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  border: 1px solid var(--background-fix-border-color) !important;
  border-radius: 6px !important;
  pointer-events: none !important;
  z-index: 2 !important;
  box-sizing: border-box !important;
}

.timehistory-settings-section .th-settings-lastx-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 0.5rem;
}

.timehistory-settings-section .th-settings-lastx-input,
.timehistory-settings-section select.th-settings-lastx-units {
  flex: 1 1 0;
  min-width: 0;
  width: auto !important;
  max-width: none !important;
  height: 2.25rem;
  border-radius: 0.5rem !important;
  border: 1px solid var(--background-fix-border-color, #d7d9df) !important;
  background: var(--background-fix-bg, #fff) !important;
  color: #1c1d1d !important;
  box-sizing: border-box !important;
  margin-top: 0 !important;
}

.timehistory-settings-section .th-settings-lastx-input {
  line-height: 1.2 !important;
  padding: 0.25rem 0.625rem 0.45rem 0.625rem !important;
}

.timehistory-settings-section select.th-settings-lastx-units {
  line-height: 1.2 !important;
  padding-top: 0.25rem !important;
  padding-bottom: 0.45rem !important;
  padding-left: 0.625rem !important;
  padding-right: 2.25rem !important;
}

.timehistory-settings-section #gridTimeHistoryPeriod:focus,
.timehistory-settings-section #gridTimeHistoryPeriod:focus-visible,
.timehistory-settings-section .th-settings-lastx-input:focus,
.timehistory-settings-section .th-settings-lastx-input:focus-visible,
.timehistory-settings-section select.th-settings-lastx-units:focus,
.timehistory-settings-section select.th-settings-lastx-units:focus-visible {
  outline: none;
  border-color: var(--active-blue, #27b6ff) !important;
  box-shadow: 0 0 0 1px var(--active-blue, #27b6ff);
}

.timehistory-settings-section .flex-switch-display:has(.event-settings-control) > span:first-child {
  flex: 1 1 0;
  min-width: 0;
  padding-right: 0.625rem;
}

.timehistory-settings-section .flex-switch-display > .event-settings-control {
  flex: 0 0 9.375rem;
  width: 9.375rem;
  margin-left: auto;
}

.timehistory-settings-section .flex-switch-display > .event-settings-control .events-datetimepicker {
  width: 100% !important;
}

.timehistory-settings-section .th-settings-last-full-day-toggle {
  align-items: center;
  margin: 0.75rem 0 0 0;
  width: 100%;
  box-sizing: border-box;
}

.timehistory-settings-section .th-settings-last-full-day-toggle-label {
  align-items: center;
  gap: 0.35rem;
  color: var(--text-white-on-black);
  font-size: 0.9rem;
  line-height: 1.3;
  flex: 1 1 auto;
  min-width: 0;
}

.timehistory-settings-section .th-settings-last-full-day-toggle-label .glyphicons {
  opacity: 0.85;
}

#sideMenuWrapper #accordion .inhere select.input-group.events-datetimepicker:not(.th-settings-lastx-units),
#sideMenuWrapper #accordion .inhere input.form-control.background-fix[type="text"],
#sideMenuWrapper #accordion .inhere input.form-control.background-fix[type="number"]:not(.th-settings-lastx-input),
#sideMenu #accordion .inhere select.input-group.events-datetimepicker:not(.th-settings-lastx-units),
#sideMenu #accordion .inhere input.form-control.background-fix[type="text"],
#sideMenu #accordion .inhere input.form-control.background-fix[type="number"]:not(.th-settings-lastx-input) {
  box-sizing: border-box !important;
  line-height: 1.2 !important;
  padding-top: 0.25rem !important;
  padding-bottom: 0.45rem !important;
  padding-left: 0.625rem !important;
  padding-right: 0.625rem !important;
}

select.input-group {
  align-items: center !important;
}

