.flex-container {
  display: -webkit-inline-flex; /* Safari */
  display: inline-flex;
  -webkit-flex-direction: row; /* Safari */
  flex-direction:         row;
  -webkit-flex-wrap: wrap; /* Safari */
  flex-wrap:         wrap;
}

body {
margin: 0;
font-family: "Arial",arial,sans-serif;
font-size: 100%;
}

textarea,input.campo {
font-family: "Courier New",courier;
font-size: 9pt;
font-weight: bold;
background-color: #d0d090;
border-width: 2px;
}

select.campo {
font-family: "Arial",arial,sans-serif;
font-size: 9pt;
margin: 0px;
font-weight: bold;
background-color: #d0d090;
border-width: 2px;
}

select.campo:focus,textarea.campo:focus,input.campo:focus {
background-color: #ffffc0;
}

p.campo_errado,font.campo_errado {
background-color: #d05050;
}

select.campo_errado {
background-color: #d05050;
}

input.campo_errado,textarea.campo_errado {
font-weight: bold;
background-color: #d05050;
}

select.campo_errado:focus,input.campo_errado:focus,textarea.campo_errado:focus {
background-color: #ff8080;
}

input.campo_busca {
font-family: "Courier New",courier;
font-size: 10pt;
font-weight: bold;
background-color: #d0d090;
}

input.campo_busca:focus {
background-color: #ffffc0;
}

div {
position: absolute;
border-style: none;
padding: 0;
margin: 0;
}

img,form,fieldset,table,tr,th,td {
border-style: none;
padding: 0;
margin: 0;
}

td {
padding: 2px;
}

img.clicavel {
cursor: pointer;
align: center;
vertical-align: middle;
padding: 2px;
}

p.chamar_atencao,input.chamar_atencao {
  animation: animacao-sombra_variavel 2s infinite;
}

@keyframes animacao-sombra_variavel {
	50% {
		text-shadow: 5px -5px 5px blue;
	}
}

img.chamar_atencao {
  animation: animacao-img-sombra_variavel 2s infinite;
}

@keyframes animacao-img-sombra_variavel {
	50% {
		filter: drop-shadow(5px -5px 5px blue);
	}
}

.pisca {
  animation: animacao-pisca 1s infinite;
}

@keyframes animacao-pisca {
	0% {
		filter: opacity(1);
	}
	50% {
		filter: opacity(0.1);
	}
}

table.zeropad,tr.zeropad,th.zeropad,td.zeropad {
padding: 0;
margin: 0;
}

th.cbp5 {
border: solid;
border-width: 1px;
border-color: black;
padding-left: 1px;
padding-right: 1px;
}

td.cbp5 {
border: solid;
border-width: 1px;
border-color: #404040;
padding-left: 1px;
padding-right: 1px;
}

th.L,td.L,td.td_L {
border-top: none;
border-bottom: solid;
border-bottom-width: 1px;
border-left: solid;
border-left-width: 1px;
border-right: none;
}

td.html_editavel {
background-color: #d0d090;
}

td.html_editavel:focus {
background-color: #ffffc0;
}

td.campo,th.campo,td.igual_campo,th.igual_campo,div.campo,div.igual_campo {
background-color: #f0f0e0;
padding-bottom: 2px;
}

td.campo:focus,th.campo:focus,div.campo:focus {
background-color: #909080;
}

td.grupo_titulo {
background-color: #606060;
}

td.campo_com_titulo {
background-color: #f0f0e0;
}

td.campo_com_titulo:focus {
background-color: #909080;
}

td.titulo_de_campo {
background-color: #f0f0e0;
}

td.titulo_de_campo:focus {
background-color: #909080;
}

/*
td.cat_orcamento {
background-color: #a6a628;
}
td.cat_orcamento:focus {
background-color: #86862d;
}
td.cat_servico {
background-color: #e68de6;
}
td.cat_servico:focus {
background-color: #c66dc6;
}
*/

tr.campo {
background-color: #f0f0e0;
width: 100%;
}

tr.campo_busca {
background-color: #cdcd96;
}

p,font,label,div,td {
font-family: "Arial",arial,sans-serif;
font-size: 9pt;
color: #000000;
text-indent: 0mm;
margin: 0mm;
}

p.atitude {
font-size: 10pt;
font-weight: bold;
padding-left: 5px;
padding-right: 5px;
}

p.atividade_nome {
font-size: 10pt;
font-weight: bold;
}

.radio_sim {
	font-weight: bold;
	color: #000000;
}

.radio_nao {
	font-weight: normal;
	color: #303030;
}

table.atividade_esq {
width: 100%;
border: solid;
border-width: 1px;
border-color: #606060;
}

table.atividade_dir {
width: 100%;
border: solid;
border-width: 1px;
border-color: #606060;
}

td.atividade {
background-color: #f0f0e0;
}

td.atividade_checkbox {
width: 23px;
}

td.atividade_orcamento_nome {
width: 75px;
}

td.atividade_servico_nome {
width: 60px;
}

td.atividade_item_nome {
width: 110px;
}

td.atividade_atitude {
width: 83px;
}

td.atividade_icone {
width: 22px;
}

hr.agenda {
background-color: black;
height: 5px;
}

.dica {
visibility: hidden; 
position: absolute;
left: 0px;
top: 0px; 
z-index: 2;
padding: 5px;
font-family: "Arial",arial,sans-serif;
font-size:12pt;
color: #fcfc00;
background-color: #6c6cff;
border-style: solid;
opacity: 0.9;
}

.qimagem {
visibility: hidden; 
position: absolute;
left: 0px;
top: 0px; 
z-index: 3;
padding: 3px;
border-style: none;
}

div.aviso {
z-index: 3;
background-color: #ffff00;
border-style: solid;
opacity: 0.9;
}

p.aviso {
padding: 10px;
text-indent: 0mm;
font-family: "Arial",arial,sans-serif;
font-size: 10pt;
color: #009c9c;
}

td.rel_aviso {
background-color: #101010;
}

p.rel_aviso {
padding: 10px;
text-indent: 0mm;
font-family: "Arial",arial,sans-serif;
font-size: 12pt;
color: #ffff20;
}

.letra_pequena {
font-size: 8pt;
}

.pad5 {
padding-left: 5px;
padding-right: 5px;
}

p.nf,label.nf,div.nf {
font-family: "Arial",arial,sans-serif;
color: #175365;
text-indent: 0mm;
margin: 0mm;
}

img.nf,form.nf,fieldset.nf,table.nf,th.nf,td.nf {
border-style: none;
padding: 0;
margin: 0;
}

table.nf {
border-style: solid;
border-width: 1px;
border-color: black;
border-collapse: collapse;
padding: 0.3em;
margin: 0;
}

th.nf,td.nf {
padding: 3px;
text-align: center;
}

hr.nf {
padding: 0;
margin: 0;
width: 100%;
}

.p1 {
	font-size: 1.2rem;
}

.p2 {
	font-size: 1.0rem;
}

.p3 {
	font-size: 0.8rem;
}

.em_09 {
	font-size: 0.9em;
	font-weight: bold;
}

.nf_20 {
font-size: 0.6em;
}

.nf_20b {
font-size: 0.6em;
font-weight: bold;
}

.nf_25 {
font-size: 0.8em;
}

.nf_25b {
font-size: 0.8em;
font-weight: bold;
}

.nf_30 {
font-size: 1em;
}

.nf_30b {
font-size: 1em;
font-weight: bold;
}

.nf_45b {
font-size: 1.5em;
font-weight: bold;
}

.p01 {
font-size: 8pt;
font-weight: bold;
}

.p09 {
font-size: 9pt;
vertical-align: middle;
padding-left: 5px;
padding-right: 5px;
}

.p10 {
font-size: 10pt;
vertical-align: middle;
padding-left: 5px;
padding-right: 5px;
}

.p10b {
font-size: 10pt;
font-weight: bold;
vertical-align: middle;
padding-left: 5px;
padding-right: 5px;
}

.p12b {
font-size: 12pt;
font-weight: bold;
vertical-align: middle;
padding-left: 5px;
padding-right: 5px;
}

.p14b {
font-size: 14pt;
font-weight: bold;
vertical-align: middle;
padding-left: 5px;
padding-right: 5px;
}

.p20b {
font-size: 20pt;
font-weight: bold;
vertical-align: middle;
padding-left: 5px;
padding-right: 5px;
}

.titulo {
font-size: 10pt;
font-weight: bold;
display: inline;
vertical-align: middle;
}

.subtitulo {
font-size: 9pt;
font-weight: bold;
display: inline;
vertical-align: middle;
}

.sinais {
font-size: 11pt;
font-weight: bold;
display: inline;
vertical-align: middle;
}

.titulo_tabela {
font-size: 11pt;
font-weight: bold;
color: #ffffff;
background-color: #606060;
}

p.grupo_titulo {
font-size: 9pt;
font-weight: bold;
color: #ffffff;
background-color: #606060;
}

p.texto_infotd_item {
font-size: 9pt;
line-height: 1.0;
}

p.texto_infotd_subitem {
font-size: 9pt;
line-height: 1.0;
text-indent: 10mm;
}

p.texto_opacesso_item {
font-size: 10pt;
line-height: 1.0;
}

p.texto_opacesso_explica {
font-size: 10pt;
line-height: 1.0;
font-style: italic;
margin-left: 10mm;
}

p.texto_opacesso_opcoes {
font-size: 10pt;
line-height: 1.0;
margin-left: 10mm;
}

hr.relatorio {
padding: 0mm;
width: 100%;
}

@media not print {

	p.relatorio_titulo_pagina {
	font-size: 1.5em;
	font-weight: bold;
	}
	
	p.relatorio_titulo_secao {
	font-size: 1.2em;
	font-weight: bold;
	}
	
	p.relatorio_texto_cabecalho {
	font-size: 1em;
	font-weight: bold;
	}
	
	p.relatorio_texto,font.relatorio_texto {
	font-size: 1em;
	}

}

@media print {

	p.relatorio_titulo_pagina {
	font-size: 4mm;
	font-weight: bold;
	}
	
	p.relatorio_titulo_secao {
	font-size: 3.5mm;
	font-weight: bold;
	}
	
	p.relatorio_texto_cabecalho {
	font-size: 3mm;
	font-weight: bold;
	}
	
	p.relatorio_texto,font.relatorio_texto {
	font-size: 3mm;
	}

}

table.relatorio_tabela_fechada {
border-style: solid;
border-width: 1px;
border-color: black;
border-collapse: collapse;
}

th.relatorio_tabela_fechada,td.relatorio_tabela_fechada {
border-style: solid;
border-width: 1px;
border-color: black;
padding-left: 1mm;
padding-right: 1mm;
padding-top: 1mm;
padding-bottom: 1mm;
text-align: center;
}

th.relatorio,td.relatorio {
padding-left: 1mm;
padding-right: 1mm;
border-top: none;
border-bottom: solid;
border-bottom-width: 1px;
border-left: solid;
border-left-width: 1px;
border-right: none;
}

p.anexo_nome_servico {
font-size: 12pt;
font-weight: bold;
}

p.anexo_titulo_secao {
font-size: 10pt;
line-height: 0.8;
font-weight: bold;
}

p.anexo_texto {
font-size: 10pt;
line-height: 1.1;
}

hr.laudo {
padding: 0mm;
width: 100%;
}

p.laudo_nome_servico {
font-size: 14pt;
font-weight: bold;
}

p.laudo_titulo_pagina {
font-size: 11pt;
line-height: 0.8;
font-weight: bold;
}

p.laudo_titulo_secao {
font-size: 11pt;
line-height: 0.8;
font-weight: bold;
}

td.laudo_titulo_secao {
padding: 0mm;
padding-left: 0mm;
}

p.laudo_texto_cabecalho {
font-size: 11pt;
line-height: 0.8;
}

p.laudo_texto {
font-size: 11pt;
line-height: 1.2;
}

td.laudo_texto {
padding: 0mm;
padding-left: 8mm;
}

p.laudo_formula {
font-size: 9pt;
font-weight: bold;
}

td.laudo_formula {
padding: 1mm;
padding-left: 15mm;
}

p.laudo_bibliografia {
font-size: 8pt;
font-weight: bold;
}

p.laudo_obs_bibliografia {
font-size: 8pt;
}

td.laudo_bibliografia {
padding: 0mm;
padding-left: 8mm;
}

table.laudo_tabela_fechada {
border-style: solid;
border-width: 1px;
border-color: black;
border-collapse: collapse;
}

th.laudo_tabela_fechada,td.laudo_tabela_fechada {
border-style: solid;
border-width: 1px;
border-color: black;
padding-left: 3mm;
padding-right: 3mm;
padding-top: 1mm;
padding-bottom: 1mm;
text-align: center;
}

table.AvisoGuias_tabela {
	border-collapse: collapse;
	border: 0.3mm solid black;
}

td.AvisoGuias_quadro {
	padding: 2mm;
	border: 0.3mm solid black;
}

hr.DARF {
	width: 100%;
	height: 0.3mm;
	margin: 5mm;
	padding: 0mm;
	color: gray;
}

table.DARF_tabela {
	width: 90%;
	height: 100%;
	margin-left: 7%;
	margin-right: 3%;
	margin-top: 18mm;
	margin-bottom: 18mm;
	padding: 0mm;
	border-collapse: collapse;
	border: none;
}

table.DARF_subtabela {
	width: 100%;
	height: 100%;
	margin: 0mm;
	padding: 0mm;
	border-collapse: collapse;
	border: none;
}

td.DARF_quadro_A1 {
	width: 50%;
	padding: 2mm;
	border: 0.3mm solid black;
}

td.DARF_quadro_B1 {
	width: 25%;
	height: 8mm;
	padding: 2mm;
	border: 0.3mm solid black;
}

td.DARF_quadro_B2 {
	width: 50%;
	height: 16mm;
	padding: 2mm;
	border: 0.3mm solid black;
}

td.DARF_quadro_C1 {
	width: 25%;
	text-align: right;
	padding: 2mm;
	border: 0.3mm solid black;
}

@media not print {

	.DARF_letra_20 {
		display: inline;
		vertical-align: middle;
		font-size: 1em;
	}
	
	.DARF_letra_25b {
		display: inline;
		vertical-align: middle;
		font-size: 1.2em;
		font-weight: bold;
	}
	
	.DARF_letra_30b {
		display: inline;
		vertical-align: middle;
		font-size: 1.5em;
		font-weight: bold;
	}

}

@media print {

	.DARF_letra_20 {
		display: inline;
		vertical-align: middle;
		font-size: 2mm;
	}
	
	.DARF_letra_25b {
		display: inline;
		vertical-align: middle;
		font-size: 2.5mm;
		font-weight: bold;
	}
	
	.DARF_letra_30b {
		display: inline;
		vertical-align: middle;
		font-size: 3mm;
		font-weight: bold;
	}

}

.link {
text-decoration: underline;
color: blue;
cursor: pointer;
}

p.ajuda_titulo {
font-size: 1.2em;
font-weight: bold;
text-align: center;
}

p.ajuda_texto {
font-size: 1em;
}

.fundo_claro {
	background-color: #e6e6e6;
}

.fundo_medio {
	background-color: #d6d6d6;
}

.fundo_escuro {
	background-color: #b6b6b6;
}

.botao {
font-family: "Arial",arial,sans-serif;
font-size:11pt;
color: #494949;
background-color: #f7f773;
font-weight: normal;
height: 26px;
width: 70px;
text-align: center;
padding: 2px;
cursor: pointer;
text-decoration: none;
border-width: 1px;
border-top-color: #00dcdc;
border-left-color: #00dcdc;
border-bottom-color: #00dcdc;
border-right-color: #00dcdc;
border-style: outset;
/* border-radius: 8px; */
}

.botao:hover {
color: #494949;
background-color: #c0ca02;
border-color: #80dfdf;
}

.botao:focus {
color: #393939;
background-color: #d0da12;
border-color: #80dcdc;
}

.botao:active {
color: #292929;
background-color: #fffcfc;
border-color: #ffdcdc;
}

.botao_invisivel {
	height: 0px;
	width: 0px;
	border: 0px;
	margin: 0px;
	padding: 0px;
}

.botao_com_imagem {
background-color: transparent;
background-repeat: no-repeat;
background-position: center center;
height: 30px;
width: 30px;
border: 0px;
cursor: pointer;
display: inline;
vertical-align: middle;
margin-left: 0px;
}

.botao_com_imagem:focus {
border-width: 1px;
border-top-color: #00dcdc;
border-left-color: #00dcdc;
border-bottom-color: #00dcdc;
border-right-color: #00dcdc;
border-style: outset;
/* border-radius: 8px; */
}

.mini_botao {
height: 22px;
width: 22px;
margin-left: 2px;
}

.tarefa {
background-color: #606060;
}

.tarefa:hover {
background-color: #a0a0a0;
}

@media print,screen {
	thead.cab {
		display: table-header-group;
	}
	tbody.cab {
		display: table-row-group;
	}
	.quebra_pagina_antes {
		break-before: page;
	}
	.quebra_pagina_depois {
		break-after: page;
	}
}

.ui-autocomplete {
max-height: 250px;
overflow-y: auto;
/* prevent horizontal scrollbar */
overflow-x: hidden;
}

.ui-autocomplete-loading {
	background: white url('ui-anim_basic_16x16.gif') right center no-repeat;
}

/* IE 6 doesn't support max-height
* we use height instead, but this forces the menu to always be this tall
* html .ui-autocomplete {
height: 250px;
}
*/

.ui-datepicker .ui-datepicker-header {
	position: relative;
	padding: 1.0em 2.0em;
}

.ui-datepicker .ui-datepicker-title {
	margin: 0 2.6em;
	line-height: 0.1em;
	text-align: center;
}
