﻿html {
    font-size: 14px;
}

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

.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;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

td.details-control {
    background: url('http://www.datatables.net/examples/resources/details_open.png') no-repeat center center;
    cursor: pointer;
}

tr.shown td.details-control {
    background: url('http://www.datatables.net/examples/resources/details_close.png') no-repeat center center;
}

.no-display {
    display: none;
}

.hidden {
    display: none;
}

.zebrada {
    background-color: #f2f2f2;
}

.zebrada-odd {
    background-color: #e6e6e6;
}

.button-container {
    display: flex;
}

.button-container form {
    margin-right: 10px;
}

.navbar-nav .nav-link {
    color: rgb(8, 8, 8) !important;
}

.navbar-nav .nav-link:hover {
    color: #151414 !important;
}

.navbar-nav .nav-link.active {
    color: #080000 !important;
}

.disabled {
    pointer-events: none;
    opacity: 0.6;
}

main {
    margin-bottom: 100px;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f8f9fa;
    padding: 1rem;
    text-align: center;
}

.imprimirDT {
    font-size: 16px;
    text-align: center;
}

.imprimirDT #headerBras {
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#header {
    font-size: 24px;
}

#congregacao {
    font-size: 35px;
    text-align: center;
}

.footer-container {
    clear: both;
    margin-bottom: 20px;
    text-align: center;
}

.footer-box {
    border: 1px solid black;
    text-align: center;
    /* float: left; */
    margin-top: 10px;
    height: 80px;
    line-height: 1.2;
    display: inline-block;
}

#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
}

.imprimir-dt #footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f8f9fa;
    padding: 1rem;
    text-align: center;
    clear: both;
}

.table-bordered {
    border: 1px solid #dee2e6;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6;
}

/* .modal-dialog-wide {
    max-width: 80%;
} */
.modal-dialog-custom {
    max-width: 90%;
}
.codigo-col {
    width: 10%;
}

.descricao-col {
    width: 40%;
}

.ad-col {
    text-align: center;
}

@media print {
    .hide-on-print {
        display: none !important;
    }

    .modal-content {
        width: 100%;
        border: none;
    }

    .modal-header,
    .modal-footer {
        display: none;
    }

    .descricao-col {
        width: 80%;
    }

    body {
        font-size: 10pt;
        /* Ajuste o tamanho da fonte conforme necessário */
    }

    .table {
        font-size: 10pt;
        /* Ajuste o tamanho da fonte da tabela conforme necessário */
    }

    .print-header {
        text-align: center;
        margin-bottom: 20px;
    }

    .print-header h1 {
        font-size: 14pt;
        margin: 0;
    }

    .print-header h2 {
        font-size: 12pt;
        margin: 0;
    }
}

.alert button.close {
    position: relative;
    right: 0;
    top: 0;
    padding: 0.75rem 1.25rem;
    color: inherit;
}

#epiTable {
    font-size: 12px;
}

#epiTable th,
#epiTable td {
    padding: 0.6rem;
}

.cell-large {
    font-size: 12px;
}

#retangulo {
    padding: 2.5mm;
}

.bold-text {
    font-weight: bold;
}
#anexoContent {
    overflow: auto;
}

#anexoContent canvas, 
#anexoContent iframe {
    max-width: 100%;
    max-height: 100%;
}
.clickable-row {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.clickable-row:hover {
    background-color: #f0f0f0; /* Cor de fundo ao passar o mouse */
    color: #007bff; /* Mudar a cor do texto para azul */
}
.destaque-estoque {
    background-color: yellow; /* Cor de fundo amarelo */
    font-weight: bold;        /* Texto em negrito */
    color: red;               /* Cor do texto em vermelho */
}
/* Estiliza o contêiner dos checkboxes */
.checkbox-container {
    border: 1px solid #ccc;     /* Borda ao redor */
    padding: 10px;              /* Espaço interno */
    display: flex;              /* Flexbox para alinhar itens na horizontal */
    align-items: center;        /* Alinha verticalmente */
    border-radius: 5px;         /* Bordas arredondadas */
    background-color: #f9f9f9;  /* Cor de fundo leve */
    width: fit-content;         /* Ajusta o contêiner ao conteúdo */
}

/* Adiciona espaço entre os checkboxes */
.separator {
    display: inline-block;
    width: 20px;                /* Espaço horizontal entre os itens */
}
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    background-color: #007bff; /* tom claro de vermelho (ou escolha outra) */
    color: #721c24; /* tom escuro para o texto */
    font-weight: bold;
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
    position: absolute;
}
/* Cor diferente para o botão quando o submenu está aberto */
.dropdown-submenu:hover > .dropdown-toggle {
    background-color: #007bff; /* tom claro de vermelho (ou escolha outra) */
    color: #721c24; /* tom escuro para o texto */
    font-weight: bold;
}
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}