/*
Estilos personalizados com base no HTML exportado pelo Libre Office (tem que colocar dentro do id “CorpoLei“ para funcionar corretamente)
Mudança de tamanhos em relação ao HTML gerado pelo Libre Office - font-size:xxpt;
10 foi pra 12
12 foi pra 14
14 foi pra 16
16 foi pra 18
95% (Ñ trocado)
PARA CONTROLAR QUEBRAS DE PÁGINA PARA A IMPRESSÃO (já coloquei na Úª linha que separa a introdução, estilo direto no elemento): page-break-before: always; ou page-break-after: always;
Estilos de link (a:...) personalizados para o texto da lei. Se precisar link em outro lugar, fazer fora do DIV “CorpoLei“
IMPORTANTE: estava com aviso em todos os estilos com margin-left margin-right margin-top margin-bottom, dizendo que podia trocar por margin (que define as 4)
A sintaxe de margin é top right bottom left (mnemônico sentido horário)
*/
#Conteudo .Intro { font-size: 12pt; font-family: FreeSans; margin-left: 2cm; margin-right: 2cm; line-height: 115%; text-align: justify; }
#CorpoLei a:link { color: inherit; text-decoration: underline dotted; background-color: #dee7e5; }
#CorpoLei a:visited { color: inherit; text-decoration: underline dotted; background-color: #e8f2a1; }
#CorpoLei a:hover { color: inherit; text-decoration: underline dotted; background-color: #ffb66c; }
#CorpoLei a:active { color: inherit; text-decoration: underline dotted; background-color: #bbe33d; }
#CorpoLei table { border: 5px ridge; margin-top: 0.5cm; width: 100%; }
#CorpoLei th { border: 1px solid; vertical-align: middle; padding: 0.15cm; font-size: 12pt; font-family: FreeSans; line-height: 115%; color: black; background-color: #eeeeee; font-weight: bold; text-align: center; }
#CorpoLei td { border: 1px solid; vertical-align: middle; padding: 0.15cm; font-size: 12pt; font-family: FreeSans; line-height: 115%; color: black; background-color: #f8f8f8; text-align: justify; }
/*
#CorpoLei ol { list-style-position: inside; }
#CorpoLei li { font-size: 12pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin: 0.2cm 0 0 0; line-height: 115%; text-align: justify; }
*/
#CorpoLei .Recuo { padding-left: 1cm; }
#CorpoLei .Centralizado { text-align: center; }
#CorpoLei .Direito { text-align: right; }
#CorpoLei .Esquerdo { text-align: left; }
.Ref, #CorpoLei .Ref { color: #0000ff; background-color: #ffff00; }
.OutraLei, #CorpoLei .OutraLei { color: #F06000; }
.Novidade, #CorpoLei .Novidade { color: #008000; }
.Destaque, #CorpoLei .Destaque { color: #008000; background-color: #ffff00; }
.Realce, #CorpoLei .Realce { background-color: #ffff00; }
.Erro, #CorpoLei .Erro { color: #ff0000; background-color: #ffff00; font-weight: bold; }
#CorpoLei .Negrito { font-weight: bold; }
#CorpoLei .Italico { font-style: italic; }
#CorpoLei .NormalItalico { font-weight: normal; font-style: italic; }
#CorpoLei .Figura { padding: 0; text-align: center; }
#CorpoLei .Teste { font-size: 8pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin: 1cm 0 0 0; line-height: 115%; text-align: justify; }
.Cabec { color: #808000; }
#CorpoLei .Cabec1 { font-size: 18pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin-top: 0.3cm; margin-bottom: 0; line-height: 115%; text-align: center; font-weight: bold; color: #808000; }
#CorpoLei .Cabec2 { font-size: 16pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin-top: 0; margin-bottom: 0; line-height: 115%; text-align: center; font-weight: bold; color: #808000; }
#CorpoLei .Cabec3 { font-size: 14pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin-top: 0; margin-bottom: 0; line-height: 115%; text-align: center; font-weight: bold; color: #808000; }
.Epigrafe { color: #000080; }
#CorpoLei .Epigrafe { font-size: 12pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin-top: 0.5cm; margin-bottom: 0; line-height: 115%; text-align: center; font-weight: bold; color: #000080; }
.Ementa { color: #800000; }
#CorpoLei .Ementa { font-size: 12pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin: 2cm 0 0 9.5cm; line-height: 115%; text-align: justify; text-indent: 0; color: #800000; }
#CorpoLei .Preambulo { font-size: 12pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin-top: 2cm; margin-bottom: 0; line-height: 115%; text-align: justify; }
#CorpoLei .Agrupamento { font-size: 12pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin: 0.5cm 0 0 0; line-height: 115%; text-align: center; font-weight: bold; }
#CorpoLei .AgrupExterno { font-size: 12pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin: 0.5cm 0 0 3.5cm; line-height: 115%; text-align: center; font-style: italic; font-weight: bold; }
#CorpoLei .AgrupExternoSemRecuo { font-size: 12pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin: 0.5cm 1.5cm 0 1.5cm; line-height: 115%; text-align: center; font-style: italic; font-weight: bold; }
#CorpoLei .Dispositivo { font-size: 12pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin: 0.2cm 0 0 0; line-height: 115%; text-align: justify; text-indent: 2cm; }
#CorpoLei .DispExterno { font-size: 12pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin: 0.2cm 0 0 3.5cm; line-height: 115%; text-align: justify; text-indent: 2cm; font-style: italic; font-weight: normal; }
#CorpoLei .DispSemRecuo { font-size: 12pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin: 0.2cm 0 0 0; line-height: 115%; text-align: justify; }
#CorpoLei .DispSemRecuoExterno { font-size: 12pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin: 0.2cm 1.5cm 0 1.5cm; line-height: 115%; text-align: justify; font-style: italic; font-weight: normal; }
#CorpoLei .LocalData { font-size: 12pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin-top: 1cm; margin-bottom: 0; line-height: 115%; text-align: justify; }
#CorpoLei .Assinatura { font-size: 12pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin-top: 2cm; margin-bottom: 0; line-height: 115%; text-align: left; }
/* LocalDataCentro tem um espaço acima um pouco maior que LocalData */
#CorpoLei .LocalDataCentro { font-size: 12pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin-top: 3cm; margin-bottom: 0; line-height: 115%; text-align: center; }
#CorpoLei .AssinaturaCentro { font-size: 12pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin-top: 2cm; margin-bottom: 0; line-height: 115%; text-align: center; }
#CorpoLei .Afastamento { font-size: 12pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin-top: 1.5cm; margin-bottom: 1.5cm; line-height: 115%; }
#CorpoLei .Geral { font-size: 12pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin: 0.2cm 0 0 0; line-height: 115%; text-align: center; }
.Aviso, #CorpoLei .Aviso { color: #004444; background-color: #ffff00; font-weight: bold; }
#CorpoLei .Nota { font-size: 10pt; color: #333333; background-color: #dddddd; font-style: italic; }
.Nota { color: #333333; background-color: #dddddd; font-style: italic; }
#CorpoLei .Justificativa { font-size: 12pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin: 0.3cm 0 0 0; line-height: 125%; text-align: justify; text-indent: 2.5cm; }
#CorpoLei .Motivo { font-size: 12pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin: 0.3cm 0 0 0; line-height: 125%; text-align: justify; }
#CorpoLei .NumExpMot { font-size: 12pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin: 1.5cm 0 0 0; line-height: 115%; text-align: justify; }
#CorpoLei .DataExpMot { font-size: 12pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin: 1.5cm 0 0 0; line-height: 115%; text-align: right; }
#CorpoLei .PreExpMot { font-size: 12pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin: 3.5cm 0 1cm 0; line-height: 115%; text-align: justify; }
#CorpoLei .PosExpMot { font-size: 12pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin: 1.5cm 0 2cm 0; line-height: 115%; text-align: justify; }
/*
A numeração poderia ser feita via CSS, pesquisar melhor... Por outro lado, tudo pronto no PHP, será que compensa?
body { counter-reset: ContaArtigo; counter-reset: ContaParagrafo; counter-reset: ContaInciso; counter-reset: ContaAlinea; counter-reset: ContaItem; }
#CorpotLei .Artigo .Paragrafo .Inciso .Alinea .Item { font-size: 12pt; font-family: FreeSans; writing-mode: horizontal-tb; direction: ltr; margin: 0.2cm 0 0 0; line-height: 115%; text-align: justify; text-indent: 2cm; }
#CorpotLei .Artigo:before { counter-increment: ContaArtigo; content: "<b>Art. " counter(ContaArtigo) "º</b> "; } 
#CorpotLei .Paragrafo::before { counter-increment: ContaParagrafo; content: "<b>§ " counter(ContaParagrafo) "º</b>&ensp"; } 
#CorpotLei .Inciso::before { counter-increment: list; content: counter(list, upper-roman) "&ensp;–&ensp;"; } 
#CorpotLei .Alinea::before { counter-increment: list; content: counter(list, lower-alpha) ")&ensp;"; } 
#CorpotLei .Item::before { counter-increment: ContaItem; content: "<b>§ " counter(ContaItem) "º</b> "; } 
*/