:root {
    --x-grid-border-color: #e5e7eb;
}

.x-dynamic-table_table {
   display: none;
}

.brxe-xdynamictable .gridjs-wrapper {
    border-radius: 0;
}

.brxe-xdynamictable .gridjs-footer {
    border-radius: 0;
}

.gridjs-footer button,
.gridjs-head button {
    background-color: transparent;
    background-image: none;
    border: none;
    cursor: pointer;
    margin: 0;
    outline: none;
    padding: 0;
}
.gridjs-temp {
    position: relative;
}
.gridjs-head {
    margin-bottom: 5px;
    padding: 5px 1px;
    width: 100%;
}
.gridjs-head:after {
    clear: both;
    content: "";
    display: block;
}
.gridjs-head:empty {
    border: none;
    padding: 0;
}
.gridjs-container {
    position: relative;
    z-index: 0;
}
.gridjs-footer {
    background-color: #fff;
    border-bottom-width: 1px;
    border-color: var(--x-grid-border-color);
    border-radius: 0 0 8px 8px;
    border-top: 1px solid var(--x-grid-border-color);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.26);
    display: block;
    padding: 12px 24px;
    position: relative;
    width: 100%;
    z-index: 5;
}
.gridjs-footer:empty {
    border: none;
    padding: 0;
}
input.gridjs-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    border: 1px solid #d2d6dc;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.45;
    outline: none;
    padding: 10px 13px;
}
input.gridjs-input:focus {
    border-color: #9bc2f7;
    box-shadow: 0 0 0 3px rgba(149, 189, 243, 0.5);
}
.gridjs-pagination {
    color: #3d4044;
}
.gridjs-pagination:after {
    clear: both;
    content: "";
    display: block;
}
.gridjs-pagination .gridjs-summary {
    float: left;
    margin-top: 5px;
}
.gridjs-pagination .gridjs-pages {
    float: right;
}
.gridjs-pagination .gridjs-pages button {
    background-color: #fff;
    border: 1px solid #d2d6dc;
    border-right: none;
    outline: none;
    padding: 5px 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.gridjs-pagination .gridjs-pages button:focus {
    box-shadow: 0 0 0 2px rgba(149, 189, 243, 0.5);
}
.gridjs-pagination .gridjs-pages button:hover {
    background-color: #f7f7f7;
    color: #3c4257;
    outline: none;
}
.gridjs-pagination .gridjs-pages button:disabled,
.gridjs-pagination .gridjs-pages button:hover:disabled,
.gridjs-pagination .gridjs-pages button[disabled] {
    background-color: #fff;
    color: #6b7280;
    cursor: default;
}
.gridjs-pagination .gridjs-pages button.gridjs-spread {
    background-color: #fff;
    box-shadow: none;
    cursor: default;
}
.gridjs-pagination .gridjs-pages button.gridjs-currentPage {
    background-color: #f7f7f7;
    font-weight: 700;
}
.gridjs-pagination .gridjs-pages button:last-child {
    border-bottom-right-radius: 6px;
    border-right: 1px solid #d2d6dc;
    border-top-right-radius: 6px;
}
.gridjs-pagination .gridjs-pages button:first-child {
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
}
button.gridjs-sort {
    background-color: transparent;
    background-position-x: center;
    background-repeat: no-repeat;
    background-size: contain;
    border: none;
    cursor: pointer;
    float: right;
    height: 24px;
    margin: 0;
    outline: none;
    padding: 0;
    width: 13px;
}
:where(body.rtl) button.gridjs-sort {
    float: left;
}


/* Add CSS variable for customizable arrow color */
:where(.x-dynamic-table_container) {
    --x-sort-arrow-opacity: 0.3;
}
  
button.gridjs-sort-neutral,
button.gridjs-sort-asc,
button.gridjs-sort-desc {
  -webkit-mask-image: var(--mask-image);
  mask-image: var(--mask-image);
  -webkit-mask-position: var(--mask-position, center);
  mask-position: var(--mask-position, center);
  -webkit-mask-size: var(--mask-size, auto);
  mask-size: var(--mask-size, auto);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  background-image: none;
  background-color: var(--x-sort-arrow-color, currentColor);
  color: inherit;
}
  
  
  button.gridjs-sort-neutral {
    --mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MDEuOTk4IiBoZWlnaHQ9IjQwMS45OTgiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQwMS45OTggNDAxLjk5OCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZD0iTTczLjA5MiAxNjQuNDUyaDI1NS44MTNjNC45NDkgMCA5LjIzMy0xLjgwNyAxMi44NDgtNS40MjQgMy42MTMtMy42MTYgNS40MjctNy44OTggNS40MjctMTIuODQ3cy0xLjgxMy05LjIyOS01LjQyNy0xMi44NUwyMTMuODQ2IDUuNDI0QzIxMC4yMzIgMS44MTIgMjA1Ljk1MSAwIDIwMC45OTkgMHMtOS4yMzMgMS44MTItMTIuODUgNS40MjRMNjAuMjQyIDEzMy4zMzFjLTMuNjE3IDMuNjE3LTUuNDI0IDcuOTAxLTUuNDI0IDEyLjg1IDAgNC45NDggMS44MDcgOS4yMzEgNS40MjQgMTIuODQ3IDMuNjIxIDMuNjE3IDcuOTAyIDUuNDI0IDEyLjg1IDUuNDI0ek0zMjguOTA1IDIzNy41NDlINzMuMDkyYy00Ljk1MiAwLTkuMjMzIDEuODA4LTEyLjg1IDUuNDIxLTMuNjE3IDMuNjE3LTUuNDI0IDcuODk4LTUuNDI0IDEyLjg0N3MxLjgwNyA5LjIzMyA1LjQyNCAxMi44NDhMMTg4LjE0OSAzOTYuNTdjMy42MjEgMy42MTcgNy45MDIgNS40MjggMTIuODUgNS40MjhzOS4yMzMtMS44MTEgMTIuODQ3LTUuNDI4bDEyNy45MDctMTI3LjkwNmMzLjYxMy0zLjYxNCA1LjQyNy03Ljg5OCA1LjQyNy0xMi44NDggMC00Ljk0OC0xLjgxMy05LjIyOS01LjQyNy0xMi44NDctMy42MTQtMy42MTYtNy44OTktNS40Mi0xMi44NDgtNS40MnoiLz48L3N2Zz4=");
    opacity: var(--x-sort-arrow-opacity);
    --mask-position: center;
    --mask-size: 13px;
  }
  
  button.gridjs-sort-asc {
    --mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53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A3IDkuMjI5IDUuNDI0IDEyLjg0N2wxMjcuOTA3IDEyNy45MDdjMy42MjEgMy42MTcgNy45MDIgNS40MjggMTIuODUgNS40MjhzOS4yMzMtMS44MTEgMTIuODQ3LTUuNDI4TDI4Ni45MzUgOTUuMDc0YzMuNjEzLTMuNjE3IDUuNDI3LTcuODk4IDUuNDI3LTEyLjg0NyAwLTQuOTQ4LTEuODE0LTkuMjI5LTUuNDI3LTEyLjg1eiIvPjwvc3ZnPg==");
    --mask-position: center 65%;
    --mask-size: 10px;
  }


button.gridjs-sort:focus {
    outline: none;
}
table.gridjs-table {
    border-collapse: collapse;
    display: table;
    margin: 0;
    max-width: 100%;
    overflow: auto;
    padding: 0;
    table-layout: fixed;
    text-align: start;
}

td.gridjs-td {
    border: 1px solid var(--x-grid-border-color);
    box-sizing: content-box;
    padding: 12px 24px;
    overflow: auto;
}
:where(body:not(.rtl)) td.gridjs-td:first-child {
    border-left: none;
}
:where(body:not(.rtl)) td.gridjs-td:last-child {
    border-right: none;
}
:where(body.rtl) td.gridjs-td:first-child {
    border-right: none;
}
:where(body.rtl)  td.gridjs-td:last-child {
    border-left: none;
}
td.gridjs-message {
    text-align: center;
}
th.gridjs-th {
    background-color: #f9fafb;
    border: 1px solid var(--x-grid-border-color);
    border-top: none;
    box-sizing: border-box;
    color: #6b7280;
    outline: none;
    padding: 14px 24px;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: middle;
    white-space: nowrap;
}
th.gridjs-th .gridjs-th-content {
    float: left;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

:where(body.rtl) th.gridjs-th .gridjs-th-content {
    float: right;
}

th.gridjs-th-sort {
    cursor: pointer;
}
th.gridjs-th-sort .gridjs-th-content {
    width: calc(100% - 15px);
}

th.gridjs-th-fixed {
    box-shadow: 0 1px 0 0 var(--x-grid-border-color);
    position: sticky;
}
@supports (-moz-appearance: none) {
    th.gridjs-th-fixed {
        box-shadow: 0 0 0 1px var(--x-grid-border-color);
    }
}
:where(body:not(.rtl)) th.gridjs-th:first-child {
    border-left: none;
}
:where(body:not(.rtl)) th.gridjs-th:last-child {
    border-right: none;
}
:where(body.rtl) th.gridjs-th:first-child {
    border-right: none;
}
:where(body.rtl) th.gridjs-th:last-child {
    border-left: none;
}
.gridjs-tr {
    border: none;
}
.gridjs-tr-selected td {
    background-color: #ebf5ff;
}
.x-dynamic-table_container:not(.x-dynamic-table_stacked) .gridjs-tr:last-child td {
    border-bottom: 0;
}
.gridjs *,
.gridjs :after,
.gridjs :before {
    box-sizing: border-box;
}
.gridjs-wrapper {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border-color: var(--x-grid-border-color);
    border-radius: 8px 8px 0 0;
    border-top-width: 1px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.26);
    display: block;
    overflow: auto;
    position: relative;
    width: 100%;
    z-index: 1;
}
/*
.gridjs-wrapper:nth-last-of-type(2) {
    border-bottom-width: 1px;
    border-radius: 8px;
}
*/
.gridjs-search {
    float: left;
}
.gridjs-search-input {
    width: 250px;
}
.gridjs-loading-bar {
    background-color: #fff;
    opacity: 0.5;
    z-index: 10;
}
.gridjs-loading-bar,
.gridjs-loading-bar:after {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.gridjs-loading-bar:after {
    -webkit-animation: shimmer 2s infinite;
    animation: shimmer 2s infinite;
    background-image: linear-gradient(90deg, hsla(0, 0%, 80%, 0), hsla(0, 0%, 80%, 0.2) 20%, hsla(0, 0%, 80%, 0.5) 60%, hsla(0, 0%, 80%, 0));
    content: "";
    transform: translateX(-100%);
}
@-webkit-keyframes shimmer {
    to {
        transform: translateX(100%);
    }
}
@keyframes shimmer {
    to {
        transform: translateX(100%);
    }
}
.gridjs-td .gridjs-checkbox {
    cursor: pointer;
    display: block;
    margin: auto;
}
.gridjs-resizable {
    bottom: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 5px;
}
.gridjs-resizable:hover {
    background-color: #9bc2f7;
    cursor: ew-resize;
}

.gridjs-footer {
    box-shadow: none;
    border: 1px solid var(--x-grid-border-color);
}

.x-dynamic-table_container:not(.x-dynamic-table_stacked) .gridjs-footer {
    border-top: none;
}

.gridjs-wrapper {
    box-shadow: none;
    border: 1px solid var(--x-grid-border-color);
}

.x-dynamic-table_stacked thead{
    position: absolute;
    top: 0;
    left:0;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.x-dynamic-table_stacked td.gridjs-td {
    border-top: none;
    border-left: none;
    border-right: none;
}

.x-dynamic-table_stacked td.gridjs-td:last-child {
    border-bottom: 0;
}

.x-dynamic-table_stacked td{
    position: relative;
    text-align: end;
    padding-inline-end: 16px;
	padding-inline-start: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.x-dynamic-table_stacked td:before{
    content: attr(data-x-mobile-label);
    position: absolute;
    left:0;
    top:0;
    bottom: 0;
    min-width: 150px;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 16px;
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #f9fafb;
    border-right: 1px solid var(--x-grid-border-color);
    box-sizing: border-box;
    color: #6b7280;
}

.x-dynamic-table_stacked .gridjs-tbody {
    display: flex;
    flex-direction: column;
    border: none;
}

.x-dynamic-table_stacked .gridjs-wrapper {
    border: none;
}

.x-dynamic-table_stacked .gridjs-tr {
    border: 1px solid var(--x-grid-border-color);
}

.x-dynamic-table_stacked td[data-label="Name"]{
    order: -1;
    font-weight: 700;
}

.x-dynamic-table_stacked .gridjs-tr:last-child td:last-child {
    border-bottom: 0;
}

[data-x-table*=stackLabels] .x-dynamic-table_container.x-dynamic-table_stacked td {
    padding: 0!important;
}

[data-x-table*=stackLabels] .x-dynamic-table_container.x-dynamic-table_stacked td:before {
    position: static;
}

[data-x-table*=stackLabels] .x-dynamic-table_stacked td:before {
    border-bottom: 1px solid var(--x-grid-border-color);
}

/* rtl */

:where(body.rtl) .gridjs-pagination .gridjs-summary {
    float: right;
}

:where(body.rtl) .gridjs-pagination .gridjs-pages {
    float: left;
}

:where(body.rtl) .gridjs-pagination .gridjs-pages button:first-child {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

:where(body.rtl) .gridjs-pagination .gridjs-pages button:first-child {
    border-bottom-right-radius: 6px;
    border-right: 1px solid #d2d6dc;
    border-top-right-radius: 6px;
}

:where(body.rtl) .gridjs-pagination .gridjs-pages button:last-child {
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
    border-right: none;
}

:where(body.rtl) .x-dynamic-table_stacked td:before {
    left:auto;
    right: 0;
    border-left: 1px solid var(--x-grid-border-color);
    border-right: none;
}

:where(body.rtl) .x-dynamic-table_stacked thead { 
    left:auto;
    right: 0;
}