﻿body {
}

.es-topheader {
    position: sticky;
    height: 75px;
    width: 100%;
    overflow: hidden;
}

.es-subheader {
    font-size: 18px;
    border-bottom: 1px solid black;
}

.es-topmenu {
    position: sticky;
    top: 75px;
    height: 35px;
    width: 100%;
    border-top-color: grey;
    border-top-style: double;
    border-top-width: 5px;
    border-bottom-color: grey;
    border-bottom-style: double;
    border-bottom-width: 5px;
}

.es-topuserbox {
    position: absolute;
    right: 20px;
    top: 15px;
    font-style: italic;
    font-size: 14px;
}

.es-toplogoutbox {
    position: absolute;
    right: 25px;
    top: 40px;
    font-style: italic;
    font-size: 14px;
}

.es-mainbody {
    position: fixed;
    top: 110px;
    bottom: 0px;
    width: 100%;
    overflow-y: auto;
}

.es-navlink {
    display: block;
    font-size: 14px;
    color: black;
    border: 0;
    background: 0 0;
    text-decoration: none;
    padding: 0 5px 0 5px;
    margin: 2px 0 2px 0;
    height: 21px;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

    .es-navlink.active {
        font-weight: bold;
        text-decoration-line: underline;
        text-decoration-color: #695E4A;
    }

    .es-navlink:hover{
        background-color: gainsboro;
    }

.es-navitem{
    /* color: #d7d7d7; */
    background: none;
    border: none;
    height: 25px;
    align-items: center;
    margin: 0 5px 0 5px;
}

.es-sidenavlink {
    display: block;
    font-size: 14px;
    color: black;
    border: 0;
    background: 0 0;
    text-decoration: none;
    padding: 0 5px 0 5px;
    margin: 2px 0 2px 0;
    min-height: 21px;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
    border-radius: 3px;
}

.es-sidenavlink.active {
    font-weight: bold;
    background-color: silver;
    border-radius: 3px;
}

    .es-sidenavlink:hover {
        /* color: #d7d7d7; */
        background-color: gainsboro;
        border-radius: 3px;
    }

.es-sidenavheader {
    /* color: #d7d7d7; */
    background: none;
    border: none;
    min-height: 25px;
    align-items: center;
    margin: 0 5px 0 5px;
    font-weight: bold;
}

.es-sidenavitem {
    /* color: #d7d7d7; */
    background: none;
    border: none;
    min-height: 25px;
    align-items: center;
    margin: 0 5px 0 5px;
}

.es-sidenavitem.hasheader {
    /* color: #d7d7d7; */
    background: none;
    border: none;
    min-height: 25px;
    align-items: center;
    margin: 0px 5px 0 20px;
}


.es-heading {
    font-size: 25px;
    font-weight: bold;
    padding-top: 7px;
    padding-left: 7px;
}

.es-headingline {
    margin: 10px 0 10px 0;
}

.es-endingline {
    margin: 0 0 20px 0;
}

.es-button {
    border: none;
    background-color: transparent;
    border-radius: 5px;
}

.es-button:hover {
    background-color: gainsboro;
}

.quickgrid.table {
    border: 1px solid black;
    font-size: 12px;
}

.quickgrid thead {
    border: 1px solid black;
    font-size: 12px;
}

.quickgrid th {
    padding-right: 0px;
}

.quickgrid td {
    padding-right: 0px;
}

.quickgrid tr {
    border-bottom: 1px solid silver;
}

.quickgrid tr:last-child {
    border-bottom: 1px solid black;
}

/* Hide empty QuickGrid rows */
.quickgrid td:empty {
    display: none;
}

.es-quickgrid-btn {
    background-color: transparent;
    border: 0px solid darkgray;
    border-radius: 5px;
    height: 18px;
    padding: 0 5px;
    margin-right: 5px;
}

.es-quickgrid-btn:hover {
    background-color: gainsboro;
}

.es-quickgrid-btn-success {
    background-color: green;
    color: white;
    border: 0px solid green;
    border-radius: 5px;
    height: 18px;
    padding: 0 5px;
    margin-right: 5px;
}

.es-quickgrid-btn-caution {
    background-color: orange;
    color: black;
    border: 0px solid orangered;
    border-radius: 5px;
    height: 18px;
    padding: 0 5px;
    margin-right: 5px;
}

.es-quickgrid-btn-danger {
    background-color: red;
    color: white;
    border: 0px solid red;
    border-radius: 5px;
    height: 18px;
    padding: 0 5px;
    margin-right: 5px;
}


/*Not Working, need to overwrite default theme quickgrid*/
.es-quickgrid-pr0 {
    padding-right: 0;
}

.es-modal {
    align-content: space-around;
}

.es-modal-content {
    border: 2px solid black;
}

.es-spinner {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Center the spinner */
.es-spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

/* Optional: also hide rows with no cells */
/*.quickgrid td:not(:has(td)) {
    display: none;
}*/

