﻿body { font-family: 'Open Sans', Tahoma, Geneva, Verdana, sans-serif; font-size: 0.75em; margin-top: 57px; margin-bottom: 57px; text-align: justify; }

@media (min-width: 768px) { body { font-size: 0.8em; } }
@media (min-width: 992px) { body { font-size: 0.8em; } }
/*@media (min-width: 1200px) { body { font-size: 0.85em; } }*/
@media (min-width: 1400px) { body { font-size: 0.85em; } }

[data-bs-theme="light"] .table thead th { background-color: var(--bs-gray-400) !important; color: var(--bs-gray-000) !important; }
[data-bs-theme="dark"] .table thead th { background-color: var(--bs-gray-600) !important; color: var(--bs-gray-000) !important; }

dt { font-weight: 300; font-size: 0.75rem; }
.dropdown-item.active svg { color: var(--bs-body-bg)!important; }
.row .form-floating label { margin-left: calc(var(--bs-gutter-x) * .25); }
select, input, textarea, .dropdown-item { font-size: 0.9rem !important; }
    input::-webkit-input-placeholder { font-size: 0.9rem; }
a, a:hover, a:active, a:visited { text-decoration: none !important; }
    a.dropdown-item { font-size: 0.9rem; }

div:has( > img[id^="Signature_"]) { height: 180px; }
img[id^="Signature_"] { max-height: 160px; }

.input-group-text { font-size: 85%; }
.nav-tabs a:not(.active) { background-color: var(--bs-tertiary-bg) !important; cursor: pointer; }
.nav-tabs a.nav-item { border: solid 1px rgb(var(--bs-secondary-bg-rgb)); min-width: 120px; }
span.field-validation-error::before { content: "→ "; }
span.field-validation-error { font-size: 0.8rem; }
::placeholder { color: #aaa !important; }
.page-link.small { font-size: 0.75rem; }
.textarea, textarea.form-control { min-height: 120px!important; }
.x-small { font-size: 0.75rem; }
.tab-content { min-height: 240px; }
.rotated-text { writing-mode: sideways-lr; padding-top: 10px; }

@media (min-width: 768px) {
    .tab-content { min-height: 360px; }
}.ui-autocomplete { cursor: pointer; font-family: 'Open Sans', Tahoma, Geneva, Verdana, sans-serif !important; line-height: 0.9rem; font-size: 0.75rem !important; height: 120px; overflow-y: auto; overflow-x: hidden; }
mark { padding: 0; }
#btn-back-to-top { position: fixed; bottom: 74px; border-radius: 50%; right: 20px; display: none; z-index: 2; }

/* button-xs
---------------------------- */
.btn-xs { padding: 1px 5px; font-size: 12px; min-width: 25px!important; line-height: 1.5; border-radius: 3px; }

/* Side notes for calling out things
-------------------------------------------------- */
/* Base styles (regardless of theme) */
.bs-callout { margin: 20px 0; padding: 15px 30px 15px 15px; border-left: 5px solid var(--bs-tertiary-color); background-color: var(--bs-table-bg); }
    .bs-callout h4 { margin-top: 0; }
    .bs-callout p:last-child { margin-bottom: 0; }
    .bs-callout code, .bs-callout .highlight { background-color: var(--bs-tertiary-bg); }

/* Themes for different contexts */
.bs-callout-success { background-color: var(--bs-success-bg-subtle); border-color: var(--bs-success); }
.bs-callout-danger { background-color: var(--bs-danger-bg-subtle); border-color: var(--bs-danger); }
.bs-callout-warning { background-color: var(--bs-warning-bg-subtle); border-color: var(--bs-warning); }
.bs-callout-info { background-color: var(--bs-info-bg-subtle); border-color: var(--bs-info); }

/* button default
---------------------------- */
.btn-default { color: var(--bs-secondary); background-color: var(--bs-secondary-bg); border-color: var(--bs-secondary-border-subtle); background-repeat: repeat-x; }
    .btn-default:focus { color: var(--bs-secondary); background-color: var(--bs-secondary-bg); border-color: var(--bs-secondary-border); }
    .btn-default:active, .btn-default:hover { color: var(--bs-secondary-text-emphasis); background-color: var(--bs-secondary-bg-subtle); border-color: var(--bs-border-color); }

/* imageRuller
---------------------------- */
#draggableRuler { border: double 2px red; cursor: ns-resize; position: absolute; width: 50%; z-index: 100; }

/* Magnifying lens
-------------------------------------------------- */
html.magnifying > body { overflow-x: hidden !important; }
.magnify { position: relative; display: inline-block; }
    .magnify .magnify-lens { /* Create the magnifying lens */ position: absolute; width: 420px; height: 100px; border-radius: 5px; /* Multiple box shadows to achieve the glass lens effect */ -webkit-box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.85), 0 0 7px 7px rgba(0, 0, 0, 0.25), inset 0 0 40px 2px rgba(0, 0, 0, 0.25); box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.85), 0 0 7px 7px rgba(0, 0, 0, 0.25), inset 0 0 40px 2px rgba(0, 0, 0, 0.25); /* Hide the mouse pointer */ cursor: none; /* Hide the lens by default */ display: none; /* Place the lens on top of other elements */ z-index: 100; }
        .magnify .magnify-lens.loading { background: #333 !important; opacity: 0.8; }
            /* Loading text */
            .magnify .magnify-lens.loading:after { position: absolute; top: 45%; left: 0; width: 100%; color: var(--bs-secondary); content: 'Loading...'; font: italic normal 16px/1 Calibri, sans-serif; text-align: center; text-shadow: 0 0 2px rgba(51, 51, 51, 0.8); text-transform: none; }
/* Regiões  GW
-------------------------------------------------- */
.text-BAF { color: #096f4a; }
.text-BIO { color: #ffc91d; }
.text-BOL { color: #212cdc; }
.text-CAC { color: #e3342f; }  
.text-GAB { color: #3490dc; }
.text-OIO { color: #7f16e2; }
.text-QUI { color: #bc0063; }
.text-SAB { color: #38ac50; }
.text-TOM { color: #f6993f; }