/*Colunas que ultrapassam o máximo*/
table.dataTable {
    width: 100% !important;
}

    table.dataTable tbody td.truncate-text {
        max-width: 400px !important; /* Fixed max-width for the Nome column */
        min-width: 200px; /* Ensure the column doesn't shrink too much */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        table.dataTable tbody td.truncate-text span {
            display: inline-block;
            max-width: 100%; /* Ensure the span respects the td's width */
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

    table.dataTable thead th.truncate-text {
        max-width: 200px !important; /* Apply to header as well */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 768px) {
    table.dataTable tbody td.truncate-text {
        max-width: 150px !important;
        min-width: 150px;
    }

    table.dataTable thead th.truncate-text {
        max-width: 150px !important;
    }
}

.bar-filter {
    background-color: #71008C;
    color: white;
    margin-top: 2%;
    padding-top: 5px;
    width: 100%;
}

.container-fluid {
    padding-right: 0px;
    padding-left: 0px;
}

#filterData, .collapsediv {
    padding: 2%;
    color: black;
    border: 2px solid #71008C;
}

#toolbar {
    color: white;
    background-color: #71008C;
    font-weight: 700;
    margin-right: 0px;
    margin-left: 0;
    margin-bottom: -7px;
}

div.dataTables_wrapper div.dataTables_processing {
    border: 0px;
    position: absolute;
    top: 50%;
    background-color: #F7BC00;
    left: 50%;
    width: 200px;
    margin-left: -100px;
    margin-top: -26px;
    text-align: center;
    color: white;
    padding: 1em 0;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #71008C;
    border-color: #71008C;
}

table.dataTable tbody > tr.selected, table.dataTable tbody > tr > .selected {
    background-color: #F7BC00;
    color: white !important;
}

/*https://colorhunt.co/palette/6e026fabdadcf1e6c9fa891a*/
tr.odd:not(.selected) > td {
    background-color: #efd8bb;
}

.dt-buttons {
    float: right;
}
/*Mobile*/
@media (max-width: 480px) {
    .dt-buttons {
        float: right;
    }

    .bar-filter {
        width: auto;
    }
}

body {
    font-family: "Roboto", sans-serif !IMPORTANT;
    font-weight: 700;
}

.nav {
    width: 100%;
}

th, td {
    white-space: nowrap;
}

.dtfc-fixed-left {
    z-index: 1
}


.table th, .table td {
    padding: 5px;
    border-top: 1px solid #dee2e6;
    vertical-align: middle !important;
}

.containerGeral {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}



@media (min-width: 1200px) {
    .containerGeral {
        max-width: 1140px;
    }
}

.btn-verde {
    border-radius: 30px;
    background-color: green;
    color: white;
}

.btn-azul {
    border-radius: 30px;
    background-color: blue;
    color: white;
}

.btn-vermelho {
    background-color: red;
    color: white;
    border-radius: 30px;
}

.btn-amarelo {
    background-color: #F7BC00;
    color: white;
    border-radius: 30px;
}

.form {
    padding-left: 15px;
    padding-right: 15px;
}
/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 5%;
    padding-right: 5%;
    min-height: 500px;
    max-width: 100%;
}

footer {
    margin-top: 5%;
}
/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

.left5 {
    margin-left: -5%;
}

.left8 {
    margin-left: -8%;
}

.label-items-forms {
    align-self: center;
}
input[type="checkbox"], input[type="radio"] {
    width: 20px;
    height: 20px;
    align-self: center;
}
form div[class^=col-md] {
  align-content: center;
}
/*Cabeçalho*/
#logo {
    width: 80px;
}




.fa-spin, .fa-spinner {
    color: #F7BC00;
}
.modal-loading {
    z-index: 999998;
}
.modal-container {
    z-index: 999997;
}
.modal-loading, .modal-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .8 );
    /*background: rgba( 255, 255, 255, .8 ) url('http://sampsonresume.com/labs/pIkfp.gif') 50% 50% no-repeat;*/
}

    .modal-container .modal-content {
        overflow-y: scroll;
        max-height: 100%;
        position: absolute;
        left: 50%;
        top: 50%;
        width: 40%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        font-size: 14px;
        padding-bottom: 32px;
    }

    .modal-loading .modal-content-center {
        position: absolute;
        left: 50%;
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        font-size: 34px;
    }

.bg-light {
    background-color: white !important;
    border-bottom: 6px solid #F7BC00;
    font-weight: 700;
}

nav {
    font-size: 14px;
}
.btnVoltar {
    border-radius: 30px;
    color: #fff;
    background-color: #2E8B57;
    border-color: #2E8B57;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #71008C;
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 700;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    box-shadow: 1px 3px 3px #80808030;
}

    .nav-pills .nav-link.active:hover, .nav-pills .show > .nav-link :hover, .dropdown-item.active:hover, .dropdown-item:hover {
        color: #a66da6 !important;
        cursor: pointer;
    }

.nav-pills .nav-link {
    border-radius: 5.25rem;
}

.nav-link {
    display: block;
    padding: 0.5rem 1.5rem;
    white-space: nowrap;
}

.nav-fill {
    display: flex;
    width: 100%;
}

    .nav-fill .nav-item {
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        text-align: center;
        padding-right: 22px;
    }

@media (min-width: 1444px) {
    .nav-fill {
      flex-flow: row;
    }
}

/* Estilo para telas médias (entre 768px e 991px) */
@media (min-width: 768px) and (max-width: 1443px) {
    .nav-fill .nav-item {
        width: 25%;
    }
}
@media (min-width: 1024px){
  .nav-item{
    font-size: .8rem;
  }
}

.dropdown-menu > .dropdown-item.active, .dropdown-menu > .dropdown-item:active {
    color: #71008C;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-align-last: center;
    border-radius: 34px;
    background-color: white;
    border: 1px solid #e0e0e0;
}

.dropdown-menu {
    border: none;
    border-radius: 20px;
    padding: 0;
    display: none; /* Initially hidden */
    margin: 0;
}

.dropdown-toggle::after {
    content: none;
}
.navbar-brand {
    margin-right: 3%;
}

.float-right {
    float: right !important;
}

.navbar-light .navbar-text a, .navbar-light .navbar-text {
    color: #71008C;
    text-align: center;
}

.titleModel {
    text-align: center;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    color: #71008C;
    background-color: white;
    margin-bottom: 2%;
    border-bottom: 2px solid #71008C;
}

/*Geral*/
.title-screen {
    text-align: center;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    color: #71008C;
    background-color: white;
    margin-bottom: 2%;
    border-bottom: 4px solid #F7BC00;
    border-right: 4px solid #F7BC00;
    border-left: 4px solid #F7BC00;
}

    .title-screen h4 {
        margin-bottom: 0px;
    }

.text-danger {
    color: #dc3545 !important;
}

.btn-secondary {
    border-radius: 30px;
    color: #fff;
    background-color: #71008C;
    border-color: #71008C;
}

    .btn-secondary:hover {
        color: #fff;
        background-color: #b200ff;
        border-color: #b200ff;
    }

.btn-success {
    border-radius: 30px;
    color: #fff;
    background-color: #F7BC00;
    border-color: #F7BC00;
}

    .btn-success:hover {
        color: #fff;
        background-color: #ffd800;
        border-color: #ffd800;
    }

.form-control {
    border-radius: 30px;
    padding: 0.2rem 0.75rem;
}

select.form-control:not([size]):not([multiple]) {
    padding: 0.4rem 0.75rem !important;
}

.icon-open-close {
    color: white;
    background: none;
    border: none;
    text-align: right;
    margin-top: 0%
}

.rowForm {
    margin-top: 1%;
}

.padding0 {
    padding-right: 0px !important;
}

.estado {
    text-transform: uppercase;
}

.table-bordered th, .table-bordered td {
    text-align: center !important;
}

.bootstrap-select .dropdown-menu li a {
    border-bottom: 1px solid transparent;
}

.center {
    text-align: center;
}

.bootstrap-select > .dropdown-toggle.bs-placeholder, .bootstrap-select > .dropdown-toggle.bs-placeholder:hover, .bootstrap-select > .dropdown-toggle.bs-placeholder:focus, .bootstrap-select > .dropdown-toggle.bs-placeholder:active {
    color: black;
    border-radius: 46px;
    background-color: white;
}

select {
    cursor: pointer;
}

li.selected a, li.selected a:active, li.selected.dropdown-item, li.selected.dropdown-item:active, ul.dropdown-menu > li > a:active {
    background-color: #71008C !important;
    color: white !important;
}

ul.dropdown-menu > li > a.dropdown-item:hover {
    color: #71008C !important;
}

ul.dropdown-menu > li.selected > a:hover {
    color: white !important;
}

select > option:hover {
    color: #71008C !important;
}

select > option:active {
    background-color: #71008C !important;
    color: white !important;
}
/*Mobile*/
@media (max-width: 480px) {
    #caixaLogin {
        width: 86%;
        float: none;
        border-radius: 5%;
        background-color: rgba(255, 255, 255, 0.8);
        box-shadow: 10px 10px 12px #323232;
        position: relative;
        margin-top: 160px;
        margin-left: 5.5%;
        margin-bottom: 160px;
        height: 100%;
        border: 1px solid #0c3e73;
    }

    #divLogin {
        margin-left: 0%;
        margin-right: 0%;
    }
}

.page-item.active .page-link {
    color: white !important;
}

.page-link {
    color: #71008C !important;
}
