﻿:root {
    --oep-sidebar-width: 20em;
}

body {
    display: flex;
    flex-direction: column;
}

/* Main area grows to fill space below navbar */
.content-fill {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* Sidebar */
#sidebar {
    width: var(--oep-sidebar-width);
    min-width: var(--oep-sidebar-width);
    transition: margin-left 0.3s ease;
    border-right-color: var(--bs-border-color);
    border-right-style: solid;
    border-right-width: 1px;
}

    #sidebar.collapsed {
        margin-left: calc(-1 * var(--oep-sidebar-width));
    }

/* Main content */
#content {
    flex: 1;
    overflow: auto;
}

/* Page base */
.page {
    height: 100%;
    width: 100%;
}

/* Text pages (default) */
.page-text {
    padding: 1rem;
    overflow: auto;
}

/* Map pages */
.page-map {
    position: relative;
    padding: 0;
    margin: 0;
    overflow: hidden;
}