:root {
    --white: #fff;
    --primary_escuro: #012330;
    --primary: #002b3b;
    --primary_hover: #012330;
    --secondary: #758694;
    --warning: #ffb803;
    --rose: #cdb380;
    --danger: #700c03;
    --light: #FFF8F3;
}

.border-pago {
    border-left-color: #ffc107;
}

.titulo-portaria{
    background: none;
    padding: 0 0.9375rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    min-height: 50px;
    background-color: #fff7e8;
}

.cor-vigente {
    background-color: #00ad5f;
    color: white;
    padding: 5px 3px 3px 4px;
    border-radius: 7px;
    display: inline-block;
}

.cor-revogada {
    background-color: #d10000;
    color: white;
    padding: 5px 3px 3px 4px;
    border-radius: 7px;
    display: inline-block;
}

.cor-alterada {
    background-color: #ffbb00;
    color: white;
    padding: 5px 3px 3px 4px;
    border-radius: 7px;
    display: inline-block;
}


.btn-status-outline-success {
    border: 2px solid #002b3b;
    color: #002b3b;
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 8px;
    padding: 6px 16px;
    text-transform: uppercase;
}

.description-box {
    background-color: #fcfcfc;
    border-top: 1px solid #f1f1f1;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

.portaria-item {
    background: #fff;
    border-left: 5px solid #ffc107;
    border-radius: 7px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border-top: 1px solid #e6e4e9;
    border-bottom: 1px solid #e6e4e9;
    border-right: 1px solid #e6e4e9;
}

.cor-primaria{
    background-color: var(--primary) !important;
}

.cor-vermelha{
    background-color: rgb(99, 1, 1) !important;
}

.switch-lg {
    transform: scale(1.4);
    transform-origin: left center;
}

.col-conteudo {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-fixed {
    table-layout: fixed;
    width: 100%;
}


#olho{
    float: right;
    color: #777777ba;
    margin: -34px 19px 0px 0px;
    cursor: pointer;
}

.bg-amarelo-claro {
    background-color: #ffb803 !important;
}

.rotacao{
    transform: rotate(0deg);
}

.sisdoc-branco{
    vertical-align: middle;
    border-style: none;
    width: 170px;
}

.icone-pcrn{
    vertical-align: middle;
    border-style: none;
    width: 55px;
    margin-right: -5px; 
    margin-left: -9px;
}

.mrg{
    margin-left: 0rem !important;
    margin-right: 0rem !important;
}

.brasao-login{
    margin: 0px -15px 15px -17px;
}

.cursor{
    cursor: pointer;
}

.erro-validacao{
    color: var(--danger);
    font-size: 12px;
    font-weight: 700;
}

.erro{
    background-color: #700c03;
    color: white;
}

.fundo-branco{
    background-color: white;
}

.fundo-branco i::after{
    content: '+';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: 600;
    color:var(--warning);
}

.instrucoes{
    font-size: 13px;
    color: var(--primary_escuro);
    margin-top: 6px;
    text-align: justify;
    padding: 3px;
}

.text-dark{
    color: black !important;
}

.titulo-secao {
    background-color: var(--warning);
    color: black;
    border-radius: 5px !important;
}

.alerta {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .35rem
}

.escala-media{
    scale: 1.3;
}

.marcador-cinza{
    background-color: #fffdf6;
    border-radius: 5px;
    padding: 7px;
}

.acesso-pessoal{
    margin-top: -3px;
    margin-bottom: 5px;
    font-size: 13px;
    color: #01ac48;
    font-weight: 600;
}

.acesso-excecoes{
    margin-top: -3px;
    margin-bottom: 5px;
    font-size: 13px;
    color: #b91c00;
    font-weight: 600;
}

.texto-cortado {
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    max-width: 200px; 
}

.icone-top-menu-documento{
    color: #ffffff;
    margin-right: 10px;
}

.icone-top-menu-grafico{
    color: #000000;
    margin-right: 10px;
}

.icone-top-menu-documento:hover{
    color: var(--warning) !important;
}

.font-13{
    font-size: 13px;
}

.font-12{
    font-size: 12px;
}

.fundo-cinza-claro{
    background-color: #f8f8f8;
}

.cor-cinza-claro{
    color: #d6d6d6;
}

.fundo-amarelo-claro{
    background-color: #fff8e6;
}

.bola-verde{
    width: 18px;
    height: 18px;
    display: inline-block;
    background-color: rgb(1, 112, 1);
    border-radius: 16px;
    margin-bottom: -3px;
}

.bola-vermelha{
    width: 18px;
    height: 18px;
    display: inline-block;
    background-color: #970000;
    border-radius: 16px;
    margin-bottom: -3px;
}

.data-hora-log{
    font-size: 12px;
    font-weight: 700;
}

.titulos{
    border-left: 8px solid #fec500;
    padding-left: 8px;
    font-weight: 700;
    font-size: 24px;
}

.amarelo-weight{
    color: var(--warning);
    font-weight: 700;
}

.fw-8{
    font-weight: 800;
}

.overflow-hide{
    overflow: hidden;
}

.ribbon {
    width: 160px;
    height: 32px;
    font-size: 12px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    box-shadow: 0px 2px 3px rgba(136, 136, 136, 0.25);
    background: #f3af02;
    transform: rotate(45deg);
    position: absolute;
    right: -42px;
    top: 20px;
    padding-top: 7px;
}

/* Tela de fundo branca cobrindo o conteúdo */
#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 1s ease-out, visibility 1s ease-out;
}

.instrucoes-caso {
    font-size: 14px;
    background-color: #fff8e1;
    padding: 9px;
}

/* Inicialmente visível */
#preloader.show {
    opacity: 1;
    visibility: visible;
}

/* Classe que some com suavidade */
#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

/* Spinner no centro */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid #000000; 
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 250px;
}

/* Spinner no centro */
.spinner-2 {
    width: 25px;
    height: 25px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid #000000; 
    border-radius: 50%;
    animation: spin 1s linear infinite;
}


@media screen and (max-width: 770px) {
    .spinner {
        width: 50px;
        height: 50px;
        border: 5px solid rgba(0, 0, 0, 0.1);
        border-top: 5px solid #000000; 
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin-right: 0px;
    }
}

.titulo-secao-modal{
    background-color: #e6e6e6;
    padding: 15px;
    margin-left: -28px;
    margin-right: -28px;
    margin-bottom: 20px;
    color: black;
    font-size: 17px;
    text-align: center;
    font-weight: 700;
}

/* Animação do Spinner */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media screen and (max-width: 1300px) {
    table {
        border: 0;
    }

    table caption {
        font-size: 1.3em;
    }

    table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    table tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }

    table td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .9em;
        text-align: left !important;
    }

    table td::before {

        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    table td:last-child {
        border-bottom: 0;
    }

}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #c71100;
    border-radius: 25px;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.4s;
}

input:checked + .slider {
    background-color: #027e02;
}

input:checked + .slider:before {
    transform: translateX(24px);
}
