/*------------------------------
    TABLE / BOOTSTRAP-TABLE
-------------------------------*/
.bootstrap-table table thead tr th {
    text-transform: uppercase;
    text-align: center;
}

.bootstrap-table table tbody {
    border-top-color: var(--current-company-color) !important;
}

.bootstrap-table .fixed-table-container .fixed-table-body {
    height: auto !important;
}

/*------------------------------
    ICONS
-------------------------------*/
.bootstrap-table i {
    cursor: pointer;
    margin: 0 5px;
    transition: all 0.2s;
}

.bootstrap-table tbody tr td a.detail-icon {
    color: white !important;
}

/*------------------------------
    BOOTSTRAP TABLE BUTTONS
-------------------------------*/
.bootstrap-table .dropdown-item:focus, .bootstrap-table .dropdown-item:hover {
    background-color: #e9ecef !important;
}

.bootstrap-table .btn.btn-standard-main-table {
    background-color: var(--current-company-color) !important;
    color: white;
    transition: all 0.2s;
    height: 32px;
}

/*---------------------------------------
    BOOTSTRAP TABLE FIXED TABLE TOOLBAR
---------------------------------------*/
.bootstrap-table .fixed-table-toolbar{
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.bootstrap-scroll-table:not(.bs5-list-elements-table) .bootstrap-table .float-right.search.btn-group{
    margin-left: auto !important;
}

.bootstrap-table .float-right.search.btn-group{
    padding: .25rem;
}

.bootstrap-table .fixed-table-toolbar .search {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

/*---------------------------------------
    LIST ELEMENTS TABLE
---------------------------------------*/
.bs5-list-elements-table .search.btn-group {
    width: 100% !important;
}

.bs5-list-elements-table.list-elements-table-no-borders table {
    border-color: transparent !important;
    --bs-table-hover-color: none !important;
    --bs-table-hover-bg: none !important;
}

.bs5-list-elements-table.list-elements-table-only-bottom-border table {
    border-top-color: transparent !important;
    border-right-color: transparent !important;
    border-left-color: transparent !important;
}

.bs5-list-elements-table .fixed-table-header table thead {
    display: none !important;
}

.bs5-list-elements-table table tbody {
    border-top-color: transparent !important;
}

.bs5-list-elements-table table tbody tr.selected {
    background: linear-gradient(135deg, rgba(255, 222, 204, 0.37) 0%, rgba(255, 165, 123, 0.5) 50%, rgba(255, 111, 77, 0.37) 100%);
}

.bs5-list-elements-table table tbody tr.selected td {
    color: black !important;
}

.bs5-list-elements-table table .no-records-found {
    border-color: transparent;
}

.bs5-list-elements-table  .bootstrap-table .fixed-table-pagination>.pagination-detail .page-list {
    display: none !important;
}

/*-------------------------------------------
    BOOTSTRAP TABLE DETAIL VIEW
-------------------------------------------*/
.bs5-list-elements-table table tbody tr.detail-view td {
    /* padding-left: 0px;
    padding-right: 0px; */
}

/*-------------------------------------------
    BS CHECKBOX
-------------------------------------------*/
.bs5-list-elements-table table tbody tr.placeholder-row {
    pointer-events: none !important;
}

/*-------------------------------------------------------
    BOOTSTRAP TABLE FIXED TABLE CONTAINER & FOOTER
--------------------------------------------------------*/
.bootstrap-scroll-table .fixed-table-container.fixed-height {
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding-bottom: 10px !important;
    border: 0 !important;
    height: 100% !important;
}

.bs5-list-elements-table .bootstrap-table .fixed-table-container.fixed-height .table thead th {
    border-bottom: unset !important;
}

.bs5-list-elements-table .bootstrap-table .fixed-table-footer table thead tr th.detail {
    display: none !important;
}

/*---------------------------
    BOOTSTRAP PAGINATION
----------------------------*/
.bootstrap-table .page-item.active .page-link {
    z-index: 3;
    color: white;
    background-color: var(--current-company-color);
    border-color: var(--current-company-color);
    transition: all 0.2s;
}

.bootstrap-table .page-link {
    color: var(--current-company-color);
    transition: all 0.2s;
}

/*---------------------------
    BOOTSTRAP TABLE SCROLL
----------------------------*/
.bootstrap-scroll-table {
    overflow: hidden;
    height: 100% !important;
}

.bootstrap-scroll-table .bootstrap-table.bootstrap5 {
    max-height: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.bootstrap-scroll-table .fixed-table-header {
    flex-shrink: 0;
    display: flex;
}

.bootstrap-scroll-table .fixed-table-header table {
    flex: 1;
    width: 100% !important;
}

.bootstrap-scroll-table .fixed-table-body {
    border: 0;
    flex: 1;
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}

.bootstrap-scroll-table .fixed-table-body::-webkit-scrollbar {
    display: none;  /* Safari and Chrome */
}

.bootstrap-scroll-table td,
.bootstrap-scroll-table th,
.bootstrap-scroll-table td div,
.bootstrap-scroll-table th div {
    white-space: normal !important; /* Only needed when it's set differntly somewhere else */
    word-wrap: break-word !important;
    vertical-align: middle !important;
}

.bootstrap-scroll-table .fixed-table-header {
    margin-right: 0 !important;
}

.bootstrap-scroll-table .fixed-table-pagination {
    margin-top: auto;
}



