﻿
.toolbar {
    height: 30px;
    width: 100%;
    background: #f3f4f6;
    background-color: #f3f4f6 !important;
    border-top: 1px solid #dee2e6;
    border-bottom: 0px solid #dee2e6;
    z-index: 10000 !important;
    padding-left: 3px;
    padding-top: 0px;
    display: flex;
}

.toolbarHidden {
    display: none;
}

.toolbarVisible {
    display: block;
}

.e-footer-content .e-btn.e-primary.e-flat:not([DISABLED]):not(.e-success):not(.e-danger):not(.e-warning):not(.e-info) {
    background: #78a385d6;
    border-color: silver;
    color: #fff;
}

    .e-footer-content .e-btn.e-primary.e-flat:not([DISABLED]):not(.e-success):not(.e-danger):not(.e-warning):not(.e-info):hover {
        background: #78a385;
        border-color: silver;
        color: #fff;
    }

.e-input-group.e-input-focus:hover:not(.e-success):not(.e-warning):not(.e-error):not(.e-disabled),
.e-input-group.e-control-wrapper.e-input-focus,
.e-input-group.e-control-wrapper.e-input-focus:hover:not(.e-success):not(.e-warning):not(.e-error):not(.e-disabled),
.e-float-input.e-input-focus:hover:not(.e-success):not(.e-warning):not(.e-error):not(.e-disabled),
.e-float-input.e-control-wrapper.e-input-focus:hover:not(.e-success):not(.e-warning):not(.e-error):not(.e-disabled),
.e-float-input.e-input-focus:hover:not(.e-input-group):not(.e-success):not(.e-warning):not(.e-error):not(.e-disabled) input:not([disabled]),
.e-float-input.e-control-wrapper.e-input-focus:hover:not(.e-input-group):not(.e-success):not(.e-warning):not(.e-error):not(.e-disabled) input:not([disabled]),
.e-float-input.e-input-focus:hover:not(.e-input-group):not(.e-success):not(.e-warning):not(.e-error):not(.e-disabled) textarea:not([disabled]),
.e-float-input.e-control-wrapper.e-input-focus:hover:not(.e-input-group):not(.e-success):not(.e-warning):not(.e-error):not(.e-disabled) textarea:not([disabled]) {
    border-color: #78A385 !important;
    border-top-color: #78A385 !important;
    border: none;
    box-shadow: 0px 0px 0px 1px #78A385 !important;
}

.e-control.e-btn.e-lib.e-toolbar-item {
    margin-left: 20px;
    border: none;
    box-shadow: 0px 0px 0px 1px #78A385 !important;
}

    .e-control.e-btn.e-lib.e-toolbar-item:hover {
        border-color: lightgray !important;
        box-shadow: 0px 0px 0px 1px lightgray !important;
        background: #78a385;
        color: white;
    }

    .e-control.e-btn.e-lib.e-toolbar-item:disabled {
        background-color: white !important;
        border-color: lightgray !important;
        box-shadow: 0px 0px 0px 1px lightgray !important;
        color: lightgray !important;
    }

.e-tab-text,
.e-tab-text:hover,
.e-tab .e-tab-header .e-toolbar-item.e-active.e-ileft .e-tab-text, .e-tab .e-tab-header .e-toolbar-item.e-active.e-iright .e-tab-text,
.e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-wrap:hover .e-tab-text, .e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-wrap:hover .e-tab-icon {
    color: #78A385 !important;
}

.e-tab .e-tab-header .e-toolbar-item .e-tab-text:hover {
    color: black !important;
}

.e-tab .e-tab-header .e-indicator {
    background: #78A385 !important;
}

.e-switch-wrapper .e-switch-on, .e-css.e-switch-wrapper .e-switch-on,
.e-switch-wrapper .e-switch-inner.e-switch-active, .e-css.e-switch-wrapper .e-switch-inner.e-switch-active,
.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: #78A385 !important;
    background-color: #78A385 !important;
    border-color: #78A385 !important;
}

.e-switch-wrapper .e-switch-off, .e-css.e-switch-wrapper .e-switch-off {
    background-color: ghostwhite !important;
}

/**********Splitter styling**********/

.e-treeview .e-list-item.e-active > .e-fullrow,
.e-treeview .e-list-item.e-active {
    background-color: white !important;
    border-color: white !important;
}

    .e-treeview .e-list-item.e-active > .e-text-content {
        background-color: rgba(120, 163, 133, 0.25) !important;
        border-color: #78A385 !important;
    }

.e-splitter .e-split-bar.e-split-bar-horizontal.e-split-bar-hover,
.e-splitter .e-split-bar.e-split-bar-horizontal.e-split-bar-active,
.e-split-bar.e-split-bar-horizontal.e-resizable-split-bar.e-last-bar.e-split-bar-hover {
    background-color: #78A385 !important;
    border-left: 1px solid #78A385 !important;
    border-right: 1px solid #78A385 !important;
}

    .e-splitter .e-split-bar.e-split-bar-horizontal.e-split-bar-hover .e-resize-handler,
    .e-splitter .e-split-bar.e-split-bar-horizontal.e-split-bar-active .e-resize-handler {
        color: #78A385 !important;
    }

/***********This fixes issue with a checkbox in the header not being centered correctly.**************/

.e-headercelldiv.e-centeralign {
    height: 100% !important;
    margin: auto;
    vertical-align: middle;
    text-align: center;
    line-height: 20px;
}

.e-toolbar .e-toolbar-item .e-tbar-btn {
    background: #f3f4f6;
    color: #111827;
    border: none;
    box-shadow: 0px 0px 0px 1px #78A385 !important;
}

/*********************      Checkboxes in forms     ******************************/

.e-checkbox-wrapper:focus, .e-checkbox-wrapper.e-focus, .e-css.e-checkbox-wrapper:focus, .e-css.e-checkbox-wrapper.e-focus {
    border: none;
    padding: 3px
}

.e-checkbox-wrapper .e-frame.e-check,
.e-css.e-checkbox-wrapper.e-frame.e-check {
    background-color: #78a385d6 !important;
    border-color: #78a385d6 !important;
}

.e-checkbox-wrapper .e-checkbox:focus + .e-frame.e-check, .e-checkbox-wrapper .e-checkbox:active + .e-frame.e-check, .e-css.e-checkbox-wrapper .e-checkbox:focus + .e-frame.e-check, .e-css.e-checkbox-wrapper .e-checkbox:active + .e-frame.e-check {
    background-color: #78a385d6 !important;
    border-color: #78a385d6 !important;
    box-shadow: none;
    color: #fff
}

.e-checkbox-wrapper .e-checkbox:focus + .e-frame, .e-checkbox-wrapper .e-checkbox:active + .e-frame, .e-css.e-checkbox-wrapper .e-checkbox:focus + .e-frame, .e-css.e-checkbox-wrapper .e-checkbox:active + .e-frame {
    background-color: #fff;
    border-color: #d1d5db;
    box-shadow: none;
}

.e-checkbox-wrapper .e-frame.e-stop, .e-css.e-checkbox-wrapper .e-frame.e-stop {
    background-color: #78a385d6 !important;
    border-color: #78a385d6;
    color: #fff
}

.e-checkbox-wrapper:hover .e-frame.e-stop, .e-css.e-checkbox-wrapper:hover .e-frame.e-stop {
    background-color: #78a385d6;
    border-color: #78a385d6
}

/****************** Remove blue border when clicking into a grid cell   **************/

.e-grid.sf-grid :is(.e-groupdroparea,.e-groupdroparea .e-groupsort,
.e-groupdroparea .e-ungroupbutton,
.e-headercontent th.e-headercell:not(.e-menu-item):not(.e-editedbatchcell),
.e-headercontent td.e-rowcell:not(.e-menu-item):not(.e-editedbatchcell),
.e-content td.e-rowcell:not(.e-menu-item):not(.e-editedbatchcell),
.e-content td.e-groupcaption:not(.e-menu-item):not(.e-editedbatchcell),
.e-content td.e-recordplusexpand:not(.e-menu-item):not(.e-editedbatchcell),
.e-content td.e-recordpluscollapse:not(.e-menu-item):not(.e-editedbatchcell),
.e-content td.e-detailrowcollapse:not(.e-menu-item):not(.e-editedbatchcell),
.e-content td.e-detailrowexpand:not(.e-menu-item):not(.e-editedbatchcell),
.e-content th.e-detailcell:not(.e-menu-item):not(.e-editedbatchcell)):is(:focus,:focus-visible) {
    box-shadow: none;
}