.i-table-parent {
    display: flex;
    flex-grow: 1;
    min-width: 0;
}

.i-table {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
    color: #111111;
    margin-top: 8px;
}

.i-table-data {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: scroll;
    margin-top: 4px;
    background-color: white;
    scrollbar-width: none;
}

.i-table-controls {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom:4px;
    margin-top: -4px;
}

.i-table-controls-buttons {
    display: flex;
    flex-wrap: wrap;
    margin-top: 4px;
}

.i-table-controls-buttons-col {
    display: flex;
    margin-right: 4px;
    box-shadow: 1px 1px 3px rgb(0 0 0 / 40%);
    border-radius:4px;
    max-height: 32px;
}

.i-table-button {
    color: #111111;
    border: none;
    padding: 8px 8px;
    cursor: pointer;
    border-right: 1px solid #00000024;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 32px;
    max-height: 32px;
    background-color: white;
}

.i-table-button:hover
{
    background-color:#e1e1e1;
    background-image:linear-gradient(to bottom,#f4f4f4 75%,#e6e6e6);
}

.i-table-button:disabled {
    background-image:linear-gradient(to bottom,#dfdfdf 75%,#d1d1d1);
}

.i-table-button-add
{
    color: #fff;
    background-color: #2196f3;
}

.i-table-button-add:hover
{
    background-color: #0d87e9;
    background-image: unset;
}

.i-table-button-columns
{
    border-right: 0px;
}

.i-table-button-history-active {
    background-image:linear-gradient(to bottom,#ffd68c8c 75%,#f3ca80);
}

.i-table-button-history-active:hover {
    background-image:linear-gradient(to bottom,#ffd68c8c 75%,#f3ca80);
}

.i-table-button-columns-div {
    position: relative;
}

.i-table-button-columns-popup {
    position: absolute;
    background-color: white;
    white-space: nowrap;
    z-index: 1;
    border-radius: 4px;
    /*padding-top: 4px;*/
    /*padding-bottom: 4px;*/
    border: 1px solid grey;
    align-items: flex-start;
    display: flex;
    z-index: 2002;
    display: none;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

.i-table-popup-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2001;
    display: none;
}

.i-table-column-popup-hidden-false {
    color: white;
    background-color: #2fa4e7;
}

.i-table-column-popup-hidden-true {

}


.i-table-column-popup {
    padding: 4px;
    padding-left: 8px;
    padding-right: 8px;
}

.i-table-column-popup:hover {
    background-color: orange;
    color: white;
    cursor: pointer;
}

.i-table-button-text {
    margin-left: 4px;
}

.i-table-button:first-child {
    border-radius: 4px 0 0 4px;
}

.i-table-button:last-child {
    border-radius: 0 4px 4px 0;
    border-right: 0px;
}

.i-table-button-columns {
    border-radius: 4px !important;
}

.i-table-button:only-child {
    border-radius: 4px;
    border-right: 0px;
}

.i-table-controls-custom {
    flex-grow: 1;
    margin-right: 4px;
    margin-top: 4px;
    display: flex;
    align-items: center;
}

.i-table-headers-col {
    cursor: pointer;
    user-select: none;
    font-weight: bold;
    padding: 5px;
    box-sizing: border-box;
    display: flex;
}

.i-table-footers-col {
    font-weight: bold;
    overflow: hidden;
    padding: 5px;
    box-sizing: border-box;
    display: flex;
    white-space: nowrap;
}

.i-table-headers-col-nosort {
    pointer-events: none;
    cursor: unset;
}

.i-table-headers-col-title {
    text-overflow: ellipsis;
    overflow: hidden;
}

.i-table-headers-col-sort {
    padding-left: 4px;
    opacity: 0.5;
}

.i-table-headers-col-filter {
    opacity: 0.5;
    padding-left: 4px;
    position: relative;
}

.i-table-headers-col-filter-range {
    display: flex;
    gap: 8px;
}

.i-table-headers-col-filter-range > * {
    flex-basis: 0;
    flex-grow: 1;
}

.i-table-headers-col-filter-hidden {
    display: none;
}

.i-table-headers-col-filter-open {
    opacity: 1;
}

.i-table-headers-col-filter-open > .i-table-headers-col-filter-popup {
    display: flex;
}

.i-table-headers-col-filter-open > .i-table-headers-col-filter-popup-bg {
    display: block;
}

.i-table-headers-col-filter-popup-bg {
    display: none;
    position: fixed;
    height: 100vh;
    width: 100vw;
    z-index: 1;
    top: 0;
    left: 0;
}

.i-table-headers-col-filter-tab {
    display: flex;
}

.i-table-headers-col-filter-tab-element {
    flex-basis: 0;
    display: flex;
    justify-content: center;
    padding: 8px;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    border-bottom: 1px solid #2196f3;
    flex-grow: 1;
}

.i-table-headers-col-filter-tab-element-active {
    color: #2196f3;
    border: 1px solid #2196f3;
    border-bottom: 1px solid transparent;
}

.i-table-headers-col-filter-etou {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-height: 32px;
}

.i-table-headers-col-filter-select {
    border: 1px solid silver;
    border-radius: 4px;
    max-width: 40px;
    text-align: center;
}

.i-table-headers-col-filter-search {
    border: none;
    border-bottom: 1px solid silver;
    transition-duration: 0.2s;
    outline: 0;
    transition-property: border-bottom-color;
    box-sizing: border-box;
    border-radius: 0;
    min-height: 32px;
    min-width: 0;
}

.i-table-headers-col-filter-search:focus {
    border-bottom: 2px solid ;
    border-bottom-color: #2196f3;
}

.i-table-headers-col-filter-active {
    opacity: 1;
}

.i-table-headers-col-filter-active > .fa-filter {
    color: #d9534f;
}

.i-table-headers-col-filter-selection {
    display: flex;
}

.i-table-headers-col-filter-button:first-child {
    border-right: 0;
}

.i-table-headers-col-filter-button {
    border: 1px solid #adadad;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 26px;
    max-height: 26px;
    cursor: pointer;
}

.i-table-headers-col-filter-button:hover {
    background-color: #e6e6e6;
}

.i-table-headers-col-filter-selection-container {
    flex-grow: 1; 
    flex-basis: 0; 
    display: flex; 
    flex-direction: column;
    gap: 8px;
}

.i-table-headers-col-filter-popup {
    min-width: 250px;
    max-width: 250px;
    min-height: 300px;
    border-radius: 4px;
    border: 1px solid silver;
    position: fixed;
    background-color: white;
    display: none;
    z-index: 2;
    padding: 8px;
    gap: 8px;
    flex-direction: column;
    font-weight: normal;
    cursor: auto;
}

.i-table-headers-col-filter-value {
    display: flex;
    gap: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    cursor: pointer;
}

.i-table-controls-search {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    margin-top: 4px;
}

.i-table-controls-search-dirty {
    background-color: #ffffe4;
}

.i-table-controls-search-input {
    padding: 0 8px;
    margin: 0;
    max-height: 28px;
    min-height: 28px;
    border: 1px solid #cecece;
    box-shadow: inset 0 -1px 0 #ddd;
    outline: 0;
    border: 1px solid #efefef;
}

.i-table-headers {
    display: flex;
    position: sticky;
    top: 0;
    border-bottom: 1px solid grey;
    background-color: white;
    z-index: 1;
}

.i-table-footers {
    display: flex;
    position: sticky;
    border-top: 1px solid grey;
    background-color: white;
    max-height: 22px;
    min-height: 22px;
    box-sizing: border-box;
}

.i-table-grid {
    flex-grow: 1;
    min-height: 200px;
    height: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.i-table-data-noscroll {
    overflow-y: unset;
}

.i-table-data-noscroll > .i-table-grid {
    min-height: unset;
    height: unset;
}

.i-table-info {
    background: #ffffff;
    padding-left: 20px;
    padding-right: 20px;
    border-top: 1px solid #ededed;
    text-align: right;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.i-table-grid-row {
    display: flex;
    border-top: 1px solid #ededed;
    transition: background-color 0.5s;
}

.i-table-grid-row-blue {
    background-color:#c7d8e4 !important;
}

.i-table-grid-row-yellow {
    background-color:#fbfbc8 !important;
}

.i-table-grid-row-orange {
    background-color:#f3c285 !important;
}

.i-table-grid-row-green {
    background-color:#ddffe6 !important;
}

.i-table-grid-row-red{
    background-color:#e7cbcb !important;
}

.i-table-grid-row-align-items-center {
    align-items:center;
}

.i-table-grid-row-click {
    cursor: pointer;
}

.i-table-grid-row-default-cursor {
    cursor: default !important;
}

/*.i-table-grid-row > div:first-of-type, .i-table-headers > div:first-of-type, .i-table-footers > div:first-of-type
{
    padding-left:10px;
}*/

.i-table-grid-row:hover
{
    background-color:#ededed;
}

.i-table-grid-row-even {
    background-color: #f9f9f9;
}

.i-table-grid-row-odd {

}

.i-table-grid-row-history {
    background-color: #ffd68c8c;
}

.i-table-grid-row-col {
    overflow: hidden;
    display: block;
    line-height:15px;
    text-overflow: ellipsis;
    padding: 5px;
    box-sizing: border-box;
}

.i-table-grid-row-col-DYNAMIC, i-itable-heads-col-DYNAMIC {
    flex-basis: 0;
}

.i-table-grid-row-col-FIXED {

}

.i-table-error {
    border: 2px solid red;
    margin: 4px;
    border-radius: 4px;
    padding: 4px;
    background: white;
}

.i-table-error-title {
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid red;
    padding-bottom: 8px;
    padding-top: 4px;
    margin-bottom: 4px;
}

.i-table-loading {
    display: flex;
    justify-content: center;
    margin-top: 8px;
    font-style: italic;
}

.i-table-error-text {
    white-space: pre;
    font-family: monospace;
    overflow-x: auto;
}

.i-table-breakpoint-hidden {
    display: none !important;
}

.i-table-highlight {
    background-color: #ffeb00;
    color: black;
}

.i-table-button-delete {
    background-color: #d9534f;
    border-color: #d43f3a;
    color: white;
    height: 32px;
    width: 32px;
}

.i-table-button-delete:hover {
    background-color: #c9302c;
    border-color: #ac2925;
    background-image: none;
}

.i-table-col-delete {
    max-width: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
}

.i-table-scroll-container {
    display: flex;
    flex-grow: 1;
}

.i-table-scroll-element {
    background-color: transparent;
    min-width: 18px;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 0;
    margin-top: 4px;
    flex-grow: 1;
}

.i-table-scroll-element-container {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    min-width: fit-content;
}

.i-table-data::-webkit-scrollbar {
    display: none;
}

.i-table-grid-row-footer {
    padding-bottom: 22px;
}

@media (max-width: 850px) {
    .i-table-button-text {
        display: none;
    }

    .i-table-breakpoint-LOW {
        display: none !important;
    }
}

@media(max-width: 1200px) {
    .i-table-breakpoint-MEDIUM {
        display: none !important;
    }
}



