.GanttSidebarSection {
    padding: 10px;
}

.GanttSidebarSection--withBorderBottom {
    border-bottom: 1px solid #6c757d;
}

.GanttSidebarSection-header {
    position: relative;
}

.GanttSidebarSection--collapsible .GanttSidebarSection-header {
    cursor: pointer;
}

.GanttSidebarSection--collapsible.is-expanded .GanttSidebarSection-header {
    margin-bottom: 8px;
}

.GanttSidebarSection-headerRight {
    align-items: center;
    display: flex;
    gap: 5px;
    justify-content: center;
}

.GanttSidebarSection-headerText--withHeaderRight {
    /* buttons on top-right give the header enough extra height */
    margin-bottom: 0;
}

/* AR: this targets slot content - we are intentionally avoiding our SUIT naming convention */
.GanttSidebarSection .Btn {
    height: 28px;
    padding: 0 10px;
}

.GanttSidebarSection--collapsible.is-expanded .GanttSidebarSection-content {
    padding-left: 22px;
}

.GanttSidebarSection .GanttSidebarSection-collapseButton,
.GanttSidebarSection .GanttSidebarSection-collapseButton:hover,
.GanttSidebarSection .GanttSidebarSection-collapseButton:active {
    background-color: transparent;
    border-color: transparent;
    color: inherit;
    height: auto;
    padding: 0;
    width: 20px;
}

.GanttSidebarSection-headerText {
    font-size: 1em;
    font-weight: var(--font-weight-bold);
    margin-bottom: 0;
    margin-right: 5px;
}

.GanttSidebarSection-headerSubtitle {
    flex: 1 0 0;
    overflow: hidden;
}

.GanttSidebarSection-headerSubtitle-text {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
