﻿body {
}


#imgPortalLogo {
    content: URL('/Images/drj/DrJ_LogoSM.jpg');
    margin: 0;
    max-height: 125px;
}

@media (max-width: 992px) {
    #imgPortalLogo {
        max-height: 75px;
    }
}

.navbar-brand #imgPortalLogo {
    max-height: 50px;
}

.top-row {
    background-color: #4A89F0;
}

.primary-nav {
    margin-bottom: calc(1rem + 10px);
}

    .primary-nav:after, .primary-nav:before {
        background: #005EB8;
    }

    .primary-nav:after {
        right: 0;
        left: auto;
        width: 140px;
        background: linear-gradient(90deg,#005EB8 0,#005EB8 6%,#666666 6%,#666666 53%,#cccccc 53%,#cccccc 100%);
    }

.border-hcrm:after, .border-hcrm:before {
    background: #005EB8;
}

.border-hcrm:after {
    right: 0;
    left: auto;
    width: 140px;
    background: linear-gradient(90deg,#005EB8 0,#005EB8 6%,#666666 6%,#666666 53%,#cccccc 53%,#cccccc 100%);
}

body .footer-bottom {
    background-color: #CCCCCC;
    color: #333333;
    margin-top: 3rem;
    padding: 40px 0;
}


body .footer {
    background-color: #B3B3B3;
    color: #333333;
    margin: 0;
    padding: 20px 0;
}

body .footer-bottom .socialMedia a {
    color: #333333;
}

.footer hr, .footer-bottom hr {
    border-color: #fff;
}

.footer-bottom a, .footer-bottom p {
    color: #333333;
}

.footer a, .footer p {
    color: #fff;
}

.footer-links {
    font-size: 14px;
}

    .footer-links .link-seperator {
        width: 1px;
        height: 100%;
        border-left: 1px solid #333333;
        margin: 0 10px;
    }


body .page-heading {
    margin-bottom: 10px;
    background: radial-gradient(circle,#4A89F0 0,#005EB8 75%,#005EB8 100%);
    color: #fff !important;
    position: relative;
    margin-top: 9px;
}


@media (min-width: 576px) {
    body .page-heading {
        height: 150px;
        max-height: 150px;
    }
}

@media (max-width: 576px) {
    body .page-heading {
        padding-top: 15px;
        padding-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .biography {
        max-height: 150px;
        overflow-y: auto;
        overflow-x: hidden;
    }
}

.page-heading .page-header h1:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    background: linear-gradient( 90deg,#4A89F0 0,#4A89F0 30%,rgba(255,255,255,0) 30%,rgba(255,255,255,0) 35%,#17a2b8 35%,#17a2b8 65%,rgba(255,255,255,0) 65%,rgba(255,255,255,0) 70%,#002454 70%,#002454 100%);
    width: 34px;
    height: 10px;
}

.form-progressbar {
    border-top: 4px solid #fff;
    background-color: #cccccc;
}

    .form-progressbar .form-progressbar-item {
        text-align: center;
    }

        .form-progressbar .form-progressbar-item:not(.active) {
            cursor: pointer;
        }

        .form-progressbar .form-progressbar-item > div + div {
            height: 100%;
            position: relative;
            background: inherit;
        }

            .form-progressbar .form-progressbar-item > div + div > div {
                position: relative;
                top: 50%;
                transform: translateY(-50%);
                font-weight: bold;
                padding: 0 0 10px;
                width: 100%;
                padding: 0.5rem 1rem 1rem;
                background: inherit;
            }

.form-progressbar-item.active {
    position: relative;
    text-align: center;
    background-color: #005EB8 !important;
}

.form-progressbar-second-line .form-progressbar-item.active {
    border-radius: 0 0 .5rem .5rem;
    background-color: #005EB8 !important;
}

.form-progressbar .form-progressbar-item * {
    color: inherit;
    text-align: center;
}

.wait-logo {
    background-image: URL('/Images/DRJ/DrJ_LogoSM.jpg');
    background-size: cover;
    height: 86px;
    width: 125px;
    margin: 15px auto 0px auto;
    border-radius: 5px;
    border: 2px solid #005EB8;
}

.lds div {
    background-color: #005EB8;
}

    .lds div:nth-child(2) {
        background-color: #4A89F0;
    }

    .lds div:nth-child(3) {
        background-color: #333333;
    }

.bg-image {
    background-image: url('data:image/svg+xml,<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1914.96 844.99"><defs><style>.cls-1{fill:%23002454;}</style></defs><path class="cls-1" d="M1031,0c-14.8,469.1-399.75,844.84-872.44,844.84A878.35,878.35,0,0,1,0,830.47V0Z" /></svg>');
}

body .answer-cell .dxbl-checkbox:not(.dxbl-checkbox-switch):not(.dxbl-checkbox-radio):not(.dxbl-disabled):not(:disabled):not(.dxbl-readonly).dxbl-checkbox-checked .dxbl-checkbox-check-element,
body .answer-cell .dxbl-checkbox:not(.dxbl-checkbox-switch):not(.dxbl-checkbox-radio):not(.dxbl-disabled):not(:disabled):not(.dxbl-readonly).dxbl-checkbox-indeterminate .dxbl-checkbox-check-element {
    background-color: #4A89F0 !important;
}

.portal-border-top {
    border-top-width: 10px !important;
    border-top-style: solid;
}

.portal-border-primary-top {
    border-top: 10px solid #005EB8 !important;
}

.portal-border-danger-top {
    border-top: 10px solid #D5281C !important;
}

.portal-border-success-top {
    border-top: 10px solid #007A33 !important;
}

.portal-border-info-top {
    border-top: 10px solid #4A89F0 !important;
}

.portal-border-primary-bottom {
    border-bottom: 10px solid #005EB8 !important;
}

.portal-border-danger-bottom {
    border-bottom: 10px solid #D5281C !important;
}

.portal-border-success-bottom {
    border-bottom: 10px solid #007A33 !important;
}

.portal-border-info-bottom {
    border-bottom: 10px solid #4A89F0 !important;
}

body .btn-primary,
body .btn-secondary,
body .btn-success,
body .btn-danger {
    color: #fff;
}

body .btn-warning,
body .btn-info {
    color: #333333;
}


/* Primary Navbar Colours */
.primary-nav {
    background-color: #1A6ECC; /* same as primary hover */
}

    .primary-nav .nav-link:not([class*="btn-"]) {
        color: #ffffff !important;
    }

        .primary-nav .nav-link:not([class*="btn-"]):hover {
            background-color: #004A91;
            color: #ffffff !important;
        }

        .primary-nav .nav-link.active:not([class*="btn-"]) {
            background-color: #005EB8; /* same as primary */
            color: #ffffff !important;
        }

            .primary-nav .nav-link.active:not([class*="btn-"]):hover {
                background-color: #004A91; /* same as primary active */
                color: #ffffff !important;
            }

        a.show .user-initials .fa-inverse, a:hover .user-initials .fa-inverse,
        .primary-nav .nav-link:hover .fa-layers-text,
        .primary-nav .nav-item.active .fa-layers-text {
            color: #ffffff !important;
        }

.page-header {
    background-image: url("/images/DRJ/Background.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 300px;
    margin-top: -6px;
}

    .page-header > div.container {
        position: relative;
        height: 100%;
    }

        .page-header > div.container > div {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: calc(100% - 30px);
        }



/* Border widths */
.border-1 {
    border-width: 1px !important;
}

.border-2 {
    border-width: 2px !important;
}

.border-3 {
    border-width: 4px !important;
}

.border-4 {
    border-width: 8px !important;
}

.border-5 {
    border-width: 16px !important;
}

/* Per-side border widths */
.border-top-1 {
    border-top-width: 1px !important;
}

.border-right-1 {
    border-right-width: 1px !important;
}

.border-bottom-1 {
    border-bottom-width: 1px !important;
}

.border-left-1 {
    border-left-width: 1px !important;
}

.border-top-2 {
    border-top-width: 2px !important;
}

.border-right-2 {
    border-right-width: 2px !important;
}

.border-bottom-2 {
    border-bottom-width: 2px !important;
}

.border-left-2 {
    border-left-width: 2px !important;
}

.border-top-3 {
    border-top-width: 4px !important;
}

.border-right-3 {
    border-right-width: 4px !important;
}

.border-bottom-3 {
    border-bottom-width: 4px !important;
}

.border-left-3 {
    border-left-width: 4px !important;
}

.border-top-4 {
    border-top-width: 8px !important;
}

.border-right-4 {
    border-right-width: 8px !important;
}

.border-bottom-4 {
    border-bottom-width: 8px !important;
}

.border-left-4 {
    border-left-width: 8px !important;
}

.border-top-5 {
    border-top-width: 16px !important;
}

.border-right-5 {
    border-right-width: 16px !important;
}

.border-bottom-5 {
    border-bottom-width: 16px !important;
}

.border-left-5 {
    border-left-width: 16px !important;
}

.border-top-0 {
    border-top-width: 0 !important;
}

.border-top-1 {
    border-top-width: 1px !important;
}

.border-top-2 {
    border-top-width: 2px !important;
}

.border-top-3 {
    border-top-width: 3px !important;
}

.border-top-4 {
    border-top-width: 4px !important;
}

.border-top-5 {
    border-top-width: 5px !important;
}

.border-bottom-0 {
    border-bottom-width: 0 !important;
}

.border-bottom-1 {
    border-bottom-width: 1px !important;
}

.border-bottom-2 {
    border-bottom-width: 2px !important;
}

.border-bottom-3 {
    border-bottom-width: 3px !important;
}

.border-bottom-4 {
    border-bottom-width: 4px !important;
}

.border-bottom-5 {
    border-bottom-width: 5px !important;
}

.border-left-0 {
    border-left-width: 0 !important;
}

.border-left-1 {
    border-left-width: 1px !important;
}

.border-left-2 {
    border-left-width: 2px !important;
}

.border-left-3 {
    border-left-width: 3px !important;
}

.border-left-4 {
    border-left-width: 4px !important;
}

.border-left-5 {
    border-left-width: 5px !important;
}

.border-right-0 {
    border-right-width: 0 !important;
}

.border-right-1 {
    border-right-width: 1px !important;
}

.border-right-2 {
    border-right-width: 2px !important;
}

.border-right-3 {
    border-right-width: 3px !important;
}

.border-right-4 {
    border-right-width: 4px !important;
}

.border-right-5 {
    border-right-width: 5px !important;
}

@media(min-width:576px) {
    .border-top-sm-0 {
        border-top-width: 0 !important;
    }

    .border-top-sm-1 {
        border-top-width: 1px !important;
    }

    .border-top-sm-2 {
        border-top-width: 2px !important;
    }

    .border-top-sm-3 {
        border-top-width: 3px !important;
    }

    .border-top-sm-4 {
        border-top-width: 4px !important;
    }

    .border-top-sm-5 {
        border-top-width: 5px !important;
    }

    .border-bottom-sm-0 {
        border-bottom-width: 0 !important;
    }

    .border-bottom-sm-1 {
        border-bottom-width: 1px !important;
    }

    .border-bottom-sm-2 {
        border-bottom-width: 2px !important;
    }

    .border-bottom-sm-3 {
        border-bottom-width: 3px !important;
    }

    .border-bottom-sm-4 {
        border-bottom-width: 4px !important;
    }

    .border-bottom-sm-5 {
        border-bottom-width: 5px !important;
    }

    .border-left-sm-0 {
        border-left-width: 0 !important;
    }

    .border-left-sm-1 {
        border-left-width: 1px !important;
    }

    .border-left-sm-2 {
        border-left-width: 2px !important;
    }

    .border-left-sm-3 {
        border-left-width: 3px !important;
    }

    .border-left-sm-4 {
        border-left-width: 4px !important;
    }

    .border-left-sm-5 {
        border-left-width: 5px !important;
    }

    .border-right-sm-0 {
        border-right-width: 0 !important;
    }

    .border-right-sm-1 {
        border-right-width: 1px !important;
    }

    .border-right-sm-2 {
        border-right-width: 2px !important;
    }

    .border-right-sm-3 {
        border-right-width: 3px !important;
    }

    .border-right-sm-4 {
        border-right-width: 4px !important;
    }

    .border-right-sm-5 {
        border-right-width: 5px !important;
    }
}

@media(min-width:768px) {
    .border-top-md-0 {
        border-top-width: 0 !important;
    }

    .border-top-md-1 {
        border-top-width: 1px !important;
    }

    .border-top-md-2 {
        border-top-width: 2px !important;
    }

    .border-top-md-3 {
        border-top-width: 3px !important;
    }

    .border-top-md-4 {
        border-top-width: 4px !important;
    }

    .border-top-md-5 {
        border-top-width: 5px !important;
    }

    .border-bottom-md-0 {
        border-bottom-width: 0 !important;
    }

    .border-bottom-md-1 {
        border-bottom-width: 1px !important;
    }

    .border-bottom-md-2 {
        border-bottom-width: 2px !important;
    }

    .border-bottom-md-3 {
        border-bottom-width: 3px !important;
    }

    .border-bottom-md-4 {
        border-bottom-width: 4px !important;
    }

    .border-bottom-md-5 {
        border-bottom-width: 5px !important;
    }

    .border-left-md-0 {
        border-left-width: 0 !important;
    }

    .border-left-md-1 {
        border-left-width: 1px !important;
    }

    .border-left-md-2 {
        border-left-width: 2px !important;
    }

    .border-left-md-3 {
        border-left-width: 3px !important;
    }

    .border-left-md-4 {
        border-left-width: 4px !important;
    }

    .border-left-md-5 {
        border-left-width: 5px !important;
    }

    .border-right-md-0 {
        border-right-width: 0 !important;
    }

    .border-right-md-1 {
        border-right-width: 1px !important;
    }

    .border-right-md-2 {
        border-right-width: 2px !important;
    }

    .border-right-md-3 {
        border-right-width: 3px !important;
    }

    .border-right-md-4 {
        border-right-width: 4px !important;
    }

    .border-right-md-5 {
        border-right-width: 5px !important;
    }
}

@media(min-width:992px) {
    .border-top-lg-0 {
        border-top-width: 0 !important;
    }

    .border-top-lg-1 {
        border-top-width: 1px !important;
    }

    .border-top-lg-2 {
        border-top-width: 2px !important;
    }

    .border-top-lg-3 {
        border-top-width: 3px !important;
    }

    .border-top-lg-4 {
        border-top-width: 4px !important;
    }

    .border-top-lg-5 {
        border-top-width: 5px !important;
    }

    .border-bottom-lg-0 {
        border-bottom-width: 0 !important;
    }

    .border-bottom-lg-1 {
        border-bottom-width: 1px !important;
    }

    .border-bottom-lg-2 {
        border-bottom-width: 2px !important;
    }

    .border-bottom-lg-3 {
        border-bottom-width: 3px !important;
    }

    .border-bottom-lg-4 {
        border-bottom-width: 4px !important;
    }

    .border-bottom-lg-5 {
        border-bottom-width: 5px !important;
    }

    .border-left-lg-0 {
        border-left-width: 0 !important;
    }

    .border-left-lg-1 {
        border-left-width: 1px !important;
    }

    .border-left-lg-2 {
        border-left-width: 2px !important;
    }

    .border-left-lg-3 {
        border-left-width: 3px !important;
    }

    .border-left-lg-4 {
        border-left-width: 4px !important;
    }

    .border-left-lg-5 {
        border-left-width: 5px !important;
    }

    .border-right-lg-0 {
        border-right-width: 0 !important;
    }

    .border-right-lg-1 {
        border-right-width: 1px !important;
    }

    .border-right-lg-2 {
        border-right-width: 2px !important;
    }

    .border-right-lg-3 {
        border-right-width: 3px !important;
    }

    .border-right-lg-4 {
        border-right-width: 4px !important;
    }

    .border-right-lg-5 {
        border-right-width: 5px !important;
    }
}

@media(min-width:1200px) {
    .border-top-xl-0 {
        border-top-width: 0 !important;
    }

    .border-top-xl-1 {
        border-top-width: 1px !important;
    }

    .border-top-xl-2 {
        border-top-width: 2px !important;
    }

    .border-top-xl-3 {
        border-top-width: 3px !important;
    }

    .border-top-xl-4 {
        border-top-width: 4px !important;
    }

    .border-top-xl-5 {
        border-top-width: 5px !important;
    }

    .border-bottom-xl-0 {
        border-bottom-width: 0 !important;
    }

    .border-bottom-xl-1 {
        border-bottom-width: 1px !important;
    }

    .border-bottom-xl-2 {
        border-bottom-width: 2px !important;
    }

    .border-bottom-xl-3 {
        border-bottom-width: 3px !important;
    }

    .border-bottom-xl-4 {
        border-bottom-width: 4px !important;
    }

    .border-bottom-xl-5 {
        border-bottom-width: 5px !important;
    }

    .border-left-xl-0 {
        border-left-width: 0 !important;
    }

    .border-left-xl-1 {
        border-left-width: 1px !important;
    }

    .border-left-xl-2 {
        border-left-width: 2px !important;
    }

    .border-left-xl-3 {
        border-left-width: 3px !important;
    }

    .border-left-xl-4 {
        border-left-width: 4px !important;
    }

    .border-left-xl-5 {
        border-left-width: 5px !important;
    }

    .border-right-xl-0 {
        border-right-width: 0 !important;
    }

    .border-right-xl-1 {
        border-right-width: 1px !important;
    }

    .border-right-xl-2 {
        border-right-width: 2px !important;
    }

    .border-right-xl-3 {
        border-right-width: 3px !important;
    }

    .border-right-xl-4 {
        border-right-width: 4px !important;
    }

    .border-right-xl-5 {
        border-right-width: 5px !important;
    }
}

@media(min-width:1400px) {
    .border-top-xxl-0 {
        border-top-width: 0 !important;
    }

    .border-top-xxl-1 {
        border-top-width: 1px !important;
    }

    .border-top-xxl-2 {
        border-top-width: 2px !important;
    }

    .border-top-xxl-3 {
        border-top-width: 3px !important;
    }

    .border-top-xxl-4 {
        border-top-width: 4px !important;
    }

    .border-top-xxl-5 {
        border-top-width: 5px !important;
    }

    .border-bottom-xxl-0 {
        border-bottom-width: 0 !important;
    }

    .border-bottom-xxl-1 {
        border-bottom-width: 1px !important;
    }

    .border-bottom-xxl-2 {
        border-bottom-width: 2px !important;
    }

    .border-bottom-xxl-3 {
        border-bottom-width: 3px !important;
    }

    .border-bottom-xxl-4 {
        border-bottom-width: 4px !important;
    }

    .border-bottom-xxl-5 {
        border-bottom-width: 5px !important;
    }

    .border-left-xxl-0 {
        border-left-width: 0 !important;
    }

    .border-left-xxl-1 {
        border-left-width: 1px !important;
    }

    .border-left-xxl-2 {
        border-left-width: 2px !important;
    }

    .border-left-xxl-3 {
        border-left-width: 3px !important;
    }

    .border-left-xxl-4 {
        border-left-width: 4px !important;
    }

    .border-left-xxl-5 {
        border-left-width: 5px !important;
    }

    .border-right-xxl-0 {
        border-right-width: 0 !important;
    }

    .border-right-xxl-1 {
        border-right-width: 1px !important;
    }

    .border-right-xxl-2 {
        border-right-width: 2px !important;
    }

    .border-right-xxl-3 {
        border-right-width: 3px !important;
    }

    .border-right-xxl-4 {
        border-right-width: 4px !important;
    }

    .border-right-xxl-5 {
        border-right-width: 5px !important;
    }
}

@media(min-width:1600px) {
    .border-top-xxxl-0 {
        border-top-width: 0 !important;
    }

    .border-top-xxxl-1 {
        border-top-width: 1px !important;
    }

    .border-top-xxxl-2 {
        border-top-width: 2px !important;
    }

    .border-top-xxxl-3 {
        border-top-width: 3px !important;
    }

    .border-top-xxxl-4 {
        border-top-width: 4px !important;
    }

    .border-top-xxxl-5 {
        border-top-width: 5px !important;
    }

    .border-bottom-xxxl-0 {
        border-bottom-width: 0 !important;
    }

    .border-bottom-xxxl-1 {
        border-bottom-width: 1px !important;
    }

    .border-bottom-xxxl-2 {
        border-bottom-width: 2px !important;
    }

    .border-bottom-xxxl-3 {
        border-bottom-width: 3px !important;
    }

    .border-bottom-xxxl-4 {
        border-bottom-width: 4px !important;
    }

    .border-bottom-xxxl-5 {
        border-bottom-width: 5px !important;
    }

    .border-left-xxxl-0 {
        border-left-width: 0 !important;
    }

    .border-left-xxxl-1 {
        border-left-width: 1px !important;
    }

    .border-left-xxxl-2 {
        border-left-width: 2px !important;
    }

    .border-left-xxxl-3 {
        border-left-width: 3px !important;
    }

    .border-left-xxxl-4 {
        border-left-width: 4px !important;
    }

    .border-left-xxxl-5 {
        border-left-width: 5px !important;
    }

    .border-right-xxxl-0 {
        border-right-width: 0 !important;
    }

    .border-right-xxxl-1 {
        border-right-width: 1px !important;
    }

    .border-right-xxxl-2 {
        border-right-width: 2px !important;
    }

    .border-right-xxxl-3 {
        border-right-width: 3px !important;
    }

    .border-right-xxxl-4 {
        border-right-width: 4px !important;
    }

    .border-right-xxxl-5 {
        border-right-width: 5px !important;
    }
}

/* Border color utilities */
.border-primary {
    border-color: #005EB8 !important;
}

.border-secondary {
    border-color: #666666 !important;
}

.border-success {
    border-color: #007A33 !important;
}

.border-info {
    border-color: #4A89F0 !important;
}

.border-warning {
    border-color: #FFB81C !important;
}

.border-danger {
    border-color: #D5281C !important;
}

.border-light {
    border-color: #F3F3F3 !important;
}

.border-dark {
    border-color: #333333 !important;
}

/* Per-side border colors */
.border-top-primary {
    border-top-color: #005EB8 !important;
}

.border-right-primary {
    border-right-color: #005EB8 !important;
}

.border-bottom-primary {
    border-bottom-color: #005EB8 !important;
}

.border-left-primary {
    border-left-color: #005EB8 !important;
}

.border-top-secondary {
    border-top-color: #666666 !important;
}

.border-right-secondary {
    border-right-color: #666666 !important;
}

.border-bottom-secondary {
    border-bottom-color: #666666 !important;
}

.border-left-secondary {
    border-left-color: #666666 !important;
}

.border-top-success {
    border-top-color: #007A33 !important;
}

.border-right-success {
    border-right-color: #007A33 !important;
}

.border-bottom-success {
    border-bottom-color: #007A33 !important;
}

.border-left-success {
    border-left-color: #007A33 !important;
}

.border-top-info {
    border-top-color: #4A89F0 !important;
}

.border-right-info {
    border-right-color: #4A89F0 !important;
}

.border-bottom-info {
    border-bottom-color: #4A89F0 !important;
}

.border-left-info {
    border-left-color: #4A89F0 !important;
}

.border-top-warning {
    border-top-color: #FFB81C !important;
}

.border-right-warning {
    border-right-color: #FFB81C !important;
}

.border-bottom-warning {
    border-bottom-color: #FFB81C !important;
}

.border-left-warning {
    border-left-color: #FFB81C !important;
}

.border-top-danger {
    border-top-color: #D5281C !important;
}

.border-right-danger {
    border-right-color: #D5281C !important;
}

.border-bottom-danger {
    border-bottom-color: #D5281C !important;
}

.border-left-danger {
    border-left-color: #D5281C !important;
}

.border-top-light {
    border-top-color: #F3F3F3 !important;
}

.border-right-light {
    border-right-color: #F3F3F3 !important;
}

.border-bottom-light {
    border-bottom-color: #F3F3F3 !important;
}

.border-left-light {
    border-left-color: #F3F3F3 !important;
}

.border-top-dark {
    border-top-color: #333333 !important;
}

.border-right-dark {
    border-right-color: #333333 !important;
}

.border-bottom-dark {
    border-bottom-color: #333333 !important;
}

.border-left-dark {
    border-left-color: #333333 !important;
}

@media(min-width:576px) {
    .border-top-sm-primary {
        border-top-color: #005EB8 !important;
    }

    .border-right-sm-primary {
        border-right-color: #005EB8 !important;
    }

    .border-bottom-sm-primary {
        border-bottom-color: #005EB8 !important;
    }

    .border-left-sm-primary {
        border-left-color: #005EB8 !important;
    }

    .border-top-sm-secondary {
        border-top-color: #666666 !important;
    }

    .border-right-sm-secondary {
        border-right-color: #666666 !important;
    }

    .border-bottom-sm-secondary {
        border-bottom-color: #666666 !important;
    }

    .border-left-sm-secondary {
        border-left-color: #666666 !important;
    }

    .border-top-sm-success {
        border-top-color: #007A33 !important;
    }

    .border-right-sm-success {
        border-right-color: #007A33 !important;
    }

    .border-bottom-sm-success {
        border-bottom-color: #007A33 !important;
    }

    .border-left-sm-success {
        border-left-color: #007A33 !important;
    }

    .border-top-sm-info {
        border-top-color: #4A89F0 !important;
    }

    .border-right-sm-info {
        border-right-color: #4A89F0 !important;
    }

    .border-bottom-sm-info {
        border-bottom-color: #4A89F0 !important;
    }

    .border-left-sm-info {
        border-left-color: #4A89F0 !important;
    }

    .border-top-sm-warning {
        border-top-color: #FFB81C !important;
    }

    .border-right-sm-warning {
        border-right-color: #FFB81C !important;
    }

    .border-bottom-sm-warning {
        border-bottom-color: #FFB81C !important;
    }

    .border-left-sm-warning {
        border-left-color: #FFB81C !important;
    }

    .border-top-sm-danger {
        border-top-color: #D5281C !important;
    }

    .border-right-sm-danger {
        border-right-color: #D5281C !important;
    }

    .border-bottom-sm-danger {
        border-bottom-color: #D5281C !important;
    }

    .border-left-sm-danger {
        border-left-color: #D5281C !important;
    }

    .border-top-sm-light {
        border-top-color: #F3F3F3 !important;
    }

    .border-right-sm-light {
        border-right-color: #F3F3F3 !important;
    }

    .border-bottom-sm-light {
        border-bottom-color: #F3F3F3 !important;
    }

    .border-left-sm-light {
        border-left-color: #F3F3F3 !important;
    }

    .border-top-sm-dark {
        border-top-color: #333333 !important;
    }

    .border-right-sm-dark {
        border-right-color: #333333 !important;
    }

    .border-bottom-sm-dark {
        border-bottom-color: #333333 !important;
    }

    .border-left-sm-dark {
        border-left-color: #333333 !important;
    }
}

@media(min-width:768px) {
    .border-top-md-primary {
        border-top-color: #005EB8 !important;
    }

    .border-right-md-primary {
        border-right-color: #005EB8 !important;
    }

    .border-bottom-md-primary {
        border-bottom-color: #005EB8 !important;
    }

    .border-left-md-primary {
        border-left-color: #005EB8 !important;
    }

    .border-top-md-secondary {
        border-top-color: #666666 !important;
    }

    .border-right-md-secondary {
        border-right-color: #666666 !important;
    }

    .border-bottom-md-secondary {
        border-bottom-color: #666666 !important;
    }

    .border-left-md-secondary {
        border-left-color: #666666 !important;
    }

    .border-top-md-success {
        border-top-color: #007A33 !important;
    }

    .border-right-md-success {
        border-right-color: #007A33 !important;
    }

    .border-bottom-md-success {
        border-bottom-color: #007A33 !important;
    }

    .border-left-md-success {
        border-left-color: #007A33 !important;
    }

    .border-top-md-info {
        border-top-color: #4A89F0 !important;
    }

    .border-right-md-info {
        border-right-color: #4A89F0 !important;
    }

    .border-bottom-md-info {
        border-bottom-color: #4A89F0 !important;
    }

    .border-left-md-info {
        border-left-color: #4A89F0 !important;
    }

    .border-top-md-warning {
        border-top-color: #FFB81C !important;
    }

    .border-right-md-warning {
        border-right-color: #FFB81C !important;
    }

    .border-bottom-md-warning {
        border-bottom-color: #FFB81C !important;
    }

    .border-left-md-warning {
        border-left-color: #FFB81C !important;
    }

    .border-top-md-danger {
        border-top-color: #D5281C !important;
    }

    .border-right-md-danger {
        border-right-color: #D5281C !important;
    }

    .border-bottom-md-danger {
        border-bottom-color: #D5281C !important;
    }

    .border-left-md-danger {
        border-left-color: #D5281C !important;
    }

    .border-top-md-light {
        border-top-color: #F3F3F3 !important;
    }

    .border-right-md-light {
        border-right-color: #F3F3F3 !important;
    }

    .border-bottom-md-light {
        border-bottom-color: #F3F3F3 !important;
    }

    .border-left-md-light {
        border-left-color: #F3F3F3 !important;
    }

    .border-top-md-dark {
        border-top-color: #333333 !important;
    }

    .border-right-md-dark {
        border-right-color: #333333 !important;
    }

    .border-bottom-md-dark {
        border-bottom-color: #333333 !important;
    }

    .border-left-md-dark {
        border-left-color: #333333 !important;
    }
}

@media(min-width:992px) {
    .border-top-lg-primary {
        border-top-color: #005EB8 !important;
    }

    .border-right-lg-primary {
        border-right-color: #005EB8 !important;
    }

    .border-bottom-lg-primary {
        border-bottom-color: #005EB8 !important;
    }

    .border-left-lg-primary {
        border-left-color: #005EB8 !important;
    }

    .border-top-lg-secondary {
        border-top-color: #666666 !important;
    }

    .border-right-lg-secondary {
        border-right-color: #666666 !important;
    }

    .border-bottom-lg-secondary {
        border-bottom-color: #666666 !important;
    }

    .border-left-lg-secondary {
        border-left-color: #666666 !important;
    }

    .border-top-lg-success {
        border-top-color: #007A33 !important;
    }

    .border-right-lg-success {
        border-right-color: #007A33 !important;
    }

    .border-bottom-lg-success {
        border-bottom-color: #007A33 !important;
    }

    .border-left-lg-success {
        border-left-color: #007A33 !important;
    }

    .border-top-lg-info {
        border-top-color: #4A89F0 !important;
    }

    .border-right-lg-info {
        border-right-color: #4A89F0 !important;
    }

    .border-bottom-lg-info {
        border-bottom-color: #4A89F0 !important;
    }

    .border-left-lg-info {
        border-left-color: #4A89F0 !important;
    }

    .border-top-lg-warning {
        border-top-color: #FFB81C !important;
    }

    .border-right-lg-warning {
        border-right-color: #FFB81C !important;
    }

    .border-bottom-lg-warning {
        border-bottom-color: #FFB81C !important;
    }

    .border-left-lg-warning {
        border-left-color: #FFB81C !important;
    }

    .border-top-lg-danger {
        border-top-color: #D5281C !important;
    }

    .border-right-lg-danger {
        border-right-color: #D5281C !important;
    }

    .border-bottom-lg-danger {
        border-bottom-color: #D5281C !important;
    }

    .border-left-lg-danger {
        border-left-color: #D5281C !important;
    }

    .border-top-lg-light {
        border-top-color: #F3F3F3 !important;
    }

    .border-right-lg-light {
        border-right-color: #F3F3F3 !important;
    }

    .border-bottom-lg-light {
        border-bottom-color: #F3F3F3 !important;
    }

    .border-left-lg-light {
        border-left-color: #F3F3F3 !important;
    }

    .border-top-lg-dark {
        border-top-color: #333333 !important;
    }

    .border-right-lg-dark {
        border-right-color: #333333 !important;
    }

    .border-bottom-lg-dark {
        border-bottom-color: #333333 !important;
    }

    .border-left-lg-dark {
        border-left-color: #333333 !important;
    }
}

@media(min-width:1200px) {
    .border-top-xl-primary {
        border-top-color: #005EB8 !important;
    }

    .border-right-xl-primary {
        border-right-color: #005EB8 !important;
    }

    .border-bottom-xl-primary {
        border-bottom-color: #005EB8 !important;
    }

    .border-left-xl-primary {
        border-left-color: #005EB8 !important;
    }

    .border-top-xl-secondary {
        border-top-color: #666666 !important;
    }

    .border-right-xl-secondary {
        border-right-color: #666666 !important;
    }

    .border-bottom-xl-secondary {
        border-bottom-color: #666666 !important;
    }

    .border-left-xl-secondary {
        border-left-color: #666666 !important;
    }

    .border-top-xl-success {
        border-top-color: #007A33 !important;
    }

    .border-right-xl-success {
        border-right-color: #007A33 !important;
    }

    .border-bottom-xl-success {
        border-bottom-color: #007A33 !important;
    }

    .border-left-xl-success {
        border-left-color: #007A33 !important;
    }

    .border-top-xl-info {
        border-top-color: #4A89F0 !important;
    }

    .border-right-xl-info {
        border-right-color: #4A89F0 !important;
    }

    .border-bottom-xl-info {
        border-bottom-color: #4A89F0 !important;
    }

    .border-left-xl-info {
        border-left-color: #4A89F0 !important;
    }

    .border-top-xl-warning {
        border-top-color: #FFB81C !important;
    }

    .border-right-xl-warning {
        border-right-color: #FFB81C !important;
    }

    .border-bottom-xl-warning {
        border-bottom-color: #FFB81C !important;
    }

    .border-left-xl-warning {
        border-left-color: #FFB81C !important;
    }

    .border-top-xl-danger {
        border-top-color: #D5281C !important;
    }

    .border-right-xl-danger {
        border-right-color: #D5281C !important;
    }

    .border-bottom-xl-danger {
        border-bottom-color: #D5281C !important;
    }

    .border-left-xl-danger {
        border-left-color: #D5281C !important;
    }

    .border-top-xl-light {
        border-top-color: #F3F3F3 !important;
    }

    .border-right-xl-light {
        border-right-color: #F3F3F3 !important;
    }

    .border-bottom-xl-light {
        border-bottom-color: #F3F3F3 !important;
    }

    .border-left-xl-light {
        border-left-color: #F3F3F3 !important;
    }

    .border-top-xl-dark {
        border-top-color: #333333 !important;
    }

    .border-right-xl-dark {
        border-right-color: #333333 !important;
    }

    .border-bottom-xl-dark {
        border-bottom-color: #333333 !important;
    }

    .border-left-xl-dark {
        border-left-color: #333333 !important;
    }
}

@media(min-width:1400px) {
    .border-top-xxl-primary {
        border-top-color: #005EB8 !important;
    }

    .border-right-xxl-primary {
        border-right-color: #005EB8 !important;
    }

    .border-bottom-xxl-primary {
        border-bottom-color: #005EB8 !important;
    }

    .border-left-xxl-primary {
        border-left-color: #005EB8 !important;
    }

    .border-top-xxl-secondary {
        border-top-color: #666666 !important;
    }

    .border-right-xxl-secondary {
        border-right-color: #666666 !important;
    }

    .border-bottom-xxl-secondary {
        border-bottom-color: #666666 !important;
    }

    .border-left-xxl-secondary {
        border-left-color: #666666 !important;
    }

    .border-top-xxl-success {
        border-top-color: #007A33 !important;
    }

    .border-right-xxl-success {
        border-right-color: #007A33 !important;
    }

    .border-bottom-xxl-success {
        border-bottom-color: #007A33 !important;
    }

    .border-left-xxl-success {
        border-left-color: #007A33 !important;
    }

    .border-top-xxl-info {
        border-top-color: #4A89F0 !important;
    }

    .border-right-xxl-info {
        border-right-color: #4A89F0 !important;
    }

    .border-bottom-xxl-info {
        border-bottom-color: #4A89F0 !important;
    }

    .border-left-xxl-info {
        border-left-color: #4A89F0 !important;
    }

    .border-top-xxl-warning {
        border-top-color: #FFB81C !important;
    }

    .border-right-xxl-warning {
        border-right-color: #FFB81C !important;
    }

    .border-bottom-xxl-warning {
        border-bottom-color: #FFB81C !important;
    }

    .border-left-xxl-warning {
        border-left-color: #FFB81C !important;
    }

    .border-top-xxl-danger {
        border-top-color: #D5281C !important;
    }

    .border-right-xxl-danger {
        border-right-color: #D5281C !important;
    }

    .border-bottom-xxl-danger {
        border-bottom-color: #D5281C !important;
    }

    .border-left-xxl-danger {
        border-left-color: #D5281C !important;
    }

    .border-top-xxl-light {
        border-top-color: #F3F3F3 !important;
    }

    .border-right-xxl-light {
        border-right-color: #F3F3F3 !important;
    }

    .border-bottom-xxl-light {
        border-bottom-color: #F3F3F3 !important;
    }

    .border-left-xxl-light {
        border-left-color: #F3F3F3 !important;
    }

    .border-top-xxl-dark {
        border-top-color: #333333 !important;
    }

    .border-right-xxl-dark {
        border-right-color: #333333 !important;
    }

    .border-bottom-xxl-dark {
        border-bottom-color: #333333 !important;
    }

    .border-left-xxl-dark {
        border-left-color: #333333 !important;
    }
}

@media(min-width:1600px) {
    .border-top-xxxl-primary {
        border-top-color: #005EB8 !important;
    }

    .border-right-xxxl-primary {
        border-right-color: #005EB8 !important;
    }

    .border-bottom-xxxl-primary {
        border-bottom-color: #005EB8 !important;
    }

    .border-left-xxxl-primary {
        border-left-color: #005EB8 !important;
    }

    .border-top-xxxl-secondary {
        border-top-color: #666666 !important;
    }

    .border-right-xxxl-secondary {
        border-right-color: #666666 !important;
    }

    .border-bottom-xxxl-secondary {
        border-bottom-color: #666666 !important;
    }

    .border-left-xxxl-secondary {
        border-left-color: #666666 !important;
    }

    .border-top-xxxl-success {
        border-top-color: #007A33 !important;
    }

    .border-right-xxxl-success {
        border-right-color: #007A33 !important;
    }

    .border-bottom-xxxl-success {
        border-bottom-color: #007A33 !important;
    }

    .border-left-xxxl-success {
        border-left-color: #007A33 !important;
    }

    .border-top-xxxl-info {
        border-top-color: #4A89F0 !important;
    }

    .border-right-xxxl-info {
        border-right-color: #4A89F0 !important;
    }

    .border-bottom-xxxl-info {
        border-bottom-color: #4A89F0 !important;
    }

    .border-left-xxxl-info {
        border-left-color: #4A89F0 !important;
    }

    .border-top-xxxl-warning {
        border-top-color: #FFB81C !important;
    }

    .border-right-xxxl-warning {
        border-right-color: #FFB81C !important;
    }

    .border-bottom-xxxl-warning {
        border-bottom-color: #FFB81C !important;
    }

    .border-left-xxxl-warning {
        border-left-color: #FFB81C !important;
    }

    .border-top-xxxl-danger {
        border-top-color: #D5281C !important;
    }

    .border-right-xxxl-danger {
        border-right-color: #D5281C !important;
    }

    .border-bottom-xxxl-danger {
        border-bottom-color: #D5281C !important;
    }

    .border-left-xxxl-danger {
        border-left-color: #D5281C !important;
    }

    .border-top-xxxl-light {
        border-top-color: #F3F3F3 !important;
    }

    .border-right-xxxl-light {
        border-right-color: #F3F3F3 !important;
    }

    .border-bottom-xxxl-light {
        border-bottom-color: #F3F3F3 !important;
    }

    .border-left-xxxl-light {
        border-left-color: #F3F3F3 !important;
    }

    .border-top-xxxl-dark {
        border-top-color: #333333 !important;
    }

    .border-right-xxxl-dark {
        border-right-color: #333333 !important;
    }

    .border-bottom-xxxl-dark {
        border-bottom-color: #333333 !important;
    }

    .border-left-xxxl-dark {
        border-left-color: #333333 !important;
    }
}


/* Light background variants (brand-tinted pastels) */
.bg-primary-light {
    background-color: #C9E0FB !important;
}

.bg-secondary-light {
    background-color: #E0E0E0 !important;
}

.bg-success-light {
    background-color: #D6F2E3 !important;
}

.bg-info-light {
    background-color: #E6F0FC !important;
}

.bg-warning-light {
    background-color: #FFF4CC !important;
}

.bg-danger-light {
    background-color: #FCE8E8 !important;
}

.bg-light-light {
    background-color: #FAFAFA !important;
}

.bg-dark-light {
    background-color: #D6D6D6 !important;
}
/* PRIMARY */
.bg-primary-50 {
    background-color: #80AEDC;
}

.bg-primary-60 {
    background-color: #66A0D6;
}

.bg-primary-70 {
    background-color: #4D91D0;
}

.bg-primary-80 {
    background-color: #3383CA;
}

.bg-primary-90 {
    background-color: #1A74C4;
}

.bg-primary-110 {
    background-color: #0055A6;
}

.bg-primary-120 {
    background-color: #004D94;
}

/* SECONDARY */
.bg-secondary-50 {
    background-color: #B3B3B3;
}

.bg-secondary-60 {
    background-color: #A3A3A3;
}

.bg-secondary-70 {
    background-color: #949494;
}

.bg-secondary-80 {
    background-color: #858585;
}

.bg-secondary-90 {
    background-color: #757575;
}

.bg-secondary-110 {
    background-color: #5C5C5C;
}

/* SUCCESS */
.bg-success-50 {
    background-color: #80BD99;
}

.bg-success-60 {
    background-color: #66B386;
}

.bg-success-70 {
    background-color: #4DA873;
}

.bg-success-80 {
    background-color: #339E60;
}

.bg-success-90 {
    background-color: #1A934D;
}

.bg-success-110 {
    background-color: #006E2E;
}

/* INFO */
.bg-info-50 {
    background-color: #A5C4F8;
}

.bg-info-60 {
    background-color: #93B8F6;
}

.bg-info-70 {
    background-color: #81ABF5;
}

.bg-info-80 {
    background-color: #6F9FF3;
}

.bg-info-90 {
    background-color: #5D92F1;
}

.bg-info-110 {
    background-color: #437BD8;
}

.bg-info-120 {
    background-color: #3B6EC0;
}

/* WARNING */
.bg-warning-50 {
    background-color: #FFD98E;
}

.bg-warning-60 {
    background-color: #FFD173;
}

.bg-warning-70 {
    background-color: #FFC958;
}

.bg-warning-80 {
    background-color: #FFC13D;
}

.bg-warning-90 {
    background-color: #FFB922;
}

.bg-warning-110 {
    background-color: #E6A617;
}

/* DANGER */
.bg-danger-50 {
    background-color: #EA948E;
}

.bg-danger-60 {
    background-color: #E67F78;
}

.bg-danger-70 {
    background-color: #E16A63;
}

.bg-danger-80 {
    background-color: #DD544D;
}

.bg-danger-90 {
    background-color: #D83F38;
}

.bg-danger-110 {
    background-color: #BF2419;
}

[class*="btn-outline-"].btn-bg-primary:not(:hover):not(:focus):not(:active) {
    background-color: #007bff !important;
    color: #ffffff !important;
}

[class*="btn-outline-"].btn-bg-secondary:not(:hover):not(:focus):not(:active) {
    background-color: #6c757d !important;
    color: #ffffff !important;
}

[class*="btn-outline-"].btn-bg-success:not(:hover):not(:focus):not(:active) {
    background-color: #28a745 !important;
    color: #ffffff !important;
}

[class*="btn-outline-"].btn-bg-info:not(:hover):not(:focus):not(:active) {
    background-color: #17a2b8 !important;
    color: #ffffff !important;
}

[class*="btn-outline-"].btn-bg-warning:not(:hover):not(:focus):not(:active) {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

[class*="btn-outline-"].btn-bg-danger:not(:hover):not(:focus):not(:active) {
    background-color: #dc3545 !important;
    color: #ffffff !important;
}

[class*="btn-outline-"].btn-bg-light:not(:hover):not(:focus):not(:active) {
    background-color: #f8f9fa !important;
    color: #212529 !important;
}

[class*="btn-outline-"].btn-bg-dark:not(:hover):not(:focus):not(:active) {
    background-color: #343a40 !important;
    color: #ffffff !important;
}

[class*="btn-outline-"].btn-bg-primary-light:not(:hover):not(:focus):not(:active) {
    background-color: #e1ecff !important;
}

[class*="btn-outline-"].btn-bg-secondary-light:not(:hover):not(:focus):not(:active) {
    background-color: #e6e6e6 !important;
}

[class*="btn-outline-"].btn-bg-success-light:not(:hover):not(:focus):not(:active) {
    background-color: #d9f2e4 !important;
}

[class*="btn-outline-"].btn-bg-info-light:not(:hover):not(:focus):not(:active) {
    background-color: #d8f0ff !important;
}

[class*="btn-outline-"].btn-bg-warning-light:not(:hover):not(:focus):not(:active) {
    background-color: #fff3cd !important;
    color: #212529 !important;
}

[class*="btn-outline-"].btn-bg-danger-light:not(:hover):not(:focus):not(:active) {
    background-color: #f8d7da !important;
}

[class*="btn-outline-"].btn-bg-light-light:not(:hover):not(:focus):not(:active) {
    background-color: #fafafa !important;
    color: #212529 !important;
}

[class*="btn-outline-"].btn-bg-dark-light:not(:hover):not(:focus):not(:active) {
    background-color: #d3d3d3 !important;
    color: #ffffff !important;
}

[class*="btn-outline-"].btn-bg-white:not(:hover):not(:focus):not(:active) {
    background-color: #ffffff !important;
    color: #212529 !important;
}

[class*="btn-outline-"].btn-bg-black:not(:hover):not(:focus):not(:active) {
    background-color: #000000 !important;
    color: #ffffff !important;
}


/* Cards */
a.card {
    /*display: block;*/
    transition: all 0.2s ease;
    color: inherit;
    text-decoration: none !important;
}

    a.card *,
    a.card:hover,
    a.card:hover * {
        text-decoration: none !important;
    }

    .card.card-tile:hover,
    a.card:hover {
        box-shadow: 0 0 12px 2px rgba(209, 223, 231, 0.9);
    }

.card.card-tile {
    border-radius: 0.5rem;
}

    .card.card-tile .card-header {
        border-top-left-radius: calc(0.5rem - 1px);
        border-top-right-radius: calc(0.5rem - 1px);
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-bottom: none;
    }

    .card.card-tile .card-footer {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: calc(0.5rem - 1px) !important;
        border-bottom-right-radius: calc(0.5rem - 1px) !important;
        border-bottom: none;
    }
/* Base defaults (mobile first) */
.container-max-sm,
.container-max-md,
.container-max-lg,
.container-max-xl,
.container-max-xxl,
.container-max-xxxl {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* -------- 576px and up -------- */
@media (min-width: 576px) {
    .container-max-sm,
    .container-max-md,
    .container-max-lg,
    .container-max-xl,
    .container-max-xxl,
    .container-max-xxxl {
        max-width: 540px;
    }
}

/* -------- 768px and up -------- */
@media (min-width: 768px) {
    .container-max-md,
    .container-max-lg,
    .container-max-xl,
    .container-max-xxl,
    .container-max-xxxl {
        max-width: 720px;
    }
}

/* -------- 992px and up -------- */
@media (min-width: 992px) {
    .container-max-lg,
    .container-max-xl,
    .container-max-xxl,
    .container-max-xxxl {
        max-width: 960px;
    }
}

/* -------- 1200px and up -------- */
@media (min-width: 1200px) {
    .container-max-xl,
    .container-max-xxl,
    .container-max-xxxl {
        max-width: 1140px;
    }
}

/* -------- 1400px and up -------- */
@media (min-width: 1400px) {
    .container-max-xxl,
    .container-max-xxxl {
        max-width: 1340px;
    }
}

/* -------- 1600px and up -------- */
@media (min-width: 1600px) {
    .container-max-xxxl {
        max-width: 1540px;
    }
}
/* Restore divider when input is readonly (so border isn't visually merged) */
.input-group:has(.form-control[readonly]) .input-group-append {
    margin-left: 0; /* remove Bootstrap's -1px overlap */
}

/* Keep hover/focus behavior on the button consistent with btn-calendar */
.input-group .btn {
    border: 1px solid #ced4da;
    border-left: 0;
    /*background-color: #f8f9fa;
    color: #495057;*/
    height: 38px;
    line-height: 1;
}

    .input-group .btn:hover,
    .input-group .btn:focus {
        /*background-color: #333;*/
        border-color: #333;
        /*color: #fff;*/
    }

    .input-group .btn:disabled,
    .input-group .btn.disabled {
        /*background-color: #e9ecef;*/
        border-color: #ced4da;
        /*color: #6c757d;*/
    }

.nav-item.active .nav-link .user-initials.fa-layers svg.text-primary {
    color: #004A91 !important;
}

.nav-item.active .nav-link:hover .user-initials.fa-layers svg.text-primary {
    color: #005eb8 !important;
}

.list-group-item svg.float-right {
    margin-top: 0.125rem;
}


.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
}

.list-group-item.active {
    background-color: #005eb8;
    color: white;
    border-color: #005eb8;
}

.btn.btn-outline-primary:hover svg {
    color: #fff;
}

.mobile-menu-btn-container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

@media (min-width: 576px) {
    .mobile-menu-btn-container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .mobile-menu-btn-container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .mobile-menu-btn-container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .mobile-menu-btn-container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .mobile-menu-btn-container {
        max-width: 1340px;
    }
}

@media (min-width: 838px) and (max-width: 992px) {
    .mobile-menu-btn-container {
        position: absolute;
        top: 0;
        left: 0;
        max-width: none;
    }
}

@media (min-width: 636px) and (max-width: 768px) {
    .mobile-menu-btn-container {
        position: absolute;
        top: 0;
        left: 0;
        max-width: none;
    }
}

.mobile-menu-btn {
    margin: 0 1rem 1rem;
}

.mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(52, 58, 64, 0.5);
    z-index: 1040;
    display: none;
}

    .mobile-backdrop.show {
        display: block;
    }

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    max-width: 280px;
    height: 100%;
    background: #ffffff;
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    border-right: 1px solid #6c757d33;
}

    .mobile-sidebar.show {
        transform: translateX(0);
    }

@media (min-width: 768px) {
    .avatar-rounded-md {
        border-radius: 100px .5rem .5rem 100px;
    }
}

/* DevExpress grid container adjustments */
body .card > .card-body > .dxbl-grid > .card,
body .card > .card-body > .dxbl-grid > .card > .card-body {
    background-color: transparent;
    padding: 0;
    margin: 0;
    border: none;
}

    body .card > .card-body > .dxbl-grid > .card .dxbl-scroll-viewer:last-child,
    body .dxbl-grid > .card .dxbl-scroll-viewer > .dxbl-scroll-viewer-content {
        border-radius: 0;
        border: none;
        background-color: #ffffff;
    }

/* Grid header text → bootstrap primary (DrJ NHS blue) */
body .dxbl-grid-header-content {
    color: #005EB8;
}

/* General cell padding */
body .dxbl-grid .dxbl-grid-table > * > tr:not(.dxbl-grid-filter-row) > th:not(.dxbl-grid-header-indent-cell):not(.dxbl-grid-empty-header):not(.btn-sm),
body .dxbl-grid .dxbl-grid-table > * > tr:not(.dxbl-grid-filter-row) > td:not(.dxbl-grid-indent-cell):not(.dxbl-grid-expand-group-cell)
:not(.dxbl-grid-empty-cell):not(.dxbl-grid-empty-data):not(.dxbl-grid-edit-form):not(.btn-sm) {
    padding: 0 !important;
    line-height: 1.4;
}

@media (min-width: 992px) {
    body .dxbl-grid .dxbl-grid-table > * > tr:not(.dxbl-grid-filter-row) > td:not(.dxbl-grid-indent-cell):not(.dxbl-grid-expand-group-cell)
    :not(.dxbl-grid-empty-cell):not(.dxbl-grid-empty-data):not(.dxbl-grid-edit-form)
    .btn.btn-sm {
        margin: -.5rem 0;
    }
}
/* Hide DevExpress default sort icons */
body .dxbl-grid-sort-asc svg.dx-image, body .dxbl-grid-sort-desc svg.dx-image {
    display: none;
}

body .dxbl-grid-sort-asc, body .dxbl-grid-sort-desc {
    margin-left: 0;
    position: relative;
}
    /* Sort icons → DrJ NHS primary */
    body .dxbl-grid-sort-asc::before, body .dxbl-grid-sort-desc::before {
        display: none;
        font-family: "Font Awesome 6 Pro";
        font-weight: 900;
    }

    body .dxbl-grid-sort-asc::before {
        content: "\f0de";
        color: #005EB8;
    }

    body .dxbl-grid-sort-desc::before {
        content: "\f0dd";
        color: #005EB8;
    }

    body .dxbl-grid-sort-asc .svg-inline--fa, body .dxbl-grid-sort-desc .svg-inline--fa {
        margin-right: 3px;
    }
/* Remove table borders for cleaner UI */
body .dxbl-grid tr, body .dxbl-grid td, body .dxbl-grid table {
    border: none !important;
}

body .dxbl-grid td, body .dxbl-grid th {
    padding: 0.75rem !important;
}
/* Filter row padding */
body .dxbl-grid .dxbl-grid-filter-row td {
    padding: 0.25rem 0.1rem !important;
}
    /* Filter readonly input background */
    body .dxbl-grid .dxbl-grid-filter-row td .form-control[readonly] {
        background-color: #ffffff !important;
    }
    /* Filter button → bootstrap primary */
    body .dxbl-grid .dxbl-grid-filter-row td .btn.btn-secondary {
        color: #ffffff;
        background-color: #005EB8;
        border-color: #005EB8;
    }

        body .dxbl-grid .dxbl-grid-filter-row td .btn.btn-secondary:hover, body .dxbl-grid .dxbl-grid-filter-row td .btn.btn-secondary:focus {
            background-color: #004a92;
            border-color: #004a92;
        }
/* Grid header border → bootstrap dark */
body .dxbl-grid th {
    background-color: unset !important;
    border-left: none !important;
    border-right: none !important;
    border-color: #333333;
}
/* Remove card chrome around grid wrapper */
body .dxbl-grid .card {
    border: none !important;
    background-color: unset !important;
}
/* Hide mobile stacked labels */
.dxbl-grid-table td span.cell-label {
    display: none;
}
/* Dropdown in grid cell positioning */
#gridData td .btn-group .dropdown-menu.show {
    transform: translateY(34px) translateX(5px) !important;
}
/* Checkbox → bootstrap primary */
body .dxbl-checkbox:not(.dxbl-checkbox-switch) :not(.dxbl-checkbox-radio):not(.dxbl-disabled):not(:disabled) :not(.dxbl-readonly).dxbl-checkbox-checked .dxbl-checkbox-check-element:not(.dxbl-disabled):not(:disabled):hover, body .dxbl-checkbox:not(.dxbl-checkbox-switch) :not(.dxbl-checkbox-radio):not(.dxbl-disabled):not(:disabled) :not(.dxbl-readonly).dxbl-checkbox-indeterminate .dxbl-checkbox-check-element:not(.dxbl-disabled):not(:disabled):hover, body .dxbl-checkbox:not(.dxbl-checkbox-switch) :not(.dxbl-checkbox-radio):not(.dxbl-disabled):not(:disabled) :not(.dxbl-readonly).dxbl-checkbox-checked .dxbl-checkbox-check-element, body .dxbl-checkbox:not(.dxbl-checkbox-switch) :not(.dxbl-checkbox-radio):not(.dxbl-disabled):not(:disabled) :not(.dxbl-readonly).dxbl-checkbox-indeterminate .dxbl-checkbox-check-element {
    background-color: #005EB8 !important;
}
/* Checkbox focus outline */
body .dxbl-checkbox.dxbl-checkbox-checked .dxbl-checkbox-check-element:focus-within, body .dxbl-checkbox.dxbl-checkbox-indeterminate .dxbl-checkbox-check-element:focus-within {
    box-shadow: 0 0 0 0.125rem rgba(0, 94, 184, 0.45);
}
/* List box styling */
body .dxbl-list-box {
    height: 187px;
}

body .multi-choice-list-box.dxbl-list-box {
    height: auto !important;
    border: none;
    background-color: transparent;
}

    body .multi-choice-list-box.dxbl-list-box .dxbl-scroll-viewer {
        background-color: transparent;
    }

body .dxbl-list-box .dxbl-checkbox {
    position: relative;
    top: -4px;
}
/* Text edit → bootstrap form control appearance */
body .dxbl-text-edit {
    border-color: #ced4da;
    flex: 1 1 auto;
}

    body .dxbl-text-edit > .dxbl-text-edit-input {
        display: block;
        width: 100%;
        height: calc(1.5em + .75rem + 2px);
        padding: .375rem .75rem;
        font-size: 1rem;
        line-height: 1.5;
        color: #495057;
        background-color: #ffffff;
        border-radius: .25rem;
    }
/* Input padding inside grid */
body .dxbl-grid .dxbl-text-edit input {
    padding: .375rem .25rem !important;
}
/* Pager spacing */
body .dxbl-grid .dxbl-grid-pager-container .dxbl-pager {
    margin-top: 22px;
}
/* -----------------------------------------------------------
   DrJ / NHS Colour Alignment for DevExpress Blazor Components
   This overrides the default DevExpress Bootstrap 5 theme
   without modifying vendor files.
   ----------------------------------------------------------- */
/* PRIMARY BLUE ------------------------------------------------ */
:root {
    --dxbl-primary-color: #005EB8 !important;
    --dxbl-btn-link-hover-color: #005EB8 !important;
    --dxbl-btn-link-active-color: #005EB8 !important;
    --dxbl-btn-focus-ring-color: rgba(0,94,184,0.25) !important;
}
/* Used by grid headers, focus outlines, highlight borders */
.dxbl-focused, .dxbl-grid .dxbl-grid-table > thead > tr.dxbl-grid-header-row:after, .dxbl-grid-header-content:focus, .dxbl-text-edit.dxbl-focused {
    border-color: #005EB8 !important;
    color: #005EB8 !important;
}
/* SECONDARY GREY --------------------------------------------- */
:root {
    --dxbl-secondary-color: #666666 !important;
    --dxbl-list-box-empty-data-icon-color: #666666 !important;
    --dxbl-list-box-empty-data-text-color: #666666 !important;
    --dxbl-grid-fixed-column-border-color: #666666 !important;
    --dxbl-navigation-badge-bg: #666666 !important;
}
/* TEXT / DARK ------------------------------------------------- */
:root {
    --dxbl-text-color: #333333 !important;
    --dxbl-heading-color: #333333 !important;
}

.dxbl-grid, .dxbl-grid-cell, .dxbl-grid-header-content, .dxbl-listbox, .dxbl-toast, .dxbl-text-edit-input {
    color: #333333 !important;
}
/* SUCCESS ----------------------------------------------------- */
:root {
    --dxbl-success-color: #007A33 !important;
}

.dxbl-badge-success, .dxbl-toast-success {
    background-color: #007A33 !important;
    border-color: #007A33 !important;
}
/* INFO -------------------------------------------------------- */
:root {
    --dxbl-info-color: #4A89F0 !important;
}

.dxbl-badge-info, .dxbl-toast-info {
    background-color: #4A89F0 !important;
    border-color: #4A89F0 !important;
}
/* WARNING ----------------------------------------------------- */
:root {
    --dxbl-warning-color: #FFB81C !important;
}

.dxbl-badge-warning, .dxbl-toast-warning {
    background-color: #FFB81C !important;
    border-color: #FFB81C !important;
}
/* DANGER ------------------------------------------------------ */
:root {
    --dxbl-danger-color: #D5281C !important;
}
/* Weekend in calendar */
:root {
    --dxbl-calendar-weekend-color: #D5281C !important;
}

.dxbl-badge-danger, .dxbl-toast-danger {
    background-color: #D5281C !important;
    border-color: #D5281C !important;
}
/* LIGHT ------------------------------------------------------- */
:root {
    --dxbl-light-color: #F3F3F3 !important;
}

.dxbl-grid-row.dxbl-state-selected {
    background-color: #F3F3F3 !important;
}
/* BORDER FIXES ------------------------------------------------ */
/* Remove DevExpress purple border under grid headers */
.dxbl-grid .dxbl-grid-table > thead > tr.dxbl-grid-header-row:after {
    border-bottom: 2px solid #005EB8 !important;
}
/* Inputs / editors */
.dxbl-text-edit.dxbl-focused, .dxbl-select-edit.dxbl-focused {
    border-color: #005EB8 !important;
    box-shadow: 0 0 0 .2rem rgba(0,94,184,.25) !important;
}
/* Hover colours for grid rows */
.dxbl-grid-row:hover {
    background-color: #F3F3F3 !important;
}
/* Grid selected row */
.dxbl-grid-row.dxbl-state-selected {
    background-color: #E5EEF8 !important; /* subtle NHS blue tint */
}
/* HEADER TEXT COLOUR */
.dxbl-grid-header-content {
    color: #005EB8 !important;
}

.dxbl-grid-table > tbody > tr:nth-child(odd) {
    background-color: #fff !important; /* white stripe */
}

.dxbl-grid-table > tbody > tr:nth-child(even) {
    background-color: #EFF7FE !important; /* white stripe */
}

.dxbl-grid-header-content {
    padding: 12px
}

.btn.btn-outline-primary:hover {
    color: #fff !important
}
/* ------------------------------------------------------------------
   DrJ/NHS Aligned Styles for #gridData
   Colours replaced to match NHS palette (no variables, all hard-coded)
   ------------------------------------------------------------------ */
/* FOOTER BORDER ---------------------------------------------------- */
#gridData.dxbl-grid .dxbl-grid-footer-row td {
    border-top: 3px solid #005EB8 !important; /* NHS primary */
}

    #gridData.dxbl-grid .dxbl-grid-footer-row td:nth-child(1) {
        padding: 0.50rem 0.25rem !important;
    }
/* FIRST COLUMN CELL PADDING ---------------------------------------- */
#gridData > div > dxbl-scroll-viewer > div > table > tbody > tr > td:nth-child(1) {
    padding: 0.50rem 0.25rem !important;
}
/* DROPDOWN POSITIONING --------------------------------------------- */
#gridData td .btn-group .dropdown-menu.show {
    transform: translateY(34px) translateX(5px) !important;
}
/* DROPDOWN ITEM HOVER (purple → NHS blue) -------------------------- */
#gridData td .btn-group .dropdown-item:hover, #gridData td .btn-group .dropdown-item:hover {
    color: #fff;
    text-decoration: none;
    background-color: #005EB8 !important; /* NHS primary */
}
/* ------------------------------------------------------------------
   CARD MODE (>=576px and <992px)
   ------------------------------------------------------------------ */
@media (max-width: 992px) and (min-width: 576px) {

    #gridData.card-md .dxbl-grid-table tr {
        display: flex;
        flex-direction: column;
        padding: 12px !important;
        border: 1px solid #F3F3F3; /* DrJ light */
    }

    #gridData.card-md .dxbl-grid-table td {
        display: flex !important;
        margin-bottom: .25rem;
        padding: 0 !important;
    }

        #gridData.card-md .dxbl-grid-table td span {
            display: block !important;
            padding-right: 15px;
            padding-left: 15px;
            padding-top: calc(0.375rem + 1px);
            padding-bottom: calc(0.375rem + 1px);
        }

            #gridData.card-md .dxbl-grid-table td span.cell-label {
                background-color: transparent !important;
                color: #333333 !important; /* DrJ dark */
                font-weight: bold;
                width: auto;
                float: left;
            }

    #gridData.card-md .dxbl-grid-table {
        display: block;
    }

        #gridData.card-md .dxbl-grid-table thead,
        #gridData .dxbl-grid-table tbody {
            display: block;
            width: 100%;
        }

            #gridData.card-md .dxbl-grid-table thead .dxbl-grid-header-row {
                display: none;
            }

        #gridData.card-md .dxbl-grid-table .dxbl-grid-filter-row {
            background-color: #F3F3F3 !important; /* DrJ light */
            margin-bottom: 1rem;
        }

            #gridData.card-md .dxbl-grid-table .dxbl-grid-filter-row:not(.collapse),
            #gridData .dxbl-grid-table .dxbl-grid-filter-row.collapse:not(.show) {
                display: none;
            }

        #gridData.card-md .dxbl-grid-table tr {
            display: flex;
            flex-direction: column;
            padding: 12px !important;
            border: 1px solid #F3F3F3; /* DrJ light */
        }

        #gridData.card-md .dxbl-grid-table td .dxbl-textbox {
            width: 100%;
        }

        #gridData.card-md .dxbl-grid-table td span {
            display: block !important;
            padding: 0;
            width: calc(100% - 175px);
        }

            #gridData.card-md .dxbl-grid-table td span.cell-label {
                background-color: transparent !important;
                color: #333333 !important; /* DrJ dark */
                font-weight: bold;
                width: 175px;
            }

    #gridData.card-md .dxbl-grid-empty-row,
    #gridData.card-md .dxbl-grid-empty-cell {
        display: none !important;
    }
}
/* ------------------------------------------------------------------
   MOBILE (<576px)
   ------------------------------------------------------------------ */
@media (max-width: 576px) {

    #gridData .dxbl-grid-table tr {
        display: flex;
        flex-direction: column;
        padding: 12px !important;
        border: 1px solid #F3F3F3; /* DrJ light */
    }

    #gridData .dxbl-grid-table td {
        display: block !important;
        margin-bottom: .25rem;
        padding: 0 !important;
    }

        #gridData .dxbl-grid-table td span {
            display: block !important;
            padding-right: 15px;
            padding-left: 15px;
            padding-top: calc(0.375rem + 1px);
            padding-bottom: calc(0.375rem + 1px);
        }

            #gridData .dxbl-grid-table td span.cell-label {
                background-color: transparent !important;
                color: #333333 !important; /* DrJ dark */
                font-weight: bold;
                width: auto;
            }

    #gridData .dxbl-grid-table {
        display: block;
    }

        #gridData .dxbl-grid-table thead,
        #gridData .dxbl-grid-table tbody {
            display: block;
            width: 100%;
        }

            #gridData .dxbl-grid-table thead .dxbl-grid-header-row {
                display: none;
            }

        #gridData .dxbl-grid-table .dxbl-grid-filter-row {
            background-color: #F3F3F3 !important; /* DrJ light */
            margin-bottom: 1rem;
        }

            #gridData .dxbl-grid-table .dxbl-grid-filter-row:not(.collapse),
            #gridData .dxbl-grid-table .dxbl-grid-filter-row.collapse:not(.show) {
                display: none;
            }

        #gridData .dxbl-grid-table tr {
            display: flex;
            flex-direction: column;
            padding: 12px !important;
            border: 1px solid #F3F3F3; /* DrJ light */
        }

        #gridData .dxbl-grid-table td .dxbl-textbox {
            width: 100%;
        }

        #gridData .dxbl-grid-table td span {
            display: block !important;
            padding: 0;
        }

            #gridData .dxbl-grid-table td span.cell-label {
                background-color: transparent !important;
                color: #333333 !important; /* DrJ dark */
                font-weight: bold;
                width: 175px;
            }

    #gridData .dxbl-grid-empty-row,
    #gridData .dxbl-grid-empty-cell {
        display: none !important;
    }
}

.pho-form .input-group-text {
    min-width: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pho-form select {
    max-width: 90px !important;
    min-width: 90px !important;
    outline: none !important;
    background-color: #005eb8;
    color: white
}

.col-form-label {
    width: 135px;
    padding-left: 15px;
}

.pho-measurement-group {
    display: flex;
    flex-wrap: nowrap;
}

@media (max-width: 400px) {
    .pho-measurement-group {
        flex-wrap: wrap;
    }
        /* Height / Weight */
        .pho-measurement-group.hw select.form-control {
            width: 100% !important;
            max-width: 100% !important;
        }

        .pho-measurement-group.hw input.form-control {
            width: calc(100% - 47px) !important;
            max-width: calc(100% - 47px) !important;
            margin-left: 0 !important;
            margin-top: .25rem;
        }

        .pho-measurement-group.hw .input-group-append {
            margin-top: .25rem;
        }
        /* Blood pressure */
        .pho-measurement-group.bp input.form-control {
            width: calc(100% - 75px) !important;
            max-width: calc(100% - 75px) !important;
            margin-left: 0 !important;
            margin-top: .25rem;
        }

        .pho-measurement-group.bp .input-group-append {
            white-space: nowrap;
            margin-top: .25rem;
        }

        .pho-measurement-group.bp .input-group-text {
            min-width: 75px;
            max-width: 75px;
        }
}

.small, small {
    font-size: 15px !important;
}

    .small.text-muted, small.text-muted {
        color: #444 !important;
    }

@media (min-width: 768px) and (max-width: 991.98px) {
    #mainNavigation {
        flex-wrap: wrap;
    }

        /*#mainNavigation ul.primary-navbar {
            flex: 0 0 100%;
            max-width: 100%;
        }*/
}
.btn-xl {
    padding: 0.625rem 1.25rem;
    font-size: 1.5rem;
    line-height: 1.5;
    border-radius: 0.3rem;
}
.navbar-brand p,
.navbar-brand h1 {
    white-space: normal;
}
.navbar-brand p {
    font-size: .9rem;
}
.navbar-brand h1 {
    font-size: 1.25rem;
}