﻿/* Estilo geral do corpo */
body {    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;  // Garante que o texto quebre as linhas conforme necessário
    background-color: none !important;
    text-rendering: geometricPrecision;
    margin-top: 1cm;
    font-family: 'arial', Courier, monospace;
    font-size: 14pt;
    line-height: 1.5;
    text-align: justify;
}
* {
    box-sizing: border-box;
}
p {
    margin: 0;
}

p.texto {
    text-align: justify;
    text-indent: 1.25cm;
}


#Conteudo{background-color: none !important;}
.xCorpo{background-color: none !important; text-align: justify;}
/* Esconder elementos desnecessários na impressão */
@media print {
    
    .barra, #preloader, .no-print, nav {
        display: none !important;
        visibility: hidden;
    }
    footer {position: absolute; right: 0px; bottom: 0px}
    .editable {
                border: none;
                padding: 0;
            }

            /* Desativa o contenteditable na impressão */
            [contenteditable]:before {
                content: attr(contenteditable);
                display: none;
            }

            [contenteditable] {
                contenteditable: false;
                -webkit-user-modify: read-only;
                -moz-user-modify: read-only;
                -ms-user-modify: read-only;
                user-modify: read-only;
            }
    .marcadagua {
        position: fixed;
        top: 0;
        left: 0;
        width: 19cm; /* largura da folha A4 */
        height: 29.7cm;
        z-index: -1;
        background: url("/imagens/marca_dagua.jpg") no-repeat center center;
        background-size: 60%; /* Ajuste conforme necessário */
        opacity: 0.1;
        pointer-events: none;
    }
    #DivRodape {
    font-size: 10pt;
    text-align: left;
    background: transparent; /* ou transparent, se preferir */
    z-index: 1000;
  }


  .ConteudoDocumeto {
    margin-bottom: 100px; /* espaço suficiente para o rodapé */
  }
    /* Ajustar margens para impressão 
    @page {
        size: A4;
        margin: 10mm 15mm 10mm 10mm;
        p {
        word-break: break-word; 
        overflow-wrap: break-word; 
        hyphens: auto; 
        text-align: justify; 
        }
    }
    */
    /* Estilo para cabeçalho e rodapé */
    p{

        text-justify: inter-word; /* evita esticar palavras pequenas */
    }
    h1, h2, h3, .titulo, .resumo {
  text-align: left;
}
    

    .ImpressaoRodape {
        position: fixed;
        bottom: 0;
        width: 100%;
        font-family: 'Courier New', Courier, monospace;
        font-size: 12px;
        display: block;
        text-align: center;
    }

    #numero_pagina {
        display: block;
        position: fixed;
        bottom: 0pt;
        right: 0pt;
    }

    #numero_pagina::after {
        counter-increment: page;
        content: counter(page);
    }

    .ConteudoDocumeto {
        margin-bottom: 90px; /* Espaço para acomodar o rodapé */
    }

    /* Forçar quebra de página */
    .page {
        page-break-before: always;
    }

    .page::after {
        content: counter(page);
        position: absolute;
        bottom: 10mm;
        right: 15mm;
    }
}

/* Estilos adicionais */
.titbranco {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #F27620;
    z-index: 999;
}

#preloader .inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bolas > div {
    display: inline-block;
    background-color: #fff;
    width: 25px;
    height: 25px;
    border-radius: 100%;
    margin: 3px;
    animation: animarBola 0.75s linear infinite;
}

.bolas > div:nth-child(2) {
    animation-delay: 0.12s;
}

.bolas > div:nth-child(3) {
    animation-delay: 0.24s;
}

@keyframes animarBola {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    16% {
        transform: scale(0.1);
        opacity: 0.7;
    }
    33% {
        transform: scale(1);
        opacity: 1;
    }
}

a {
    text-decoration: none;
    color: #000000;
}

a:hover {
    text-decoration: underline;
}

/* Barra */
.barra {
    height: 25px;
    width: 100%;
    background: #455868;
    font-size: 11pt;
    font-family: 'PT Sans', Arial, sans-serif;
    font-weight: bold;
    position: fixed;
    vertical-align: middle;
    line-height: 25px;
    text-align: right;
    color: #fff;
    border-bottom: 2px solid #283744;
    display: block;
}
.rodape {
    position: fixed;
    bottom: 0;
    right: 0;
    display: block;
    margin-bottom: 1px;
    width: 100%;
}
p {
    word-break: break-word;  /* Permite que palavras sejam quebradas */
    overflow-wrap: break-word;  /* Garante a quebra de palavras longas */
    hyphens: auto;  /* Insere hífen onde for necessário */
    text-align: justify;  /* Mantém o texto justificado */
}
.AssinaturaEletronica {
                        transform: rotate(270deg);
                        top:0;
                        height: 650px;
                        margin-top: 150px;
                        right:0px;
                        position: absolute;
                        color:#ff0000;
                        font-size: 10px;
                        z-index: -1;
                        font-family: monospace;
                        -webkit-transform: rotate(90deg);
                        -moz-transform: rotate(90deg);
                        -o-transform: rotate(90deg);

                    }