﻿.outerbox {
    background-color: white;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}

h1 {
    font-size: 24px;
    color: black;
    margin-top: 0;
    margin-bottom: 30px;
    font-weight: normal;
}

h2 {
    font-size: 20px;
    color: #593d2b;
    margin-top: 0;
    margin-bottom: 0;
    font-weight: normal;
}

h3 {
    background-color: #e7e7e7;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin-bottom: 15px;
    padding: 7px;
    color: black;
    font-weight: normal;
    margin-top: 0;
    font-size: 17px;
   
}

h4 {
    line-height: 14px;
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
}

body {
    font-family: Segoe UI,Arial,Helvetica,sans-serif;
    font-size: 13px;
    line-height: 16px;
}

.headertop {
    padding: 10px;
}

.headermenu {
    background-image: url(images/header_tile.jpg);
    height: 43px;
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-bottomright: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    font-size: 12px;
    color: white;
    line-height: 13px;
}

.usericon {
    padding-top: 7px;
    padding-left: 10px;
}

.smallitalics {
    font-size: 10px;
    font-style: italic;
    line-height: 10px;
}

.lvalternatingitem {
    background-color: #E9EBE0;
    padding: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.lvitem {
    padding: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 55px;
    border-radius: 5px;
    background-color: #fffaf0;
}

.lvalternatingitem:hover {
    background-color: #E3E4D1;
    padding: 10px;
}

.lvitem:hover {
    padding: 10px;
    background-color: #E3E4D1;
}

.smalltext {
    font-size: 10px;
    line-height: 7px;
}

.largetext {
    font-size: 17px;
    line-height: 25px;
}

a {
    color: #aaad75;
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
        color: #593d2b;
    }


.val {
    color: red;
}

.val2 {
    color: red;
    margin-left: 5px;
}

hr {
    margin-top: 10px;
    margin-bottom: 10px;
    height: 1px;
    background-color: #E9EBE0;
    border: none;
    padding: 0px;
}

.photo {
    margin: auto;
    background: white;
    border: 5px solid white;
    position: relative;
    box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.50);
    -moz-box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.50);
    -webkit-box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.50);
}

.messagebox {
    background: #f7f7f7;
    border: 1px solid #b1b1b1;
    position: relative;
    box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.50);
    -moz-box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.50);
    -webkit-box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.50);
    padding: 20px;
}

.smallphoto {
    margin: auto;
    background: #ccc;
    border: 1px solid white;
    position: relative;
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.50);
    -moz-box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.50);
    -webkit-box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.50);
}

.listphoto {
    margin: auto;
    border: 1px solid white;
    position: relative;
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.50);
    -moz-box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.50);
    -webkit-box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.50);
    -webkit-border-radius: 20px;
    -moz-border-radius: 55px;
    border-radius: 20px;
}

.namebar {
    padding: 10px;
    color: white;
    background-color: #3d3d3d;
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.50);
    -moz-box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.50);
    -webkit-box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.50);
    -webkit-border-radius: 20px;
    -moz-border-radius: 55px;
    border-radius: 10px;
    text-align: center;
    line-height: 12px;
    margin-top: 10px;
}

.listheaderbar {
    padding: 15px;
    color: black;
    background-color: #ededed;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    line-height: 12px;
}

.margintop {
    margin-top: 10px;
}

.multipage {
    padding: 20px;
}

.multipageborder {
    
    border-left: solid 1px #d9d9d9;
    border-right: solid 1px #d9d9d9;
    border-bottom: solid 1px #d9d9d9;
}

.multipagenopad {
    padding: 0px;
}

.membername {
    margin-bottom: 5px;
    font-weight: bold;
}

.overduecounterbox {
    background-color: #E9EBE0;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 5px;
    padding: 5px;
    color: black;
    font-weight: normal;
    margin-top: -4px;
    padding-bottom: 3px;
}

.indicator {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 3px;
}


.message {
    border: solid 2px #979a68;
    margin-top: 10px;
    padding: 10px;
}

.padbutton {
    margin-top: -4px;
}

.pantopright {
    margin-bottom: 20px;
}

.graphbox {
    background-color: #E9EBE0;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 5px;
    color: black;
    font-weight: normal;
    box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.50);
    -moz-box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.50);
    -webkit-box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.50);
    text-align: center;
    font-size: 9px;
}

.graphboxinner {
    padding: 5px;
    display: block;
}

.indicator {
    display: block;
    background-color: #FFFAF0;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 5px;
    padding: 5px;
    color: black;
    font-weight: normal;
    font-size: 30px;
    margin-top: 0px;
    line-height: 30px;
}

.indicatorinline {
    display: inline;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 5px;
    padding: 5px;
    color: black;
    font-weight: normal;
    margin-left: 5px;
}

.commandrow {
    background: #e5e7ea;
    color: #000;
    padding: 3px;
    margin-top: 10px;
}

.caseindicator {
    display: inline;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 5px;
    padding: 5px;
    color: black;
    font-weight: normal;
    margin-right: 5px;
    font-size: 10px;
    line-height: 10px;
}

.userselect {
    
    text-align: right;
}

.blacklegend {
    background-color: black;
    width: 10px;
    height: 10px;
}

.redlegend {
    background-color: red;
    width: 10px;
    height: 10px;
}

.greenlegend {
    background-color: green;
    width: 10px;
    height: 10px;
}

.graylegend {
    background-color: gray;
    width: 10px;
    height: 10px;
}

.orangelegend {
    background-color: orange;
    width: 10px;
    height: 10px;
}

.bluelegend {
    background-color: blue;
    width: 10px;
    height: 10px;
}

.footer {
    padding: 20px;
    padding-top: 10px;
}

.radmenuzindex {
    z-index: 11 !important;
}

.minusmargin {
    margin-top: -15px;
}

.RadToolBar_BlackMetroTouch {
    background-color: transparent !important;
}

.readonlyeditor {
    background-color: white !important;
}

    .readonlyeditor.reToolCell {
        display: none !important;
    }

    .readonlyeditor.reToolbarWrapper {
        display: none !important;
    }

    .readonlyeditor.reLeftVerticalSide, .readonlyeditor.reRightVerticalSide {
        padding: 0px;
    }

    .readonlyeditor.Default.reWrapper, .readonlyeditor.Default.RadEditor .readonlyeditor.reContentCell, .readonlyeditor.Default.reColorPicker, .readonlyeditor.Default.reInsertTable, .readonlyeditor.Default.reDropDownBody, .readonlyeditor.Default.reCustomLinks a:hover {
        border: 0px !important;
        background-color: white !important;
    }



.whitebackground {
    background-color: white !important;
}

.menuzindex {
    z-index: 1000 !important;
}

.progress {
    overflow: hidden;
    margin: 100px auto;
    padding: 0 15px;
    width: 220px;
    height: 34px;
    background: #d3d5d9;
    border-radius: 17px;
    @include linear-gradient(top, #ebecef, #bfc3c7);
    @include box-shadow(inset 0 1px rgba(white, .8), 0 2px 4px rgba(black, .35), 0 0 0 1px rgba(black, .1), 0 0 0 6px #b6babe, 0 7px rgba(white, .1));
}


.gaugeheading 
{
    font: 16px Arial,Helvetica,sans-serif;
    margin-top: 30px;
    padding-top: 10px;
}

.validationfailedbox {
    border-color: red;
    border-style: solid;
    border-width: 1px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #ffe3e3;
    padding: 20px;
}

.validationwarningbox {
    border-color: #e1d606;
    border-style: solid;
    border-width: 1px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #fffbae;
    padding: 20px;
}

.RadMenu_Default .rmRootGroup {
    background-color: transparent !important;
    border: none !important;
    background-image: none !important;
}

.messagelistviewitem {
    width: 300px;
    cursor: pointer;
}

    .messagelistviewitem:hover {
        background-color: #dedede
    }

.messagelistviewinner {
    padding: 10px;
}

.messages {
    border: solid 1px #c8c8c8;
    margin: 0px !important;
    padding: 0px !important;
    background-color: #fefefe;
    color: #1a1a1a;
}

    .messages hr {
        margin: 0px;
        padding: 0px;
    }

.RadTabStripTop_Bootstrap .rtsLevel1 .rtsUL {
    width: 100% !important;
}

.infobox {
    padding: 20px;
    padding-bottom: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background-color: #c4d9ff;
    margin-bottom: 20px;
}

.dashboardlistitem {
    background-color: #f7f7f7;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 20px;
    color: black;
    font-weight: normal;
    margin-top: 0;
    -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.50);
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.50);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.50);
}

.buttonicon
{
    padding-bottom: 20px;
    margin-right: 20px;
}

.hideme {
    cursor: pointer;
}

.rotatoritem
{
    font-size: 10px;
    font-weight: bold;
    padding: 10px;
    text-align: center;
    margin: 0px;
    vertical-align: middle;
    height: 120px;
    cursor: pointer;
}

.rotatoritem a:hover
{
    background-color: #aaad75;
}

.marginbottom
{
    margin-bottom: 10px!important;
}

/* < 24h = neutral border */
.rg-border-fresh td {
    border-bottom: 2px solid #5bb760 !important;
}

/* 24–48h = orange */
.rg-border-warn td {
    border-bottom: 2px solid #ff9800 !important;
}

/* > 48h OR 0 = red */
.rg-border-danger td {
    border-bottom: 2px solid #f44336 !important;

}

/* === AtomHeart KPI Tiles === */
:root {
    --ah-black: #000000;
    --ah-white: #ffffff;
    --ah-olive: #979a68;
    --ah-grey-50: #f6f6f6;
    --ah-grey-100: #eeeeee;
    --ah-grey-200: #e5e5e5;
    --ah-grey-400: #9b9b9b;
    --ah-grey-600: #5a5a5a;
}

.ah-kpi-section {
    margin: 0 auto;
    padding: 12px 16px;
    background: transparent;
    padding-bottom: 0;
    margin-bottom: 5px;
}

.ah-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
    align-items: stretch;
}

.ah-kpi-card {
    position: relative;
    background: var(--ah-white);
    border: 1px solid var(--ah-grey-200);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
    transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

    .ah-kpi-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.08);
        border-color: var(--ah-grey-100);
    }

    .ah-kpi-card:focus-within {
        outline: 2px solid transparent;
        box-shadow: 0 0 0 3px rgba(151,154,104,0.35);
        border-color: var(--ah-olive);
    }

.ah-kpi-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ah-grey-600);
    letter-spacing: 0.2px;
    margin-bottom: 10px;
}

.ah-kpi-value {
    display: inline-block; /* works nicely with asp:LinkButton -> <a> */
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
    color: var(--ah-black);
    text-decoration: none !important;
    padding: 6px 8px;
    border-radius: 10px;
    background: var(--ah-grey-50);
    border: 1px solid var(--ah-grey-200);
    transition: transform 140ms ease, background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

    .ah-kpi-value:hover,
    .ah-kpi-value:focus {
        transform: translateY(-1px);
        background: var(--ah-white);
        border-color: var(--ah-olive);
        color: var(--ah-olive);
        outline: none;
    }

/* Accent ring on the left for variety */
.ah-kpi-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 4px;
    border-radius: 6px;
    background: linear-gradient(180deg, var(--ah-olive), #7f8256);
    opacity: 0.25;
    transition: opacity 140ms ease;
}

.ah-kpi-card:hover::before {
    opacity: 0.45;
}

/* Variants (still within the colour brief) */
.ah-kpi-card--primary .ah-kpi-value {
    color: var(--ah-olive);
    border-color: var(--ah-olive);
    background: var(--ah-white);
}

.ah-kpi-card--muted .ah-kpi-value {
    color: var(--ah-grey-600);
}

.ah-kpi-card--alert .ah-kpi-value {
    /* No bright red per brief; use olive emphasis for “urgent” */
    color: var(--ah-olive);
    border-color: var(--ah-olive);
    background: #fbfbfb;
}

/* Small screen polish */
@media (max-width: 420px) {
    .ah-kpi-value {
        font-size: 1.7rem;
    }
}

/* Optional dark-on-light contrast tweak for really light pages */
.ah-on-dark .ah-kpi-card {
    background: #111;
    border-color: #222;
}

.ah-on-dark .ah-kpi-title {
    color: #c9c9c9;
}

.ah-on-dark .ah-kpi-value {
    background: #1a1a1a;
    border-color: #2a2a2a;
    color: #f0f0f0;
}

    .ah-on-dark .ah-kpi-value:hover,
    .ah-on-dark .ah-kpi-value:focus {
        border-color: var(--ah-olive);
        color: var(--ah-olive);
    }

/* --- Case progress bar --- */
.ah-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 100px;
}

.ah-progress-track {
    position: relative;
    flex: 1 1 auto;
    height: 10px;
    background: #adadad;
    border-radius: 999px;
    overflow: hidden;
}

.ah-progress-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0%;
    background: #4caf50; /* default green */
    transition: width 200ms ease;
}

    .ah-progress-fill.is-ok {
        background: #4caf50;
    }

    .ah-progress-fill.is-overdue {
        background: #f44336;
    }

.ah-progress-label {
    white-space: nowrap;
    font-size: 0.85rem;
    color: #444;
}

.desc-cell {
    line-height: 1.25;
}

.desc-cat {
    font-weight: 600;
    font-size: 12px;
}

.desc-text {
    font-size: 11px;
    color: #444;
}

.ct-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 12px
}

.ct-app {
    background: #0d47a1;
    color: #fff
}
/* Application = A (dark blue)  */
.ct-enq {
    background: #4a148c;
    color: #fff
}
/* Enquiry     = E (dark purple)*/
.ct-once {
    background: #1b5e20;
    color: #fff
}
/* Once-off    = O (dark green) */
.ct-unknown {
    background: #616161;
    color: #fff
}


.gridlink {
    color: #aaad75!important;
    font-weight: bold!important;
    text-decoration: underline!important;

}

.RadGrid_Metro .rgAltRow a {
    color: #aaad75 !important;
    font-weight: bold !important;
    text-decoration: underline !important;
}


.ah-switch-wrap {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 28px;
}

    .ah-switch-wrap .RadSwitch {
        position: absolute;
        inset: 0;
    }

.ah-switch-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    pointer-events: none;
}
/* red when checked */
.ah-switch-wrap .RadSwitch.rsChecked .rsTrack {
    background-color: #c62828 !important;
    border-color: #c62828 !important;
}

.ah-switch-wrap .RadSwitch.rsChecked + .ah-switch-label {
    color: #fff !important;
}

.dashgrid .RadSwitch.rsChecked .rsTrack {
    background-color: #c62828 !important;
    border-color: #c62828 !important;
}
/* Command bar layout */
.cmdbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    margin: 6px 0 10px;
    background: #f8fafc;
    border: 1px solid #e6eaf0;
    border-radius: 10px;
}

.cmdbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Switch – make text visible and spacing feel good */
.dashgrid .RadSwitch {
    padding: 2px 6px; /* subtle breathing room around the control */
}

    .dashgrid .RadSwitch .rsTrack {
        height: 30px;
        border-radius: 16px;
    }

    .dashgrid .RadSwitch .rsText {
        display: inline-block; /* ensure text shows */
        padding: 0 10px; /* space for “All” / “Overdue” */
        font-weight: 600;
        font-size: 12px;
        line-height: 30px;
    }

    /* Red track when checked (Overdue) */
    .dashgrid .RadSwitch.rsChecked .rsTrack {
        background-color: #c62828 !important;
        border-color: #c62828 !important;
    }

/* Refresh button – right aligned “button look” */
.cmdbar-refresh {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #ffffff;
    border: 1px solid #d4d9e2;
    border-radius: 8px;
    text-decoration: none;
    color: #2a3340;
    font-weight: 600;
}

    .cmdbar-refresh:hover {
        background: #f2f5f9;
        border-color: #c4cbd6;
    }

    .cmdbar-refresh img {
        height: 16px;
        width: 16px;
        display: block;
    }           