@CHARSET "UTF-8";

table{
	table-layout: fixed;
}

.ui-menu-filtro-salvo{
	float: right;
}

.ui-menu-filtro-salvo .ui-button-text{
	background-image: url("images/ui-icons_333333_256x240.png.xhtml?ln=primefaces-bootstrap");
	width: 16px;
	height: 16px;
	background-position: -160px -112px;
	background-repeat: no-repeat;
	padding: 0px !important;
	left: 5px;
	position: relative;
}
.ui-menu-filtro-salvo .ui-icon-triangle-1-s{
	top: 1px !important;
}

.ui-menu-filtro-salvo .ui-button-text:after{
	content: ".";
	visibility: hidden;
}

.divDataTable{
	margin-top: -19px;	
	height: 100%;
}

.tableCadastro thead th{
	border-top: none !important;
}

.tableCadastro tbody,
.tableCadastro tbody > tr, 
.tableCadastro tbody > tr > td, 
.tableCadastro thead,
.tableCadastro thead > tr, 
.tableCadastro thead > tr > th{

	border-left-width: 0px !important;
	border-right-width: 0px !important;
	
	
	border-left-style: none !important;
	border-right-style: none !important;
	
	
	border-bottom-color: #CCCCCC !important;
	border-left-color: #CCCCCC !important;
	border-right-color: #CCCCCC !important;
	border-top-color: #CCCCCC !important;
	
}

.tableCadastro tbody > tr{
	background-color: white;
}

.tableCadastro{
	text-align: left !important;
	color: #000000 !important;
	font-size: 12pt !important;
}

/* cabecalho */
.tableCadastro th div.ui-dt-c{
	background-color: white;
	text-shadow: initial;
	
	padding: 0px !important;
	height: 55px;
	
	/*background-image: url("img/background/fundo-cabecalho-table.png.xhtml"); */
	background-position: 100% 25px;
	background-repeat: no-repeat;
	background-size: cover;
}

.tableCadastro .ui-column-filter{
	position: absolute;
}

.tableCadastro input.ui-column-filter{
	width: -moz-calc(100% - 20px);
	width: -webkit-calc(100% - 20px);
	width: calc(100% - 11px);
}

.tableCadastro select.ui-column-filter{
	width: -moz-calc(100% - 10px);
	width: -webkit-calc(100% - 10px);
	width: calc(100% - 10px)	
}

.tableCadastro select.ui-column-filter{	
	height: 30px;
}

/* checkbox selecionar todos*/
.tableCadastro thead tr th .ui-dt-c .ui-chkbox-box {
	position: absolute;
	bottom: 5px;
	left: 5px;
}

/*conteudo*/

.tableCadastro > .ui-datatable-scrollable-body > table > tbody > tr > td{
	position: relative;
	height: 35px;
} 

.dataTableDetalhe.ui-datatable > .ui-datatable-scrollable-body > table > tbody > tr > td > .ui-dt-c,
.tableCadastro > .ui-datatable-scrollable-body > table > tbody > tr > td > .ui-dt-c{
	padding: 0px;
	text-overflow: ellipsis;
	white-space: nowrap;
	margin-left: 2px;
	margin-right: 5px;
}

.tableCadastro tbody tr:not(.ui-state-highlight):hover{
	background-color: #F9EDBE;
	color: black;
}

.tableCadastro .ui-state-highlight{
	background-color: #9BD6DC;
	background-image: none;
}

.tableCadastro .ui-datatable-scrollable-header .colunaImagemDetalhe,
.tableCadastro .ui-datatable-scrollable-body .colunaImagemDetalhe{
	min-width: 45px;
	width: 45px;
}

.imagemDetahe{
	display: none;	
}

.tableCadastro > .ui-datatable-scrollable-body > table > tbody > tr.ui-state-highlight > td.colunaImagemDetalhe > .ui-dt-c{
	padding-left: 0px;
}

.tableCadastro .ui-datatable-scrollable-body .ui-state-highlight .colunaImagemDetalhe .imagemDetahe{
	display: block;
	/*margin-top: -2px;*/	
}

.tableCadastro .ui-datatable-scrollable-body{
	background-image: url("img/background/fundo-datatable.png.xhtml");
	background-size: 100% 35px;
	background-repeat: repeat-y;
}

.tableCadastro.dataTablePaginador.ui-datatable .ui-datatable-footer {
	background-color: white;
}

.tableCadastro.dataTableScrollbar.ui-datatable .ui-datatable-scrollable-footer{ 
	background-color: white;
}

.dataTableDetalhe.dataTableScrollbar.ui-datatable .ui-datatable-scrollable-footer .ui-datatable-scrollable-header-box table,
.tableCadastro.dataTableScrollbar.ui-datatable .ui-datatable-scrollable-footer .ui-datatable-scrollable-header-box table{
	float: right;
}

.tableCadastro.dataTableScrollbar.ui-datatable .ui-datatable-scrollable-footer .ui-datatable-scrollable-header-box table td{
	background-color: white;	
}

/*quando a ultima coluna da tabela estiver usando a classe formatarNumero(que alinha os valores a direita) 
adiciona uma margem a direita para escapar do scroll */
.tableCadastro.dataTableScrollbar .ui-datatable-scrollable-body .ui-datatable-data tr td:last-child.formatarNumero {
	padding-right: 10px;
}

/*scrollbar*/
.dataTableScrollbar.ui-datatable .ui-datatable-scrollable-body{
	overflow-y: overlay;	
	overflow-x: hidden;
}

.dataTableScrollbar.ui-datatable .ui-datatable-scrollable-header-box{
	float: none;
	padding-right: 0px;	
}

.dataTableScrollbar.ui-datatable .ui-datatable-scrollable-header table thead tr th{
	border-radius: 0px;
}

.dataTableScrollbar.ui-datatable .ui-datatable-scrollable-body table,
.dataTableScrollbar.ui-datatable .ui-datatable-scrollable-header table{
	width: 100%;
}

.dataTableScrollbar.ui-datatable .ui-datatable-scrollable-footer{	
	border-bottom: 1px;
	border-top-width: 1px;
	
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-style: solid;
	
	border-bottom-color: #CCCCCC;
	border-left-color: #CCCCCC;
	border-top-color: #CCCCCC;
}

.scrollbar ::-webkit-scrollbar,
.scrollbar ::-webkit-scrollbar-thumb{
	border-left-color: white;
	border-left-style: solid;
	border-left-width: 1px;	
}

.scrollbar ::-webkit-scrollbar{
	height: 17px;
	background-color: white;
}

.scrollbar ::-webkit-scrollbar-thumb{
	background-color: #CCCCCC;
	cursor: pointer;
}

.scrollbar ::-webkit-scrollbar-button{
	background-repeat: no-repeat;
	background-position: center;	
	cursor: pointer;
}

.scrollbar ::-webkit-scrollbar-button:start{
	background-image: url("img/icone/ico-scroll-up.png.xhtml");
}
.scrollbar ::-webkit-scrollbar-button:end{
	background-image: url("img/icone/ico-scroll-down.png.xhtml");
}
/*end scrollbar*/

/*sort*/
.dataTableColumnSort th div.ui-dt-c span.ui-icon-carat-2-n-s{
	display: none; 
}

.dataTableColumnSort th div.ui-dt-c span.ui-icon-triangle-1-n,
.dataTableColumnSort th div.ui-dt-c span.ui-icon-triangle-1-s{
	display: inline-block; 
}

.dataTableColumnSort.ui-datatable th div.ui-dt-c span:not(.ui-sortable-column-icon):not(.ui-chkbox-icon):not(.ui-icon-search) {
	
	margin-right: 5px;	
	position: relative;	
	margin-top: 5px;
	display: inline-block;
}

.dataTableColumnSort.ui-datatable .ui-sortable-column-icon{
	position: relative;
	left: 2px;
}

.dataTableColumnSort.ui-datatable th div.ui-dt-c{
	padding: 0px;
	text-align: left;
}
.dataTableColumnSort.ui-datatable th.formatarNumero div.ui-dt-c{
	text-align: right;
}
/*end sort*/

/*paginador*/
.paginador{
	width: 100%;
	height: 24px;
	position: relative;
	font-size: 10pt;
	color: #000000;
	font-weight: normal;
}

.paginador #divPaginadorInformacao{
	width: 30%;
	height: 100%;
	float: left;
	position: relative;
}

.paginador #divPaginador{
	width: 70%;
	height: 100%;
	float: right;
	position: relative;
	display: table-cell;
	vertical-align: middle;
	text-align: right;
}

.paginador input[type="range"] {
   	-webkit-appearance: none !important;
   	background-image: url("img/icone/navbar-track.png.xhtml");
   	background-repeat: repeat-x;
	height: 16px;
   	min-width: 250px;
	width: auto;
	position: relative; 
	top: 2px; 
}

/*paginador temporario*/
.dataTablePaginador.ui-datatable .ui-paginator-current{
	font-size: 8pt;
	font-weight: normal;
}

.dataTablePaginador.dataTableScrollbar.ui-datatable .ui-datatable-scrollable-footer .ui-datatable-scrollable-header-box table td{
	border: none;
}	

.dataTablePaginador.ui-datatable .ui-paginator-bottom{
	padding: 1px;
	height: 25px;
}
.dataTablePaginador.ui-datatable .ui-datatable-footer{
	border-top-style: solid;
	border-top-width: 1px;
	border-color: #CCCCCC; 
}

.dataTablePaginador.ui-datatable .ui-datatable-footer{
	padding: 0px;
	border-left: none;
	border-right: none;
}

.paginador input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    background-image: url("img/icone/navbar-button.png.xhtml");
    height:16px;
    width:45px;
    background-repeat: no-repeat;
}

.paginador span {
	height: 16px;
	width: 16px;
	display: inline-block;
	margin: 0px;
	top: 2px;
	position: relative;
}

.paginador .page{
	position: relative;
	top: -1px;
	text-align: center;
	font-weight: normal;	
}

.paginador #btPaginaAnterior{
	background-image: url("img/icone/navbar-ico-previous.png.xhtml");
	background-repeat: no-repeat;
}

.paginador #btnProximaPagina{
	background-image: url("img/icone/navbar-ico-next.png.xhtml");
	background-repeat: no-repeat;
}


/* Detalhes data table */
.semBorda{
	border: none;	
}

.bordarDetalheDataTable{
	border-color: #DCDCDC;
	border-style: solid;
	border-width: 1px;
}

.detalheDataTable{
	padding: 0px !important;
	background: none;
	overflow: hidden;
	height: 0px;
	margin-top: 5px;	
}

/*header */
.cabecalhoDetalheTabela{
	padding-left: 10px;
	padding-top: 5px;
	padding-right: 5px;
	border: none;
	height: 30px;
	font-size: 12pt;
	color: black;
	background-color: white;
}
/*END header*/

.conteudoDetalheDataTable.ui-panel {
	padding: 0px;
	border: none;
	height: 100%;
	position: relative;
}

.detalheDataTable .ui-panel-content{
	padding: 0px !important;
	height: 100%;
}

.detalheDataTable .ui-icon-close{
	float: right;
	height: 16px;
	width: 16px;
	cursor: pointer;
}

/* END Detalhes data table */

/*panelGrid detalhe tabela*/
.panelGridDetalhe.ui-panelgrid{
	margin: 20px;
	border-spacing: 5px;
	border-collapse: separate;
}

.panelGridDetalhe > tbody > tr,
.panelGridDetalhe > tbody > tr > td{
	border: none;
	padding: 0px;
}

.panelGridDetalhe > tbody > tr > td:nth-child(odd) {
	text-align: right;
	white-space: nowrap;
}
.panelGridDetalhe > tbody > tr > td:nth-child(even) {
	font-weight: bold;
}
/*end panelGrid detalhe tabela*/

/*dataTable detalhe tabela*/
.tabViewDetalhe.tabView{
	width: 100%;
	bottom: -1px;
	position: absolute;
	top: 30px;
}

.dataTableDetalhe.dataTableColumnSort th div.ui-dt-c span:not(.ui-sortable-column-icon):not(.ui-icon-search) {
	top: 8px;
}

.dataTableDetalhe.dataTableColumnSort.ui-datatable .ui-sortable-column-icon{
	top: 8px;	
}

.dataTableDetalhe th div.ui-dt-c{
	height: 30px;	
}

.dataTableDetalhe.ui-datatable .ui-widget-content{
	border: none;
	background: white;
	color: black;
	height: 30px;
}

.dataTableDetalhe.ui-datatable .ui-datatable-data td{
	border: none;
}

.dataTableDetalhe .ui-datatable-scrollable-header table thead tr{
	height: 20px;
}

.dataTableDetalhe .ui-datatable-scrollable-header table thead tr th{
	border-left: none;
	border-right: none;
	border-top: none;
	
	border-bottom-style: solid;
	border-bottom-color: #DCDCDC;
	border-bottom-width: 1px; 	
	
}

.dataTableDetalhe.dataTablePaginador.ui-datatable .ui-paginator-current{
	left: 10px;
}

/*Primeira coluna*/
.dataTableDetalhe tr td:first-child .ui-dt-c,
.dataTableDetalhe th:first-child .ui-dt-c span{
	margin-left: 5px;
}

.dataTableDetalhe.ui-datatable{
	display: inline-block;
	width: 100%;
}

/*end dataTable detalhe tabela*/

/*Messages filtro */
div[id *='messageFiltro']{
	height: auto;
	margin: 0px;
	padding: 0px;
}

div[id *='messageFiltro'] .ui-messages-info {

	height: 23px;
	padding: 7px 7px 0px 0px;
	margin: 5px 0px 0px 0px;
	background-color: #F9EDBE;
	border-color: #F0C26D;
	
	color: black;
	font-weight: normal;
	
}

div[id *='messageFiltro'] .ui-messages-info .ui-messages-info-summary span {
	font-weight: bold;
}

div[id *='messageFiltro'] .ui-messages-info .ui-messages-info-summary{
	margin-left: 10px;
	font-weight: normal;
}

div[id *='messageFiltro'] .ui-messages-info ul {
	margin: 0px;	
}

div[id *='messageFiltro'] .ui-messages-info-icon{
	display: none;
}
/*end Messages filtro */

div[id *='filtroPeriodo'] span input {
	
	height: 10px;
}