/* Personalização das tabelas para simular as tabelas do Material Design */
.ui-datatable {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}

.ui-datatable tbody tr {
    background-color: transparent !important;
}

.ui-datatable th, .ui-datatable td {
    padding: 0 !important;
}

.ui-datatable, .ui-datatable th, .ui-datatable td {
    border: none !important;
}

.ui-datatable {
    width: 100% !important;
    display: table !important;
}

.ui-datatable thead {
    border-bottom: 1px solid #d0d0d0 !important;
}

.ui-datatable td, .ui-datatable th {
    padding: 15px 5px !important;
    display: table-cell !important;
    text-align: left !important;
    vertical-align: middle !important;
    border-radius: 2px !important;
}

.ui-datatable tbody {
    border: none !important;
}

/* Classes do Material Design */
.ui-datatable.bordered tr {
    border-bottom: 1px solid #d0d0d0 !important;
}

.ui-datatable.striped tr:nth-child(odd) {
    background-color: #f2f2f2 !important;
}

.ui-datatable.striped td {
    border-radius: 0 !important;
}

.ui-datatable.highlight tr {
    -webkit-transition: background-color .25s ease !important;
    transition: background-color .25s ease !important;
}

.ui-datatable.highlight tr:hover {
    background-color: #f2f2f2 !important;
}

.ui-datatable.centered th,
.ui-datatable.centered td {
    text-align: center !important;
}

.ui-datatable.rightered th,
.ui-datatable.rightered td {
    text-align: right !important;
}

/* Limpando as sub-tabelas */
.ui-datatable.bordered tr .ui-datatable,
.ui-datatable.bordered tr .ui-datatable thead,
.ui-datatable.bordered tr .ui-datatable tbody,
.ui-datatable.bordered tr .ui-datatable tr,
.ui-datatable.bordered tr .ui-datatable th,
.ui-datatable.bordered tr .ui-datatable td {
    border: none !important;
}

.ui-datatable.striped tr:nth-child(odd) .ui-datatable thead tr,
.ui-datatable.striped tr:nth-child(odd) .ui-datatable thead th,
.ui-datatable.striped tr:nth-child(odd) .ui-datatable tbody tr,
.ui-datatable.striped tr:nth-child(odd) .ui-datatable tbody td {
    background-color: #f2f2f2 !important;
}

.ui-datatable.highlight tr .ui-datatable thead tr,
.ui-datatable.highlight tr .ui-datatable thead th,
.ui-datatable.highlight tr .ui-datatable tbody tr,
.ui-datatable.highlight tr .ui-datatable tbody td {
    -webkit-transition: background-color .25s ease !important;
    transition: background-color .25s ease !important;
}

.ui-datatable.highlight tr:hover .ui-datatable thead tr,
.ui-datatable.highlight tr:hover .ui-datatable thead th,
.ui-datatable.highlight tr:hover .ui-datatable tbody tr,
.ui-datatable.highlight tr:hover .ui-datatable tbody td {
    background-color: #f2f2f2 !important;
}

.ui-datatable .ui-expanded-row-content .ui-datatable tbody tr {
    background-color: transparent !important;
}

/* Criando estilização para sub-tabelas */
.ui-datatable tr .ui-datatable.bordered tr {
    border-bottom: 1px solid #d0d0d0 !important;
}

.ui-datatable tr .ui-datatable.striped tr:nth-child(odd) {
    background-color: #f2f2f2 !important;
}

.ui-datatable tr .ui-datatable.striped td {
    border-radius: 0 !important;
}

.ui-datatable tr .ui-datatable.highlight tr {
    -webkit-transition: background-color .25s ease !important;
    transition: background-color .25s ease !important;
}

.ui-datatable tr .ui-datatable.highlight tr:hover {
    background-color: #f2f2f2 !important;
}

.ui-datatable tr .ui-datatable.centered th,
.ui-datatable tr .ui-datatable.centered td {
    text-align: center !important;
}

/* Estilização do cabeçalho e rodapé */
.ui-datatable .ui-datatable-header {
    border: none !important;
    background-color: transparent !important;
    color: black !important;
}

.ui-datatable .ui-datatable-footer {
    border: none !important;
    background-color: transparent !important;
    color: black !important;
}

/* Estilização do paginador */
.ui-datatable .ui-paginator {
    background-color: transparent !important;
    border: none !important;
}

.ui-datatable .ui-paginator > a {
    color: black !important;
}

.ui-datatable .ui-paginator .ui-paginator-pages a {
    color: black !important;
}

blockquote {
    margin: 20px 0;
    padding-left: 1.5rem;
    border-left: 5px solid #5180ce;
}

/* Criando classe para botões dentro das linhas da tabela */
.btn-table {
    margin-right: 5px;
}

/* Criando classe para as linhas de retorno com pendência */
.warning-row {
    font-weight: bold !important;
    text-shadow: 0.3px 0.3px #576574 !important;
}

/* Reestilização do asterisco de item obrigatório */
.ui-outputlabel-rfi {
    color: red !important;
    font-weight: bold !important;
}
