

.chosen-single {
    height:auto!important;
    border:2px solid #aaa!important;
}


td , th {
    vertical-align: middle !important;
    padding:4px 6px !important;
}

label {
    margin-bottom: 0;
}

a {
    text-decoration: none!important;
}

.navbar-nav .notifications-menu .dropdown-menu,
.navbar-nav .messages-menu .dropdown-menu,
.navbar-nav .tasks-menu .dropdown-menu {
    width: 280px;
    padding: 0;
    margin: 0;
    top: 100%;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,.10);
    border: 1px solid rgba(0,0,0,.08);
    z-index: 2300;
}

    .navbar-nav .notifications-menu .dropdown-menu .dropdown-header,
    .navbar-nav .messages-menu .dropdown-menu .dropdown-header,
    .navbar-nav .tasks-menu .dropdown-menu .dropdown-header {
        background-color: #fafafa;
        padding: 8px 12px;
        border-bottom: 1px solid #f0f0f0;
        color: #444;
        font-size: 13px;
        font-weight: 600;
        border-radius: 6px 6px 0 0;
    }

    .navbar-nav .notifications-menu .dropdown-menu .dropdown-footer a,
    .navbar-nav .messages-menu .dropdown-menu .dropdown-footer a,
    .navbar-nav .tasks-menu .dropdown-menu .dropdown-footer a {
        font-size: 12px;
        background-color: #f8f8f8;
        padding: 7px 10px;
        border-top: 1px solid #eee;
        color: #555;
        text-align: center;
        display: block;
        border-radius: 0 0 6px 6px;
        text-decoration: none;
    }

        .navbar-nav .notifications-menu .dropdown-menu .dropdown-footer a:hover,
        .navbar-nav .messages-menu .dropdown-menu .dropdown-footer a:hover {
            background: #eee;
        }

.navbar-nav .dropdown-menu .menu {
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 200px;
    overflow-y: auto;
}

    .navbar-nav .dropdown-menu .menu > li > a {
        display: block;
        white-space: nowrap;
        border-bottom: 1px solid #f4f4f4;
        padding: 10px 12px;
        font-size: 12px;
        color: #444;
        text-decoration: none;
    }

        .navbar-nav .dropdown-menu .menu > li > a:hover {
            background: #f6f6f6;
        }

.navbar-nav .user-menu .dropdown-menu {
    border-radius: 6px;
    padding: 0;
    width: 210px;
}


.form-select {
    font-size: 14px !important;
    background-size: 12px 12px !important;
    border: 2px solid #aaa;
    padding:4px 10px!important;
}

.form-control {
    padding:2.5px 8px!important;
    font-size:13px!important;
    border:2px solid #aaa!important;
}

.form-control:focus,
.form-select:focus {
    border-color: #3c8dbc !important;
    box-shadow: 0 0 0 0.2rem rgba(60,141,188,.2) !important;
}

.input-group-text {
  border:2px solid #aaa!important;
}

.btn {
    font-size: 14px !important;
    padding: 4px 10px !important;
}

.btn-sm {
    padding: 3px 10px !important;
    font-size: 11px !important;
    border-radius: 4px !important;
}

.btn-lg {
    padding: 8px 20px !important;
    font-size: 14px !important;
}

.btn-primary {
    background-color: #3c8dbc !important;
    border-color: #367fa9 !important;
    color: #fff !important;
}

    .btn-primary:hover,
    .btn-primary:active {
        background-color: #2f7aa8 !important;
        border-color: #2a6f9a !important;
    }

.btn-success {
    background-color: #00a65a !important;
    border-color: #009150 !important;
    color: #fff !important;
}

    .btn-success:hover,
    .btn-success:active {
        background-color: #009150 !important;
    }

.btn-info {
    background-color: #00b3db !important;
    border-color: #009ec3 !important;
    color: #fff !important;
}

    .btn-info:hover,
    .btn-info:active {
        background-color: #009ec3 !important;
    }

.btn-danger {
    background-color: #e8604c !important;
    border-color: #d9503a !important;
    color: #fff !important;
}

    .btn-danger:hover,
    .btn-danger:active {
        background-color: #d9503a !important;
    }

.btn-warning {
    background-color: #f39c12 !important;
    border-color: #e08e0b !important;
    color: #fff !important;
}

    .btn-warning:hover,
    .btn-warning:active {
        background-color: #e08e0b !important;
    }

.btn-secondary {
    background-color: #6c757d !important;
    border-color: #636c74 !important;
    color: #fff !important;
}

    .btn-secondary:hover {
        background-color: #5a6268 !important;
    }

.btn-flat {
    border-radius: 0 !important;
    box-shadow: none !important;
    border-width: 1px;
}

.input-group .btn {
    height: auto !important;
    border-radius: 0 5px 5px 0 !important;
}

.btn-file {
    position: relative;
    width: 120px;
    height: 34px;
    overflow: hidden;
}

    .btn-file > input[type='file'] {
        display: block !important;
        width: 100% !important;
        height: 34px !important;
        opacity: 0 !important;
        position: absolute;
        top: -10px;
        cursor: pointer;
    }

.btn-app {
    position: relative;
    padding: 15px 5px;
    margin: 0 0 10px 2px;
    min-width: 80px;
    height: 60px;
    box-shadow: none;
    border-radius: 6px;
    text-align: center;
    color: #666;
    border: 1px solid #e0e0e0;
    background-color: #fafafa;
    font-size: 12px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

    .btn-app .fa, .btn-app .bi {
        font-size: 20px;
        display: block;
    }

    .btn-app:hover {
        background: #f0f0f0;
        color: #333;
        border-color: #bbb;
    }

.btn-circle {
    width: 30px;
    height: 30px;
    line-height: 30px;
    padding: 0 !important;
    border-radius: 50% !important;
}


/* ============================================================
   Component: Progress bars
   ============================================================ */
.progress.sm {
    height: 10px;
}

.progress.xs {
    height: 6px;
}

.progress.vertical {
    position: relative;
    width: 30px;
    height: 200px;
    display: inline-block;
    margin-right: 10px;
}

    .progress.vertical > .progress-bar {
        width: 100% !important;
        position: absolute;
        bottom: 0;
    }

    .progress.vertical.sm {
        width: 20px;
    }

    .progress.vertical.xs {
        width: 10px;
    }

.table tr > td .progress {
    margin: 0;
}

.progress-bar-light-blue,
.progress-bar-primary {
    background-color: #3c8dbc;
}

.progress-bar-green,
.progress-bar-success {
    background-color: #00a65a;
}

.progress-bar-aqua,
.progress-bar-info {
    background-color: #00b3db;
}

.progress-bar-yellow,
.progress-bar-warning {
    background-color: #f39c12;
}

.progress-bar-red,
.progress-bar-danger {
    background-color: #e8604c;
}

/* ============================================================
   Component: Small boxes (dashboard widgets)
   ============================================================ */
.small-box {
    position: relative;
    display: block;
    border-radius: 6px;
    margin-bottom: 15px;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.10);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

    .small-box:hover {
        text-decoration: none;
        color: #f9f9f9;
        box-shadow: 0 4px 14px rgba(0,0,0,.15);
        transform: translateY(-1px);
    }

    .small-box > .inner {
        padding: 12px 14px;
    }

    .small-box > .small-box-footer {
        position: relative;
        text-align: center;
        padding: 4px 0;
        color: rgba(255,255,255,.85);
        display: block;
        z-index: 10;
        background: rgba(0,0,0,.12);
        text-decoration: none;
        font-size: 11px;
        transition: background 0.15s ease;
    }

        .small-box > .small-box-footer:hover {
            color: #fff;
            background: rgba(0,0,0,.18);
        }

    .small-box h3 {
        font-size: 36px;
        font-weight: 700;
        margin: 0 0 8px;
        white-space: nowrap;
        padding: 0;
    }

    .small-box p {
        font-size: 14px;
        margin: 0;
    }

        .small-box p > small {
            display: block;
            color: rgba(255,255,255,.8);
            font-size: 12px;
            margin-top: 4px;
        }

    .small-box .icon {
        position: absolute;
        bottom: 8px;
        right: 8px;
        z-index: 0;
        font-size: 80px;
        color: rgba(0,0,0,.12);
        transition: font-size 0.3s ease;
    }

    .small-box:hover .icon {
        font-size: 90px;
    }

@media (max-width: 480px) {
    .small-box {
        text-align: center;
    }

        .small-box .icon {
            display: none;
        }

        .small-box p {
            font-size: 12px;
        }
}

/* ============================================================
   Component: Box (card panels)
   ============================================================ */
.box {
    position: relative;
    background: #fff;
    margin-bottom: 12px;
    border-radius: 6px;
    width: 100%;
    min-height: 55px;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    border: 1px solid #e8eaed;
}

    .box.box-primary {
        border-top: 3px solid #3c8dbc;
    }

    .box.box-info {
        border-top: 3px solid #00b3db;
    }

    .box.box-danger {
        border-top: 3px solid #e8604c;
    }

    .box.box-warning {
        border-top: 3px solid #f39c12;
    }

    .box.box-success {
        border-top: 3px solid #00a65a;
    }

    .box.height-control .box-body {
        max-height: 300px;
        overflow: auto;
    }

    .box .box-header {
        position: relative;
        border-radius: 6px 6px 0 0;
        border-bottom: 1px solid #f0f2f5;
        color: #444;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 8px 12px;
    }

        .box .box-header .box-title {
            display: inline-block;
            margin: 0;
            font-size: 13px;
            font-weight: 600;
            color: #333;
        }

        .box .box-header a:not(.btn) {
            color: #555;
        }

        .box .box-header .box-tools {
            padding: 2px 0;
        }

    .box .box-body {
        width: 100%;
        padding: 12px;
    }

        .box .box-body > table,
        .box .box-body > .table {
            margin-bottom: 0;
        }

    .box .box-footer {
        border-top: 1px solid #f0f2f5;
        border-radius: 0 0 6px 6px;
        padding: 10px 12px;
        background-color: #fafbfc;
    }

    .box.box-solid {
        border-top: 0;
    }

        .box.box-solid > .box-header {
            padding-bottom: 6px;
        }

            .box.box-solid > .box-header .btn.btn-default {
                background: transparent;
            }

        .box.box-solid.box-default > .box-header {
            color: #555;
            background: #f8f9fa;
            border: 1px solid #e8eaed;
            border-bottom: none;
        }

        .box.box-solid.box-primary > .box-header {
            color: #fff;
            background: #3c8dbc;
        }

        .box.box-solid.box-info > .box-header {
            color: #fff;
            background: #00b3db;
        }

        .box.box-solid.box-danger > .box-header {
            color: #fff;
            background: #e8604c;
        }

        .box.box-solid.box-warning > .box-header {
            color: #fff;
            background: #f39c12;
        }

        .box.box-solid.box-success > .box-header {
            color: #fff;
            background: #00a65a;
        }

    .box > .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1010;
        background: rgba(255,255,255,.75);
        border-radius: 6px;
    }

        .box > .overlay.dark {
            background: rgba(0,0,0,.45);
        }

    .box > .loading-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1020;
        background: transparent url('../images/ajax-loader1.gif') 50% 50% no-repeat;
    }

/* ============================================================
   Component: Callouts
   ============================================================ */
.callout {
    margin: 0 0 16px;
    padding: 12px 16px 12px 14px;
    border-left: 4px solid #eee;
    border-radius: 0 4px 4px 0;
}

    .callout h4 {
        margin-top: 0;
        font-size: 13px;
    }

    .callout p:last-child {
        margin-bottom: 0;
    }

    .callout.callout-danger {
        background-color: #fdf5f5;
        border-color: #e8a0a0;
    }

    .callout.callout-warning {
        background-color: #fffdf0;
        border-color: #f0d080;
    }

    .callout.callout-info {
        background-color: #f0f7fd;
        border-color: #90bfe0;
    }

    .callout.callout-danger h4 {
        color: #b94a48;
    }

    .callout.callout-warning h4 {
        color: #9a7d22;
    }

    .callout.callout-info h4 {
        color: #2e7db5;
    }

/* ============================================================
   Component: Alert — compact override
   ============================================================ */
.alert {
    padding: 6px 12px;
    margin-bottom: 8px;
    font-size: 12px;
    border-radius: 5px;
}

/* ============================================================
   Component: Nav tabs custom wrapper
   ============================================================ */
.nav-tabs-custom {
    margin-bottom: 16px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    border: 1px solid #e8eaed;
}

    .nav-tabs-custom > .nav-tabs {
        margin: 0;
        border-bottom: 1px solid #e8eaed;
    }

        .nav-tabs-custom > .nav-tabs > .nav-item > .nav-link {
            border-radius: 6px 6px 0 0;
            background: transparent;
            color: #666;
            border-top: 3px solid transparent;
            padding: 8px 14px;
            font-size: 12px;
            transition: color 0.15s ease, border-color 0.15s ease;
        }

            .nav-tabs-custom > .nav-tabs > .nav-item.active > .nav-link,
            .nav-tabs-custom > .nav-tabs > .nav-item > .nav-link.active {
                border-top-color: #3c8dbc;
                background-color: #fff;
                color: #333;
                font-weight: 600;
            }

    .nav-tabs-custom > .tab-content {
        background: #fff;
        padding: 12px;
        border-radius: 0 0 6px 6px;
    }

.nav-pills .nav-link {
    border-top: 3px solid transparent;
    border-radius: 0;
    color: #555;
    font-size: 12px;
}

    .nav-pills .nav-link.active,
    .nav-pills .nav-link:hover {
        background-color: #f0f4f8;
        color: #333;
    }

    .nav-pills .nav-link.active {
        border-top-color: #3c8dbc;
        font-weight: 600;
    }

/* ============================================================
   Component: Timeline
   ============================================================ */
.timeline {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    position: relative;
}

    .timeline::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 4px;
        background: #e8eaed;
        left: 44px;
        border-radius: 4px;
    }

    .timeline > li {
        position: relative;
        margin-right: 10px;
        margin-bottom: 16px;
    }

        .timeline > li > .timeline-item {
            margin-top: 8px;
            background: #fff;
            color: #555;
            margin-left: 58px;
            margin-right: 12px;
            padding: 8px 12px;
            position: relative;
            border-radius: 6px;
            border: 1px solid #e8eaed;
            box-shadow: 0 1px 3px rgba(0,0,0,.06);
        }

            .timeline > li > .timeline-item > .time {
                color: #aaa;
                float: right;
                margin: 2px 0 0;
                font-size: 11px;
            }

            .timeline > li > .timeline-item > .timeline-header {
                margin: 0;
                color: #444;
                border-bottom: 1px solid #f0f2f5;
                padding: 0 0 6px;
                font-size: 14px;
                line-height: 1.3;
                font-weight: 600;
            }

            .timeline > li > .timeline-item > .timeline-body,
            .timeline > li > .timeline-item > .timeline-footer {
                padding: 8px 0 0;
                font-size: 12px;
            }

        .timeline > li > .fa,
        .timeline > li > .bi {
            box-shadow: 0 1px 3px rgba(0,0,0,.15);
            width: 30px;
            height: 30px;
            font-size: 14px;
            line-height: 30px;
            position: absolute;
            color: #666;
            background: #eee;
            border-radius: 50%;
            text-align: center;
            left: 18px;
            top: 0;
        }

/* ============================================================
   Component: Grid (ASP.NET GridView)
   ============================================================ */
.Grid {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #fff;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    border-radius: 8px;
    border: 1px solid #e4e7ed;
    float: none !important;
}

    .Grid th,
    .Grid td {
        padding: 3px 6px !important;
        font-size: 12px;
        vertical-align: middle !important;
    }

    .Grid th {
        background-color: #f8f9fb;
        color: #0d6efd;
        font-weight: 600;
        font-size: 11px;
        border-bottom: 2px solid #e4e7ed;
        white-space: nowrap;
        letter-spacing: 0.02em;
    }

    .Grid tbody tr {
        transition: background-color 0.12s ease;
        border-bottom: 1px solid #f0f2f5;
    }

        .Grid tbody tr:last-child {
            border-bottom: none;
        }

.grid-header th {
    position: sticky !important;
    top: 53px !important;
    background: #f8f9fb !important;
    z-index: 999 !important;
}

@media (max-width: 600px) {
    .Grid th, .Grid td {
        font-size: 10px !important;
    }
}

.gridViewHover tbody tr:hover,
.hoverOn tbody tr:hover {
    background-color: #ccc !important;
    color: #1a1a1a !important;
}

    .gridViewHover tbody tr:hover td,
    .hoverOn tbody tr:hover td {
        background-color: #ccc !important;
        color: #1a1a1a !important;
    }

tr.injected-child-row:hover td,
tr.injected-child-row td {
    background: transparent !important;
    transition: none !important;
}

.gridViewHover tbody tr:hover td table tbody tr:hover td,
.hoverOn tbody tr:hover td table tbody tr:hover td {
    background-color: transparent !important;
    color: inherit !important;
}

.child-panel-inner tbody tr:hover td {
    background-color: #f5f4ff !important;
    color: #1a1a1a !important;
}

.gridViewHover tbody tr:hover td .Grid tbody tr td,
.hoverOn tbody tr:hover td .Grid tbody tr td {
    background-color: #fff !important;
    color: inherit !important;
}

.gridViewHover tbody tr:hover td .Grid tbody tr:hover td,
.hoverOn tbody tr:hover td .Grid tbody tr:hover td {
    background-color: #f5f4ff !important;
    color: #1a1a1a !important;
}

.Grid .actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.Grid .Icons img {
    transition: transform 0.15s ease;
    cursor: pointer;
}

.Grid .Icons:hover img {
    transform: scale(1.1);
}

.Icons {
    padding: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: #ffffff;
    border: 1px solid #e0ddd5;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    position: relative;
    z-index: 1;
}

.gridViewHover tbody tr:hover td .Icons,
.hoverOn tbody tr:hover td .Icons {
    background: #ffffff !important;
    border-color: #d0d5dd !important;
}

.Icons:has(img[alt="Edit"]):hover {
    background: #e6f1fb !important;
    border-color: #85b7eb !important;
}

.Icons:has(img[alt="Delete"]):hover {
    background: #fcebeb !important;
    border-color: #f09595 !important;
}

.Icons:has(img[alt="Print"]):hover {
    background: #eaf3de !important;
    border-color: #97c459 !important;
}

.Icons:has(img[alt="PDF"]):hover {
    background: #fcebeb !important;
    border-color: #f09595 !important;
}

.Icons:has(img[alt="Email"]):hover {
    background: #faeeda !important;
    border-color: #fac775 !important;
}

.Icons.Icons-history {
    background: #1a3a6b !important;
    border-color: #1a3a6b !important;
    color: #fff;
    width: 20px;
    font-weight: 700;
}

.gridViewHover tbody tr:hover td .Icons.Icons-history,
.hoverOn tbody tr:hover td .Icons.Icons-history {
    background: #1a3a6b !important;
    border-color: #1a3a6b !important;
}

/* ============================================================
   Component: Grid pagination
   ============================================================ */
.paginggrid {
    text-align: center;
    padding: 10px;
    font-size: 13px;
    color: white !important;
}

    .paginggrid a, .paginggrid span {
        display: inline-block;
        margin: 2px 6px;
        padding: 6px 10px;
        color: #4e6688;
        background-color: #e7ecf2;
        border-radius: 4px;
        text-decoration: none;
        transition: background-color 0.2s ease;
    }

        .paginggrid a:hover {
            background-color: #4e6688;
            color: #fff !important;
        }

    .paginggrid .aspNetDisabled {
        opacity: 0.5;
        pointer-events: none;
    }

/* ============================================================
   Component: Grid footer row
   ============================================================ */
.footerStyle {
    color: #fff !important;
    font-size: 11px;
    font-weight: 600;
}

/* ============================================================
   Component: Page footer
   ============================================================ */
#footer {
    position: relative;
    padding: 10px 16px;
    border-top: 1px solid rgba(255,255,255,.15);
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 500;
}

    #footer .footer-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 4px;
    }

    #footer .copy {
        text-align: center;
    }

        #footer .copy a {
            color: rgba(255,255,255,.85);
            text-decoration: none;
            font-weight: 600;
            transition: color 0.2s ease;
        }

            #footer .copy a:hover {
                color: #fff;
                text-decoration: underline;
            }

/* ============================================================
   Component: Tooltip (data-tooltip) — CSS-only
   ============================================================ */
[data-tooltip] {
    position: relative;
    cursor: pointer;
}

    [data-tooltip]::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: calc(100% + 6px);
        left: 50%;
        transform: translateX(-50%);
        color: #fff;
        padding: 5px 9px;
        border-radius: 5px;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.15s ease, transform 0.15s ease;
        font-size: 11px;
        font-weight: 500;
        z-index: 9999;
        transform: translateX(-50%) translateY(3px);
    }

    [data-tooltip]:hover::after {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

/* ============================================================
   Component: TextBox
   ============================================================ */
.TextBox {
    height: 25px;
    width: 100%;
    padding: 0 8px;
    border-radius: 5px;
    border: 1px solid #ced4da;
    background-color: #fff;
    font-size: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    line-height: 26px;
}

    .TextBox:focus {
        border-color: #3c8dbc;
        box-shadow: 0 0 0 3px rgba(60,141,188,.15);
    }

/* ============================================================
   Component: Search input
   ============================================================ */
.inputsrch {
    border-bottom-left-radius: 6px !important;
    border-top-left-radius: 6px !important;
    width: 220px;
    outline: none;
    height: 30px;
    font-size: 12px;
    border: 1px solid #ced4da;
    padding: 0 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .inputsrch:focus {
        border-color: #3c8dbc !important;
        background-color: #fff !important;
        box-shadow: 0 0 0 3px rgba(60,141,188,.12) !important;
    }

/* ============================================================
   Utility classes
   ============================================================ */
.no-shadow {
    box-shadow: none !important;
}

.flat {
    border-radius: 0 !important;
}

.sort-highlight {
    background: #f5f7fa;
    border: 1px dashed #d0d5dd;
    margin-bottom: 10px;
    border-radius: 4px;
}

.alignleft {
    text-align: left !important;
}

.alignright {
    text-align: right !important;
}

.aligncenter {
    text-align: center !important;
}

.blackboldtext,
.boldText {
    font-weight: 600;
}

.required {
    color: #dc2626;
    font-weight: 700;
    font-size: 13px;
}

/* ============================================================
   Background / text colour utilities
   ============================================================ */
.bg-red {
    background-color: #e8604c !important;
    color: #fff !important;
}

.bg-yellow {
    background-color: #f39c12 !important;
    color: #fff !important;
}

.bg-aqua {
    background-color: #00b3db !important;
    color: #fff !important;
}

.bg-light-blue {
    background-color: #3c8dbc !important;
    color: #fff !important;
}

.bg-green {
    background-color: #00a65a !important;
    color: #fff !important;
}

.bg-navy {
    background-color: #001f3f !important;
    color: #fff !important;
}

.bg-teal {
    background-color: #39cccc !important;
    color: #fff !important;
}

.bg-olive {
    background-color: #3d9970 !important;
    color: #fff !important;
}

.bg-lime {
    background-color: #22c55e !important;
    color: #fff !important;
}

.bg-orange {
    background-color: #f97316 !important;
    color: #fff !important;
}

.bg-fuchsia {
    background-color: #d946ef !important;
    color: #fff !important;
}

.bg-purple {
    background-color: #7c3aed !important;
    color: #fff !important;
}

.bg-maroon {
    background-color: #881337 !important;
    color: #fff !important;
}

.bg-gray {
    background-color: #f1f3f5 !important;
}

.text-red {
    color: #e8604c !important;
}

.text-yellow {
    color: #f39c12 !important;
}

.text-aqua {
    color: #00b3db !important;
}

.text-light-blue {
    color: #3c8dbc !important;
}

.text-green {
    color: #00a65a !important;
}

.text-navy {
    color: #001f3f !important;
}

.text-teal {
    color: #39cccc !important;
}

.text-olive {
    color: #3d9970 !important;
}

.text-lime {
    color: #22c55e !important;
}

.text-orange {
    color: #f97316 !important;
}

.text-fuchsia {
    color: #d946ef !important;
}

.text-purple {
    color: #7c3aed !important;
}

.text-maroon {
    color: #881337 !important;
}

/* ============================================================
   Table utilities
   ============================================================ */
.footertotal td {
    text-align: right !important;
    font-weight: 600;
}

.alignrightfooter {
    text-align: right !important;
    font-weight: 600;
}

.gridbutton {
    color: #444;
    padding: 2px 7px;
    border: 1px solid #d8dbe0;
    border-radius: 4px;
    background: #fff;
    margin-right: 3px;
    text-decoration: none;
    font-size: 11px;
    transition: background 0.15s;
}

    .gridbutton:hover {
        background: #f0f2f5;
        border-color: #b8bcc4;
    }

.gridbuttonblue {
    color: #1a5c8a;
    padding: 2px 7px;
    border: 1px solid #90c4e8;
    border-radius: 4px;
    background: #e0f0fa;
    margin-right: 3px;
    text-decoration: none;
    font-size: 11px;
    transition: background 0.15s;
}

    .gridbuttonblue:hover {
        border-color: #3c8dbc;
        background: #c8e4f6;
    }

.gridbuttonred {
    color: #7a1a1a;
    padding: 2px 7px;
    border: 1px solid #f0a8a0;
    border-radius: 4px;
    background: #fde8e6;
    margin-right: 3px;
    text-decoration: none;
    font-size: 11px;
    transition: background 0.15s;
}

    .gridbuttonred:hover {
        border-color: #e8604c;
        background: #f8d0cc;
    }

.gridcheckbox input {
    width: 14px;
    margin: 0;
}

.mGrid {
    width: 100%;
    background-color: #fff;
    border-collapse: collapse;
    border-radius: 4px;
    overflow: hidden;
}

    .mGrid td {
        padding: 4px 6px;
        border: 1px solid #d0ecf8;
        color: #555;
        font-size: 11px;
    }

    .mGrid th {
        padding: 4px 6px;
        color: #1a5c8a;
        background: #d0ecf8;
        border: 1px solid #b0d8ee;
        font-size: 11px;
        font-weight: 600;
    }

/* ============================================================
   Modal progress overlay
   ============================================================ */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.45);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modalprogress {
    position: relative;
}

#theprogress {
    background: #fff;
    border: 4px solid #3c8dbc;
    width: 320px;
    text-align: center;
    padding: 20px 16px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,.18);
    color: #333;
    font-size: 13px;
    font-weight: 600;
}

/* ============================================================
   Misc: colour links, highlight
   ============================================================ */
.highlight {
    background-color: #fff9c4;
    padding: 1px 3px;
    border-radius: 3px;
}

.linkorange {
    color: #e87c20;
    padding: 0 4px;
}

.linkred {
    color: #d0283a;
    padding: 0 4px;
}

.linkgreen {
    color: #2e9e48;
    padding: 0 4px;
}

.linkblue {
    color: #2563eb;
    padding: 0 4px;
}

.linkorangebig {
    color: #e87c20;
    font-weight: 600;
    padding: 0 5px 0 12px;
    font-size: 12px;
}

.linkredbig {
    color: #d0283a;
    padding: 0 5px 0 12px;
    font-size: 12px;
    font-weight: 500;
}

.linkgreenbig {
    color: #2e9e48;
    padding: 0 5px 0 12px;
    font-size: 12px;
    font-weight: 500;
}

.linkbluebig {
    color: #2563eb;
    padding: 0 5px 0 12px;
    font-size: 12px;
    font-weight: 500;
}

.linkpurplebig {
    color: #7c3aed;
    padding: 0 5px 0 12px;
    font-size: 12px;
    font-weight: 500;
}

/* ============================================================
   Print styles
   ============================================================ */
@media print {
    .no-print,
    .sidebar,
    .topbar {
        display: none !important;
    }

    .main-content {
        margin: 0 !important;
        box-shadow: none !important;
    }

    .invoice {
        width: 100%;
        border: 0;
        margin: 0;
        padding: 0;
    }

    .invoice-col {
        float: left;
        width: 33.3333%;
    }

    .table-responsive > .table tr th,
    .table-responsive > .table tr td {
        white-space: normal !important;
    }
    ccc
    .Grid {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 800px) {
    .table-responsive {
        overflow-x: auto;
    }
}

/* ============================================================
   Page: Error (404 / 500)
   ============================================================ */
.error-page {
    width: 600px;
    margin: 30px auto 0;
}

@media (max-width: 767.98px) {
    .error-page {
        width: 100%;
    }
}

.error-page .headline {
    float: left;
    font-size: 90px;
    font-weight: 300;
    line-height: 1;
}

@media (max-width: 767.98px) {
    .error-page .headline {
        float: none;
        text-align: center;
    }
}

.error-page .error-content {
    margin-left: 180px;
    display: block;
}

@media (max-width: 767.98px) {
    .error-page .error-content {
        margin-left: 0;
    }
}

.error-page .error-content h3 {
    font-weight: 400;
    font-size: 22px;
}

/* ============================================================
   Page: Login / Register
   ============================================================ */
.form-box {
    width: 380px;
    margin: 80px auto 0;
}

@media (max-width: 767.98px) {
    .form-box {
        width: 92%;
    }
}

.form-box .header {
    border-radius: 8px 8px 0 0;
    background: #3c8dbc;
    padding: 22px 16px;
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    color: #fff;
}

.form-box .body,
.form-box .footer {
    padding: 20px;
    background: #fff;
    color: #444;
}

.form-box .footer {
    border-radius: 0 0 8px 8px;
    background: #f8f9fa;
}



.photo-upload-wrap {
    position: relative;
}

.photo-upload-btn {
    position: absolute;
    bottom: 0;
    right: -10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #4f46e5;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    border: 2px solid #fff;
    cursor: pointer;
}


.personal-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    width: 100%;
}



    .personal-info-grid .personal-info-field {
        padding: 4px 6px;
        margin: 0;
        border: 1px solid #dee2e6;
        min-width: 0;
    }

        .personal-info-grid .personal-info-field.row {
            margin-left: 0 !important;
            margin-right: 0 !important;
        }


        .personal-info-grid .personal-info-field label {
            margin: 0;
            font-size: 13px;
            font-weight: 600;
            line-height: 1.1;
        }


    .personal-info-grid .form-control,
    .personal-info-grid .form-select {
        height: 30px;
        min-height: 30px;
        padding: 2px 8px;
        font-size: 13px;
        max-width: 100%;
    }



.personal-info-field-full {
    grid-column: 1 / -1;
    width: 100%;
}


    .personal-info-field-full textarea.form-control {
        height: 45px;
        min-height: 45px;
        resize: none;
    }



.personal-info-photo,.child-info-photo {
    height: 82px;
    min-height: 82px !important;
    display: flex;
    align-items: center;
}


    .personal-info-photo img,.child-info-photo img {
        width: 70px !important;
        height: 70px !important;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #c7cdfd;
    }

.personal-info-QR {
    height: 82px;
    min-height: 82px !important;
    display: flex;
    align-items: center;
}


    .personal-info-QR img {
        width: 70px !important;
        height: 70px !important;
        object-fit: cover;
    }


.personal-info-empty {
    height: 82px;
    min-height: 82px !important;
}



#stepPanel1 .mt-3 {
    margin-top: 8px !important;
}



@media (max-width: 1100px) {

    .personal-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {

    .reg-grid {
        grid-template-columns: 1fr;
    }

    .personal-info-grid {
        grid-template-columns: 1fr;
    }

    .personal-info-field-full {
        grid-column: 1;
    }

    .personal-info-grid .personal-info-field {
        padding: 6px 8px;
    }

        .personal-info-grid .personal-info-field > .col-4,
        .personal-info-grid .personal-info-field > .col-6,
        .personal-info-grid .personal-info-field > .col-8 {
            width: 100%;
            max-width: 100%;
            flex: 0 0 100%;
        }

        .personal-info-grid .personal-info-field label {
            display: block;
            margin-bottom: 4px;
        }

    .personal-info-grid .input-group {
        width: 100%;
    }

    .personal-info-grid .form-control,
    .personal-info-grid .form-select {
        width: 100% !important;
        max-width: 100% !important;
    }

    .personal-info-photo {
        height: 82px;
    }

    .personal-info-empty {
        display: none;
    }

    .personal-info-field-full textarea.form-control {
        height: 60px;
    }
}


@media (max-width: 480px) {

    .personal-info-grid .personal-info-field {
        padding: 6px;
    }

        .personal-info-grid .personal-info-field label {
            font-size: 12px;
        }

    .personal-info-grid .form-control,
    .personal-info-grid .form-select {
        font-size: 12px;
        height: 32px;
        min-height: 32px;
    }

    .personal-info-field-full textarea.form-control {
        height: 65px;
    }

    #stepPanel1 .btn {
        font-size: 12px;
        padding: 5px 10px;
    }
}

.reg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.reg-field {
    border: 1px solid #dee2e6;
    padding: 4px 6px;
}

.reg-field-full {
    grid-column: 1 / -1;
    width: 100%;
}

.reg-field label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 0;
}

.reg-field.stacked label {
    display: block;
    margin-bottom: .35rem;
}

.reg-field.empty {
    border-color: transparent;
}
