/*------------------------------------
  THEME - GENERAL
------------------------------------*/
/* HTML */
html {
    position: relative;
}

/* BODY */
body {
    height: 0;
    min-height: 100vh;
    font-family: system-ui, sans-serif;
    font-size: 12pt;
    line-height: 1.5;
    color: #030303;
}

/* NAVBAR */
.navbar-logo {
    height: 30px;
}

/* CONTENT */
#content {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex: 1 1 100%;
}

/* FOOTER */
#footer {
    height: 30px;
}


/*------------------------------------
  GOOGLE MAPS
------------------------------------*/
.gm-style .gm-style-iw-chr {
    font-weight: bold;
}

.marker-highlight {
    filter: drop-shadow(0 0 4px #ffb400);
    transform: scale(1.2);
    transition: transform 0.15s ease, filter 0.15s ease;
    z-index: 9999;
}

/*------------------------------------
  BRYNTUM
------------------------------------*/
/*------------------------------------
  BRYNTUM - HELPER CLASSES
------------------------------------*/
.b-no-padding {
    padding: 0 !important;
}

.b-no-margin {
    margin: 0 !important;
}

/*------------------------------------
  BRYNTUM - PANEL
------------------------------------*/
.b-panel-header {
    padding: .45em;
}

/*------------------------------------
  BRYNTUM - SCHEDULER
------------------------------------*/
#bryntum-scheduler .b-sch-header-row[data-header-position="2"] .b-sch-header-text {
    padding-inline-start: 0.25em;
    padding-inline-end: 0.25em;
    font-size: 8px;
}

#bryntum-scheduler .b-sch-event {
    border-radius: 3px;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.25);
    border-left: 3px solid red;
}

/* highlight */
#bryntum-scheduler .b-sch-event.scheduler-highlighted-event {
    box-shadow: 0 0 12px 3px var(--event-color);
    z-index: 2;
}


/*------------------------------------
  BRYNTUM - TREEGRID
------------------------------------*/
/* tbar */
.treegrid-unplanned-tbar .b-toolbar-content {
    min-height: auto !important;
}

.treegrid-unplanned-tbar .b-toolbar-content > .b-button {
    min-height: auto !important;
}

/* group */
#bryntum-treegrid .b-tree-parent-cell .b-tree-cell-inner .b-tree-expander,
#bryntum-treegrid .b-tree-parent-cell .b-tree-cell-inner .b-tree-icon,
#bryntum-treegrid .b-tree-parent-cell .b-tree-cell-inner .b-tree-cell-value {
    margin-left: 0;
    margin-right: 0;
}

#bryntum-treegrid .b-tree-parent-cell .b-tree-cell-inner .b-tree-cell-value {
    padding-inline-start: 0.25em;
}

/* leafs */
#bryntum-treegrid .b-grid-row {
    cursor: pointer;
}

#bryntum-treegrid .b-grid-row:not(.b-tree-parent-row):nth-child(even) {
    background-color: #f2f2f2;
}

#bryntum-treegrid .b-grid-row .b-grid-cell .b-tree-cell-inner {
    padding-inline-start: 0 !important;
}

#bryntum-treegrid .b-grid-row .b-grid-cell .b-tree-cell-inner .b-tree-icon.b-none {
    display: none;
}

#bryntum-treegrid .b-grid-row .b-grid-cell:not(.b-tree-parent-cell) .b-tree-cell-inner .b-tree-cell-value {
    padding-inline-start: 22px !important;
}

/* highlight */
#bryntum-treegrid .b-selected {
    background: none !important;
}

#bryntum-treegrid .b-grid-row.treeGrid-hovered-row,
#bryntum-treegrid .b-grid-row.treeGrid-selected-row {
    background: #FFF0D9 !important;
    z-index: 2;
}

#bryntum-treegrid .b-grid-row.treeGrid-selected-row {
    box-shadow: 0 0 12px 2px #FFCD82;
}