:root {
    --lucyblue: #002F65;
    --gridkeyorange: #ec8000;
    --grey: #eee;
    --darkgrey: #374254; /* general font color */
    --lightgrey: #b7bbbd; /* form element borders */
    --white: #fff;
    --red: red;
    --orange: #ec8000;
    --green: #186a01;
}


html, body{
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
    margin: 0;
    color: var(--darkgrey);
}
body {
    background-color: #f0f4f7;
    background-size: cover;
    font-size: 12px; /* 0.75rem*/
}
main {
    padding-top: 0!important;
}

a, .btn-link {
    color: var(--darkgrey);
    text-decoration: none;
}
    a:hover {
        color: var(--gridkeyorange);
        text-decoration: none;
        text-shadow: 0px 0px 30px;
    }
h1 {
    font-size: 1.5rem;
    color: var(--darkgrey);
}
h2 {
    font-size: 1rem;
}
h3 {
    font-size: 0.8rem;
}
h4 {
    font-size: 0.5rem;
}
h5 {
    font-size: 0.2rem;
}
h1 a:hover{
    cursor:pointer;
}
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}
.font-orange {
    color: var(--gridkeyorange)!important;
}
.font-blue {
    color: var(--lucyblue)!important;
}
.border-right {
    border-right: 1px solid #dee2e6;
}
.mlr-0 {
    margin-left: 0;
    margin-right: 0;
}

.tab-wrapper
.content {
    padding-top: 1.1rem;
}
h1:focus {
    outline: none;
}
.no-data-available {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40%;
}
.no-data-available a {
    margin-left: 4px;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: var(--grey);
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.leafletmap {
    width: 800px;
    height: 600px;
    border: 1px solid var(--grey);
}

.progress {
    display: none;
    position: absolute;
    z-index: 1000;
    left: 400px;
    top: 300px;
    width: 200px;
    height: 20px;
    margin-top: -20px;
    margin-left: -100px;
    background-color: var(--white);
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    padding: 2px;
}

.progress-bar {
    width: 0;
    height: 100%;
    background-color: #76A6FC;
    border-radius: 4px;
}

.card {
    color: var(--darkgrey);
    margin-top: 15px;
    background-color: transparent;
    border: none;
}
    .card.height-override {
        height: calc(100vh - 210px);
    }

    .card.height-full {
        height: 100%;
    }

    .card-body {
        background-color: var(--white);
        border-radius: 4px;
        border: 1px solid var(--lightgrey);
        padding: 0.5rem 0.5rem;
    }
    .card-body a {
        color: var(--darkgrey);
        cursor: pointer;
        text-decoration: none;
    }
.card-body a:hover {
    color: var(--gridkeyorange);
    text-decoration: none;
}
.card-body .highlight-record a,
.card-body .modified-record a,
.card-body .error-record a {
    color: var(--white);
}
.card-header{
    background-color: var(--lucyblue);
    color:var(--white);
}
.card-header h2{
    font-size:1.5rem;
    font-weight:bold;
}
.card-subtitle h3, .health h3 {
    font-size: 1.1rem;
    font-weight: bold;
}
.health h3 {
    border-top: 1px solid var(--lucyblue);
}
.modified-record {
    background: var(--lightgrey);
    color: var(--white);
}
.highlight-record {
    background: var(--lucyblue);
    color: var(--white);
}
.error-record {
    background: var(--red);
    color: var(--white);
}
.validation-errors{
    list-style-type:none;
}
.Red, .Init_Fail, .Red:hover, .Init_Fail:hover, .Alarm, .Alarm:hover {
    color: red;
}

.Orange, .No_GPS_Lock, .Orange:hover, .No_GPS_Lock:hover {
    color: var(--gridkeyorange);
}

.Green, .OK, .Green:hover, .OK:hover {
    color: green;
}

.OrangeRed, .OrangeRed:hover {
    color: orangered;
}

.DarkOrange, .DarkOrange:hover {
    color: darkorange;
}

.DarkRed, .DarkRed:hover {
    color: darkred;
}

.DarkGreen, .DarkGreen:hover {
    color: darkgreen;
}

.LightGreen, .LightGreen:hover {
    color: lightgreen;
}

    .Red:hover, .Init_Fail:hover, .Orange:hover, .No_GPS_Lock:hover, .Green:hover, .OK:hover, .OrangeRed:hover, .DarkOrange:hover, .DarkRed:hover, .DarkGreen:hover, .LightGreen:hover, .Alarm, .Alarm:hover {
        filter: brightness(115%);
        text-shadow: 0px 0px 30px;
    }
.fa-circle.Clear{
    display:none;
}
.phase-color-combo  {
    border-radius: 3px;
    color: var(--white);
    text-transform: uppercase;
    padding: 3px 5px;
    display: inline-block;
    text-align: center;
    font-size: 0.75rem;
    font-weight: normal;
    width: auto;
}
.brown {
    background-color: #996533;
}
.black {
    background-color: #000;
}
.grey {
    background-color: #6c6c6c;
}
.blue {
    background-color: #0200F7;
}
.red {
    background-color: #FF0000;
}
.yellow {
    background-color: #FFD700;
}

.substationdetails .fw-bold{
    font-weight:600!important;
}

a.fa, .substationdetails  a{
    text-decoration: none;
}
.faults {
    background-color: red;
    display: inline-block;
    padding: 0;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    position: absolute;
    bottom: 0;
}

    .faults.Red {
        background-color: red;
    }

    .faults.Orange {
        background-color: orange;
    }

    .faults.Green {
        background-color: green;
    }

    .faults.OrangeRed {
        background-color: orangered;
    }

    .faults.DarkOrange {
        background-color: darkorange;
    }

    .faults.DarkRed {
        background-color: darkred;
    }

    .faults.DarkGreen {
        background-color: darkgreen;
    }

    .faults.LightGreen {
        background-color: lightgreen;
    }

.indicator {
    height: 40px;
    vertical-align: bottom;
    position: relative;
    margin-bottom: 2px;
    border-bottom: 1px solid var(--lightgrey);
}

a.linkbtn, a.linkbtn:hover {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: .25rem .25rem;
    font-size: .8rem;
    line-height: 1;
    border-radius: 1rem;
    color: white;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.ui-slider {
    position: relative;
    text-align: left
}
.ui-slider-horizontal .ui-slider-range {
    top: 0;
    height: 100%
}
.ui-slider-horizontal {
    height: .8em
}

.ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 2;
    width: 1.2em;
    height: 1.2em;
    cursor: default;
    -ms-touch-action: none;
    touch-action: none
}

.ui-slider .ui-slider-range {
    position: absolute;
    z-index: 1;
    font-size: .7em;
    display: block;
    border: 0;
    background-position: 0 0
}

.start {
    background: green !important;
    margin-left: -1.2em !important
}

.end {
    background: red !important;
    margin-left: 0 !important
}
.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl {
    border-top-left-radius: 3px
}

.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr {
    border-top-right-radius: 3px
}

.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl {
    border-bottom-left-radius: 3px
}

.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br {
    border-bottom-right-radius: 3px
}
.ui-widget-header {
    border: 1px solid #ddd;
    background: var(--grey);
    color: #333;
    font-weight: bold
}
.ui-widget.ui-widget-content {
    border: 1px solid var(--grey);
}

.ui-widget-content {
    border: 1px solid #ddd;
    background: var(--white);
    color: #333
}
.ui-widget {
    font-family: Arial,Helvetica,sans-serif;
    font-size: 1em
}

    .ui-widget .ui-widget {
        font-size: 1em
    }

    .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
        font-family: Arial,Helvetica,sans-serif;
        font-size: 1em
    }
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
    border: 1px solid var(--grey);
    background: #f6f6f6;
    font-weight: normal;
    color: #454545
}
.full-width .tab{
    width: 100%;
}
/* CSS for Unit Health selection box*/
.filter-selector {
    display: flex;
}

    .filter-selector button, .filter-selector a {
        padding: 5px 0px;
        margin-left: 10px;
        min-width: 45px;
        cursor: pointer;
        background-color: #f0f0f0;
        color: var(--white);
        border: 1px solid darkgray;
        border-radius: 5px;
        font-size: 14px;
        font-size: 15px;
        text-decoration: none;
        text-align: center;
    }

        .filter-selector button.selected-filter, .filter-selector a.selected-filter {
            border-color: var(--white) !important;
        }

        .filter-selector button.online-filter, .filter-selector a.online-filter {
            background-color: #90EE90;
        }

        .filter-selector button.alert-filter, .filter-selector a.alert-filter {
            background-color: #FFD700;
        }

        .filter-selector button.offline-filter, .filter-selector a.offline-filter {
            background-color: #CD5C5C;
        }

        .filter-selector button.notcommissioned-filter, .filter-selector a.notcommissioned-filter {
            background-color: var(--white);
            color: darkgray;
        }
/* css for bar chart */
.popup-content {
    font-family: Arial, sans-serif;
}

    .popup-content p {
        margin: 4px 0;
    }

    .popup-content hr {
        border: none;
        border-top: 1px solid var(--grey);
        margin: 8px 0;
    }

    .popup-content .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .popup-content .header p {
            margin: 0;
        }

    .popup-content .last-report {
        flex-direction: column;
        padding-right: 10px;
        border-right: 1px solid var(--grey);
    }

    .popup-content .signal-quality {
        align-items: center;
        padding-left: 10px;
    }

        .popup-content .signal-quality .value {
            font-size: 24px;
            color: darkgreen;
            margin-right: 5px;
        }
.unitParent {
    align-items:center;
    scroll-margin-top: 1.75rem;
}
.col-clickable {
    padding-left: 12px;
    padding-right: 12px;
    display: block;
    cursor: default;
    width: 100%;
}


    .signal-bars {
        display: flex;
        align-items: flex-end;
    }

.signal-bar {
    width: 5px;
    margin-right: 2px;
    background-color: lightgreen;
}

    .signal-bar.bar-1 {
        height: 6px;
    }

    .signal-bar.bar-2 {
        height: 12px;
    }

    .signal-bar.bar-3 {
        height: 18px;
    }

    .signal-bar.bar-4 {
        height: 24px;
    }

    .signal-bar.bar-5 {
        height: 30px;
    }

    .signal-bar.active {
        background-color: darkgreen;
    }

.loading-component {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.1); /* semi-transparent black overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's above other content */
}

.loader {
    font-size: 10px;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    text-indent: -9999em;
    animation: mulShdSpin 1.1s infinite ease;
    transform: translateZ(0);
}

@keyframes mulShdSpin {
    0%, 100% {
        box-shadow: 0em -2.6em 0em 0em #ffffff, 1.8em -1.8em 0 0em rgba(255,255,255, 0.2), 2.5em 0em 0 0em rgba(255,255,255, 0.2), 1.75em 1.75em 0 0em rgba(255,255,255, 0.2), 0em 2.5em 0 0em rgba(255,255,255, 0.2), -1.8em 1.8em 0 0em rgba(255,255,255, 0.2), -2.6em 0em 0 0em rgba(255,255,255, 0.5), -1.8em -1.8em 0 0em rgba(255,255,255, 0.7);
    }

    12.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255,255,255, 0.7), 1.8em -1.8em 0 0em #ffffff, 2.5em 0em 0 0em rgba(255,255,255, 0.2), 1.75em 1.75em 0 0em rgba(255,255,255, 0.2), 0em 2.5em 0 0em rgba(255,255,255, 0.2), -1.8em 1.8em 0 0em rgba(255,255,255, 0.2), -2.6em 0em 0 0em rgba(255,255,255, 0.2), -1.8em -1.8em 0 0em rgba(255,255,255, 0.5);
    }

    25% {
        box-shadow: 0em -2.6em 0em 0em rgba(255,255,255, 0.5), 1.8em -1.8em 0 0em rgba(255,255,255, 0.7), 2.5em 0em 0 0em #ffffff, 1.75em 1.75em 0 0em rgba(255,255,255, 0.2), 0em 2.5em 0 0em rgba(255,255,255, 0.2), -1.8em 1.8em 0 0em rgba(255,255,255, 0.2), -2.6em 0em 0 0em rgba(255,255,255, 0.2), -1.8em -1.8em 0 0em rgba(255,255,255, 0.2);
    }

    37.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255,255,255, 0.2), 1.8em -1.8em 0 0em rgba(255,255,255, 0.5), 2.5em 0em 0 0em rgba(255,255,255, 0.7), 1.75em 1.75em 0 0em #ffffff, 0em 2.5em 0 0em rgba(255,255,255, 0.2), -1.8em 1.8em 0 0em rgba(255,255,255, 0.2), -2.6em 0em 0 0em rgba(255,255,255, 0.2), -1.8em -1.8em 0 0em rgba(255,255,255, 0.2);
    }

    50% {
        box-shadow: 0em -2.6em 0em 0em rgba(255,255,255, 0.2), 1.8em -1.8em 0 0em rgba(255,255,255, 0.2), 2.5em 0em 0 0em rgba(255,255,255, 0.5), 1.75em 1.75em 0 0em rgba(255,255,255, 0.7), 0em 2.5em 0 0em #ffffff, -1.8em 1.8em 0 0em rgba(255,255,255, 0.2), -2.6em 0em 0 0em rgba(255,255,255, 0.2), -1.8em -1.8em 0 0em rgba(255,255,255, 0.2);
    }

    62.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255,255,255, 0.2), 1.8em -1.8em 0 0em rgba(255,255,255, 0.2), 2.5em 0em 0 0em rgba(255,255,255, 0.2), 1.75em 1.75em 0 0em rgba(255,255,255, 0.5), 0em 2.5em 0 0em rgba(255,255,255, 0.7), -1.8em 1.8em 0 0em #ffffff, -2.6em 0em 0 0em rgba(255,255,255, 0.2), -1.8em -1.8em 0 0em rgba(255,255,255, 0.2);
    }

    75% {
        box-shadow: 0em -2.6em 0em 0em rgba(255,255,255, 0.2), 1.8em -1.8em 0 0em rgba(255,255,255, 0.2), 2.5em 0em 0 0em rgba(255,255,255, 0.2), 1.75em 1.75em 0 0em rgba(255,255,255, 0.2), 0em 2.5em 0 0em rgba(255,255,255, 0.5), -1.8em 1.8em 0 0em rgba(255,255,255, 0.7), -2.6em 0em 0 0em #ffffff, -1.8em -1.8em 0 0em rgba(255,255,255, 0.2);
    }

    87.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255,255,255, 0.2), 1.8em -1.8em 0 0em rgba(255,255,255, 0.2), 2.5em 0em 0 0em rgba(255,255,255, 0.2), 1.75em 1.75em 0 0em rgba(255,255,255, 0.2), 0em 2.5em 0 0em rgba(255,255,255, 0.2), -1.8em 1.8em 0 0em rgba(255,255,255, 0.5), -2.6em 0em 0 0em rgba(255,255,255, 0.7), -1.8em -1.8em 0 0em #ffffff;
    }
}

.loading-text {
    margin-top: 35px;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
}
input.small, select.small, textarea.small, .small {
    width: 50px;
}
select.small{
    padding: .375em .75em .375em .75em;
    background-image:none;
    display: inline;
}
.tooltiptext {
    visibility: hidden;
    background-color: black;
    color: var(--white);
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    /* Position the tooltip */
    position: absolute;
    z-index: 1; /* put tooltip behind other layers */
}

.PoiMarker:hover+.tooltiptext {
    visibility: visible;
}



.paging {
    border-radius: .75em;
    background-color: var(--white) !important;
    color: var(--lucyblue) !important;
    margin: 2px;
    padding: .25rem .55rem;
    border: 1px solid  !important;
}
.tab-button {
    background-color: var(--white) !important;
    color: var(--lucyblue) !important;
    margin: 2px -5px;
}
    .tab-button:last-of-type {
        margin-right:2px;
    }
    .paging:hover, .tab-button:hover {
        background-color: var(--gridkeyorange) !important;
        color: var(--white) !important;
    }
    .paging.active, .paging.active:hover, .tab-button.active, .tab-button.active:hover {
        background-color: var(--lucyblue) !important;
        border-color: var(--lucyblue) !important;
        color: var(--white) !important;
    }
.loginmain {
    height: calc(100vh - 45px);
}

    .loginmain .vertical-center {
        background: var(--white);
        border: 1px solid;
        border-radius: 0.5rem;
        color: var(--lucyblue);
        position: absolute;
        top: 50%;
        left: 50%;
        z-index: 10;
        transform: translate(-50%, -50%);
    }

    .loginmain .vertical-center-login {
        background: var(--white);
        border: 1px solid;
        border-radius: 0.5rem;
        color: var(--lucyblue);
        position: absolute;
        top: 50%;
        left: 50%;
        z-index: 10;
        transform: translate(-50%, -50%);
    }

@media (min-width: 786px) {
    .loginmain .vertical-center-login {
        max-height: calc(100vh - 45px) !important;
        max-width: 430px !important;
    }
}

#blazor-error-ui {
    text-align: center;
    color: var(--white);
}

    #blazor-error-ui a {
        color: var(--gridkeyorange);
    }

.left-container,
.right-container {
    position: relative;
}

    .right-container .right-top-container.card {
        height: calc(45vh - 90px);
        overflow-x: auto;
    }

    .right-container .right-bottom-container.card {
        height: calc(55vh - 90px);
    }

    .right-container .right-map-container.card {
        height: calc(100vh - 166px);
    }
.right-top-container.card .card {
    margin-top: 0;
}
    .right-top-container.card .card .card-body{
        padding: 0;
        border: none;
    }
/* Media queries for tablet screens */
@media (max-width: 767.98px) {
    .left-container {
        margin-bottom: 1rem;
    }
}

.list-container {
    height: calc(100vh - 182px);
    display: block;
    overflow-y: auto;
    scrollbar-width: thin;
}

    .list-container a {
        display: inline-block;
        margin-right: 5px;
    }

.listheader-fixed {
    position: sticky;
    top: 0;
    background-color: white;
    font-size: 14px;
    z-index:5;
}
.list-container

footer {
    color: slategray;
    margin-top: 15px;
    padding-bottom: 10px;
}

.map-container {
    position: relative;
}

.clear-button {
    padding: 2px;
    cursor: pointer;
    text-decoration: none;
    position: absolute;
    right: 12px;
    bottom: 5px;
    z-index: 1;
}

.unit-details .col {
    color: var(--white);
    border-radius: 5px;
    border: 1px solid var(--white);
}
/*Bootstrap DateRangerPicker*/
.calendar-table td.active {
    background-color: var(--lucyblue);
    color: var(--white) !important;
}

.calendar-table .next span,
.calendar-table .prev span {
    border-color: var(--lucyblue);
}

.calendar-table td.in-range {
    color: var(--lucyblue);
}

.daterangepicker .ranges li.active {
    background-color: var(--lucyblue) !important;
}

.dynamic-row-content {
    border-top: 0.5px solid var(--grey);
}

/*Link */
.btn-link {
    text-decoration: none;
}

    .btn-link:hover {
        text-decoration: underline;
    }

.no-underline {
    text-decoration: none;
}

    .no-underline:hover {
        text-decoration: underline;
    }

[class*="fa-"] {
    text-decoration: none;
}

/* Fault location */
.fault-location-block svg {
    max-height: 61vh;
}
/* Leaflet Custom*/
.leaflet-control-attribution.leaflet-control {
    display: none;
}

/* Alarms */
.alarm-state span {
    padding: 0.2rem;
    border-radius: 0.3rem;
    color: var(--white);
    min-width: 55px;
    display: inline-block;
}

    .alarm-state span:hover {
        color: var(--white);
        text-shadow: none;
    }

.alarm-state .Red {
    background: var(--red);
}

.alarm-state .Green {
    background: var(--green);
}
.alarm-state .Orange {
    background: var(--orange);
}
/* Existing Install*/
.header-container {
    background-color: #6DC6FE;
    position: sticky;
    overflow: hidden;
}

.list-scroll {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    max-height: calc(100vh - 270px);
}

/* Backup/Restore */
.list-scroll-backup {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    max-height: calc(100vh - 235px);
}

/* Autoloop-Edit */
.scroll-hide {
    max-height: calc(100vh - 120px);
    overflow: hidden;
}

.scrollable-content {
    max-height: calc(100vh - 218px);
    overflow-y: auto;
    scrollbar-width: thin;
    padding-bottom: 10px;
}

/* Check MCU Installation*/
.bg-green {
    background-color: #c3e6cb;
}

.bg-red {
    background-color: #f5c6cb;
}

/*Over riding menu css */
.navbar-nav .nav-item .nav-link {
    border-bottom: 3px solid transparent;
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .show > .nav-link {
    border-color: var(--gridkeyorange);
    color: var(--white);
}

/*Autoloop Dashboard*/
.pointer-cursor {
    cursor: pointer;
}

.hover-effect {
    color: black;
}

    .hover-effect:hover {
        color: #EC8223 !important;
    }

/*Site Details Tab*/
.custom-nav-tabs .nav-link {
    color: var(--lucyblue);
    border: 1px solid transparent;
    padding: 10px;
}

    .custom-nav-tabs .nav-link.active {
        background-color: var(--lucyblue);
        color: var(--white);
        font-weight: bold;
        border: 1px solid var(--lucyblue);
        border-bottom-color: transparent;
        border-radius: 5px 5px 0 0;
    }

    .custom-nav-tabs .nav-link:hover {
        background-color: var(--gridkeyorange);
        color:var(--white);
        border-color: #dee2e6 #dee2e6 var(--lucyblue);
    }
.custom-tab-content {
    border: 1px solid #dee2e6;
    border-top: none;
    padding: 10px 20px;
    border-radius: 0 0 5px 5px;
    background-color: var(--white);
}

.custom-nav-tabs {
    border-bottom: none;
}

.custom-tab-divider {
    margin-top: 1.5px;
    margin-bottom: 0px;
    border-top: 1px solid #A9A9A9;
}

/* Razer dropdown Overridding*/
.rz-slider-horizontal {
    width: 100% !important;
    height: 10px !important;
    border: 1px solid #ddd !important;
    background-color: #ddd !important;
}

.rz-slider:not(.rz-state-disabled) .rz-slider-handle:hover, .rz-slider:not(.rz-state-disabled) .rz-slider-handle:focus, .rz-slider:not(.rz-state-disabled) .rz-slider-handle:active {
    box-shadow: none !important;
}

.rz-slider-handle {
    background-color: #bbb !important;
    border-bottom-left-radius: 3px !important;
    border-bottom-right-radius: 3px !important;
    border-top-left-radius: 3px !important;
    border-top-right-radius: 3px !important;
}

.rz-slider-handle-active {
    background-color: #bbb !important;
}

.rz-slider-range {
    background-color: var(--lucyblue) !important;
    border: none !important;
}
.rz-popup .rz-multiselect-header {
    padding-bottom: 2px;
    padding-top: 2px;
}

.rz-multiselect-header:hover {
    background: var(--lucyblue);
    color: #fff;
}
.rz-multiselect-header span {
    width:100%!important;
}

.rz-multiselect-items, .rz-dropdown-items {
    padding: .15rem 0rem !important;
}

.rz-multiselect-item, .rz-dropdown-item {
    padding: .1rem 1rem !important;
}
    .rz-menuitem,
    .rz-autocomplete-list-item,
    .rz-multiselect-item,
    .rz-autocomplete-items li,
    .rz-dropdown-items li,
    .rz-multiselect-items li,
    .rz-dropdown-item
    .rz-multiselect-item-content,
    .rz-dropdown-item {
        font-size: 12px!important;
        color: var(--darkgrey);
    }

        .rz-menuitem:hover,
        .rz-autocomplete-list-item:hover,
        .rz-multiselect-item:hover,
        .rz-autocomplete-items li:hover,
        .rz-dropdown-items li:hover,
        .rz-multiselect-items li:hover,
        .rz-dropdown-item:hover,
        .rz-dropdown-items .rz-state-highlight {
            background-color: var(--lucyblue) !important;
            color: var(--white) !important;
        }

        .rz-multiselect-item.rz-state-highlight {
            background-color: var(--white) !important;
            color: var(--darkgrey) !important;
        }
.rz-chkbox-box {
    border-color: var(--darkgrey) !important;
}
.rz-multiselect-item:hover .rz-chkbox-box,
.rz-multiselect-header:hover .rz-chkbox-box {
    border-color: var(--white) !important;
    background-color: var(--lucyblue) !important;
}
.rz-chkbox-box.rz-state-active {
    background-color: var(--lucyblue) !important;
    border: var(--lucyblue) !important;
}

.rz-dropdown-label {
    font-size: 12px;
}
.form-group .rz-multiselect,
.form-group .rz-dropdown,
.rz-multiselect,
.rz-dropdown {
    width: 100%;
    height: 34px !important;
}
    .form-group .rz-dropdown.small,
    .rz-dropdown.small {
        width: 85px;
    }
        .form-group .rz-dropdown.small .rz-dropdown-trigger-icon,
        .rz-dropdown.small .rz-dropdown-trigger-icon {
            
        }

.rz-dropdown {
    padding: .375rem 0.25rem .375rem .75rem;
    border: 1px solid var(--lightgrey) !important;
    font-size: 12px;
}
    .rz-dropdown:focus {
        background-color: var(--lucyblue);
        color: var(--white);
    }

.form-group .rz-dropdown .rz-dropdown-label.rz-placeholder {
    color: var(--darkgrey);
}
.form-group .rz-dropdown:focus .rz-dropdown-label.rz-placeholder,
.form-group .rz-dropdown:focus .rz-dropdown-label.rz-inputtext,
.rz-dropdown:focus .rz-dropdown-clear-icon {
    color: var(--white);
}

.form-group .rz-dropdown:focus {
    box-shadow: none !important;
    border: none !important;
}
.multiselect .rz-dropdown .rzi-chevron-down {
    background: transparent url('Images/list-filter-unselected.png') no-repeat;
    background-size: 20px;
    background-position: center;
}
.multiselect .rz-dropdown:focus .rzi-chevron-down {
    background: transparent url('Images/list-filter-selected.png') no-repeat;
    background-size: 20px;
    background-position: center;
}

.multiselect .rz-multiselect-trigger .rzi-chevron-down:before,
.multiselect .rz-dropdown-trigger .rzi-chevron-down:before {
    content: "" !important;
}
.rz-dropdown:focus .rz-multiselect-trigger .rzi-chevron-down:before,
.rz-dropdown:focus .rz-dropdown-trigger .rzi-chevron-down:before {
    color: var(--white);
}

.rz-dropdown-filter-container {
    --rz-dropdown-filter-padding: 0.25rem 0.5rem;
}

.rz-dropdown-filter {
    padding: 0.25rem 0rem !important;
    font-size: 0.85rem !important;
    min-height: 28px !important;
    line-height: 1.2 !important;
}

.list-scroll-alarm {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    max-height: calc(100vh - 182px);
}

/* Daterange css Overridding*/
.daterangepicker td, th {
    border-color: transparent;
    color: var(--lucyblue);
}

    .daterangepicker td.available:hover, th.available:hover {
        background-color: var(--grey);
        border-color: transparent;
        color: var(--lucyblue);
    }

.daterangepicker .ranges li.active[b-x77lgbiy4z] {
    color: var(--white) !important;
}

.daterangepicker .ranges li[b-x77lgbiy4z] {
    color: var(--darkgrey) !important;
}

.daterangepicker .ranges li:hover[b-x77lgbiy4z] {
    background-color: var(--lucyblue) !important;
    color: var(--white) !important;
}

/* The container */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 2em;
    margin-top: 0.70em;
    cursor: pointer;
    font-size: 1em;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default checkbox */
    .checkbox-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 1.5em;
    width: 1.5em;
    background-color: var(--white);
    border: 2px solid black;
    border-radius: .375rem;
}

/* On mouse-over, add a grey background color */
.checkbox-container :hover input ~ .checkmark {
    background-color: var(--grey);
}

/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked ~ .checkmark {
    background-color: var(--white);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
    left: .65em;
    top: -.375em;
    width: .5em;
    height: 1.2em;
    border: solid black;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


/* Status dropdown Filter */
.status-dropdown-item {
    display: flex;
    align-items: center;
}
.status-icon-online {
    background-image: url('Images/ok.png');
}

.status-icon-alert {
    background-image: url('Images/warn.png');
}

.status-icon-offline {
    background-image: url('Images/offline.png');
}

.status-icon-not-commissioned {
    background-image: url('Images/notcomm.png');
}

.status-icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
}

/*Alarm Component Css*/

.alarm-input-group {
    height: 100%;
}

/* CSS for default bar and status icons */
.default-icons {
    width: 18px;
    height: 18px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

.status-ok {
    background-image: url('/Images/ok.png');
}

.status-offline {
    background-image: url('/Images/offline.png');
}

.status-warn {
    background-image: url('/Images/warn.png');
}

.signal-bar1 {
    background-image: url('Images/bar1.png');
}

.signal-bar2 {
    background-image: url('Images/bar2.png');
}

.signal-bar3 {
    background-image: url('Images/bar3.png');
}

.signal-bar4 {
    background-image: url('Images/bar4.png');
}

.signal-bar5 {
    background-image: url('Images/bar5.png');
}

.highlight-record .signal-bar1{
    background-image: url('Images/bar1-highlighted.png');
}

    .highlight-record .signal-bar2{
        background-image: url('Images/bar2-highlighted.png');
    }

    .highlight-record .signal-bar3{
        background-image: url('Images/bar3-highlighted.png');
    }

    .highlight-record .signal-bar4{
        background-image: url('Images/bar4-highlighted.png');
    }

    .highlight-record .signal-bar5{
        background-image: url('Images/bar5-highlighted.png');
    }

.icon-chart {
    background-image: url('Images/chart.png');
}

.icon-map {
    background-image: url('Images/map.png');
}
.icon-plus {
    background-image: url('Images/plus.png');
}
.icon-report {
    background-image: url('Images/report.png');
}
.icon-firmware {
    background-image: url('Images/firmwareUpdate.png');
}
.highlight-record .icon-chart{
    background-image: url('Images/chart-highlighted.png');
}

.highlight-record .icon-map {
    background-image: url('Images/map-highlighted.png');
}
.highlight-record .icon-plus {
    background-image: url('Images/plus-highlighted.png');
}
.highlight-record .icon-report {
    background-image: url('Images/report-highlighted.png');
}

/*Feedback From CSS*/

.alert-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    z-index: 9999;
}

.alertmsg {
    text-align: center;
    font-size: 1.1rem;
}

.blur-background {
    filter: blur(5px);
}

.close-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 1.2rem;
}

.error-details {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 15px;
    border-radius: 5px;
    margin: 10px 0;
    font-family: Arial, sans-serif;
}

.error-details h3 {
    margin-top: 0;
    font-size: 1.2rem;
}

.error-details pre {
    background-color: #f1f1f1;
    color: #333;
    padding: 10px;
    border-radius: 3px;
    overflow-x: auto;
}


.error-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: var(--lucyblue);
    text-align: center;
}

.error-container {
    max-width: 500px;
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background-color: #ffffff; 
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

    .error-container h1 {
        font-size: 2rem;
        margin-bottom: 20px;
        color: #dc3545;
    }

    .error-container p {
        font-size: 1.2rem;
        margin-bottom: 30px;
        color: #6c757d;
    }

    .error-container .btn {
        padding: 0px 20px;
        font-size: 1rem;
        color: #fff;
        background-color: #007bff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        .error-container .btn:hover {
            background-color: #0056b3;
        }
.gauge {
    display:inline-block;
    position: relative;
    width: var(--width);
    height: var(--height);
    border-radius: var(--height) var(--height) 0 0;
    overflow: hidden;
    background: #ccc;
    margin:0 3px 0 3px;
}
.spacer {
    display: inline-block;
    position: relative;
    width: var(--width);
}
.inner {
    position: absolute;
    left: var(--left);
    top: var(--top);
    width: var(--width);
    height: var(--height);
    border-radius: var(--width) var(--width) 0 0;
    overflow: hidden;
    background: #fff;
    z-index: 3;
    font-size: var(--fontSize);
    text-align:center;
}
    .inner > span {
        position: absolute;
        width: 100%;
        left: 0;
        color: #000;
        top: 2px;
    }

.segment {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: 50% 100%;
    transform: rotate(var(--start));
    background: var(--color);
    z-index: 2;
}

.pointer {
    position: absolute;
    width: 4px;
    height: 100%;
    background-color: #000;
    top: 0;
    left: 50%;
    transform-origin: bottom center;
    transform: translateX(-50%) rotate(var(--angle));
    z-index: 4;
}

/*device config settings*/
.list-scroll-device-settings {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    max-height: calc(100vh - 222px);
}
.spacer{
    height:1rem;
}

.custom-dropdown-container {
    position: fixed;
    bottom: 42px;
    right: 5px;
    left: auto !important;
    z-index: 1000;
    width: auto;
    max-width: 90vw;
    display: flex;
    justify-content: flex-end;
}

.dropdown-menu {
    margin-bottom: 8px;
    width: 20px;
    left: -32px;
    top: -147px;
}
 h5.modal-title{
    font-size:1.25em;
}

.unit-health div {
    list-style: none;
    font-weight: bold;
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border-radius: 7px;
    padding: 20px;
    font-size: 25px;
    color: #fff;
    min-width: 100px;
    max-width: 170px;
    margin: 0 auto;
    text-align: center;
}
    .unit-health div div  {
        background: var(--lucyblue);
    }
    .unit-health div a, .unit-health div a:hover{
        color: var(--white);
    }
    .unit-health div a {
        width: 100%;
    }
    .unit-health .green {
        background: var(--green);
    }
.unit-health .yellow {
    background: #ec8000;
}

.unit-health .red {
    background: var(--red);
}

/*Password toggle CSS*/
.custom-password-group .password-toggle {
    border-left: none;
    background: transparent;
    border: 1px solid #b7bbbd;
}

.password-toggle:hover,
.password-toggle:focus,
.password-toggle:active {
    background: transparent !important;
    box-shadow: none !important;
    color: #343a40 !important;
}

.col-2 .form-label {
    font-weight: 600;
    margin-bottom: 0;
    font-size: 0.8rem;
}

.navbar.navbar-light .navbar-nav .nav-link,
.navbar.navbar-light .navbar-nav .nav-link:focus,
.navbar.navbar-light .navbar-nav .nav-link:visited,
.navbar.navbar-light .navbar-nav .nav-link:active,
.navbar.navbar-light .navbar-nav .nav-link:hover {
    color: #fff !important;
    text-decoration: none !important;
}