.badge { font-size: 0.875rem; line-height: 1.5em; padding: 0.25rem 0.5rem; }

:root { --card-cap-padding-y: 0.75rem; }

.card-header { padding-bottom: var(--card-cap-padding-y); padding-top: var(--card-cap-padding-y); }
.card-header .card-header-tabs { margin-bottom: calc(-1 * var(--card-cap-padding-y)); }

label.form-label, label.form-label a { color: var(--bs-secondary-color); font-size: 0.875rem; font-weight: bold; text-decoration: none; }

label.form-label a:hover { text-decoration: underline; }

main { margin: 0.75rem; }

.app-sidebar, .sidebar-content, .sidebar-content > .sticky-top { display: flex; flex-direction: column; }

.app-sidebar { min-width: var(--sidebar-width); }
.app-sidebar .btn-light i.bi { margin-right: 0.25rem; }
.app-sidebar .d-grid > .d-grid .btn { padding-left: 2.25rem; }
.app-sidebar .sidebar-content .sidebar-section-header { display: flex; align-items: center; justify-content: space-between; }
.app-sidebar .sidebar-content .sidebar-section-header label { margin: 0; }
.app-sidebar .sidebar-content .sticky-top { height: 100vh; justify-content: space-between; overflow-y: auto; scroll-margin-left: 1rem; }

#sidebar.app-sidebar, #sidebar.app-sidebar .sidebar-content { flex: 1 0 var(--sidebar-width); max-width: var(--sidebar-width); width: var(--sidebar-width); }
#sidebar .sticky-top { flex: 100vh 0 var(--sidebar-width); width: var(--sidebar-width); }
#sidebar .sticky-top { padding: 0.75rem 0 0.75rem 0.75rem; }

#sidebar_subnav.app-sidebar, #sidebar_subnav.app-sidebar .sidebar-content { flex: 1 0 var(--sidebar-md-width); max-width: var(--sidebar-md-width); width: var(--sidebar-md-width); }
#sidebar_subnav .sticky-top { flex: 100vh 0 var(--sidebar-md-width); width: var(--sidebar-md-width); }
#sidebar_subnav.sidebar-lg.app-sidebar, #sidebar_subnav.sidebar-lg.app-sidebar .sidebar-content { flex: 1 0 var(--sidebar-lg-width); max-width: var(--sidebar-lg-width); width: var(--sidebar-lg-width); }
#sidebar_subnav.sidebar-lg .sticky-top { flex: 100vh 0 var(--sidebar-lg-width); width: var(--sidebar-lg-width); }
#sidebar_subnav .sticky-top { justify-content: flex-start; }

#assistant.app-sidebar, #assistant.app-sidebar .sidebar-content { flex: 1 0 var(--sidebar-assistant-width); max-width: var(--sidebar-assistant-width); width: var(--sidebar-assistant-width); }
#assistant .sticky-top { flex: 100vh 0 var(--sidebar-assistant-width); width: var(--sidebar-assistant-width); }
#assistant .sticky-top { padding: 1.5rem 1.5rem 0.75rem 0.75rem; }

body.sidebar-left #sidebar_subnav { margin-left: 0.75rem; }
body.sidebar-left #sidebar_subnav .sticky-top { border-left: 1px solid var(--bs-border-color); padding: 2.25rem 0 0.75rem 0.75rem; }

body.sidebar-right #sidebar_subnav .sticky-top { border-right: 1px solid var(--bs-border-color); padding: 0.75rem 0.75rem 0.75rem 0; padding-top: 2.25rem; }
body.sidebar-right #assistant .sticky-top { padding-left: 1.5rem; }

.page-header-wrapper { z-index: 1021; }

.d-table + .d-table { margin-top: 1.5rem; }
.d-table .table-header label.form-label { margin-bottom: 0 !important; }
.d-table .table-header i.bi { margin: -0.5rem 0; }
.d-table .d-table-row.position-relative .d-table-cell { position: relative; }
.d-table .d-table-cell { background-color: #fff; border-bottom: 1px solid var(--bs-border-color); padding: 1rem; }
.d-table .d-table-cell > :last-child { margin-bottom: 0; }
.d-table.table-bordered .d-table-row:first-of-type .d-table-cell { border-top-width: 1px; }
.d-table.table-bordered .d-table-row .d-table-cell { border: 1px solid var(--bs-border-color); border-top-width: 0; border-right-width: 0; }
.d-table.table-bordered .d-table-row .d-table-cell:last-of-type { border-right-width: 1px; }
.d-table.table-hover .d-table-row:not(.table-header):hover .d-table-cell { background-color: var(--bs-light); cursor: pointer; }
.d-table.table-hover .d-table-row.table-header .d-table-cell.sortable:hover { background-color: var(--bs-light); cursor: pointer; }
.d-table.table-hover .d-table-row .d-table-cell { transition: all ease 0.15s; }
.d-table.table-cards { border-spacing: 0 0.75rem; }
.d-table.table-cards .d-table-row .d-table-cell { border-top: 1px solid var(--bs-border-color); border-bottom: 1px solid var(--bs-border-color); border-left: 1px solid transparent; border-right: 1px solid transparent; }
.d-table.table-cards .d-table-row .d-table-cell:first-of-type { border-left: 1px solid var(--bs-border-color); border-top-left-radius: var(--bs-border-radius); border-bottom-left-radius: var(--bs-border-radius); }
.d-table.table-cards .d-table-row .d-table-cell:last-of-type { border-right: 1px solid var(--bs-border-color); border-top-right-radius: var(--bs-border-radius); border-bottom-right-radius: var(--bs-border-radius); }
.d-table.table-cards .d-table-row .d-table-cell .btn { margin: -0.25rem; }
.d-table.table-sidebar-left .d-table-row .d-table-cell:first-of-type { min-width: 8rem; width: 12rem; }
@media (min-width: 1200px) { .d-table.table-sidebar-left .d-table-row .d-table-cell:last-of-type { padding-right: 3rem !important; } }
.d-table.table-sidebar-right .d-table-row .d-table-cell:last-of-type { min-width: 8rem; width: 12rem; }
@media (min-width: 1200px) { .d-table.table-sidebar-right .d-table-row .d-table-cell:first-of-type { padding-right: 3rem !important; } }

body:not(.scrolling) .d-table.table-cards .d-table-row.table-header .d-table-cell { border: 1px solid transparent; }
body:not(.scrolling) .d-table.table-cards .d-table-row.table-header .d-table-cell.sortable:hover { border: 1px solid var(--bs-border-color); border-radius: var(--bs-border-radius); }
body.scrolling .d-table.table-cards .d-table-row.table-header .d-table-cell.sortable:hover { border-left: 1px solid var(--bs-border-color); border-right: 1px solid var(--bs-border-color); }

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, .h1 a, .h2 a, .h3 a, .h4 a, .h5 a, .h6 a { color: var(--bs-gray-900); text-decoration: none; }
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, .h1 a:hover, .h2 a:hover, .h3 a:hover, .h4 a:hover, .h5 a:hover, .h6 a:hover { color: var(--bs-primary); text-decoration: underline; }

.list-alpha { list-style-type: lower-alpha; }

.list-decimal { list-style-type: decimal; }

.list-roman { list-style-type: lower-roman; }

:root { --navbar-height: 5.375rem; --sidebar-assistant-width: 40vw; --sidebar-width: 16rem; --sidebar-md-width: 20rem; --sidebar-lg-width: 28rem; }

body { display: flex; flex-direction: column; min-height: 100vh !important; }
body.scrolling .page-header-wrapper { border-bottom: 1px solid rgba(0, 0, 0, 0.176); }

.wrapper { display: flex; flex-direction: row; flex-grow: 1; }
