body {
    font-family: var(--global-default-paragraph-paragraph-font-family);
}

.LP .table > :not(caption) > * > * {
    padding: 0 !important;
}

label {
    color: #59636e;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.form-control, .form-select {
    border-color: #ced4da;
    font-size: 14px;
}

button, a {
    cursor: pointer;
    border: none;
    text-decoration: none !important;
}

.disabled, *:disabled {
    pointer-events: none;
    opacity: 0.5;
}

tbody td.center-body-only {
    text-align: center !important;
}

thead th.center-body-only {
    text-align: left !important;
}

.input-search {
    position: relative;
}

.input-search .form-control {
    padding-right: 24px;
    border-radius: .25rem !important;
}

.input-search .btn {
    position: absolute;
    right: 4px;
    top: 0;
    background-color: none;
    border: none;
    height: 100%;
    z-index: 99;
    pointer-events: none;
    background: url('/assets/img/search.svg') no-repeat center center;
    background-size: 15px;
}

.table-filter {
    display: grid;
    width: 100%;
    gap: 12px;
    grid-template-columns: 1fr 1fr 1fr 71px;
}

.table-filter .form-select,
.table-filter .input-search {
    height: 40px;
    min-height: 40px;
}

.table-filter .form-select {
    display: flex;
    align-items: center;
    padding: 8px 12px;
}

.table-filter .input-search {
    display: flex;
    align-items: center;
    position: relative;
}

.table-filter .input-search .form-control {
    height: 40px;
    min-height: 40px;
    padding: 8px 12px;
    width: 100%;
}

.table-filter .btn-search {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 6px;
    isolation: isolate;
    width: 71px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    background: #454C54;
    border-radius: 6px;
    font-weight: 600;
    color: #fff;
    flex: none;
    order: 3;
    flex-grow: 0;
    border: none;
    cursor: pointer;
}

.table-filter .btn-search:hover {
    background-color: #3a3d44;
}

.table {
    font-size: 13px;
    line-height: 1.4em;
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    vertical-align: top;
    border-color: #dee2e6;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    color: #212529;
}

.table small {
    color: #818b98;
}

div.dt-container div.dt-layout-full > *:only-child {
    margin-left: auto;
    margin-right: auto;
}

table.dataTable td {
    box-shadow: none !important;
}

.table.dataTable thead tr th {
    background: #e7e9eb;
    font-weight: normal;
    border-bottom: none !important;
    padding: 16px 10px;
}

.table.dataTable tbody tr:nth-of-type(even) td {
    background: #f6f8fa;
}

div.dt-container.dt-empty-footer tbody > tr:last-child > * {
    border-bottom-color: #e7e9eb;
}

.table > :not(:last-child) > :last-child > * {
    border-color: #f0f3f5;
}

table.dataTable.row-border > tbody > tr > *,
table.dataTable.display > tbody > tr > * {
    border-color: #e6e8ea;
}

div.dt-container div.dt-layout-row div.dt-layout-cell.dt-layout-end {
    margin: 16px auto;
}

div.dt-container div.dt-layout-row {
    margin: 0;
}

.dt-paging {
    font-size: 14px;
}

div.dt-container .dt-paging .dt-paging-button {
    padding: 8px;
}

.select-placeholder {
    color: #888 !important;
}

table.dataTable thead > tr > th {
    position: relative;
    padding-right: 20px !important;
}

table.dataTable thead > tr > th span.dt-column-order {
    position: absolute !important;
    right: 0;
    opacity: 0.3;
}

.dt-ordering-asc, .dt-ordering-desc {
    display: block !important;
}

.dt-ordering-asc, .dt-ordering-desc {
    display: table-cell !important;
}

.lines-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-responsive {
    max-width: calc(100vw - 32px);
    width: 100%;
}

.table-responsive table {
    width: 100% !important;
}

table.dataTable {
    width: 100% !important;
}

table.dataTable thead > tr > th:nth-child(2),
table.dataTable tbody > tr > td:nth-child(2) {
    min-width: 200px !important;
    max-width: 300px !important;
    width: 25% !important;
}

.card-lp {
    width: 100%;
}

@media (max-width: 1200px) {
    .table-filter {
        display: flex;
        flex-wrap: wrap;
    }

    .table-filter > * {
        width: calc((100% - 24px) / 2);
    }

    .table-filter .btn-search {
        width: calc((100% - 24px) / 2);
    }
}

@media (max-width: 576px) {
    .bottom-links {
        flex-direction: column;
    }

    .table-filter {
        flex-direction: column;
    }

    .table-filter > * {
        width: 100%;
    }

    .table-filter .form-select,
    .table-filter .input-search {
        width: 100%;
    }

    .table-filter .btn-search {
        width: 100%;
    }
}

/** Paginação DataTables */

div.dt-container div.dt-paging {
    display: flex !important;
    justify-content: center !important;
    margin-top: 16px !important;
}

div.dt-container div.dt-paging nav {
    display: flex !important;
    gap: 6px !important;
    align-items: center !important;
}

div.dt-container div.dt-paging .dt-paging-button {
    border: 0 !important;
    background-color: #f1f3f5 !important;
    color: #495057 !important;
    padding: 6px 12px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: background-color .2s ease, color .2s ease !important;
}

div.dt-container div.dt-paging .dt-paging-button:hover:not(.current):not(.disabled) {
    background: #e9ecef !important;
    color: #212529 !important;
}

div.dt-container div.dt-paging .dt-paging-button.current {
    background-color: #339af0 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    cursor: default !important;
}

div.dt-container div.dt-paging .dt-paging-button.disabled,
div.dt-container div.dt-paging .dt-paging-button:disabled {
    background-color: #f8f9fa !important;
    color: #adb5bd !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
}

div.dt-container div.dt-paging .dt-paging-button:focus {
    outline: none !important;
    box-shadow: none !important;
}

div.dt-container div.dt-paging span.ellipsis {
    padding: 0 6px !important;
    color: #868e96 !important;
}
