body {
    overflow-y: hidden;
}

main {
    margin-top: 56px;
    height: calc(100vh - 56px)
}

p, td {
    color: #444;
}

p {
    font-weight: 300;
}

a:hover {
    color: #d6002a !important;
}

.custom-link:hover {
    color: #d6002a !important;
}

/* General Color Schemes */
.bg-gray {
    background-color: #f2f2f2;
}

/* Sidebar */
.custom-list-group-item {
    position: relative;
    display: block;
    padding: var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);
    color: var(--bs-list-group-color);
    text-decoration: none;
    border: 0px 0px 0px 0px !important;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    padding: 56px 0 0;
    /* Height of navbar */
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 5%), 0 2px 10px 0 rgb(0 0 0 / 5%);
    width: 250px;
    z-index: 600;
}

@media (max-width: 991.98px) {
    .sidebar {
        width: 100%;
    }
}

@media (min-width: 991.98px) {
    main.authenticated {
        padding-left: 250px;
    }
}

.sidebar .active {
    border-radius: 5px;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}

.panel-title {
    position: relative;
}

.panel-title::after {
    content: "\f107";
    color: #333;
    top: 8px;
    right: 8px;
    position: absolute;
    font-family: "FontAwesome"
}

.panel-title[aria-expanded="true"]::after {
    content: "\f106";
}

.subpanel-title {
    position: relative;
    font-weight: 500 !important;
}

.subpanel-title::after {
    content: "\f107";
    color: #333;
    top: 4px;
    right: 4px;
    position: absolute;
    font-family: "FontAwesome"
}

.subpanel-title[aria-expanded="true"]::after {
    content: "\f106";
}

.modal-header {
    color: #d6002a !important;
}
.action_column {
    white-space: normal;
    width: 200px;
    height: 45px;
}

tr.htmx-swapping td {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.portal-nav-group {
    color: #444;
}

.portal-data-adjusted {
    color: #d6002a !important;
}
