@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Poppins&family=Roboto:wght@100&display=swap');

html, body {
    font-family: 'Open Sans', sans-serif;
    background-color: ivory;
}


input:autofill {
    background: #e8f0fe; /* this overides mozilla's yellow */
}

.Primary {
    color: #87ab6d;
}

.PrimaryDark {
    color: #2A6425;
}

.Accent {
    color: #EF5A21;
}



.btn-font-white {
    color: white !important;
}

.btn-drilldown, .btn-drilldown:focus {
    background-color: #fe8e04;
    color: #fff;
    outline-color: #fe8e04;
    border-color: #fe8e04;
}

    .btn-drilldown:hover, .btn-drilldown:active {
        background-color: #FDB750;
        color: #fff;
        outline-color: #FDB750;
        border-color: #FDB750;
    }

.sticky-offset {
    top: -15px;
}

#toptoolbaredit.e-toolbar {
}

    #toptoolbaredit.e-toolbar .e-toolbar-item {
        background: transparent;
        border: 0px solid transparent;
    }

#toptoolbaredit.e-bigger .e-tbar-btn .tb-icons {
    font-size: 18px;
}

#toptoolbaredit.e-tbar-btn, .tb-icons:focus {
    background-color: #EF5A21;
    color: #fff;
    outline-color: #EF5A21;
    border-color: #EF5A21;
}

#toptoolbaredit.e-toolbar .e-toolbar-items .e-toolbar-item:not(.e-separator) {
    padding: 2px 3px;
}

#toptoolbaredit.e-toolbar .e-tbar-btn:hover {
    background-color: rgba(255, 255, 255,0.1);
    color: #EF5A21;
    outline-color: #EF5A21;
    border-color: #EF5A21;
}

#toptoolbaredit.e-toolbar .e-tbar-btn:focus {
    background: #EF5A21;
    border: 1px solid #b43c0f;
}

.e-save-icon:before {
    content: url(../ic_fluent_save_24_regular.svg);
}

.e-saveclose-icon:before {
    content: url(../ic_fluent_saveclose_24_regular.svg);
}

.e-savenew-icon:before {
    content: url(../ic_fluent_saveadd_24_regular.svg);
}

.e-close-icon:before {
    content: url(../ic_fluent_dismiss_24_regular.svg);
}

.e-icons {
    font-family: "e-icons";
}

.e-icons-red {
    color: #EF5A21 !important;
    font-family: "e-icons";
}

.e-icons-green {
    color: #2A6425 !important;
    font-family: "e-icons";
}



.e-expand:before {
    content: "\e777";
}

.e-collapse:before {
    content: "\e70c";
}



.btn-dialog, .btn-dialog:focus {
    background-color: rgba(255, 255, 255,0.1);
    color: #87ab6d;
    outline-color: #87ab6d;
    border-color: #87ab6d;
}

    .btn-dialog:hover, .btn-dialog:active {
        background-color: #87ab6d;
        color: #fff;
        outline-color: navajowhite;
        border-color: navajowhite;
    }

    .btn-dialog:disabled {
        background-color: rgba(255, 255, 255,0.1);
        color: #2A6425;
        outline-color: #2A6425;
        border-color: #2A6425;
    }


.btn-warning-outline, .btn-warning-outline:focus {
    background-color: rgba(255, 255, 255,0.1);
    color: #EF5A21;
    outline-color: #EF5A21;
    border-color: #EF5A21;
}

    .btn-warning-outline:hover, .btn-warning-outline:active {
        background-color: #EF5A21;
        color: #fff;
        outline-color: #EF5A21;
        border-color: #EF5A21;
    }

    .btn-warning-outline:disabled {
        background-color: rgba(255, 255, 255,0.1);
        color: #ff9268;
        outline-color: #ff9268;
        border-color: #ff9268;
    }

.e-btn.e-flat.btn-warning-outline, .e-btn.e-flat.btn-warning-outline:focus {
    background-color: rgba(255, 255, 255,0.1);
    color: #EF5A21;
    outline-color: #EF5A21;
    border-color: #EF5A21;
}

    .e-btn.e-flat.btn-warning-outline:hover, .e-btn.e-flat.btn-warning-outline:active {
        background-color: #EF5A21;
        color: #fff;
        outline-color: #EF5A21;
        border-color: #EF5A21;
    }

    .e-btn.e-flat.btn-warning-outline:disabled {
        background-color: rgba(255, 255, 255,0.1);
        color: #ff9268;
        outline-color: #ff9268;
        border-color: #ff9268;
    }

.e-dropdown-btn {
    background-color: rgba(255, 255, 255,0.1);
    color: #fe8e04;
    outline-color: #fe8e04;
    border-color: #fe8e04;
}

    .e-dropdown-btn:hover {
        background-color: #fe8e04;
        color: white;
        outline-color: #fe8e04;
        border-color: #fe8e04;
    }

    .e-dropdown-btn:active {
        background-color: #fe8e04;
        color: rgba(255, 255, 255,0.1);
    }

    .e-dropdown-btn.e-active {
        background-color: #fe8e04;
        color: gray;
    }

    .e-dropdown-btn:disabled {
        background-color: #fe8e04;
        color: rgba(255, 255, 255,0.1);
    }
/*.e-dialog.e-control.e-popup, .e-dialog.e-control.e-popup .e-dlg-header-content {
    background-color: #136b10 !important;
    color: navajowhite !important;
}

.e-dialog .e-footer-content {
    background-color: #d2f4b9;
}

.e-dialog .e-btn .e-btn-icon.e-icon-dlg-close {
    font-size: 18px !important;
    color: #EF5A21 !important;
}

.e-dialog .e-dlg-header {
    color: navajowhite !important;
}*/
/*.mailpwd {
    content: url(../ic_fluent_mail_24_regular.svg);
    width:24px;
    height:24px;
}
*/
.btn-password {
    display: inline-block;
    border: none;
    padding: 0px;
    border-radius: 0;
    background-image: url(../ic_fluent_mail_24_regular.svg);
    background-color: transparent;
    width: 25px;
    height: 25px;
}

    .btn-password, .btn-password:disabled {
        visibility: hidden;
    }

    .btn-password, btn-password:focus, .btn-password:active {
            
        background-color: transparent;   
        visibility: visible;
    }
        .btn-password:hover {
            background-color: transparent;
            background-image: url(../ic_fluent_mail_24_regular_green.svg);
        }



.e-accordion .e-acrdn-item .e-acrdn-header .e-acrdn-header-content {
    color: #2A6425;
}



.e-accordion .e-acrdn-item.e-select.e-selected.e-expand-state > .e-acrdn-header .e-acrdn-header-content, .e-accordion .e-acrdn-item.e-select.e-expand-state > .e-acrdn-header .e-acrdn-header-icon, .e-accordion .e-acrdn-item.e-select.e-expand-state > .e-acrdn-header .e-acrdn-header-content {
    color: #234e1f;
    font-weight: bold;
}

/*.e-pager .e-currentitem, .e-pager .e-currentitem:hover {
    background: #87ab6d;
    color: #fff;
    opacity: 1;
}*/

.card {
    background-color: rgba(150, 137, 137, 0.10);
}





.program-select {
    max-height: 95%;
}

.dashboard-select {
    max-height: 100%;
    background-color: #136b10;
}

#DynamicGrid.e-rowcell.a {
    color: #4daa22 !important;
}

#DynamicGrid.a:active {
    color: #ee4f08 !important;
}

#DynamicGrid.a:hover {
    color: #e4713e !important;
}

.breadcrumb {
    background-color: #136b10 !important;
}

.breadcrumb-item:active {
    color: navajowhite !important;
    font-size: medium;
    font-size: 14px !important;
}

.breadcrumb-item {
    color: navajowhite !important;
    font-size: medium;
    font-size: 14px !important;
}

.breadcrumb-item-bold-lg:active {
    color: #e08359 !important;
    font-size: 16px !important;
    font-weight: bolder;
}

.breadcrumb-item-bold-lg {
    color: #e08359 !important;
    font-size: 16px !important;
    font-weight: bolder;
}

.grid-functions-control {
    width: 100%;
    background-color: darkseagreen;
}

.grid-functions-icon {
    color: forestgreen !important;
}

.btn-grid-functions {
}

.overide-white-color {
    color: white !important;
}

.overide-orange-back-color {
    color: #ee4f08 !important;
}



.card-header {
    background-color: #136b10 !important;
    color: navajowhite !important;
}

.form-control {
    padding: 2px;
    line-height: 16px;
    height: 25px;
    width: 250px;
    border-radius: 0;
    font-size: 12px;
}



.btn-reload {
    display: inline-block;
    border: none;
    padding: 0px;
    border-radius: 0;
    background-image: url('reload.png');
    background-color: transparent;
    width: 25px;
    height: 25px;
}

.btn-clear {
    display: inline-block;
    border: none;
    padding: 0px;
    border-radius: 0;
    background-color: transparent;
    width: 10px;
    height: 25px;
}

.e-control {
    font-family: 'Open Sans', sans-serif;
}

.e-tab .e-toolbar-items .e-toolbar-item .e-tab-text {
    font-family: 'Open Sans', sans-serif;
}


.e-card {
    font-family: 'Open Sans', sans-serif;
}

.border-solid-3 {
    border: solid;
    border-width: 3px !important;
}

.border-solid-2 {
    border: solid;
    border-width: 2px !important;
}

.border-solid-1 {
    border: solid;
    border-width: 1px !important;
}

.rank {
    font-family: 'Open Sans', sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

/*Default hyperlink*/
a {
    color: #97ff8e;
}

    a:active {
        color: #ee4f08;
    }

    a:hover {
        color: #EF5A21;
    }

.parent {
    position: relative;
}

.btn-primary {
    color: navajowhite;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3rem;
    display: flex;
    align-items: center;
}





.main {
    flex: 1;
    background: linear-gradient(315deg, rgba(0,0,0,0.4) 0%, rgba(150, 137, 137, 0.10) 74%);
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }


/*overide hyperlink for main-menu*/
.main-menu .nav-link {
    color: navajowhite;
}

    .main-menu .nav-link:hover {
        color: #ff9863;
    }

.main-menu .nav-link-selected {
    display: block;
    padding: 0.5rem 1rem;
}

/*overide hyperlink for main-menu*/
.nav-link .project {
    color: #2b84b4;
}

    .nav-link .project:hover {
        color: #ff9863;
    }

.nav-link-selected .project {
    display: block;
    padding: 0.5rem 1rem;
}

/*overide hyperlink for main-menu*/
.nav-link .power {
    color: #ec294d;
}

    .nav-link .power:hover {
        color: #ff9863;
    }

.nav-link-selected .power {
    display: block;
    padding: 0.5rem 1rem;
}






.header-list .nav-link {
    color: #87ab6d;
    padding-left: 0px !important;
}


    .header-list .nav-link:hover {
        color: #ff9863;
    }



.sidebar {
    /*    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
    background-color: #63d471;
    /*  background-image: linear-gradient(315deg, #63d471 0%, #233329 74%);*/
    background-image: linear-gradient(315deg, #9cd326 0%, #088700 74%);
}


    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.0rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.0rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.8rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #fad003;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: red;
                color: #fad003;
            }

            .sidebar .nav-item a:hover {
                background-color: lightcoral;
                color: #f5660f;
            }

.content {
    /* padding-top: 0.2rem;*/
    /*min-height: 100vh;*/
    /*  overflow-y: scroll;
    display: block;*/
}



.banner-label {
    /*    background-color: #F8C7D8;*/
    /*  background-color: rgba(39, 121, 49, 0.79);*/
    background-color: #088700;
    color: #e3f7e6;
}

.banner {
    width: 100%;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.required::after {
    content: '*' !important;
    margin-right: 4px;
    color: red;
}

.parent {
    height: 100%;
}

.element {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}



*,
*::before,
*::after {
    box-sizing: border-box;
}

.signature-pad {
    position: relative;
    display: flex;
    flex-direction: column;
    font-size: 10px;
    width: 100%;
    height: 40%;
    border: 1px solid #e8e8e8;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
    border-radius: 4px;
    padding: 4px;
}

    .signature-pad::before,
    .signature-pad::after {
        position: absolute;
        z-index: -1;
        content: "";
        width: 40%;
        height: 10px;
        bottom: 10px;
        background: transparent;
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
    }

    .signature-pad::before {
        left: 20px;
        transform: skew(-3deg) rotate(-3deg);
    }

    .signature-pad::after {
        right: 20px;
        transform: skew(3deg) rotate(3deg);
    }

.signature-pad--body {
    position: relative;
    flex: 1;
    border: 1px solid #e6e6e6;
}

    .signature-pad--body canvas {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        border-radius: 4px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
    }

.signature-pad--footer {
    color: #C3C3C3;
    text-align: center;
    font-size: 1.2em;
    margin-top: 8px;
}

.signature-pad--actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.signature-pad--action-item {
    margin-left: 10px;
    margin-right: 10px;
}

.signature-pad--pen,
.signature-pad--clear,
.signature-pad--undo,
.signature-pad--save {
    cursor: pointer;
}

.signature-pad--pen-color {
    opacity: 0;
    width: 0px;
}

.signature-pad--select-image-type {
    width: 0%;
    padding: 5px 10px;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    cursor: pointer;
}

.signature-pad--footer-description {
    margin-bottom: 5px;
}

#accordion-menu.e-accordion .e-acrdn-item .e-acrdn-header .e-acrdn-header-content {
    color: navajowhite !important;
    background-color: #3e454c !important;
}

#accordion-menu.e-accordion .e-acrdn-item .e-acrdn-header {
    color: navajowhite !important;
    background-color: #3e454c !important;
}

#accordion-menu.e-accordion {
    background-color: #3e454c !important;
}

    #accordion-menu.e-accordion .e-acrdn-item > .e-acrdn-panel .e-acrdn-content {
        background-color: #3e454c !important;
        border-color: #e08359 !important
    }

    #accordion-menu.e-accordion .e-acrdn-item.e-selected {
        border-bottom: 1px none #000;
        border-top: 1px none #000;
        border-bottom: 1px solid rgba(0,0,0,0.13);
    }


        #accordion-menu.e-accordion .e-acrdn-item.e-selected.e-select {
            border-bottom: 1px none #000;
            border-top: 1px none #000;
            border-bottom: 1px solid rgba(0,0,0,0.13);
        }

    #accordion-menu.e-accordion .e-active {
        background: #3e454c !important;
    }

    #accordion-menu.e-accordion .e-acrdn-item.e-select.e-acrdn-item > .e-acrdn-header:hover .e-icons, .e-accordion .e-acrdn-item.e-select.e-acrdn-item > .e-acrdn-header:hover .e-acrdn-header-content {
        color: navajowhite !important
    }

    #accordion-menu.e-accordion .e-acrdn-item.e-select.e-acrdn-item > .e-acrdn-header .e-icons, .e-accordion .e-acrdn-item.e-select.e-acrdn-item > .e-acrdn-header:hover .e-acrdn-header-content {
        color: #e08359 !important
    }

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: Open Sans;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


/*Grid Overide*/
.e-grid .e-gridheader {
    color: #3d3d3d !important;
}
.e-grid .e-headercell {
    background-color: #cfcfcf7e;
} 
.e-grid .e-headercell:hover {
    background-color: #7673737e;
} 
.e-grid .e-row {
    background-color: #eeeeee45;
}
.e-grid .e-altrow {
    background-color: #fff;
}
.e-groupcaption {
    background: linear-gradient(to bottom, #d8d8d8,#8a89897e); 
    font-weight: bold;
    border-radius: 4px !important;
}



.e-grid .e-rowcell.e-selectionbackground {
    background-color: #febc61 !important;
}

.e-grid tr.e-row:hover .e-rowcell:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell) {
    background-color: #fff3c0 !important;
}
.e-grid .e-icons:not(.e-btn-icon) {
    color: #fff;
}

.e-grid .e-focused:not(.e-menu-item) {
    box-shadow: #f8f9fa;
}
.e-grid .e-focused:not(.e-menu-item) {
    box-shadow: 0 0 0 1px #fff inset;
}
.e-grid .e-gridcontent tr:first-child td {
    border-top-color: #f8f9fa;
}
.e-pager .e-currentitem.e-numericitem.e-focused {
    box-shadow: 0 0 0 1px #fe8e04 inset;
}

.e-accordion .e-acrdn-item {
    border-bottom: 1px solid #5c636a !important;
}
.e-accordion .e-acrdn-item.e-selected > .e-acrdn-header {
    background: #fff2e8;
    border-bottom: 1px solid #5c636a !important;
}
.e-accordion {  
    border: 1px solid #5c636a;   
}
    /*Accordion Overide*/
    .e-accordion .e-acrdn-item.e-selected.e-select > .e-acrdn-header {
        background: #cfdbce !important;
    }

.breadcrumb-item.active::before {
    color: navajowhite;
}

.pinned-color {
    color: navajowhite;
}
.unpinned-color {
    
    color: #698360;
}
.frequent-color {
    color: navajowhite;
}
.favourites-heading {
    margin-left: 10px !important;
    font-size: 13px;
    color: dimgray;
}
.grid-icon {
    height: 22px;
}
    .grid-icon span {
        font-size: 10px;
        padding-top: 0px;
        padding-bottom: 0px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.btn-orange {
    background-color: #EF5A21 !important;
    color: white !important;
    padding-right: 0px !important;
}

    .btn-orange:hover {
        background-color: #FDB750 !important;
        color: white !important;
    }

    .btn-orange:focus {
        background-color: #307609 !important;
        color: white !important;
    }

.btn-green {
    background-color: #307609 !important;
    color: white !important;
    padding-right: 0px;
}

    .btn-green:hover {
        background-color: #87ab6d !important;
        color: white !important;
    }

   .btn-green:focus {
        background-color: #EF5A21 !important;
        color: white !important;
    }


@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}


.e-accordion .e-acrdn-item .e-acrdn-panel .e-acrdn-content {
    padding: 14px;
}

.e-searchcontainer {
    padding: 1px !important;
}

.e-footer-content {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}

.e-grid .e-icons:not(.e-btn-icon) {
    
}
.e-grid .e-icon-gdownarrow {
    color: #dda863 !important;
}
.e-grid .e-icon-grightarrow {
    color: #dda863 !important;
}


.e-input-group:not(.e-disabled) .e-input-group-icon:hover, .e-input-group.e-control-wrapper:not(.e-disabled) .e-input-group-icon {
   color: #b4b1abdf !important;
}
    .e-input-group:not(.e-disabled) .e-input-group-icon:hover, .e-input-group.e-control-wrapper:not(.e-disabled) .e-input-group-icon:hover {
        background-color: rgba(254,142,4,1) !important;
        color: #fff !important;
    }

.password-container {
    width: 400px;
    position: relative;
}

    .password-container input[type="password"],
    .password-container input[type="text"] {
        width: 100%;
        padding: 12px 36px 12px 12px;
        box-sizing: border-box;
    }

.fa-eye {
    position: absolute;
    top: 21%;
    right: 3%;
    cursor: pointer;
    color: lightgray;
}

/* Custom Styles for SfContextMenu : Do not change it will break the lite and darkmodes of all context menus */




@media(max-height:840px) {
    /*lower grid excel filter checkbox list height when resolution is low - ok buttons must not be hidden*/
    /*  .e-grid .e-checkboxlist {
        max-height: 100px;
        min-height: 100px;
    }*/
}

@media(max-height:720px) {
    /*lower grid excel filter checkbox list height when resolution is low - ok buttons must not be hidden*/
    /*   .e-grid .e-checkboxlist {
        max-height: 50px;
        min-height: 50px;
    }*/
}

@media (min-width: 2000px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
