/* Styling for CustomTable */

.tableActions {
    display: flex;
    flex-wrap: wrap;
}

.tableActionsItem {
    width: 16rem;
}

.paginationComponent .pagBtn {
    font-size: 0.6rem;
}

.paginationComponent .inputStyle {
    width: 2.2rem;
    text-align: center;
}

.customTableContainer {
    width: 100%;
    border-radius: 4px;
    /* border: solid 1px var(--light-grey); */
}

.customTableContainer .row {
    margin: 0 !important;
}

.customTableContainer .tableHeader {
    font-weight: 500;
    text-transform: capitalize;
    background-color: var(--input-bg);
    border-radius: 4px;
}

.customTableContainer .tableContent {
    border-bottom: solid 1px var(--lighter-grey);
    background: #fff;
    position: relative;
    color: var(--text-grey);
}

.customTableContainer .tableCell {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 30px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.customTableContainer .tableCell span {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.customTableContainer .tableCell.hideLong span {
    white-space: nowrap;
}

.customTableContainer .tableCell span.noOverflow {
    overflow: unset;
    display: flex;
}

.toggleBtn[aria-expanded="false"] .iconOpened,
.toggleBtn[aria-expanded="true"] .iconClosed {
    display: none;
}

.toggleBtn[aria-expanded="false"] .iconClosed,
.toggleBtn[aria-expanded="true"] .iconOpened {
    display: initial;
}


/* Mobile custom table in ostalo */

@media (min-width: 800px) {
    .onlyMobile {
        display: none!important;
    }
    .simTableContainer .tableCell.firstCell {
        margin-left: 1.8rem;
        overflow: unset;
    }
}

@media (max-width: 799px) {
    .onlyDesktop {
        display: none!important;
    }
    .customTableColumnResponsive {
        flex: 0 0 100%!important;
        max-width: 100%!important;
    }
}