﻿html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.required:after {
    content: " *";
    color: red;
}

.required:hover:after {
    content: " (Obrigatório!)";
    font-size: smaller;
}

h1, h2, h3, h4, h5, h6 {
    color: #2062a9 !important
}

.btn.btn-primary {
    background-color: #2062a9 !important;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

#tabela {
    min-height: 150px;
}

.btn.btn-cadastro {
    background-color: rgba(255, 255, 255);
    font-size: 24px;
    padding: 18px 30px;
    color: #2062a9 !important;
    border-radius: 25px;
}

.btn-cadastro:hover {
    background-color: rgba(255, 255, 255, 0.85);
}

.icon-espacamento-texto {
    margin-right: 0.5rem;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #455a64 !important;
}

.form-control {
    color: #455a64 !important;
}

#containerTopNegativo {
    margin-top: -254px;
}

.topbar .navbar-header {
    background: none !important;
}

.textcolorGov {
    color: #2b5892 !important;
}

#ulBrasao {
    margin-left: 170px;
}

@media (min-width: 768px) {
    #brasaoGov {
        display: none;
    }
}

@media (max-width: 430px) {
    #acecessoInfo {
        display: none;
    }
}

@media (max-width: 1053px) {
    #ulBrasao {
        margin-left: auto;
    }
}

@media (max-width: 427px) {
    #ulBrasao {
        display: none;
    }
}

.myshadow {
    box-shadow: 0px 0px 3px #727b7b;
}

@media (max-width: 575.98px) {

    span.divider {
        display: none;
    }

    .footer .row > [class^="col-"] {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .btn.btn-cadastro {
        padding: 10px 15px;
    }
}

@media (max-width: 767px) {
    .mini-sidebar .page-wrapper {
        padding-top: 0;
    }
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 0;
}

.container-fluid {
    flex: 1;
}

.footer {
    position: initial;
    bottom: 0;
    flex-shrink: 0;
}

.governo-brasao {
    max-width: 710px;
    max-height: 77px;
}

.logo-vencer {
    max-height: 62px;
    max-width: 200px;
}

@media (min-width: 1024px) {
    html {
        font-size: 16px;
    }
}

@media (max-width: 1023px) {
    .governo-brasao {
        display: none;
    }

    .logo-vencer {
        display: none;
    }

    .logo-governo {
        display: inline !important;
    }
}

.cursor-pointer {
    cursor: pointer;
}


.btnLink {
    background: none;
    border: none;
    text-decoration: none;
    cursor: pointer;
    color: #2b5892;
}

.sidebar-nav ul li ul li .btnLink {
    padding: 10px 35px 10px 15px;
}

.tituloCard {
    background: none !important;
    border: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important
}

/* Configurações do toast bootstrap 5.0*/

.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: .25em .25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: .25rem;
    opacity: .5
}

    .btn-close:hover {
        color: #000;
        text-decoration: none;
        opacity: .75
    }

    .btn-close:focus {
        outline: 0;
        box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
        opacity: 1
    }

    .btn-close.disabled, .btn-close:disabled {
        pointer-events: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
        opacity: .25
    }

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%)
}

.toast {
    opacity: 1 !important;
}

/* Configurações do position bootstrap 5.0*/
.position-static {
    position: static !important
}

.position-relative {
    position: relative !important
}

.position-absolute {
    position: absolute !important
}

.position-fixed {
    position: fixed !important
}

.position-sticky {
    position: -webkit-sticky !important;
    position: sticky !important
}

.top-0 {
    top: 0 !important
}

.top-50 {
    top: 50% !important
}

.top-100 {
    top: 100% !important
}

.bottom-0 {
    bottom: 0 !important
}

.bottom-50 {
    bottom: 50% !important
}

.bottom-100 {
    bottom: 100% !important
}

.start-0 {
    left: 0 !important
}

.start-50 {
    left: 50% !important
}

.start-100 {
    left: 100% !important
}

.end-0 {
    right: 0 !important
}

.end-50 {
    right: 50% !important
}

.end-100 {
    right: 100% !important
}

.image-card-informativo {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: bottom;
    border-radius: 8px 8px 0px 0px !important;
}

.texto-cinza-padrao {
    color: #455a64;
}

.border-radius-10 {
    border-radius: 10px !important;
}

/* Alto contraste é ativado com <body class="alto-contraste"> */
body.alto-contraste {
    --fundo: #000;
    --texto: #fff;
    --borda: #fff;
    --link: #0ff;
    --foco: #ff0;
    background-color: var(--fundo) !important;
    color: var(--texto) !important;
}

    /* Texto em geral */
    body.alto-contraste * {
        color: var(--texto) !important;
        background-color: transparent;
    }

    body.alto-contraste .btn-cadastro {
        color: var(--texto) !important;
        background-color: transparent;
    }

    /* Aplica nos elementos estilo com fundo preto, letra branca e borda branca visível */
    body.alto-contraste :is( button, input, select, textarea, header, footer, table, tr, .modal-content, .navbar, .left-sidebar, .card, .footer, .nav-link, .sidebar-nav > ul > li.active > a, .sidebar-nav > ul > li.active:hover > a, .cookie-consent-modal-content, .modal, .page-titles, #cookie-consent-accept-button-div button, .select2-results__options, .select2-results__option.select2-results__option--selectable, .select2-selection.select2-selection--single, [class*="btn"], [class*="input"], [class*="button"], [class*="box"] ) {
        background-color: var(--fundo) !important;
        color: var(--texto) !important;
        border: 1px solid var(--borda) !important;
        text-decoration: none !important;
    }

    /* O ícone de x é um svg*/
    body.alto-contraste .btn-close {
        background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center / 1em auto no-repeat;
    }

    /* Links destacados com underline e cor azul */
    body.alto-contraste :is( a, a:not(.btn-cadastro):visited, .card a h3, .card a p ) {
        color: var(--link) !important;
        text-decoration: underline !important;
    }

    /* Foco visível com borda tracejada */
    body.alto-contraste *:focus {
        outline: 2px dashed var(--foco) !important;
        outline-offset: 2px;
    }

    /* Destaca o elemento em foco em itens da listagem do select2*/
    body.alto-contraste .select2-results__option--highlighted {
        color: var(--fundo) !important;
        background-color: var(--foco) !important;
    }

    /* Evita que imagens invertam cores ou sumam */
    body.alto-contraste :is( img, svg, [role="img"] ) {
        filter: none !important;
        opacity: 1 !important;
    }

/* Destaca o card quando usado alto contraste se o elemento estiver em foco e o elemento todo ser clicável para link */
.link-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Centraliza conteúdo do elemento quando o elemento só tem um elemento filho */
.elemento-simples-centralizado {
    display: grid;
    place-items: center;
}

.background-color-inherit {
    background: inherit;
}

.color-azul-padrao {
    color: #2062a9 !important;
}

}

#toast-container.toast-top-right > .toast {
    top: 80px !important;
}

/*Inicio - Configuração do botão cinza do bootstrap*/
.btn-secondary-bootstrap {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

    .btn-secondary-bootstrap:hover {
        color: #fff;
        background-color: #5a6268;
        border-color: #545b62;
        box-shadow: 0 14px 26px -12px rgba(169, 169, 169, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(169, 169, 169, 0.2);
    }

    .btn-secondary-bootstrap:focus, .btn-secondary-bootstrap.focus {
        box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
    }

    .btn-secondary-bootstrap.disabled, .btn-secondary-bootstrap:disabled {
        color: #fff;
        background-color: #6c757d;
        border-color: #6c757d;
    }

    .btn-secondary-bootstrap:not(:disabled):not(.disabled):active, .btn-secondary-bootstrap:not(:disabled):not(.disabled).active,
    .show > .btn-secondary-bootstrap.dropdown-toggle {
        color: #fff;
        background-color: #545b62;
        border-color: #4e555b;
    }

        .btn-secondary-bootstrap:not(:disabled):not(.disabled):active:focus, .btn-secondary-bootstrap:not(:disabled):not(.disabled).active:focus,
        .show > .btn-secondary-bootstrap.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
        }
/*Fim - Configuração do botão cinza do bootstrap*/

/*Inicio - Configuração Cores Personalizadas do Layout*/
.alert-info {
    color: #000;
    background-color: #FFF;
    border-color: rgba(169, 169, 169, 0.2);
}

.sidebar-nav > ul > li.active > a, .sidebar-nav > ul > li.active:hover > a {
    color: #ffffff !important;
    background: #cf4a8d !important;
}
/*Fim - Configuração Cores Personalizadas do Layout*/

/* Overlay full‐screen */
#up_loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    pointer-events: none;
}
    /* Centraliza o GIF */
    #up_loading .loading-gif {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 150px;
        pointer-events: none;
    }

.BtnLoginCor {
    background-color: #30C0D6;
}

    .BtnLoginCor:hover {
        background-color: #35A8B7;
    }

.btn-verificado {
    background-color: #28a745; /* verde */
    border-color: #28a745;
    color: white;
}