:root {
    --sidenav-width: 280px;
    --bg-blue: rgb(13, 130, 208);
    --bg-light-blue: rgb(200, 225, 242);
    --rk-blue: #2D2E83;
    --rk-blue-rgb: 45, 46, 131;
    --rk-white: #FFFFFF;
    --rk-white-rgb: 255, 255, 255;
    --rk-darkblue: #0E0E31;
    --rk-darkblue-rgb: 14, 14, 50;
    --rk-glitch-red: #E7343D;
    --rk-glitch-red-rgb: 231, 52, 61;
    --rk-glitch-yellow: #EFE12E;
    --rk-glitch-yellow-rgb: 239, 225, 46;
    --rk-glitch-teal: #45BDD3;
    --rk-glitch-teal-rgb: 69, 189, 211;
    --rk-glitch-green: #5CB45F;
    --rk-glitch-green-rgb: 92, 180, 95;
}

/** LINKS **/
a {
    color: rgba(var(--rk-darkblue-rgb),1);
    text-decoration: none;
    transition: all ease .4s;
}
a:hover {
    color: rgba(var(--rk-blue-rgb),1);
    text-decoration: none;
    transition: all ease .4s;
}

/** TEXT **/
.text-rk-blue {
    color: rgba(var(--rk-blue-rgb),1);
}
.text-rk-darkblue {
    color: rgba(var(--rk-darkblue-rgb),1);
}

/** BUTTONS **/
.btn.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--rk-blue);
    --bs-btn-border-color: var(--rk-darkblue);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--rk-darkblue);
    --bs-btn-hover-border-color: var(--rk-blue);
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bg-blue);
    --bs-btn-active-border-color: var(--bg-blue);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: rgba(var(--rk-blue-rgb),.8);
    --bs-btn-disabled-border-color: rgba(var(--rk-blue-rgb),.2);
}
.btn-outline-primary {
    --bs-btn-color: var(--rk-blue);
    --bs-btn-border-color: var(--rk-blue);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--rk-blue);
    --bs-btn-hover-border-color: var(--rk-blue);
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--rk-blue);
    --bs-btn-active-border-color: var(--rk-blue);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--rk-blue);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--rk-blue);
    --bs-gradient: none;
}

#wrapper {
    overflow-x: hidden;
}

#sidebar-wrapper {
    width: var(--sidenav-width);
    overflow-y: auto;
    z-index: 1030;
    border-right: 1px solid rgba(0, 0, 0, .08);
    min-height: 100vh;
    margin-left: -15rem;
}


#page-content-wrapper {
    min-width: 100vw;
}

body.sb-sidenav-toggled #wrapper #sidebar-wrapper {
    margin-left: 0;
}

@media (min-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }
}

body.has-sidenav {
    padding-left: var(--sidenav-width);
}

@media (max-width: 991.98px) {
    body.has-sidenav {
        padding-left: 0;
    }

    .app-sidenav-fixed {
        display: none;
    }
}

.app-sidenav-fixed .nav {
    align-items: stretch;
}

.app-sidenav-fixed .nav-link {
    color: rgba(14, 14, 50, 1);
    border-radius: .375rem;
    padding: .55rem .7rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    width: 100%;
    box-sizing: border-box;
    background: rgba(0, 0, 0, .045);
    border: 1px solid rgba(0, 0, 0, .12);
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.app-sidenav-fixed .nav-link:hover {
    background: rgba(0, 0, 0, .085);
    border-color: rgba(0, 0, 0, .16);
}

.app-sidenav-fixed .nav .nav .nav-link {
    padding: .4rem .7rem;
    font-size: .95rem;
    opacity: .9;
}

.app-sidenav-fixed .nav-caret::before {
    content: "▸";
    display: inline-block;
    transition: transform .15s ease;
    color: rgba(14, 14, 50, .55);
    margin-left: auto;
}

.app-sidenav-fixed a[aria-expanded="true"] .nav-caret::before {
    transform: rotate(90deg);
}

.app-sidenav-fixed .nav-link.open-tree {
    background: var(--bg-blue);
    color: #fff;
    font-weight: 600;
    border-color: rgba(0, 0, 0, .18);
}

.app-sidenav-fixed .nav-link.open-tree:hover {
    background: rgb(9, 98, 156);
    color: #fff;
    border-color: rgba(0, 0, 0, .22);
}

.app-sidenav-fixed .nav-link.open-tree .nav-caret::before {
    color: rgba(255, 255, 255, .9);
}

.bg-blue {
    font-weight: 600;
    background: var(--bg-blue);
    color: white;
    border-color: rgba(0, 0, 0, .12);
}

.bg-blue:hover {
    background: rgb(9, 98, 156);
    color: white;
    border-color: rgba(0, 0, 0, .25);
}

.app-sidenav-fixed .nav-link.bg-blue {
    background: var(--bg-light-blue);
    color: rgb(7, 63, 110);
    font-weight: 600;
    border-color: rgba(0, 0, 0, .12);
}

.app-sidenav-fixed .nav-link.bg-blue:hover {
    background: rgb(180, 212, 234);
    color: rgb(7, 63, 110);
    border-color: rgba(0, 0, 0, .25);
}

.clickable-row:hover {
    cursor: pointer;
}

input:required {
    border-color: var(--bg-blue);
    padding-right: 2.25rem !important;
    background-image: url("/images/asterisk-solid.svg");
    background-repeat: no-repeat;
    background-position: right calc(.28em + .09rem) center;
    background-size: calc(.5em + .28rem) calc(.5em + .28rem);
}

.choices__inner:has(> select:required) {
    border-color: var(--bg-blue);
    padding-right: 2.25rem !important;
    background-image: url("/images/asterisk-solid.svg");
    background-repeat: no-repeat;
    background-position: right calc(2em + .09rem) center;
    background-size: calc(.5em + .28rem) calc(.5em + .28rem);
}

.choices__list--multiple .choices__item {
    background-color: var(--bg-blue) !important;
    border: 1px solid var(--bg-blue) !important;
}