.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link {
    color: white !important;
    background: #007bff !important;
    font-weight: 500 !important;
    border-radius: 5px !important;
}

td.center-align,
th.center-align {
    text-align: center !important;
}
/*
table.dataTable thead th {
    white-space: nowrap !important;
}
*/

/*
table.dataTable tbody th, table.dataTable tbody td {
    padding: 8px 10px !important;
}

table.dataTable thead th, table.dataTable thead td {
    padding: 10px 2px;
}*/

/*#tbl_productos thead th {
    white-space: nowrap !important;
}
*/
.addNewRecord {
    background-color: #198754 !important;
    color: white !important;
}

.buttons-excel {
    background-color: #0d6efd !important;
    color: white !important;
}

.buttons-print {
    background-color: #ffc107 !important;
    color: white !important;
}

.dt-button {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.modal-header {
    background-color: grey;
    color: white;
}

button.p-0.btn.btn-primary.transparentbar.dropdown-toggle.btn-sm {
    background-color: #ffffff00 !important;
    border-color: #ffffff00 !important;
}
/*
.dataTables_wrapper {
    white-space: nowrap !important;
}
*/
button.tabledit-edit-button.btn.btn-sm.btn-default {
    background-color: transparent !important;
    border-color: transparent !important;
}
.btn-group>.btn-group:not(:first-child)>.btn, .btn-group>.btn:not(:first-child) {
    background-color: transparent !important;
    border-color: transparent !important;
}


button.btn.btn-danger.btn-sm.tabledit-confirm-button{
    font-size: 0 !important;
}

button.btn.btn-danger.btn-sm.tabledit-confirm-button:before{
    font-size: 14px !important;
    content: "Eliminar"!important;
}

button.tabledit-save-button.btn.btn-sm.btn-success {
    font-size: 0 !important;
}

button.tabledit-save-button.btn.btn-sm.btn-success:before{
    font-size: 14px !important;
    content: "Editar"!important;
}

.btn-toolbar{
    flex-wrap: nowrap !important;
}

.dt-paging.paging_full_numbers {
    display: none;
}
input#dt-search-2 {
    border-width: 1px;
}
.h4, h4 {
    font-size: 1.4rem !important;
}
.form-check.form-switch.mx-1 {
    padding-top: 1.2% !important;
}
.form-check {
    position: relative;
    display: block;
    padding-left: 2.55rem !important;
}
.disabled-field {
    pointer-events: none;
    opacity: 0.5;
    background-color: #e9ecef; /* Similar al color de los campos deshabilitados */
}
@media screen and (max-width: 768px) {
    .form-floating.mx-1 {
        width: 100% !important;
        margin: 10px;
    }
}

#tbl_productos td:nth-child(8),
#tbl_productos th:nth-child(8) {
    white-space: normal; /* Permite saltos de línea solo en esta columna */
    word-wrap: break-word; /* Rompe palabras largas si es necesario */
    max-width: 200px; /* Define un ancho máximo aceptable */
    /*min-width: 50px; /* Define un ancho mínimo */
    text-align: left; /* Alinea el texto a la izquierda */
}


#tbl_productos td,
#tbl_productos th {
    white-space: nowrap;
}

