﻿
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

.slm-list-grid-cell-style {
    background-color: aliceblue;
    color: darkblue;
    font-size: 16px;
    cursor: pointer;
}

.slm-edit-cell-style {
    background-color: aliceblue;
    color: darkblue;
    font-size: 16px;
    cursor: pointer;
    font-weight: 650
}

.slm-grid-cell-style {
    background-color: aliceblue;
    color: darkblue;
    font-size: 16px;
    cursor: pointer;
    font-weight: 650
}

/* Match default tooltip container with your class */
.e-tooltip-wrap.my-header-tooltip {
    background-color: #CCE4FF; /* gentle light blue for aliceblue theme */
    color: black;
    padding: 6px 10px;
    font-size: 0.9rem;
    border: 1px solid darkblue;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tooltip-target {
    color: darkblue;
    font-size: 0.9rem;
}

.slm-grid-tooltip {
    background-color: darkblue;
    color: white;
    padding: 5px;
    border: 1px solid aliceblue;
    border-radius: 2px;
}

.slm-grid-header-cell-style {
    color: darkblue;
    font-size: 16px;
    cursor: pointer;
    font-weight: 650
}

.slm-grid-editview-selected {
    background-color: #D9EFFF !important;
    color: #000;
}

.slm-grid-button-normal-row {
    background-color: inherit;
    font-weight: normal;
}


.slm-grid-button-selected-row {
    border: 3px solid blue;
    border-radius: 5px;
    font-weight: bold;
}

.slm-grid-checkbox-normal-row {
    background-color: inherit;
}


.slm-grid-checkbox-selected-row {
    background-color: #D9EFFF !important;
    height: 30px: !important;
}

.slm-grid-normal-row {
    background-color: inherit;
    font-weight: normal;
}

.highlight-row {
    background-color: #D9EFFF !important;
    font-weight: bold !important;
}

.slm-grid-selected-row {
    background-color: #D9EFFF !important;
    font-weight: bold;
}


.main-layout, .parent-element {
    margin: 0px;
    padding: 0px;
}

.main-layout-top-left-body-right {
    display: inline-flex;
    margin: 0px;
    padding: 0px;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.main-layout-top {
    display: inline-flex;
    margin: 0px;
    padding: 0px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: start;
    width: 100%;
}

.main-layout-left-body-right-container {
    display: inline-flex;
    margin: 0px;
    padding: 0px;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.main-layout-left-body-container {
    display: inline-flex;
    margin: 5px;
    padding: 0px;
    flex-direction: row;
    align-items: flex-start;
    justify-content: start;
    width: 100%;
}

.main-layout-left-body-left {
    flex: 0 0 42px;
    margin: 0px;
    padding: 0px;
}

.main-layout-left-body-middle {
    width: 100%;
    min-width: 600px;
    margin: 0px;
    padding: 0px;
}

.main-layout-left-body-right-right {
    display: inline-flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: end;
    width: auto;
    margin: 0px;
    padding: 0px;
}

.main-layout-left-bar-icons {
    padding-top: 1px;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    flex-direction: column;
    padding-left: 11px;
    padding-right: 11px;
}

.main-layout-top-bar {
    display: inline-flex;
    margin: 0px;
    padding: 0px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: start;
    height: 30px;
    width: 100%;
    background-color: aliceblue;
}

.main-layout-left-bar {
    padding: 0px;
    margin: 0px;
    background-color: aliceblue;
}

.main-layout-bottom {
    display: inline-flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.main-layout-bottom-left .main-layout-bottom-right {
    width: 50%;
}

.main-layout-status-bar {
    display: inline-flex;
    margin: 0px;
    padding: 0px;
    flex-direction: row;
    align-items: flex-start;
    justify-content: start;
    height: 30px;
    width: auto;
    background-color: none;
}

.main-layout-footer-bar {
    display: inline-flex;
    margin: 0px;
    padding: 0px;
    flex-direction: row;
    align-items: flex-start;
    justify-content: start;
    height: 30px;
    width: auto;
    background-color: none;
}

.part-layout-base {
    display: flex;
    flex-flow: row wrap;
}

.force-full-height .e-listbox-container {
    min-height: 100%;
    height: 100%;
    overflow-y: auto;
}


.dialog-body-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dialog-resizable {
    resize: both;
    overflow: auto; /* Required for resize to work */
    min-width: 150px;
    min-height: 100px;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: white;
}

.groupbox-resizable {
    flex: 1 1 auto; /* Expand to fill */
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
    /*padding: 1.5rem 1rem 1rem 1rem;*/
    /*padding: 0rem 1rem 1rem 1rem;*/
    margin: 0;
    overflow: auto;
    position: relative;
    background: white;
    margin-bottom: 6px;
}

.groupbox-title {
    position: relative;
    /*top: .3rem;*/
    /*left: 1rem;*/
    width: 100%;
    background-color: aliceblue;
    color: darkblue;
    padding-left: 1rem;
    font-weight: normal;
    font-size: 0.75rem;
    z-index: 10000;
    text-align: center;
}

.responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.env-form-dialog {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideInFromLeft 0.5s ease-out; /* Apply the slide-in animation */
}

.env-page-base {
    display: flex;
    margin: 0px;
    padding: 0px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    width: auto;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.env-dialog-title {
    margin-right:20px; 
    Font-weight: bold;
    font-size: larger;
    color: blue;
    white-space: nowrap;
}

.env-dialog-base {
    display: flex;
    margin: 0px;
    padding: 0px;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    width: auto;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.env-dialog-flex-base {
    display: flex;
    margin: 0px;
    padding: 0px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    width: auto;
}

.env-dialog-custom-button-bar {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin-right: 20px;
}

.env-cell-with-buttons {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

#copyMessage {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.5s, bottom 0.5s;
}

    #copyMessage.show {
        opacity: 1;
        top: 40px;
    }

/*.env-table-checkbox {
    border: 1px solid blue;
    align-items: center;
    vertical-align: middle;*/
/*    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;*/
/*}*/
.env-command-column {
    width: 100px; /* Adjust the width as needed */
}

.env-dialog-button-bar {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    margin-right: 20px;
    margin-top: 10px;
}

.env-dialog-button {
    color: blue;
    height: 30px;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    justify-content: center;
    font-family: 'Helvetica Neue', Helvetica, 'Arial', sans-serif;
    font-size: 14px;
    padding: 8px;
    border: 1px solid blue;
    border-radius: 5px;
    background-color: aliceblue;
    cursor: pointer;
    /*    margin-left: 10px;*/
    position: relative;
}

.env-dialog-button-selected {
    color: blue;
    height: 30px;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    justify-content: center;
    font-family: 'Helvetica Neue', Helvetica, 'Arial', sans-serif;
    font-size: 14px;
    padding: 8px;
    border: 3px solid blue;
    border-radius: 5px;
    background-color: aliceblue;
    cursor: pointer;
    /*    margin-left: 10px;*/
    position: relative;
}

.env-dialog-button-icon {
    color: blue;
    height: 30px;
    width: auto;
    display: flex;
    justify-content: center;
    font-family: 'Helvetica Neue', Helvetica, 'Arial', sans-serif;
    font-size: 18px;
    padding: 6px;
    background-color: transparent;
    cursor: pointer;
    border:none;
    position: center;
}

    .env-dialog-button:hover {
        background-color: lightgray;
    }

    .env-dialog-button:disabled {
        opacity: 0.5;
    }


.env-MenuButton {
    color: blue;
    height: 30px;
    width: 42px;
    align-content: baseline;
    font-family: 'Helvetica Neue', Helvetica, 'Arial', sans-serif;
    font-size: 16px;
    padding-top: 8px;
    padding-left: 1px;
    padding-bottom: 8px;
    border: none;
    background: none;
    cursor: pointer;
}

    .env-MenuButton:hover {
        background-color: lightgray
    }

.env-MenuButton-Text {
    color: blue;
    height: 30px;
    width: auto;
    align-content: baseline;
    font-family: 'Helvetica Neue', Helvetica, 'Arial', sans-serif;
    font-size: 14px;
    padding-top: 6px;
    padding-left: 4px;
    padding-right: 4px;
    padding-bottom: 8px;
    border: none;
    background: none;
    cursor: pointer;
}

    .env-MenuButton-Text:hover {
        background-color: lightgray;
    }

.part-font {
    font-family: 'Helvetica Neue', Helvetica, 'Arial', sans-serif;
    font-size: 10px;
}

.readonly {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

.fi-blue {
    color: blue;
}

/*.env-grid-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
}*/


.env-grid-form-menu-item {
    border: none;
    color: darkslategrey;
    background-color: white;
}

    .env-grid-form-menu-item:hover {
        border: none;
        color: darkslategrey;
        background-color: lightgray;
    }

    .env-grid-form-menu-item:focus, .env-grid-form-menu-item:active {
        border: none;
        color: darkslategrey;
        background-color: lightgray;
    }


/* Styles.css */
.env-tooltip-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 1000000; /* Ensure it is on top of other elements */
}

.env-tooltip-dialog {
    position: fixed;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    border: 1px solid blue;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it is on top of other elements */
}

.dialog {
    background-color: white;
    padding: 20px;
    margin: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideInFromLeft 0.5s ease-out; /* Apply the slide-in animation */
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.e-spinner {
    z-index: 10000;
}

/* START GRID CSS */

.e-grid .e-dialog.e-ccdlg {
    max-height: 600px !important;
    width: 500px !important;
}

.e-grid .e-ccdlg .e-cc-contentdiv {
    height: 250px !important;
    width: 450px !important;
}

/* Force highlight of selected rows */
.e-grid .e-row.e-active {
    background-color: #d0ebff !important;
    color: #000;
}


/*.e-grid .e-row.e-selectionbackground {
    background-color: transparent !important;
}
*/
.e-grid .e-rowcell {
    background-color: aliceblue !important;
    color: darkblue !important;
    font-size: 16px !important;
    font-weight: normal !important;
    cursor: pointer !important;
}

.e-grid .e-headercell {
    width: auto !important;
}

.e-grid .e-headercontent .e-headercelldiv {
    width: auto !important;
}

.flex-container-button-bar {
    width: 100%;
    display: inline-flex;
    flex-flow: row wrap;
    justify-content: left;
    align-items: flex-end;
    align-content: flex-start;
    gap: 4px;
}

.grid-custom-toolbar {
    display: flex;
    flex-flow: row wrap;
    justify-content: left;
    align-items: flex-end;
    align-content: flex-start;
    gap: 4px;
}

.e-input-group textarea:valid {
    height: 100px;
    font-family: Courier New, Courier, monospace;
    font-weight: normal;
}

.e-toolbar {
    display: flex;
    flex-flow: row wrap;
    justify-content: left;
    align-items: flex-end;
    align-content: flex-start;
    gap: 4px;
}

.config-button-false {
    background-color: lightgray; /* Green */
    color: white;
}


.config-button-true {
    background-color: lightgray; /* Red */
    color: black;
}

    .config-button-true:hover, .config-button-false:hover {
        opacity: 0.5;
    }

.toolbar-button {
    background-color: white;
    color: darkslategray;
    border: 1px solid lightgray;
}

    .toolbar-button:hover {
        background-color: whitesmoke;
        color: darkslategray
    }

    .toolbar-button:active {
        background-color: darkblue;
        color: white;
    }

    .toolbar-button:disabled {
        background-color: lightgray;
        color: darkgray;
    }


}

/* END GRID CSS */



/* Custom CSS for SfMenu */
.e-menu-custom {
    background-color: aliceblue;
}

.e-menu-container .e-menu-item,
.e-menu-container .e-menu-item .e-menu-url.e-menu-text {
    background-color: aliceblue;
    color: blue;
}

.e-menu-container .e-menu .e-menu-item.e-selected,
.e-menu-container .e-menu .e-menu-item.e-selected .e-menu-icon,
.e-menu-container .e-menu .e-menu-item.e-selected .e-caret {
    background-color: aliceblue;
    color: blue;
}

.e-menu-container .e-menu-item:hover,
.e-menu-container .e-menu-item:hover .e-menu-url.e-menu-text {
    background-color: Blue;
    color: white;
}

li.e-menu-item.e-separator {
    background-color: orange !important;
    /*height: 40px !important;*/
    border-top: 4px solid blue;
    border-bottom: none;
    margin: 0 !important;
    padding: 0 !important;
}

/*Custom Grid Styles*/
.truncated-cell {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

    .truncated-cell:hover::after {
        /*content: attr(data-tooltip);*/
        position: absolute;
        background-color: aliceblue;
        color: transparent;
        padding: 5px;
        border-radius: 3px;
        white-space: nowrap;
        z-index: 10000;
    }

/*.e-tooltip-wrap.e-popup {
    background-color: transparent;
    border: 1px solid red;
}

.e-tooltip-wrap .e-tip-content {
    color: blue;
    font-size: 12px;
    line-height: 20px;
    margin-top: -10px;
    background-color: aliceblue;
    border: 1px solid blue;
    border-radius: 3px;
}*/

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 11000; /* Ensure it is above other elements */
}

.spinner-overlay .e-spinner-pane {
    z-index: 11001; /* Ensure spinner is above the overlay */
}


.scrollable-container {
    width: calc(100% - 20px);
    max-width: 420px;
    height: auto;
    overflow: auto;
    border: 1px solid blue;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
}
