html, body { font-family: "Times New Roman", Times, Georgia, serif; color: #555; margin: 0; padding: 0; letter-spacing: normal; line-height: 1.75; background-color: #fdfdfd;} /*background-color: #fdfdfd;*/
header {  padding: 24px 0 16px 0; text-align: center; box-shadow: 0 2px 6px #00336622; } /*background-color: #003366;color: white; */
main { padding: 40px 20px; max-width: 900px; margin: auto; line-height: 1.7; font-size: 14px; }
footer { background-color: #e0e0e0; color: #333; text-align: center; padding: 20px; margin-top: 40px; font-size: 0.95em; border-top: 1px solid #ccc; }
h1, h2 { font-weight: normal; }
h1 { font-size: 2em; margin-bottom: 0.2em; }
h2 { font-size: 1.5em; margin-bottom: 0.5em; }

p {font-style: normal; text-align: justify; text-indent: 1cm; margin-top: 0.95em; margin-bottom: 0.95em;  }
.epigrafe { font-weight: bold; margin-top: 20px; margin-bottom: 20px; color: #000080; text-align: center; font-size: 1.2em; text-decoration: underline;}
p.ementa { margin-bottom: 30px; color: #800000;  margin-left: 50%; text-indent: 0;}
p.ementa a { color: #800000; font-weight: normal;}
p.ementa a:hover { text-decoration: underline; }
.ordem_exec {font-weight: bold;}
.assina { font-weight: bold; text-align: justify; line-height: normal; margin-right: 0; margin-top: 0.95em; margin-bottom: 0; font-size: 2}
.cargo { text-align: justify; line-height: normal; margin-right: 0; margin-top: 0; margin-bottom: 0.95em; font-size: 2}
p.assina:not(:has(+ p.cargo)) { margin-bottom: 0.95em;}
p.cargo:not(:has(+ p.assina)) { margin-bottom: 1.5em;}
.rubrica { font-weight: bold; text-indent: 0; }
p.anexo{ margin: 28px auto 16px auto; width: 90%; padding: 12px 16px; background: #fafafa; border: 1px solid #d4d4d4; position: relative; font-weight: 700; }

p.anexo::after{  content: "";  position: absolute;  top: -1px;  right: -1px;  width: 0;  height: 0;  border-left: 16px solid transparent;  border-bottom: 16px solid #e6e6e6;}

.autoridade {font-weight: bold; display: inline; }
table { border-collapse: collapse; width: 100%; margin: 20px 0; background: #fff; page-break-inside: avoid;}
table, th, td { border: 1px solid #999; table-layout: auto; width: 100%; text-indent: 0;  white-space: nowrap; overflow-wrap: normal;}
td, th { padding: 2em; text-align: left; text-indent: 0; white-space: nowrap;}
table p { text-indent: 0; }
td p { text-indent: 0; }
tr:nth-child(even) { background-color: #f5f5f5; }
/* Links */
.pdf-link, .internal-link { color: #003366; font-size: 1.0rem; text-decoration: underline; font-weight: bold; }
a {color: #000080; font-weight: bold; text-decoration: none;}
.external-link { color: #003366; }
a.leg-planalto-link, a.normadinho-link { font-weight: normal;  }
a:hover, a.leg-planalto-link:hover, a.normadinho-link:hover { text-decoration: underline;}
/* Agregadores */
p.agregacao { margin: 2em 0; text-align: center; font-weight: bold;}
p.agregacao + p.agregacao { margin-top: 0; text-align: center; font-weight: bold;}
p.livro, p.titulo, p.capitulo, p.secao, p.subsecao { text-align: center; text-transform: uppercase; }
p.livro + p:not([class]), p.titulo + p:not([class]), p.capitulo + p:not([class]), p.secao + p:not([class]),
p.subsecao + p:not([class]) { text-align: center; text-transform: uppercase; }
p.retif-anchors { margin: .5rem 0 1rem; font-size: 0.9rem; color: #333; }
p.retif-anchors a { font-size: 0.9rem; text-decoration: underline; }
.imagem-revogada {
  /* Essencial: cria um contexto para posicionar as linhas sobre a imagem */
  position: relative; 
  /* Garante que o risco/X não saia da borda da imagem */
  display: inline-block; 
  line-height: 0; /* Ajuda a eliminar espaços extras */
}

.bloco_alt_groupo {
  background-color: #f4f4f4;       /* Fundo neutro */
  border: 1px dashed #999;         /* Borda tracejada */
border-left: 4px solid #ccc;  /* Barra vertical à esquerda */
  padding: 12px 16px;              /* Espaçamento interno do grupo */
  margin: 20px auto;               /* Espaçamento externo */
  width: 90%;                      /* Um pouco menor que a largura total */
}

.bloco_alt_groupo p.bloco_alt {
  margin: 8px 0;                   /* Reduz espaçamento entre parágrafos */
  text-indent: 1.5cm;              /* Maior indentação para diferenciar */
   font-size: 10pt;
  line-height: 1.6;
  color: #333;
}

.bloco_alt_groupo p.bloco_alt + p.bloco_alt { margin-top: 4px; }

/* Linha Diagonal 1 (Ex: da esquerda superior para a direita inferior) */
.imagem-revogada::before {
  content: ''; 
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px; /* Espessura da linha */
  background-color: red; 
  /* Cria uma linha diagonal */
  transform: rotate(45deg); 
  transform-origin: top left;
  z-index: 10;
}

/* Linha Diagonal 2 (Ex: da direita superior para a esquerda inferior) */
.imagem-revogada::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background-color: red;
  /* Cria a segunda linha diagonal, formando um 'X' */
  transform: rotate(-45deg); 
  transform-origin: top right;
  z-index: 10;
}

p.alerta {
    max-width: 860px;
    margin: 28px auto 32px auto;

    padding: 14px 18px;

    text-align: center;
    line-height: 1.6;

    background-color: #fdecea;        /* vermelho claro */
    color: #611a15;                   /* vermelho escuro legível */

    border: 1px solid #f5c6cb;
    border-left: 6px solid #c82333;   /* destaque vertical */

    border-radius: 6px;

    font-size: 1.05em;
    font-weight: 600;

    box-shadow: 0 2px 6px rgba(200, 35, 51, 0.15);
}
p.alerta strong { color: #c82333; letter-spacing: 0.03em; }
p.alerta a { color: #842029; text-decoration: underline; font-weight: 600; }
p.alerta a:hover { color: #4a0f0c; text-decoration: none; }

