#main{
  display:flex;
  flex-direction:row;
  flex:1 1 100%;
  margin:3em;
}
#main .b-resourceheader{
  height:100%;
}

body.b-theme-classic .b-panel{
  color:#222;
}

body:not(.b-theme-classic-dark, .b-theme-material, .b-theme-classic) .b-panel{
  --panel-background-color:#fff;
}
body:not(.b-theme-classic-dark, .b-theme-material, .b-theme-classic) .b-sch-header-timeaxis-cell,
body:not(.b-theme-classic-dark, .b-theme-material, .b-theme-classic) .b-grid-header{
  color:#222;
}
body:not(.b-theme-classic-dark, .b-theme-material, .b-theme-classic) .b-grid-row.b-tree-parent-row{
  border-block:0.5px solid #e9eaeb;
}
body:not(.b-theme-classic-dark, .b-theme-material, .b-theme-classic) .b-grid-row.b-tree-parent-row.b-tree-expanded{
  box-shadow:rgba(0, 0, 0, 0.08) 0 2px 4px 0;
}
body:not(.b-theme-classic-dark, .b-theme-material, .b-theme-classic) .b-grid-row.b-tree-parent-row .b-tree-cell{
  padding-inline-end:0.3em;
  font-weight:400;
  color:#333;
}
body:not(.b-theme-classic-dark, .b-theme-material, .b-theme-classic) .b-daily-hours{
  background:#f0f0f0;
  color:#777;
}
body:not(.b-theme-classic-dark, .b-theme-material, .b-theme-classic) .b-grid-splitter{
  background:#d8d9da;
}

.b-theme-classic-dark .b-panel{
  --panel-background-color:#222;
}
.b-theme-classic-dark .b-daily-hours{
  background:#666;
}
.b-theme-classic-dark .b-grid-header .b-sch-timerange label{
  color:#3183fe;
}

.b-sch-event:not(.b-milestone){
  border-radius:0.5em;
}
.b-sch-event:not(.b-milestone) div.b-wrap{
  display:flex;
  width:100%;
}
.b-sch-event:not(.b-milestone) i.b-fa{
  margin-inline:auto 0;
}

.b-tree-parent-row .b-timeaxis-cell{
  align-items:flex-start;
}

.b-tree-summary-cell{
  position:relative;
}

.b-tree-summary-cell{
  font-size:0.9em;
  font-weight:400;
}

.b-tree-cell-value .b-resource-avatar{
  margin-inline-end:1em;
}

.b-icon-tree-leaf{
  display:none;
}

.b-grid-headers-locked .b-grid-header,
.b-grid-headers-locked .b-grid-cell,
.b-grid-subgrid-locked .b-grid-header,
.b-grid-subgrid-locked .b-grid-cell{
  padding-inline:1em;
}

.b-horizontaltimeaxis .b-sch-header-row{
  flex:1 0 2.5em;
}
.b-horizontaltimeaxis .b-sch-header-row.b-lowest .b-sch-header-text{
  text-align:center;
  text-transform:uppercase;
  font-weight:400;
  font-size:0.85em;
}

.b-sch-event .b-sch-event-content{
  display:flex;
  flex:1;
  flex-direction:column;
  align-items:flex-start;
  font-size:0.9em;
}
.b-sch-event .b-sch-event-content .b-event-duration{
  inset-inline-end:0;
  font-size:0.9em;
  font-weight:400;
}

.b-tree-icon, .b-icon-tree-leaf, .b-icon-tree-folder, .b-icon-tree-folder-open, .b-icon-tree-expand, .b-icon-tree-collapse{
  color:inherit;
}

.b-readonly > .b-grid-cell{
  color:inherit;
}

.b-column-lines-canvas,
.b-sch-nonworkingtime{
  z-index:0;
}

.b-sch-clockwrap:not(:first-child){
  margin-top:1em;
}

.b-tree-cell-inner .b-fa{
  color:rgb(var(--widget-primary-color-rgb));
  margin-inline-end:1em;
}

.b-sch-dayheadercell-6,
.b-sch-dayheadercell-0{
  opacity:0.5;
}

.b-daily-hours{
  border-radius:1em;
  padding:0.3em 1em;
  margin-inline-start:1em;
  font-weight:400;
  order:1;
  margin-inline:auto 1em;
  font-size:0.75em;
}

.b-grid-row.b-tree-parent-row .b-tree-cell{
  padding-inline-end:0.3em;
  font-weight:400;
}

.b-grid-row:not(.b-tree-parent-row){
  border-color:transparent;
}
.b-grid-row:not(.b-tree-parent-row) .b-tree-cell-value{
  justify-content:flex-end;
}

.b-tree-expander{
  order:10;
}

.b-sch-horizontal .b-sch-event-wrap.b-sch-style-rounded:not(.b-milestone) .b-sch-event-content{
  margin:0.6em;
}

.b-over-allocated{
  font-weight:600;
  color:#e53f2c;
}

.b-grid-headerwidget.b-button{
  width:0.4em;
  height:0.6em;
  padding:0.6em;
  min-height:0;
}
.b-grid-headerwidget.b-button:last-of-type{
  margin-inline-end:0.2em;
}

.b-button-icon.b-fa-angles-down, .b-button-icon.b-fa-angles-up{
  font-size:0.7em;
}

.b-grid-header .b-day-highlight, .b-timeline-subgrid .b-day-highlight{
  background-color:rgba(49, 131, 254, 0.0705882353);
}
.b-grid-header .b-day-highlight{
  border-top:2px solid rgba(49, 131, 254, 0.6666666667);
}

.b-grid-header .b-sch-timerange{
  overflow:visible;
}
.b-grid-header .b-sch-timerange label{
  top:-2.5em;
  position:relative;
  overflow:visible;
  color:rgba(49, 131, 254, 0.6666666667);
}

