﻿/* Preserve the existing visual identity with standards-based layout and controls. */
html { -webkit-text-size-adjust: 100%; }
input, select, textarea, button { font-family: inherit; }
.form_campo { min-height: 22px; height: auto; padding: 2px 4px; box-sizing: border-box; }
.form_botao { min-height: 26px; height: auto; }
a[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.modern-suggestions { position: absolute; z-index: 100100; list-style: none; margin: 0; padding: 0; max-height: 300px; overflow-y: auto; background: #ecebeb; color: #111; border: 1px solid #66756c; box-shadow: 0 3px 10px #0003; font: 12px Verdana, sans-serif; }
.modern-suggestions li { padding: 7px 10px; cursor: pointer; }
.modern-suggestions li:hover, .modern-suggestions li[aria-selected="true"] { background: #a8cee9; }
.modern-document { max-width: min(440px, 85vw); padding: 24px; border: 1px solid #758983; border-radius: 6px; color: #111; font: 14px Arial, sans-serif; }
.modern-document::backdrop { background: #0006; }
.modern-document h2 { margin-top: 0; font-size: 20px; }
.modern-document a.modern-document-link { display: inline-block; background: #42627b; color: white; padding: 10px 16px; margin: 8px 14px 0 0; text-decoration: none; }
.modern-document button { padding: 9px 12px; cursor: pointer; }
.modern-status { position: fixed; bottom: 16px; right: 16px; max-width: 420px; padding: 12px 18px; background: #fff; border: 1px solid #758983; color: #111; z-index: 110000; font: 13px Arial, sans-serif; box-shadow: 0 2px 12px #0003; }
[hidden] { display: none !important; }
@media print { .modern-document, .modern-status, .modern-suggestions { display: none !important; } }

/* Shared header: independent of the widths of the menu and page content. */
.site-header { width: 100%; box-sizing: border-box; }
.site-header__brand { padding: 6px 10px; text-align: center; background: #fff; }
.site-header__brand img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.site-header__bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); align-items: center; width: 100%; min-height: 23px; box-sizing: border-box; color: #fff; font-weight: bold; background: #666 url('../../Imagens/top/gray_bg.gif') repeat-x left center; }
.site-header__version { min-width: 0; padding: 2px 10px; }
.site-header__user { min-width: 0; padding: 2px 8px; text-align: center; overflow-wrap: anywhere; }
.site-header__logout { justify-self: end; line-height: 0; }
.site-header__logout input { display: block; margin: 0; border: 0; }
@media (max-width: 600px) {
    .site-header__bar { grid-template-columns: minmax(0, 1fr) auto; }
    .site-header__version, .site-header__logout { grid-row: 1; }
    .site-header__user { grid-row: 2; grid-column: 1 / -1; }
}

/* Accessible site messages, shared by full pages and embedded reports. */
.modern-alert { width: 440px; max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); box-sizing: border-box; padding: 0; margin: auto; border: 1px solid #aaa; border-top: 5px solid #d9231b; border-radius: 8px; background: #fff; color: #222; box-shadow: 0 12px 40px #0004; font: 14px/1.5 Verdana, Arial, sans-serif; overflow: auto; }
.modern-alert::backdrop { background: #0006; }
.modern-alert h2 { margin: 0; padding: 18px 22px 12px; font-size: 17px; line-height: 1.4; }
.modern-alert__content { display: flex; align-items: flex-start; gap: 14px; padding: 8px 22px 24px; }
.modern-alert__icon { display: inline-flex; flex: 0 0 30px; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid #c58b20; border-radius: 50%; background: #fff1c9; color: #825200; font-weight: bold; font-size: 22px; }
.modern-alert__content p { min-width: 0; margin: 3px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.modern-alert__actions { display: flex; justify-content: flex-end; padding: 12px 22px; border-top: 1px solid #e3e3e3; background: #f5f5f5; }
.modern-alert__actions button { min-width: 86px; padding: 8px 20px; border: 1px solid #af1813; border-radius: 5px; background: #cf2119; color: #fff; font: bold 14px Verdana, Arial, sans-serif; cursor: pointer; }
.modern-alert__actions button:hover { background: #b91c15; }
.modern-alert__actions button:focus-visible { outline: 3px solid #2768af; outline-offset: 3px; }

.modern-alert[open] { display: flex; flex-direction: column; }
.modern-alert h2, .modern-alert__actions { flex-shrink: 0; }
.modern-alert__content { min-height: 0; overflow-y: auto; }

.modern-alert__actions { gap: 10px; }
.modern-alert__actions button.modern-alert__cancel { background: #fff; color: #333; border-color: #999; }
.modern-alert__actions button.modern-alert__cancel:hover { background: #e9e9e9; }
