﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
:root {
    --white: #fff;
    --black: #000;
    --grey-50: #fafafa;
    --grey-100: #f2f2f2;
    --grey-200: #e6e6e6;
    --grey-250: #cecece;
    --grey-300: #c2c2c2;
    --grey-350: #aeaeae;
    --grey-400: #ccc;
    --grey-500: #6b7280;
    --peach-100: #ffeae3;
    --peach-200: #ffe3db;
    --peach-300: #fed0c3;
    --peach-400: #fdad97;
    --peach-500: #fd8b6b;
    --green: #539d66;
    --green-darker: #3e754c;
    --red: #ce0000;
    --red-darker: #9a0000;
    --blue-200: #dee7ef;
    --blue-400: #435a7d;
    --blue: #183153;
    --blue-darker: #0c1829;
    --enbraRed: #ed1c24;
}

.border-grey-200 {
    border-color: var(--grey-200);
}

.link-white {
    color: #fff;
}

.link-white:hover {
    color: #fff;
}

.bg_enbraRed{
    background-color: var(--enbraRed);
}
.color_enbraRed {
    color: var(--enbraRed);
}

.req-aster{
    color: red;
    font-size: 16px;
    font-weight: 600;
}


.text-orange {
    color: var(--orange);
}

a.link-blue {
    color: var(--blue);
}

a.link-blue:hover {
    color: var(--blue-darker);
}

.k-popup-edit-form input:read-only,
.k-popup-edit-form textarea:read-only,
#formWindowContent input:read-only,
#formWindowContent textarea:read-only {
    background-color: var(--grey-400);
}

.k-notification {
    font-size: 1rem;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    min-width: 200px;
    max-width: 300px;
}

.notification-icon {
    font-size: 1.1rem;
    margin-right: 10px;
}

@media (min-width: 576px) {
    .k-notification {
        max-width: 50vw;
    }
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 1rem;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 0px;
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.k-grid .k-grid-toolbar .k-grid-add,
.k-grid tbody .k-grid-edit,
.k-grid tbody .k-grid-update,
.k-grid tbody .k-grid-cancel,
.k-grid tbody .k-grid-delete {
    min-width: 0;
}

.navbar .k-menu.k-menu-horizontal:not(.k-context-menu) {
    padding-top: 0;
    padding-bottom: 0;
}

/*.navbar .k-menu:not(.k-context-menu) > .k-item {
    background-color: transparent;
    margin-right: 0.45rem;
}*/

.mainContext {
    height: 100%;
    margin: 10px 10px 10px 10px;
}

.login-widget {
    transition: all 0.4s ease;
    margin: 5px;
    padding: 5px!important;
}

.login-widget .widget-text-box {
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 5px -2px rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.login-widget:hover {
    transform: translateY(10px);
    -webkit-transform: translateY(10px);
}

.login-widget:hover .login-widget-body {
    background-color: #ffb580;
}

.login-widget-body {
    padding: 35px;
    background-color: #ff974d;
    height: 100%;
}

.login-content {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.loginBorderLeft {
    border-left: solid;
    border-color: rgba(0, 0, 0, 0.1);
    border-width: 1px;
}
.userIcon {
    background-position: center center;
    background-color: gray;
    border-radius: 50%;
    width: 1.8em;
    height: 1.8em;
    font-size: 1rem;
    color: white;
    background-repeat: no-repeat;
}
.k-menu, .k-menu-group .k-menu-item {
    font-size: 16px;
    color: black;
}
.k-link.k-menu-link{
    color: black;
}
.k-link.k-menu-link:hover {
    color: var(--enbraRed) !important;
}

.generalIcon {
    color: #ff974d !important;
    font-size: 1px;
    margin-left: 18px;
}

.floatTile {
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 5px -2px rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.k-i-add:before {
    content: "\E121";
}

.k-i-kpi-trend-equal:before, .k-expand:before {
    content: "\E11E";
}

.k-grid .k-hierarchy-cell .k-icon {
    color: var(--enbraRed);
    font-size: 1.4rem;
}

.k-hierarchy-cell.k-header {
    vertical-align: middle;
}

.add-btn {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 0.8;
    margin-left: 3px;
}

.add-excel-btn {
    font-size: 1.4rem;
    margin-left: 3px;
    padding-bottom: 5px;
    cursor: pointer;
}

/* wrap text in kendo grid header*/
.k-grid-header .k-header {
    overflow: visible !important;
    white-space: normal !important;
}

.addRowBtn {
    font-size: 14px!important;
    line-height: 1.5 !important;
    font-weight: 400!important;
    font: 400 14px Arial;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}


.excel-export-btn,
.excel-export-btn:hover {
    background: none;
    border: none;
    color: #1d6f42;
}

.excel-export-btn .k-icon {
    font-size: 2.5rem;
}

/*fix signature icon disabled state*/
.k-button.k-button-icontext.k-grid-approved.k-button.k-primary.k-state-disabled > .k-icon.k-i-signature {
    color: white !important;
}

.scroll_container::-webkit-scrollbar {
    height: 8px;
}
.scroll_container::-webkit-scrollbar-track {
    background: transparent;
}
.scroll_container:hover::-webkit-scrollbar-track {
    box-shadow: inset 0 0 4px grey;
    border-radius: 8px;
}
/* Handle */
.scroll_container::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 10px;
}
/* Handle on hover */
.scroll_container:hover::-webkit-scrollbar-thumb, .scroll_container::-webkit-scrollbar-thumb:hover {
    background: #F95914;
}

.checkbox-lg {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.5rem;
}

.checkbox-lg::before {
    width: 1.7rem;
    height: 1.7rem;
    font-size: 1.7rem;
}

.checkbox-enbra {
    border-color: var(--grey-350);
}

.checkbox-enbra:hover {
    border-color: var(--grey-500);
}

.checkbox-enbra:checked {
    border-color: var(--enbraRed);
    background-color: var(--enbraRed);
}

.checkbox-enbra:checked:focus {
    border-color: var(--enbraRed);
    box-shadow: 0 0 0 0.2rem rgb(222 115 86 / 25%);
}

.event-state-null {
    background-color: var(--grey-200);
}

.k-grid tr.k-alt.event-state-null {
    background-color: var(--grey-250);
}

.k-grid tbody tr.event-state-null:hover {
    background-color: var(--grey-300);
}

.event-state-nova {
    background-color: var(--peach-100);
}

.k-grid tr.k-alt.event-state-nova {
    background-color: var(--peach-200);
}

.k-grid tbody tr.event-state-nova:hover {
    background-color: var(--peach-300);
}

.grid-row-aggregate {
    background-color: var(--peach-200);
}

.k-grid tr.k-alt.grid-row-aggregate {
    background-color: var(--peach-200);
}

.k-grid tbody tr.grid-row-aggregate:hover {
    background-color: var(--peach-500);
}

.k-grid-header {
    background-color: var(--enbraRed);
    color: var(--white);
}

.k-detail-cell .k-grid-header {
    background-color: var(--blue-400);
}

.k-detail-cell .k-grid-header thead tr:hover {
    background-color: var(--blue-400);
    color: var(--white);
}

.k-detail-cell .k-tabstrip > .k-content {
    width: min-content;
    background-color: var(--blue-200);
    padding: 10px;
}

.k-detail-cell .k-tabstrip-items .k-item.k-state-active,
.k-detail-cell .k-tabstrip-items .k-item.k-state-selected {
    background-color: var(--blue-200);
    color: var(--black);
}

.k-detail-cell .k-tabstrip-items .k-item {
    color: var(--enbraRed);
}

.k-grid tbody .k-detail-row:hover {
    background-color: var(--grey-50);
}

.k-grid .k-grid-filter, .k-grid .k-header-column-menu {
    color: var(--white);
}

.k-pager-wrap {
    background-color: var(--white);
}

.k-pager-numbers .k-link {
    color: var(--enbraRed);
}

.k-pager-numbers .k-link:hover {
    color: var(--white);
    background-color: rgba(222, 115, 86, 0.8);
}

.k-pager-numbers .k-link.k-state-selected {
    background-color: var(--enbraRed);
    color: var(--white);
}

.k-pager-nav.k-link {
    color: var(--black);
}

.k-window-titlebar {
    background-color: var(--enbraRed);
    color: var(--white);
}

.k-window-content {
    background-color: var(--grey-100);
}

.k-dialog-button-layout-stretched .k-primary:not(:hover):not(.k-state-hover):not(:active):not(.k-state-active) {
    color: var(--enbraRed);
}

.k-dialog-buttongroup .k-button.k-primary:hover {
    border-color: var(--enbraRed);
    background-color: var(--enbraRed);
    background-image: none;
}

.actions-row {
    position: relative;
}

.event-action-btn {
    position: absolute;
    top: 5px;
}

.k-grid-verify {
    left: 60px;
}

.k-grid-close {
    left: 105px;
}

.k-grid-open {
    left: 150px;
}

.k-window-title {
    flex-basis: 100%;
}

.k-filter-menu .k-widget.k-filter-and {
    width: 8em;
}

.k-grid-isDeleted,
.k-grid-isEdited,
.k-grid-edit,
.k-grid-del,
.k-grid-copy,
.k-grid-editWatchdog {
    border: 0;
    background-color: transparent;
    background-image: none;
    padding: 0.5rem;
    text-decoration: none !important;
}

.k-popup-edit--two-col > .k-edit-form-container {
    width: 800px;
}
.k-popup-edit--wide > .k-edit-form-container {
    width: 568px;
}

/* edit popup buttons */
.k-popup-edit-form .k-edit-buttons {
    padding: 0;
    display: flex;
    flex-direction: row-reverse;
}

.k-popup-edit-form .k-edit-buttons .k-button {
    width: 100%;
    margin: 0;
    background-color: transparent;
    background-image: none;
    border: 0;
    border-radius: 0;
    padding: 10px 16px;
}

.k-popup-edit-form .k-edit-buttons .k-button + .k-button {
    border-right: 1px solid #dee2e6;
}

.k-popup-edit-form .k-edit-buttons .k-button .k-icon {
    display: none;
}

.k-popup-edit-form .k-button.k-grid-cancel:hover {
    color: #656565;
    background-color: #ededed;
    background-image: linear-gradient(#ededed,#e8e8e8);
}

.k-popup-edit-form .k-button.k-grid-update {
    color: var(--enbraRed);
}

.k-popup-edit-form .k-button.k-grid-update:hover {
    background-color: var(--enbraRed);
    color: var(--white);
}



.connectLogoHeader {
    text-decoration: none;
    color: rgb(238, 28, 37);
    font-size: 25px!important;
    font-style: italic;
}


.k-header-column-menu{
    padding: 4px 0 4px 0 !important;
    width: 15px!important;
}
.k-tabstrip > .k-content {
    padding:  0 !important;
}
.k-grid-header .k-i-sort-asc-sm, .k-grid-header .k-i-sort-desc-sm, .k-grid-header .k-sort-order{
    color: white!important;
}
:focus-visible {
    outline: none !important;
    outline-color: transparent!important;
}
.mpCell {
    text-align: right!important;
    padding-right: 10px;
}
.mpallete1 {
    background-color: #eceff1;
}
.mpallete2 {
    background-color: #e8eaf6;
}
.mpallete3 {
    background-color: #efebe9;
}
.mpallete4 {
    background-color: #fbe9e7;
}
.mpallete5 {
    background-color: #fff3e0;
}
.mpallete6 {
    background-color: #fff8e1;
}
.mpallete7 {
    background-color: #fffde7;
}
.mpallete8 {
    background-color: #f9fbe7;
}
.mpallete9 {
    background-color: #e8f5e9;
}
.mpallete10 {
    background-color: #e0f2f1;
}
.mpallete11 {
    background-color: #e0f7fa;
}
.mpallete12 {
    background-color: #e3f2fd;
}
#monthlyValues_kGrid > div.k-grid-content.k-auto-scrollable > table{
    height: 1px;
}
.monthlyHeader {
    display: flex;
    height: 100%;
}
.emHeader {
    display: flex;
    height: 100%;
}
.emHeader > span {
    width: 208px;
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid #9c9b9b;
}
.monthlyRow {
    display: flex;
    height: 100%;
    min-height: 25px;
}
.monthlyRow > div{
    width: 85px;
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    border-radius: 5px;
}
.monthlyHeader > span {
    width: 85px;
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid #9c9b9b;
}
.emWrap {
    width: 200px!important;
    flex-direction: row !important;
    display: inline-flex !important;
    border-radius: 5px;
    margin-right: 8px;
}
.emWrap > div
{
    flex-direction: column !important;
    display: inline-flex !important;
    padding-right: 10px;
}
.emW1 {
    width: 80px;
    border-right: 1px solid #e5e5e5;
    text-align: right !important;
}
.emW2 {
    width: 100px;
    border-right: 1px solid #e5e5e5;
    text-align: right !important;
}
.emW3 {
    width: 25px;
    text-align: center;
    font-weight:bolder;
}

/*.k-reset {
    margin: 0;
    padding: 0;
    border-width: 0;
    outline: 0;
    text-decoration: none;
    font: inherit;
    list-style: none
}*/
.enb-line-button {
    border-color: #a7f3d0;
    background-color: #d1fae5;
    background-image: linear-gradient(#d1fae5,#ecfdf5);
    padding: 5px 7px;
    border-radius: 4px;
}

.enb-line-button:hover {
    border-color: #a7f3d0;
    background-color: #d1fae5;
    background-image: linear-gradient(#d1fae5,#ecfdf5);
}

.excelExpBtn {
    height: 32px !important;
    border: none;
}
.excelExpBtn, .excelExpBtn > span {
    color: green;
    font-size: 25px !important;
}

.defaultExcelExpBtn {
    height: 32px !important;
    border: none;
}
.defaultExcelExpBtn, .defaultExcelExpBtn > span {
    color: blue;
    font-size: 25px !important;
}

.gridClearFilterBtn {
    height: 32px !important;
    border: none;
}

.gridClearFilterBtn, .gridClearFilterBtn > span {
    color: orangered;
    font-size: 25px !important;
}


/*.k-grid tbody tr:not(.k-detail-row):hover,
.k-grid tbody tr:not(.k-detail-row).k-state-hover {
    background-color: inherit!important;
}*/

.importBtnCss {
    color: white;
    font-size: 1.4rem;
    margin-left: 3px;
}
.k-grid .k-command-cell > .k-button + .k-button{
    margin-left: 0;
}

#DefaultAPIUnits_taglist > span > span.k-chip-icon.k-icon.k-i-x {
    display: none !important;
}

.menu_disabled {
    color: gray!important; /* Change text color to gray */
    pointer-events: none; /* Disable mouse events */
    cursor: default; /* Change cursor to default */
}
.menu_disabled span {
    color: gray!important; /* Change text color to gray */
}

.disabledDiv {
    pointer-events: none; /* Prevents all mouse interactions */
    opacity: 0.5; /* Makes the div look disabled */
    background-color: #f5f5f5; /* Optional: Change background color */
}
#eula_div {
    display: inline-block;
    height: 300px;
    overflow-y: scroll;
    border: 1px solid #f7f7f7;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
}

#eula_div::-webkit-scrollbar {
    width: 12px; /* Width of the scrollbar */
}
#eula_div::-webkit-scrollbar-track {
    background: transparent; /* Removes the default gray background */
    border-radius: 10px;
     -webkit-box-shadow: inset 0 0 6px #f2eeee; 
}

#eula_div::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #ffadad;
    -webkit-box-shadow: inset 0 0 6px red;
}

#EulaConfirm:not(:disabled) {
    box-shadow: 0 0 10px red;
}
