/* z-index is 1 higher than the highest sidebar component behind the wrapper (see extraFunctionalityTemplate) */
.FullHeightSidebarWrapper {
    background: white;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 101;
    max-width: 389px; /* this mirrors the gantt.css sidebar width to allow tab nesting */
}

.FullHeightSidebarWrapper-headerWrapper,
.FullHeightSidebarWrapper-subtitle,
.FullHeightSidebarWrapper-default,
.FullHeightSidebarWrapper-actions {
    padding: 0 15px;
}

.FullHeightSidebarWrapper-content {
    flex: 1;
    display: flex; /* Propagate flex behavior to children */
    flex-direction: column;
    overflow: hidden;
}

.FullHeightSidebarWrapper-default {
    flex: 1;
    display: flex; /* Propagate flex behavior to children */
    flex-direction: column;
    overflow: hidden;
}

.FullHeightSidebarWrapper-headerWrapper {
    align-items: center;
    background-color: var(--surface-subtle-light);
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    padding-top: 10px;
}

.FullHeightSidebarWrapper-sidebarHeader {
    color: #5d6067;
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    margin: 0;
}

.FullHeightSidebarWrapper-scrollable {
    overflow-y: auto;
}

.FullHeightSidebarWrapper-subtitle {
    margin: 15px 0 10px;
}

.FullHeightSidebarWrapper-text {
    margin: 10px 0;
}

.FullHeightSidebarWrapper-closeButton {
    align-items: center;
    background-color: var(--surface-subtle-light);
    border: none;
    border-radius: 0.25em;
    display: flex;
    height: 20px;
    justify-content: center;
    padding: 0;
    width: 20px;
}

.FullHeightSidebarWrapper-closeButton:hover,
.FullHeightSidebarWrapper-closeButton:active {
    background-color: #ebebeb;
    color: inherit;
}

.FullHeightSidebarWrapper-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
    padding: 10px 15px;
}

.FullHeightSidebarWrapper-actions .Btn {
    margin-left: 10px;
}
