﻿.main-container-scroll-height {
    /*height: calc(100% - 30px);
    width: 100%;*/
}

.flex-table-container {
    /*width: 100%;
    height: max-content;
    min-height: 100%;
    display: flex;*/
}

.main-table-data-container {
    /*max-height: -webkit-fill-available;*/
    /*overflow: scroll;
    position: relative;*/
    width: 100%;
    overflow: inherit !important;
}

.main-table-data {
    position: relative;
    width: max-content !important;
    overflow: visible !important;
}

.main-table-data-header {
    position: sticky;
    top: 0;
    background-color: #fff;
}

.main-table-data-header .main-table-header-row {
    height: 40px;
    display: inline-flex;
    align-items: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    justify-content: space-between;
    flex-direction: row-reverse;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 2;
    border-bottom: 1px solid #f1f1f1 !important;
}

.pinned-menu-header {
    position: sticky !important;
    left: 0;
    top: 0;
    right: 0;
    z-index: 3 !important;
    background-color: #fff;
}


.pinned-table-td {
    position: sticky !important;
    left: 0;
    right: 0;
    z-index: 2;
    border-right: 1px solid #f1f1f1;
    border-left: 1px solid #f1f1f1;
    background-color: #fff;
}

.main-table-row > td, .main-table-row > td > td {
    height: 40px;
    display: inline-flex;
    align-items: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    justify-content: space-between;
    padding: 5px;
    outline: none;
    border: none;
}

.main-table-header-row-text {
    width: 100%;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-table-row {
    text-overflow: ellipsis;
    white-space: nowrap;
    border-bottom: 1px solid #f1f1f1;
    outline: none;
    display: flex;
    height: auto;
}

    .main-table-row:hover {
        background-color: #f1f1f1;
    }
        .main-table-row:hover .pinned-table-td {
            background-color: #f1f1f1;
        }
        
        
        .main-table-data-container > table.rz-table th .rz-handle {
            height: 100% !important;
            display: flex;
            margin: 0;
            float: none;
            position: absolute !important;
            right: 0;
            background: linear-gradient(#d1d1d1, #d1d1d1) no-repeat center/1px 50%;
            border: none;
            z-index: 5;
        }
        table.rz-table.main-table-data th .rz-handle {
            height: 100% !important;
            display: flex;
            margin: 0;
            margin-right: 0;
            float: none;
            position: absolute !important;
            right: 0;
            background: linear-gradient(#d1d1d1, #d1d1d1) no-repeat center/1px 50%;
            border: none;
            z-index: 5;
        }

.main-table-data-container > table.rz-table {
    table-layout: auto;
}

.main-listing-container {
    vertical-align: top;
    height: 100%;
    overflow-y: hidden;
    width: auto;
    min-width: 100%;
}

.main-table-data-header .main-table-header-row:hover .main-table-th-pin-icon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    padding: 5px;
    color: rgba(0, 0,0, 0.5);
    outline: none;
}

.main-table-th-pin-icon {
    display: none;
    overflow: hidden;
}

.main-table-data-header .main-table-header-row:hover .main-table-th-pin-icon:hover {
    font-size: 12px;
    color: rgba(0, 0,0, 1)
}

.main-table-th-pin-icon-active {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    padding: 5px;
    color: rgba(0, 127,147, 1);
    outline: none;
}

.main-table-data-header .main-table-header-row:hover .main-table-th-pin-icon-active {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    padding: 5px;
    color: rgba(0, 127,147, 1);
    outline: none;
}

    .main-table-data-header .main-table-header-row:hover .main-table-th-pin-icon-active:hover {
        font-size: 12px;
    }


.main-table-sorting-icons-container {
    display: flex;
    flex-direction: column;
    font-size: 8px;
    color: #d1d1d1;
    margin: 5px;
}
    .main-table-sorting-icons-container .active {
        color: #007f93;
    }
.main-table-title-sorting {
    display: flex;
    align-items: center;
}

.main-table-data-empty {
    display: flex;
    justify-self: center;
    align-items: center;
    font-size: 1.5em;
    flex-direction: column;
}

.main-table-data-empty-icon {
    font-size: 60px;
    margin: 20px;
    color: #f1f1f1;
}

.main-table-data.inner-table {
    table-layout: auto;
}

.row-error::before {
    font-family: "Glyphicons Halflings";
    content: "\e209";
    color: red;
    align-self: center;
    position: relative;
    padding: 10px 5px;
}


.column-error {
    border: 1px solid red !important;
}

.main-table-data-container > table.rz-table th .rz-checkbox-border {
    display: none;
}

.main-table-header-row.checkbox-header {
    width: auto;
    padding: 0;
}

input[type="checkbox"].checkbox-header-input {
    position: relative;
    z-index: unset;
    left: unset;
    overflow: unset;
    clip: unset;
    height: auto;
    margin: 5px;
    width: auto;
    outline: none;
    border: none;
}