﻿:root {
    --table-head-bg-rgba: rgba(241,245,247, 1);
}

body {
    min-height: 100vh;
}

.left-side-menu {
    padding-bottom: 0px !important;
}

html[data-sidebar-size="condensed"] {
    #carbon-intensity-container {
        display: none;
    }
}

iframe.fill-space {
    width: 100%;
    overflow: hidden;
}

#chatDialog > .e-dlg-content {
    overflow: hidden !important;
}

#chatDialog_title {
    width: auto;
    line-height: normal;
}

#chatDialog_title .mdi:before, #chatDialog_title .mdi {
    line-height: normal !important;
}

.form-control {
    padding: .33rem .9rem;
    color: #212529 !important;
}

    .form-control.modified.valid {
        border-color: #198754
    }

    .form-control.modified.invalid {
        border-color: #f1556c
    }

.input-group button {
    padding-top: 0.33rem;
    padding-bottom: 0.33rem;
}

.min-height-550 {
    min-height: 550px;
}

.min-height-600 {
    min-height: 600px;
}

.min-height-700 {
    min-height: 700px;
}

.height-100-percent {
    height: 100%;
}

.max-width-100-percent {
    max-width: 100%;
}

.overflow-vertical-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}

.height-limited-70 {
    max-height: 70%;
    overflow-x: auto;
    scrollbar-width: thin;
}

.height-limited-100 {
    max-height: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
}

div.zindex999 {
    z-index: 999 !important;
}

.blazored-toast {
    z-index: 9999 !important;
    transform: translateZ(11000);
}

.blazored-toast-container {
    z-index: 9999 !important;
    transform: translateZ(11000);
}

.navbar-custom {
    z-index: 40 !important;
}

.logo-lg {
    width: 100%;
    z-index: 5;
}

.logo-lg img {
    z-index: 6;
}


#blazor-error-ui {
    /* Blocking overlay shadow */
    background: rgba(0, 0, 0, 0.5);
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
}

    #blazor-error-ui > .card {
        margin-left: auto;
        margin-right: auto;
        margin-top: 10%;
        width: 50%;
        z-index: 1001;
    }

    @media (max-width: 500px) {
        #blazor-error-ui > .card {
            width: 100%;
        }
    }


.fw-100 {
    font-weight: 100 !important;
}

.fw-200 {
    font-weight: 200 !important;
}

.fw-300 {
    font-weight: 300 !important;
}

.fw-400 {
    font-weight: 400 !important;
}

.fw-500 {
    font-weight: 500 !important;
}

b, strong {
    font-weight: 600;
}

@media (max-width: 639px) {
    .page-title-box {
        display: flex !important;
    }
}

.text-blue {
    color: #5993fd !important;
}

.text-red {
    color: #f1556c !important;
}

.text-orange {
    color: #fd7e14 !important;
}

.border-blue {
    border-color: #5993fd !important;
}

.border-red {
    border-color: #f1556c !important;
}

.border-orange {
    border-color: #fd7e14 !important;
}

/* Fade-in enquiry hover lines */
rect[id^='dashboardMeterChart_stripline_Behind_rect_PrimaryXAxis'][fill='#f7b84b'] {
    animation: fade-in-half 0.3s linear 1;
}

.max-height-300-overflow-y {
    max-height: 300px;
    overflow-y: auto;
}

.display-7 {
    font-size: 1.2rem;
}

.btn-lg-lowerpad {
    padding: 5px 12px;
}

.pull-top-left-10 {
    transform: translateY(-10px);
}

text[id*='stripline_Over_text'] {
    text-shadow: 0 0 2px white;
}

.btn-white {
    background-color: var(--bs-gray-100);
}

.inline-block {
    display: inline-block
}

.tooltip-icon-sm {
    display: inline-block;
    width: 15px;
}
 
/* Prevent input zoom on mobile */
@supports (-webkit-overflow-scrolling: touch) {
    * {
        -webkit-text-size-adjust: none;
        text-size-adjust: none;
    }

    input {
        font-size: 16px !important;
    }
    /*Alternative to test: input {
        transform: scale(0.875);
        transform-origin: left center;
        margin-right: -14.28%;
    }*/
}

@media (min-width: 992px) {
    #advanced-filter-btn-container {
        align-self: flex-end;
        margin-bottom: 2px;
    }
}

.enquiry-icon-container {
    transform: translateY(-0px);
    text-align: center;
    font-size: 26px;
    width: 30px;
    background-color: rgba(255, 255, 255, 0);
}

.enquiry-marker {
    border-radius: 50%;
}

.enquiry-icon-count {
    /* circle shape, size and position */
    position: absolute;
    right: -0.4em;
    top: -0.2em;
    min-width: 1.6em; /* or width, explained below. */
    height: 1.6em;
    border-radius: 0.8em; /* or 50%, explained below. */
    border: 0.05em solid white;
    background-color: red;
    /* number size and position */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.4em;
    color: white;
}


/*
    Syncfusion overrides
*/

.e-switch-wrapper .e-switch-on, .e-css.e-switch-wrapper .e-switch-on {
    background-color: #5BCB18;
    border-left-color: #5BCB18 !important;
    border-right-color: #5BCB18 !important;
    border-width: 0px;
}

.e-switch-wrapper .e-switch-inner.e-switch-active, .e-css.e-switch-wrapper .e-switch-inner.e-switch-active {
    background-color: #5BCB18;
    border-color: #5BCB18 !important;
    border-left-color: #5BCB18 !important;
    border-right-color: #5BCB18 !important;
    border-width: 0px;
}

.e-switch-wrapper:hover .e-switch-inner.e-switch-active .e-switch-on {
    background-color: #5BCB18;
    border-color: #5BCB18 !important;
    border-left-color: #5BCB18 !important;
    border-right-color: #5BCB18 !important;
    border-width: 0px;
}

.e-switch-wrapper:hover .e-switch-inner.e-switch-active .e-switch-on, .e-css.e-switch-wrapper:hover .e-switch-inner.e-switch-active .e-switch-on {
    background-color: #5BCB18;
    border-color: #5BCB18;
    border-left-color: #5BCB18 !important;
    border-right-color: #5BCB18 !important;
    border-width: 0px;
}

/* Tooltip arrow fix, showing lines near arrow, maybe template collision? */
.e-arrow-tip-inner {
    visibility: hidden !important;
}

.e-control, [class^="e-"] *:not([class*="e-icon"]):not([class*="fas"]):not([class*="far"]):not([class*="mdi-"]):not([class*="bx-"]):not([class*="ri-"]):not([class*="wi-"]):not([class*="fe-"]):not([class*="mjx-"]) {
    font-family: 'Montserrat', 'Poppins', serif;
}

.e-spin-overlay {
    z-index: 10002 !important;
}

.e-dlg-header .header-title {
    font-weight: 600 !important;
}

.e-dialog.e-dlg-resizable {
    padding-bottom: 0px;
}

.e-dlg-header-content .e-btn .e-btn-icon, .e-dlg-header-content .e-css.e-btn .e-btn-icon {
    vertical-align: top !important;
}

div[id^='modal-dialog-'] div.e-dialog.e-dlg-resizable {
    padding-bottom: 0px;
}

.e-dialog .e-dlg-content,
.e-dialog .e-dlg-content .e-grid .e-headercelldiv,
.e-dialog .e-dlg-content .e-grid .e-rowcell,
.e-dialog .e-dlg-content .e-grid .e-groupcation,
.e-dialog .e-dlg-content .e-pager {
    font-size: 13px !important;
}

td.e-week-number span {
    color: #DE64AC !important;
}

.e-btn {
    font-size: 13px !important;
    padding: 7.2px 14.4px 7.2px 14.4px !important;
}

    .e-btn.e-primary {
        background-color: #5BCB18 !important;
        border-color: #5BCB18 !important;
    }

        .e-btn.e-primary:hover {
            background-color: #4dad14 !important;
            border-color: #4dad14 !important;
        }

        .e-btn.e-primary:focus .e-btn.e-primary:active {
            background-color: #49a213 !important;
            border-color: #449812 !important;
        }

    .e-btn.e-secondary {
        background-color: #2B2D43 !important;
        border-color: #2B2D43 !important;
    }

        .e-btn.e-secondary:hover {
            background-color: #252639 !important;
            border-color: #252639 !important;
        }

        .e-btn.e-secondary:focus .e-btn.e-secondary:active {
            background-color: #222436 !important;
            border-color: #222436 !important;
        }

.e-spinner-pane.e-spin-primary .e-spinner-inner .e-spin-bootstrap5 {
    stroke: #5BCB18;
    fill: #5BCB18;
}

.e-spinner-pane.e-spin-primary .e-spinner-inner .e-spin-label {
    color: #6c757d;
}

.e-spinner-pane.e-spin-primary.e-spin-overlay .e-spinner-inner .e-spin-label {
    color: #fff;
}

.e-spinner-pane.e-spin-secondary .e-spinner-inner .e-spin-bootstrap5 {
    stroke: #DE64AC;
    fill: #DE64AC;
}

.e-spinner-pane.e-spin-secondary .e-spinner-inner .e-spin-label {
    color: #2B2D43;
}

.e-centered-datepicker input {
    text-align: center;
    padding-top: 5px !important;
}

/* Hide sf grid cell focus outline */
.e-grid td.e-rowcell.e-focus.e-focused {
    box-shadow: none !important;
}

.e-grid td.e-groupcaption .e-focus.e-focused {
    box-shadow: none !important;
}

.e-grid th.e-headercell.e-focus.e-focused {
    box-shadow: none !important;
}

.e-dlg-header small {
    font-size: 12px;
}

rect[id$='Zooming_Rect'] {
    opacity: 0.5 !important;
}

.dropdown-item {
    cursor: pointer !important;
}

.e-dlg-header h2 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    letter-spacing: 3px;
}

    .e-dlg-header h2.text-custom {
        color: rgb(108, 117, 125) !important;
    }

.tooltip-custom {
    border-radius: 5px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 6px;
    padding-top: 6px;
    background: black;
    border: 1px #919191;
}

.tooltip-custom-label {
    margin-left: 6px;
    padding-left: 4px;
    padding-bottom: 10px;
    color: white;
    font-size: 12px;
}

.tooltip-content h1, .tooltip-content h2, .tooltip-content h3, .tooltip-content h4, .tooltip-content h5, .tooltip-content h6 {
    color: #ffffff !important;
}

.tooltip-content h6 {
    font-weight: bolder !important;
    margin-top: 0px;
    margin-bottom: 2px !important;
}

.tooltip-content strong {
    font-weight: bolder !important;
}

/*
    Syncfusion popup related
*/

.e-dialog {
    box-shadow: 0 16px 48px rgba(0,0,0,.475);
}

    .e-icon-dlg-close, .e-icon-dlg-close:hover, .e-icon-dlg-close:active, .e-icon-dlg-close:focus,
    .e-dialog .e-btn.e-dlg-closeicon-btn:hover span,
    .e-dialog .e-btn.e-dlg-closeicon-btn:active span,
    .e-dialog .e-btn.e-dlg-closeicon-btn:focus span {
        color: rgb(255, 255, 255);
    }

.e-icon-dlg-close:hover {
    color: rgb(255, 255, 255);
}

.e-dialog .e-dlg-header-content {
    position: relative;
    top: -1px;
    left: -1px;
    width: calc(100% + 2px);
    background-color: rgb(43, 45, 67);
    color: rgb(255, 255, 255);
    border-top: 1px solid rgb(43, 45, 67);
    border-left: 1px solid rgb(43, 45, 67);
    border-right: 1px solid rgb(43, 45, 67);
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.e-dlg-header, .e-dlg-header * {
    color: rgb(255, 255, 255);
}

button.e-dlg-fullscreen {
    width: fit-content !important;
    height: fit-content !important;
}

/*
    End Syncfusion popup related
*/
/*
    Syncfusion table related
*/

.e-pager .e-numericitem,
.e-pager .e-numericitem:hover {
    color: #5BCB18;
}

.e-pager .e-currentitem,
.e-pager .e-currentitem:hover {
    color: #5BCB18;
}

.e-pager div.e-icons.e-pager-default {
    color: #5BCB18;
}

.grid-container .e-grid table thead {
    background-color: var(--table-head-bg-rgba);
}

.grid-container .sf-pager {
    border-top-style: none;
    padding-top: 20px;
}

.grid-container .e-pager {
    border-style: none;
}

    .grid-container .e-pager div.e-icons.e-pager-default {
        color: rgb(33, 37, 41);
    }

    .grid-container .e-pager .e-numericitem {
        color: rgb(33, 37, 41);
        display: inline;
    }

    .grid-container .e-pager .e-currentitem {
        background-color: #5BCB18;
        color: #ffffff;
        border-color: #5BCB18;
    }

        .grid-container .e-pager .e-numericitem .e-active, .grid-container .e-pager .e-currentitem.e-numericitem.e-focused {
            background-color: #5BCB18;
            box-shadow: none;
            color: #ffffff;
        }

.grid-container .e-grid table thead th .e-headertext {
    font-size: 13px;
    font-weight: 600;
}

.grid-container .e-grid .e-rowcell {
    font-size: 13px;
    font-weight: 400;
}

.grid-container .e-grid {
    border-left-style: none;
    border-right-style: none;
    border-bottom-style: none;
}

    .grid-container .e-grid .e-row, .grid-container .e-grid .e-rowcell {
        border-bottom-style: solid;
    }

.grid-container table thead, .grid-container table thead tr, .grid-container table thead th,
.grid-container table tbody, .grid-container table tbody tr, .grid-container table tbody td,
.grid-container .e-gridheader {
    border-left-style: none;
    border-right-style: none;
    border-top-style: none;
}

.small-text-grid .e-grid .e-headercelldiv {
    font-size: 12px !important;
}

.small-text-grid .e-grid .e-rowcell {
    font-size: 12px !important;
}

.small-text-grid .e-grid .e-summarycell {
    font-size: 12px !important;
}

/*
    End Syncfusion table related
*/

/*
    Syncfusion date-range picker
*/

.e-daterangepicker.e-popup .e-footer .e-btn {
    line-height: 10px !important;
}

.e-daterangepicker.e-popup .e-calendar .e-end-date.e-selected.e-range-hover span.e-day, .e-daterangepicker.e-popup .e-calendar .e-start-date.e-selected.e-range-hover span.e-day {
    background-color: #4dad14;
}

/*
    End Synfusion date-range picker
*/
li.hide-checkbox > .e-text-content {
    cursor: default;
}

li.hide-checkbox.e-node-focus > .e-fullrow {
    background-color: rgba(255,255,255, 1) !important;
    border: revert;
}

li.hide-checkbox.e-hover > .e-fullrow {
    background-color: rgba(255,255,255, 1) !important;
    border: revert;
}

li.hide-checkbox > .e-text-content .e-checkbox-wrapper {
    display: none !important;
}

.e-treeview.noselection:not(.e-fullrow-wrap) .e-list-item.e-node-focus > .e-text-content {
    background-color: revert;
    border: revert;
}

.e-treeview.noselection .e-text-content {
    cursor: revert;
}

.e-dlg-content {
    color: revert;
}

.e-treeview .btn-sm {
    height: 28px;
}

/*
    Syncfusion accordian related
*/

.e-accordion .e-acrdn-item.e-select.e-acrdn-item > .e-acrdn-header:hover .e-acrdn-header-content {
    color: #343a40 !important;
}

.e-accordion .e-acrdn-item.e-selected > .e-acrdn-header > .e-acrdn-header-content {
    color: #343a40 !important;
}

.e-accordion .e-acrdn-item .e-acrdn-header:hover,
.e-accordion .e-acrdn-item.e-selected.e-select.e-expand-state > .e-acrdn-header:hover {
    background-color: #f7f7f7 !important;
}

.e-accordion .e-acrdn-item.e-select.e-selected.e-expand-state > .e-acrdn-header,
.e-accordion .e-acrdn-item.e-select.e-expand-state > .e-acrdn-header,
.e-accordion .e-acrdn-item.e-selected.e-select > .e-acrdn-header,
.e-accordion .e-acrdn-item.e-selected.e-select.e-expand-state > .e-acrdn-header:focus {
    background-color: #fff;
    box-shadow: none !important;
}

.e-accordion .e-acrdn-item .e-acrdn-header .e-toggle-icon .e-icons {
    color: #343a40 !important;
}

.e-accordion .e-acrdn-item .e-acrdn-header:focus,
.e-accordion .e-acrdn-item .e-acrdn-panel.e-nested > .e-acrdn-content > .e-accordion > .e-acrdn-item > .e-acrdn-header:focus {
    background-color: revert;
    box-shadow: none !important;
}

.e-listbox-container {
    border-radius: 5px;
}

/*
    Syncfusion general
*/

.e-input-group:not(.e-success):not(.e-warning):not(.e-error), .e-input-group.e-control-wrapper:not(.e-success):not(.e-warning):not(.e-error) {
    border-color: #dee2e6;
}

/*
    End Syncfusion overrides
*/

/*
    Animations
*/
@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fade-in-half {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 0.5;
    }
}

.fade-in {
    opacity: 1;
    animation: fade-in 1s ease-in 1;
    animation-delay: 0s;
}

@keyframes pop-in {
    0% {
        opacity: 0;
        transform: scale(0.1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pop-in-glow {
    0% {
        opacity: 0;
        transform: scale(0.1);
        box-shadow: 
            0 0 0px 0px rgba(255, 240, 0, 0.5),
            inset 0 0 10px 10px rgba(255, 240, 0, 0.5);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2);
        box-shadow: 
            0 0 5px 5px rgba(255, 240, 0, 0.5),
            inset 0 0 10px 10px rgba(255, 240, 0, 0.5);
    }
    70% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 
            0 0 10px 10px rgba(255, 240, 0, 0.5),
            inset 0 0 10px 10px rgba(255, 240, 0, 0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0px 0px rgba(255, 240, 0, 0.5),
    }
}

@keyframes pop-out {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    20% {
        opacity: 0.8;
        transform: scale(1.2);
    }
    50% {
        opacity: 0.8;
        transform: scale(0.8);
    }
    100% {
        opacity: 0;
        transform: scale(0.1);
    }
}

@keyframes pop {
    50% {
        transform: scale(1.2);
    }
}

.pop-in {
    animation: pop-in 0.8s linear 1;
    animation-delay: 0s;
}

.pop-out {
    animation: pop-out 0.5s linear 1;
    animation-fill-mode: forwards;
    animation-delay: 0s;
}

.pop-in-glow {
    /*opacity: 0;
    transform: scale(0.1);*/
    animation: pop-in-glow 1s linear 1;
    animation-fill-mode: forwards;
    animation-delay: 0s;
}

.pop-hover:hover {
    animation: pop 0.3s linear 1;
}

/*
    End Animations
*/

/*
    Loading video
*/

#videoBackgroundContainer {
    height: 90vh;
    background-color: #fff;
    margin-left: -60px;
    transform: translateX(30px)
}

#videoContainerPreRender {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 675px;
    padding-left: -20px;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: start;
    z-index: 0;
    background-color: #fff;
    animation: fade-in 0.5s linear 1;
    animation-delay: 0s;
}

#videoContainer {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 675px;
    padding-left: -20px;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: start;
}

#backgroundVideo {
    width: 1200px;
    margin-left: 40px;
    /*animation: pop-out 0.5s linear 1;
    animation-delay: 4s;
    animation-fill-mode: forwards;*/
}

#videoMessage {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: fit-content;
    align-self:center;
    display: flex;
    transform: translate(-6px, 6px); /* Compensate for video being slightly off center */ 
}

    #videoMessage .e-spinner-inner {
        width: 230px;
        height: 230px;
        background-color: #2b2d43;
        border-radius: 50%;
        padding: 50px;
        padding-top: 30px;
        color: #fff;
        /*box-shadow: inset 0px 0px 10px 10px #62CC20;*/
        box-shadow: 0px 0px 10px 3px #2b2d43;
    }

    #videoMessage .e-spinner-inner .e-spin-label {
        color: #fff;
    }

.shadow-spin-loader {
    width: 250px;
    height: 250px;
    background: linear-gradient( 165deg, rgba(255, 255, 255, 1) 0%, rgb(220, 220, 220) 40%, rgb(170, 170, 170) 98%, rgb(10, 10, 10) 100% );
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    align-self: center;
    display: flex;
}

    .shadow-spin-loader:before {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        border-radius: 100%;
        border-bottom: 0 solid #DE64AC05;
        box-shadow: 0 -10px 20px 20px #DE64AC40 inset, 0 -5px 15px 10px #DE64AC50 inset, 0 -2px 5px #DE64AC80 inset, 0 -3px 2px #DE64ACbb inset, 0 2px 0px #DE64AC, 0 2px 3px #DE64AC, 0 5px 5px #DE64AC90, 0 10px 15px #DE64AC60, 0 10px 20px 20px #DE64AC40;
        filter: blur(3px);
        animation: 2s rotate linear infinite;
    }

@keyframes rotate {
    100% {
        transform: rotate(360deg)
    }
}

.waves-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: fit-content;
    align-self: center;
    display: flex;
    width: 250px;
    height: 250px;
    background-color: #DE64AC;
    border-radius: 50%;
    box-shadow: 0 0 30px 4px rgba(0, 0, 0, 0.5) inset, 0 5px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    color: #fff;
}

    .waves-loader .e-spinner-inner .e-spin-label {
        color: #fff !important;
    }

    .waves-loader:before,
    .waves-loader:after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 45%;
        top: -40%;
        background-color: #2B2D43;
        animation: wave 5s linear infinite;
    }

    .waves-loader:before {
        border-radius: 30%;
        background: rgba(255, 255, 255, 0.4);
        animation: wave 5s linear infinite;
    }

@keyframes wave {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}
