/* AJAX CRUD - niezalezny styl komponentu tabel index */

.ajax-crud-theme .ajax-crud-card {
    border: 1px solid #8fb5d9;
    border-radius: 0.55rem;
    background: #f4f8fc;
    box-shadow: none;
}

.ajax-crud-theme .ajax-crud-card .card-body {
    padding: 0.7rem;
}

.ajax-crud-theme .ajax-crud-toolbar {
    margin-bottom: 0.8rem;
}

.ajax-crud-theme .ajax-filters {
    width: 100%;
}

.ajax-crud-theme .ajax-filters .ajax-filter-group {
    width: 100%;
}

.ajax-crud-theme .ajax-filters .input-group-text {
    background: #eef4fb;
    border-color: #b3cae1;
    color: #2f557a;
    font-style: italic;
}

.ajax-crud-theme .ajax-filters .ajax-filter-control {
    border-color: #b3cae1;
    background: #ffffff;
}

.ajax-crud-theme .ajax-crud-search .input-group-text {
    background: #eef4fb;
    border-color: #b3cae1;
    color: #2f557a;
}

.ajax-crud-theme .ajax-crud-search .form-control,
.ajax-crud-theme .ajax-crud-toolbar select.form-control {
    border-color: #b3cae1;
    background: #ffffff;
}

.ajax-crud-theme .ajax-crud-search .btn {
    border-color: #90b3d7;
}

.ajax-crud-theme .ajax-crud-table-shell {
    padding: 0;
}

.ajax-crud-theme .ajax-crud-table-wrap {
    border: 1px solid #8fb5d9;
    border-radius: 0.4rem;
    background: #d6e3f0;
    max-height: 62vh;
}

.ajax-crud-theme table.ajax-crud-table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.ajax-crud-theme table.ajax-crud-table > thead > tr {
    background: #5b9bd5;
}

.ajax-crud-theme table.ajax-crud-table > thead > tr > th {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.96rem;
    padding: 0.62rem 0.45rem;
    border-right: 1px solid #79abd9;
    border-bottom: 1px solid #79abd9;
    vertical-align: middle;
}

.ajax-crud-theme table.ajax-crud-table > thead > tr > th:last-child {
    border-right: none;
}

.ajax-crud-theme table.ajax-crud-table > tbody > tr > td,
.ajax-crud-theme table.ajax-crud-table > tbody > tr > th {
    border-right: 1px solid #b2c9e0;
    vertical-align: middle;
    color: #13293f;
    background: #ffffff;
}

.ajax-crud-theme table.ajax-crud-table > tbody > tr:nth-child(odd) > td,
.ajax-crud-theme table.ajax-crud-table > tbody > tr:nth-child(odd) > th {
    background: #ddebf7;
}

.ajax-crud-theme table.ajax-crud-table > tbody > tr:hover > td,
.ajax-crud-theme table.ajax-crud-table > tbody > tr:hover > th {
    background: rgba(0, 55, 255, 0.15);
}

.ajax-crud-theme table.ajax-crud-table > tbody > tr.active_row > td,
.ajax-crud-theme table.ajax-crud-table > tbody > tr.active_row > th {
    background-color: rgb(238 232 170) !important;
}

.ajax-crud-theme table.ajax-crud-table .table_action {
    white-space: nowrap;
    width: 1px;
    border-left: 1px solid rgb(155 194 230) !important;
}

.ajax-crud-theme table.ajax-crud-table .separate-column {
    width: 0.5rem;
}

.ajax-crud-theme .ajax-crud-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.18rem;
    padding: 0.08rem 0.14rem;
    /*background: #edf3fa;
    border: 1px solid #b7cde3;
    border-radius: 0.28rem;*/
}

.ajax-crud-theme .ajax-crud-btn {
    width: 1.68rem;
    min-width: 1.68rem;
    height: 1.68rem;
    border-radius: 0.22rem;
    border: 1px solid #adc4dc;
    background: #ffffff;
    padding: 1rem 1.1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.ajax-crud-theme .ajax-crud-btn:hover {
    box-shadow: 0 0 0 0.11rem rgba(130, 138, 145, 0.2);
    filter: brightness(0.98);
}

.ajax-crud-theme .ajax-crud-btn i {
    font-size: 1rem;
}

.ajax-crud-theme .ajax-crud-btn-edit {
    color: #0a79eb;
}

.ajax-crud-theme .ajax-crud-btn-info {
    color: #1aa9c8;
}

.ajax-crud-theme .ajax-crud-btn-secondary {
    color: #69737b;
}

.ajax-crud-theme .ajax-crud-btn-delete {
    color: #ee4052;
}

.ajax-crud-theme .ajax-crud-add-mini {
    min-width: 3.45rem;
    height: 1.95rem;
    border-radius: 0.22rem;
    border: 1px solid #6cb089;
    background: #6fbe97;
    color: #ffffff;
    padding: 0.05rem 0.7rem;
}

.ajax-crud-theme .ajax-crud-add-mini:hover {
    filter: brightness(0.96);
    box-shadow: inset 0px 0px 5px 0.2rem rgba(255, 255, 255, 1);
    color: #ffffff;
}

.ajax-crud-theme .ajax-crud-sort {
    opacity: 0.94;
    margin-left: 0.2rem;
}

.ajax-crud-theme .ajax-crud-table-wrap .no_records {
    margin: 0;
    padding: 0.35rem 0;
}

.ajax-crud-theme .ajax-crud-table-wrap.div_TableScroll {
    overflow-y: auto !important;
}

.ajax-crud-theme .ajax-crud-table-wrap.div_TableScroll thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}

.ajax-crud-theme .ajax-crud-table-wrap::-webkit-scrollbar {
    width: 10px;
}

.ajax-crud-theme .ajax-crud-table-wrap::-webkit-scrollbar-thumb {
    background-color: #8fb5d9;
    border-radius: 6px;
}

.ajax-crud-theme .ajax-crud-table-wrap::-webkit-scrollbar-track {
    background: #e5edf6;
}

.ajax-crud-theme_div_new_table > .ajax-crud-theme_div_TableScroll {
    max-height: calc(100vh - 380px);
    min-height: calc(100vh - 365px);
    border-radius: 0.5rem;
    border: 1px solid rgb(155 194 230);
}
.btn-ajax-add{
    width: 5rem;
}

.ajax-crud-theme .ajax-pagination {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.ajax-crud-theme .ajax-pagination-pages {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.ajax-crud-theme .ajax-pagination-nav,
.ajax-crud-theme .ajax-pagination-page {
    min-width: 2.2rem;
    height: 2.2rem;
    padding: 0 0.55rem;
    border-radius: 0.32rem;
    border-color: #ced4da;
    background: #ffffff;
    color: #6f7782;
    font-size: 1rem;
    line-height: 1;
}

.ajax-crud-theme .ajax-pagination-page {
    font-size: 1rem;
    color: #5d6670;
}

.ajax-crud-theme .ajax-pagination-page.is-active {
    background: #2b8ff0;
    border-color: #2b8ff0;
    color: #ffffff;
}

.ajax-crud-theme .ajax-pagination-page:not(.is-active):hover,
.ajax-crud-theme .ajax-pagination-nav:hover {
    background: #f3f6fa;
    border-color: #c6ced8;
    color: #4f5964;
}

.ajax-crud-theme .ajax-pagination-nav[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

.ajax-crud-theme .ajax-pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    color: #9ea6af;
    font-size: 1.35rem;
    letter-spacing: 0.06rem;
}

.ajax-crud-theme .ajax-pagination-info {
    display: none;
}

.ajax-crud-theme .ajax-pagination-footer {
    margin-top: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: nowrap;
}

.ajax-crud-theme .ajax-records-count {
    position: static;
    margin: 0;
    font-weight: 600;
}

.ajax-crud-theme .ajax-pagination-left-tools {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.ajax-records-per-site-selector {
    padding-bottom: .5rem;
}

.ajax-crud-theme .ajax-records-per-page-footer {
    margin-left: 2rem;
    padding-bottom: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.ajax-crud-theme .ajax-records-per-page-footer select.form-control {
    width: 4rem;
    min-width: 6rem;
    height: 2.1rem;
    border: 1px solid #c7d1dd;
    border-radius: 0.26rem;
    background: #ffffff;
    color: #4f5964;
    font-weight: 600;
    text-align: center;
    text-align-last: center;
    padding-left: 0.9rem;
    padding-right: 0.95rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none;
}

.ajax-crud-theme .ajax-records-per-page-footer::after {
    content: '\f078';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 0.68rem;
    color: #7f8a96;
    position: absolute;
    right: 0.34rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.ajax-div-export-component {
    top: -10px;
    padding-right: 0;
}
.ajax-div-pagination-and-row-per-site {
    margin-right: 0px;
    /*column-gap: 25px;*/
}

.column-visibility-menu {
    min-width: 280px;
    top: 0px;
    left: -240px !important;
}
