.nav.nav-tabs .nav-link {
    border: 3px solid #7f7f7f;
}
.table-sm td, .table-sm th {
    padding: .3rem !important;
}

.nav.nav-tabs .nav-link.active:not(.disabled) {
    border-color: #c1c1c1 #c1c1c1 #fff;
    background-color: #bd222d;
}

.nav .nav-link.active, .nav .nav-link.active .nav-icon i, .nav .nav-link.active .nav-text {
    color: #fff !important;
}

.nav .nav-link.active .nav-icon {
    display: none;
}

.nav .nav-link.active, .nav .nav-link.active .nav-icon i, .nav .nav-link.active .nav-text, .nav .nav-link:hover:not(.disabled), .nav .nav-link:hover:not(.disabled) .nav-icon i, .nav .nav-link:hover:not(.disabled) .nav-text, .nav .show>.nav-link, .nav .show>.nav-link .nav-icon i, .nav .show>.nav-link .nav-text {
    transition: color .15s ease,background-color .15s ease,border-color .15s ease,box-shadow .15s ease;
    color: #000;
}

table.dataTable {
    margin-top: 20px!important;
}
.dataTables_filter {
    background-color: #e2e2e2;
    padding-top: 7px;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 8px;
    margin-bottom: 15px;
}
.box-cinza {
    background-color: #e2e2e2;
    padding-top: 7px;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 8px;
    padding-bottom: 24px;
    max-width: 450px;
}
.text-tr {
    color: #bd222d !important;
}
.bg-tr {
    background-color: #e4e6ef;
}
.buttons-html5, .buttons-print {
    background-color: #e2e2e2 !important;
    border-color: #e2e2e2 !important;
}


@media (max-width: 540px) {   
    .dt-buttons.btn-group.flex-wrap {
        width: 100%;
    }
}

@media (min-width: 100px) and (max-width: 800px) {   
    .dataTables_wrapper div.dataTables_filter {
        float:none;
    }

    .btn-mobile{
        text-align: center;
        margin-top: 10px;
    }
}