html, body {
	font-family:Tahoma, Arial, Verdana;
}

h1 span {
	color:#666;
	font-size:60%;
}

/*=== msg carregando ===*/

#carregando_cont {
	float:right;
	padding-right:112px;
}

#carregando {
	position:fixed;
	top:10px;
	width:80px;
	padding:6px 6px 6px 26px;
	background:#FFF url(../img/icons/ajax-loader.gif) no-repeat 6px center;
	border:1px solid #CCC;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	opacity:0.9;
}

#carregando_cont .erro {
	width:200px;
	padding:6px;
	background:#FCC !important;
}

.esmaecido {
    color:#666;
    font-style:italic;
}

/*=== Formulario de busca ===*/

/*= genericos =*/

.busca {
	clear:both;
}

	.busca label {
		float:left;
	}
	
	.busca input {
		padding:2px 4px;
	}

	.busca input,.busca select {
		border:1px solid #BBB;
		margin:0 0 3px 0;
		font-family:Verdana;
		font-size:9pt;
	}
	
		.busca .esquerda div, .busca .centro div, .busca .direita div {
			border-bottom:1px solid #EEEEEE;
			padding-bottom:3px;
			margin-bottom:6px;
		}

        label.tipos {width:100px;}
		.busca .centro label {width:152px;}
		.busca .direita label {width:70px;}

	.busca ul {
		margin:0;
		padding:0;
		list-style:none;
	}

		
	/*= titulo =*/
	
	.busca .titulo {
		border-left:4px solid #000;
		border-top:1px solid #EEE;
		border-bottom:1px solid #EEE;
		margin-bottom:6px;
	}

		.busca .titulo .controle {
			float:left;
			width:238px;
			background:#EEE;
			padding:3px 0 3px 12px;
			font-size:14pt;
			margin-right:25px;
		}

		.busca .titulo input {
			margin:0;
			vertical-align:text-bottom;
		}
		
		.busca .titulo .submit {
			margin:0 0 0 12px;
			background-color:#FFF;
			background-repeat:no-repeat;
			background-position:4px center;
			padding-left:20px;
		}

		.busca .titulo .procura {
			background-image:url(http://www.onid.org.br/media/estatico/images/icons/magnifier.png);
		}
		
		.busca .titulo .procurando {
			background-image:url(../img/icons/ajax-loader.gif);
		}
		
		.busca .titulo .centro, .busca .titulo .direita {
			margin-top:6px;
		}


.busca ul label {
	font-weight:normal;
	font-size:90%;
	width:auto !important;
	float:none;
}

.busca .centro li {
	float:left;
	width:94px;
}

#id_apenas_atualizados, .busca ul input {
	margin:2px 0 0 0;
}

/*= especificos =*/

.busca .status {
	height:100px;
	overflow:auto;
}

#id_uf {
	margin-right:60px;
}

/*= select programas =*/

.busca div.programasContainer {
	padding:0;	
	margin:0 0 6px 0;
	border:0;
}

.busca .programasContainer select {
	font-size:80%;
}

.busca div.programasContainer ol {
	margin:0;
	padding:0;
}

.busca div.programasContainer li {
	padding:2px 4px;
	border-top:1px solid #FFF;
	border-left:1px solid #FFF;
	border-right:1px solid #DDD;
	border-bottom:1px solid #DDD;
	background:#F5F5F5;
}

.busca div.programasContainer a {
	display:block;
	float:left;
	width:16px;
	height:16px;
	margin-right:6px;
	text-indent:-100px;
	overflow:hidden;
	background:url(../img/icons/16-circle-red-delete.png) no-repeat center;
	
}

/***/

input.procura {
	height:auto;
	margin-bottom:0;
	background-image:none;
}

h4 {
	margin:10px 50px;
	font-size:12pt;
	font-weight:bold;
}

h4.resultado_busca {
	padding-top:50px;
	text-align:center;
}

hr {
	margin:0;
	height:1px;
}

.error, .notice, .success {
	margin:0 !important;
}

#referencia {
	position:fixed;
	bottom:10px;
}

#referencia div.procura {
    padding:3px 2px 2px 8px;
    border-left:1px solid #D8B6B6;
    border-top:1px solid #D8B6B6 !important;
}

#referencia input.procurando {
	background:#FFF url(../img/icons/ajax-loader.gif) no-repeat right center;
}

#referencia div.resultado {
	background-color:#FFF;
	border:1px solid #CCC;
	border-top:none;
	display:none;
}

#referencia div.resultado div, div.detalhes div.container div {
	padding:4px;
}

#referencia span.fechar {
	padding-left:750px
}
#referencia span.fechar a {
	padding:4px;
	background:url(../img/botao_fechar.png) no-repeat center;
}

/* tabela.dados */

p.paginacao {
	margin:10px 0 4px;
}

	p.paginacao .nav {
		float:right;
	}
	
	p.paginacao select {
		margin:0;
	}

table.dados {
	border-top:1px solid #D8B6B6;
	margin:0;
}

table.dados th, table.dados td {
    padding:4px 6px 2px;
    border-bottom:1px solid #EEE;
}

table.dados tr {
	background-color:#F8F8F8;
}

table.dados tr.selecionado td {
	border-top:3px solid #CCC;
	background:#FFF url('../img/bg_tr_aberto.gif') repeat-x left top !important;
}

table.dados tr.selecionado td.nome span {
	background:url(../img/sorter-small-asc.gif) no-repeat 4px center;
	padding-left: 20px;
}

table.dados tr.detalhes td {
	border-bottom:3px solid #CCC;
	background-color:#FFF;
}

table.dados tr.detalhes td a.link_referencia {
	background:#FFC;
}

table.dados td.pc {
    border-left:1px solid #EEE;
	border-right:1px solid #EEE;
	padding:0 8px;
}

table.dados td.icone div {
	width:16px;
	height:16px;
	margin:0 auto;
}

/* icones */

.cad {background:url(../img/icons/tipo.gif) no-repeat right 0;}
.pre {background:url(../img/icons/tipo.gif) no-repeat right -16px;}

.atualizado {background:url(../img/icons/atualizado.gif) right 0;}
.natualizado {background:url(../img/icons/atualizado.gif) right -16px;}

.pendente, .aprovado, .reprovado, .incompleto {background-image: url(../img/icons/status.gif);}

.pendente {background-position:right -32px !important;}
.aprovado {background-position:right -16px !important;}
.reprovado {background-position:right 0 !important;}
.incompleto {background-position:right -128px !important;}

.salvar {background:url(../img/icons/salvar.gif) no-repeat right 0;}
.salvar-desligado {background:url(../img/icons/salvar.gif) no-repeat right -16px;}

.editar {background:url(../img/icons/mini_editar.gif) no-repeat right center;}
.cancelar {background:url(../img/icons/cancelar.gif) no-repeat right center;}
.mais {background:url(../img/icons/mais.gif) no-repeat right center;}
.csv {background:url(../img/icons/csv.gif) no-repeat right center;}
.editar {background:url(../img/icons/mini_editar.gif) no-repeat right center;}
.glo {padding-top:2px; padding-bottom:2px; background:url(../img/icons/16-world.png) no-repeat right center;}

.email, .telefone {
    margin-right:0 !important;
}

.email {background:url(../img/icons/email.gif) no-repeat left center;}
.telefone {background:url(../img/icons/telefone.gif) no-repeat left center;}

/* cores */

.verde {color:#00AA00;}

.vermelho {color:#DE0000;}

/* .detalhes */

.detalhes .linha {
	margin-top:8px;
	margin-bottom:8px;
}

.paginacao .icone, .detalhes .icone {
	width:16px;
	height:16px;
	margin-right:8px;
	text-indent:-500px;
	overflow:hidden;
	display:inline-block;
	vertical-align:bottom;
}

.paginacao .icone {
	margin-right:2px
}

.detalhes .texto-icone {
	padding-right:20px;
	background-repeat:no-repeat;
}


.detalhes a.icone:hover, .detalhes a.texto-icone:hover {
	background-color:#FFE;
}

.detalhes p {
	margin:6px 0 0;
	line-height:1.3em;
}

.detalhes ul.lista {
	margin:0;
	padding:0;
}

.detalhes ul.lista li {
	list-style:none;	
	margin:0 0 4px 0;
	background:url(http://www.onid.org.br/media/estatico/images/icons/bullet_blue.png) no-repeat 0 0;
	padding:0 0 0 20px;
}

.detalhes .detalhe_nome, .detalhe_nome_maior {
	width:140px;
	display:inline-block;
}

.detalhe_nome_maior {
    width:200px;
}

.detalhes .semana {
	color:#DDD;
	font-weight:bold;
}

.detalhes .semana .final {
	color:#FCC;
}

.detalhes .semana .ativo {
	color:#000;
}

.detalhes .semana .final.ativo {
	color:#C00;
}

.detalhes ul.historico, .detalhes .historico li {
	list-style:none;
	margin:0;
	padding:0;
}

.detalhes .historico li {
	padding:4px 0;
}

.detalhes .historico span {
	vartical-align:top;
}

.detalhes .historico .data {
	display:inline-block;
	font-weight:bold;
	width:90px;
}

.detalhes .historico .usuario {
	display:inline-block;
	width:200px;
}

.detalhes .historico .observacao {
	display:inline-block;
	margin-left:105px;
	font-size:8pt;
}

.detalhes p.obs, .detalhes .justificativa p {
	position:relative;
}

.detalhes .obs textarea {
	width:100%;
	height:60px;
	font-family:Verdana;
	font-size:8pt;
}

.detalhes p.obs a {
	position:absolute;
	right:-6px;
	top:-18px;
}

.detalhes .acoes a {
	display:inline-block;
	width:115px;
	padding:4px;
	border:1px solid #CCCCCC;
	-moz-border-radius: 5px;
	background:#EEE url(../img/bg_botao.gif);
}

.detalhes .acoes ul a.selecionado {
	background-color:#FFD;
	-moz-border-radius-bottomleft:0;
	-moz-border-radius-bottomright:0;
}

.detalhes .acoes ul ul a:hover {
	background-color:#FFE;
}

.detalhes .acoes ul {
	list-style:none;
	margin:0;
}

.detalhes .acoes ul li {
	float:left;
	margin:0 10px 10px 0;
}

.detalhes .acoes ul ul li {
	float:none;
	margin:0;
}

.detalhes .acoes ul ul li a {
	border:1px solid #CCC;
	border-top:none;
	-moz-border-radius:0;
	background:#FFF;
}

.detalhes .acoes ul ul li a.ultimo {
	-moz-border-radius-bottomleft:5px;
	-moz-border-radius-bottomright:5px;
}

.detalhes .acoes ul ul {
	position:absolute;
}

.detalhes .justificativa textarea {
	height:43px;
	width:100%;
	font-family:Verdana;
	font-size:8pt;
}

.detalhes .justificativa a.salvar, .detalhes .justificativa a.salvar-desligado {
	position:absolute;
	right:20px;
	top:-18px;
}

.detalhes .justificativa a.cancelar {
	right:-6px;
	top:-18px;
	position:absolute;
}


/* janelas de detalhes */

.detalhes .detalhe {
	position:absolute;
	padding:6px;
	border:1px solid #CCC;
	background:#FFE;
	z-index:10;
}

table.dados tr:hover td {
	background-color:#FFE !important;
	cursor:pointer;
}

table.dados tr.detalhes:hover td {
	background-color:#FFF !important;
	cursor:default;
}


table.dados th, #referencia div.procura {
    background:#EED6D6 url(../img/bg_th.png) no-repeat;
    border-top:none;
    border-right:1px solid #D8B6B6;
    border-bottom:1px solid #D8B6B6;
	color:#4A2E2E;
}

table.dados th.min {
	width:32px;
}

table.dados td.center {
    text-align:center;
}

table.dados td.num {
    text-align:right;
}

div.opcoes a {
	display:block;
	float:left;
	width:16px;
	height:16px;
	margin-right:4px;
	overflow:hidden;
	text-indent:-500px;
	background-repeat:no-repeat;
	background-color:#FFF !important;
}

div.opcoes a {
	margin:4px;
}

div.opcoes a.del {
	background-image:url(../img/icons/16-circle-red-delete.png);
}

div.opcoes a.aut {
	background-image:url(../img/icons/16-circle-green-check.png);
}

div.opcoes a.edi {
	background-image:url(../img/icons/16-tool-a.png);
}

div.opcoes a.ver {
	background-image:url(../img/icons/16-zoom.png) !important;
}

div.opcoes a.res {
	background-image:url(../img/icons/16-circle-blue.png) !important;
}

#referencia div.opcoes a.ver {
	display:none;
}

div.opcoes a.oni {
	background-image:url(../img/icons/16-onid.png);
}

table.dados div.detalhes dl {
	margin: 2em 0;
	padding: 0;
}

/* tablesorter */

table.dados th {
    cursor: pointer;
}

table.dados span.order {
        float:left;
}

table.dados th.sortUp, table.dados th.sortDown {
	color:#000;
    background-color:#F6EBEB;
    border-right:1px solid #D8B6B6;
    border-bottom:1px solid #D8B6B6;
}

table.dados th.sortUp span.order, table.dados th.sortDown span.order {
    width:7px;
    height:4px;
    margin:7px 6px 0 0;
}

table.dados th.sortUp span.order {
    background-image: url(../img/sorter-small-desc.gif);
}

table.dados th.sortDown span.order {
    background-image: url(../img/sorter-small-asc.gif);
}
