/*
Theme Name: Guia de TI Blog
Author: Jaime Linhares
Description: Tema básico para integração com Django
Version: 1.0
*/

.adsense-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* Controle específico para dispositivos móveis */
@media (max-width: 767px) {
    .adsense-container {
        max-height: 320px; /* Limita altura em telas pequenas */
        overflow: hidden;  /* Oculta anúncios maiores */
    }
}

.card-img-top {
    width: 100%;
    aspect-ratio: 16 / 9; /* Define uma proporção padrão (ex.: 16:9) */
    object-fit: cover; /* Garante que a imagem seja cortada para preencher o espaço */
    border-radius: 5px; /* Estética: bordas arredondadas */
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: 150px; /* Garante que a altura seja proporcional */
}

.post-thumbnail {
    text-align: center; /* Centraliza a imagem */
}

.post-thumbnail img {
    max-width: 80% !important; /* Reduz a largura da imagem para 80% */
    height: auto !important; /* Mantém a proporção */
    display: inline-block; /* Garante alinhamento correto */
    margin: 0 auto; /* Centraliza horizontalmente */
    border-radius: 10px; /* Opcional: bordas arredondadas */
}

.table-of-contents {
    padding: 0px 15px 0px 15px;
}

.table-of-contents h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

.table-of-contents ul {
    list-style-type: disc; /* Mostra bolinhas nos <li> */
    padding-left: 20px; /* Indenta a lista */
}

.table-of-contents li {
    margin-bottom: 5px; /* Espaçamento entre os itens */
}

.table-of-contents a {
    text-decoration: none;
    color: #c10000;
}

.table-of-contents a:hover {
    text-decoration: underline;
}

.container h1, 
.container h2, 
.container h3, 
.container h4, 
.container h5, 
.container h6 {
    font-weight: bold !important;
}

/* .container p {
    margin-top: 16px !important;
    margin-bottom: 16px !important;
} */

.category-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 5px 0;
}

.category-name {
    margin-left: 10px; /* Espaçamento entre a linha e os elementos */
    white-space: nowrap; /* Garante que o texto fique em uma linha só */
}

.line {
    flex-grow: 1; /* Faz a linha ocupar o espaço restante */
    margin: 0 10px; /* Espaçamento entre a linha e os elementos */
    border-bottom: 1px dotted #dfdfdf; /* Linha pontilhada */
    height: 0; /* Altura da linha */
}

.category-count {
    background: #444; /* Fundo do contador */
    color: #fff; /* Cor do texto */
    border-radius: 3px; /* Bordas arredondadas */
    padding: 2px 6px;
    font-size: 0.9rem;
    text-align: center;
    min-width: 20px; /* Tamanho mínimo consistente */
}


.pagination {
    display: flex;
    justify-content: center; /* Centraliza os links */
    align-items: center;
    font-size: 1rem; /* Tamanho do texto */
    margin-top: 20px;
}

.pagination .separator {
    color: #c10000; /* Cor do separador " | " */
    margin: 0 5px; /* Espaçamento ao redor do separador */
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Espaçamento entre os botões */
    justify-content: center; /* Centraliza os botões */
    margin-top: 15px;
}

.social-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    color: #fff;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.social-buttons .btn i {
    margin-right: 8px; /* Espaçamento entre o ícone e o texto */
}

.social-buttons .btn:hover {
    transform: scale(1.05); /* Leve aumento */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Sombra ao passar o mouse */
}

/* Botões com Gradiente e Sólidos */
.btn-linkedin {
    background: linear-gradient(45deg, #0077b5, #005582); /* Gradiente do LinkedIn */
    color: #fff;
}

.btn-facebook {
    background: #1877f2;
}

.btn-twitter {
    background: linear-gradient(45deg, #1da1f2, #0d8dec);
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.btn-youtube {
    background: linear-gradient(45deg, #ff0000, #d40000);
}


.theme-light {
    --bg-color: #ffffff;
    --text-color: #000000;
    /* Outras variáveis específicas para o tema claro */
}

.theme-dark {
    --bg-color: #000000;
    --text-color: #ffffff;
    /* Outras variáveis específicas para o tema escuro */
}


/* .adsbygoogle {
    display: block;
    margin: 0 auto;
    text-align: center; 
} */

html, body {
    height: 100%; /* Garante que o html e body tenham a altura total da janela */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column; /* Faz o layout em colunas para empilhar conteúdo e footer */
}

body {
    flex: 1 0 auto; /* Permite que o body cresça e ocupe o espaço necessário */
    box-sizing: border-box; /* Assegura que o padding não afete o cálculo da altura */
}

a {
    color: #c10000;
    text-decoration: none;
    outline: none;
}

a:hover, a:focus {
    color: #f51a1a; /* vermelho claro */ 
    text-decoration: none;
    outline: none;
}

.btn:hover, .btn:focus{
    color: #fff !important; /* vermelho claro */ 
    text-decoration: none;
    outline: none;
}

.btn-light:hover, .btn-light:focus{
    color: #000 !important; /* vermelho claro */ 
    text-decoration: none;
    outline: none;
}

.widget-title{
    margin-bottom: 20px !important;
}


.ql-indent-1 {
    margin-left: 20px !important;
  }

ol li {
    list-style-type: none !important;
    position: relative !important;
}  
  
  li[data-list="bullet"] {
    list-style-type: disc !important;
  }

  .ql-editor li {
    list-style-type: none !important;
}  
  
.aguia-dark {
    color: #fff; /* Cor do link */
    text-decoration: none;
}

.aguia-dark:hover, .aguia-dark:focus {
    color: #c10000; /* Cor do link */
    text-decoration: none;
}

.aguia-light {
    color: #000; /* Cor do link */
    text-decoration: none;
}

.aguia-light:hover, .aguia-light:focus {
    color: #c10000; /* Cor do link */
    text-decoration: none;
}



p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Define 3 colunas em telas grandes */
    gap: 0.2rem;
    /* Espaçamento entre os itens */
}

.grid-item li {
    text-align: left;
    /* Centraliza o texto no item */
}


@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        /* 2 colunas em telas médias */
    }
}

@media (max-width: 576px) {
    .grid-container {
        grid-template-columns: 1fr;
        /* 1 coluna em telas pequenas */
    }
}

table {
text-align: center; /* Centraliza horizontalmente o texto */
}

td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


table td, table th {
vertical-align: middle; /* Centraliza verticalmente o conteúdo */
}

    /* Table Styles */
    .table-responsive {
        overflow-x: auto;
    }
    .table {
        border-radius: 10px;
        font-size: 15px !important;
    }
    .table th, 
    .table td {
        text-align: center;
        vertical-align: middle;
    }
    .table img {
        max-width: 100px;
        height: auto;
    }
    table {
        font-size: 15px !important;
        width: 100% !important;
        border-radius: 10px;
    }
    th {

        font-weight: bold !important;
    }
    td, th {
        max-width: 160px !important;
        word-wrap: break-word !important;
        padding: 6px !important;
        border: 0.02px solid #c10000 !important;
        text-align: center !important;
        vertical-align: middle !important;
        /* max-width: 100px !important; */
    }

    @media only screen and (max-width: 1200px), (min-device-width: 1200px) and (max-device-width: 1200px)  {
        table, 
        thead, 
        tbody, 
        th, 
        td, 
        tr {
            font-size:  18px;
            display: block;
        }
        thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }
        tr {
            border: 1px solid #c10000;
            margin-bottom: 15px;
        }
        td {
            width: 100% !important;
            word-wrap: break-word !important;
            max-width: 1200px !important;
            border: none;
            border-bottom: 0.5px solid #c10000;
            position: relative;
            padding-left: 50%;
        }
        .odd td, 
        .even td {
            width: auto !important;
        }
        td:before {
            position: absolute;
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
        }
    }    

/* Define altura para o contêiner do editor */
.ql-container {
    height: 200px !important;
}

/* Garante que o editor tenha espaço interno suficiente */
.ql-editor {
    min-height: 150px; /* Ajustável */
    max-height: 200px; /* Opcional */
    overflow-y: auto;  /* Scroll caso exceda a altura */
}

/* Estilização adicional para evitar que outros estilos quebrem */
.ql-toolbar {
    z-index: 1000;
}

.ql-editor {
    padding-bottom: 20px; /* Adiciona espaço no final do editor */
}

/* Estilo para o seletor de fontes */
.ql-snow .ql-picker-options .ql-picker-item {
    font-family: attr(data-value);
}
.ql-snow .ql-picker.ql-font .ql-picker-label::before,
.ql-snow .ql-picker.ql-font .ql-picker-item::before {
    content: attr(data-value);
}

/* Exibir corretamente os nomes das fontes no seletor */
.ql-snow .ql-picker.ql-font .ql-picker-item::before,
.ql-snow .ql-picker.ql-font .ql-picker-label::before {
    content: attr(data-value); /* Exibe o valor do atributo data-value */
    font-family: attr(data-value); /* Aplica a fonte correta */
}

/* Definir estilos personalizados para cada fonte */
.ql-font-sans-serif { font-family: sans-serif; }
.ql-font-serif { font-family: serif; }
.ql-font-monospace { font-family: monospace; }
.ql-font-roboto { font-family: 'Roboto', sans-serif; }
.ql-font-arial { font-family: Arial, sans-serif; }
.ql-font-georgia { font-family: Georgia, serif; }
.ql-font-tahoma { font-family: Tahoma, sans-serif; }
.ql-font-verdana { font-family: Verdana, sans-serif; }
.ql-font-times-new-roman { font-family: 'Times New Roman', serif; }

.ql-size-small {
    font-size: 0.75em;
}
.ql-size-large {
    font-size: 1.5em;
}
.ql-size-huge {
    font-size: 2.5em;
}

.ql-align-justify {
    text-align: justify;
}

.user-avatar {
    border: 2px solid white;
}

.user-avatar2 {
    border: 2px solid white;
    margin-bottom: 10px;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 0px !important;
    padding-right: 0px !important;
}


/* Estilo para a setinha no input select */
.select-arrow {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%23000000" d="M7 10l5 5 5-5z"/></svg>') no-repeat right 10px center;
    background-size: 24px 24px;
    padding-right: 40px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    color: #000000;
    font-size: 1rem;
    line-height: 1.5;
    background-color: #fff;
}

.dropdown-menu-dark {
    --bs-dropdown-color: #ffffff !important;
    --bs-dropdown-bg: #1C0201 !important;
    --bs-dropdown-divider-bg: #41464b !important;
    --bs-dropdown-link-color: #ffffff !important;
    --bs-dropdown-link-hover-color: #fff !important;
    --bs-dropdown-link-active-bg: #919191;
}

.dropdown-menu-light {
    --bs-dropdown-color: #000000 !important;
    --bs-dropdown-bg: #f5f5f5 !important;
    --bs-dropdown-divider-bg: #41464b !important;
    --bs-dropdown-link-color: #000000 !important;
    --bs-dropdown-link-hover-color: #000000 !important;
    --bs-dropdown-link-active-bg: #919191;
}

.nav-link, .dropdown-item{
    text-decoration: none !important; /* Remove sublinhado */
}

.nav-link {
    transition: color 0.3s !important; /* Suaviza a transição da cor */
}

.nav-link:hover {
    color: #c10000 !important; /* Altera a cor durante o hover */
}

.ql-toolbar.ql-snow {
    border: 1px solid #c10000 !important;
    background-color: #fff !important;
    color: #000 !important;
}

.ql-container.ql-snow {
    border: 1px solid #c10000 !important;
    background-color: #fff !important;
    color: #000 !important;
}

/* Custom styles for the dropdown menu */
.custom-dropdown-menu {
    min-width: 350px; /* Aumenta a largura do submenu */
    padding: 10px; /* Ajusta o padding geral do submenu */
}

.custom-dropdown-menu .form-label {
    font-size: 14px; /* Ajusta o tamanho da fonte das labels */
}

.custom-dropdown-menu .form-control {
    font-size: 14px; /* Ajusta o tamanho da fonte dos inputs */
}

.custom-dropdown-menu .btn {
    font-size: 14px; /* Ajusta o tamanho da fonte dos botões */
}

.custom-dropdown-menu .mb-2 {
    margin-bottom: 10px !important; /* Diminui o espaçamento entre os elementos */
}

.custom-dropdown-menu .dropdown-divider {
    margin: 10px 0; /* Ajusta o espaçamento da linha divisória */
}

/* Centraliza a imagem do usuário e ajusta o layout do dropdown */
.dropdown-item.user-info {
    padding: 15px 20px; /* Ajusta o padding do item do dropdown */
    text-align: center; /* Centraliza o conteúdo textualmente */
}

.user-avatar2 {
    margin: 0 auto; /* Centraliza a imagem horizontalmente */
    display: block; /* Garante que a imagem seja um bloco para centralização */
}

.dropdown-menu-dark .dropdown-item {
    color: #ffffff; /* Ajusta a cor do texto dos itens */
}

.dropdown-menu-dark .dropdown-item:hover, .dropdown-menu-dark .dropdown-item:focus {
    background-color: #495057; /* Cor de fundo ao passar o mouse ou focar */
}

.dropdown-item a {
    display: block;
    width: 100%;
    height: 100%;   
}
.user-info a {
    text-decoration: none;
}

.ql-editor {
    height: 400px !important;
}

.btn-google {
    background-color: #db4437; /* Cor vermelha do Google */
    color: #fff; /* Cor do texto */
    border-color: #db4437; /* Cor da borda */
}

.btn-google:hover {
    background-color: #c1351d; /* Cor vermelha mais escura do Google quando passa o mouse */
    border-color: #c1351d; /* Cor da borda quando passa o mouse */
    color: #fff; /* Cor do texto */
}

.btn-facebook {
    background-color: #1877f2; /* Cor azul do Facebook */
    color: #fff; /* Cor do texto */
    border-color: #1877f2; /* Cor da borda */
}

.btn-facebook:hover {
    background-color: #1465c0; /* Cor azul mais escura do Facebook quando passa o mouse */
    border-color: #1465c0; /* Cor da borda quando passa o mouse */
    color: #fff; /* Cor do texto */
}

.btn-github {
    background-color: #333; /* Cor do Github */
    color: #fff; /* Cor do texto */
    border-color: #333; /* Cor da borda */
}

.btn-github:hover {
    background-color: #1b1f23; /* Cor mais escura do Github quando passa o mouse */
    border-color: #1b1f23; /* Cor da borda quando passa o mouse */
    color: #fff; /* Cor do texto */
}

.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field:focus, 
.form-control:focus,
.select2-container--bootstrap-5.select2-container--open .select2-selection,
.select2-container--bootstrap-5.select2-container--focus .select2-selection {
    border-color: #c10000 !important; /* Cor da borda ao focar */
    box-shadow: 0 0 0 0.2rem rgba(193, 0, 0, 0.25) !important; /* Cor da borda ao focar */
}

.select2-container--bootstrap-5 .select2-dropdown {
    border-color: #c10000 !important; /* Cor da borda ao focar */
}

.select2-container {
    max-width: 100%; /* Garante que o campo não ultrapasse o contêiner */
}

.select2-container .select2-selection--single,
.select2-container .select2-selection--multiple {
    min-height: calc(1.5em + 0.75rem + 2px); /* Altura consistente com outros campos de formulário */
}

/* Estilo para botões de "Entrar" e "Cadastrar" */
.btn-gred {
    background-color: #c10000; /* Cor de fundo */
    color: #fff; /* Cor do texto */
    border-color: #c10000; /* Cor da borda */
}

.btn-gred:hover {
    background-color: #a10000; /* Cor de fundo ao passar o mouse */
    border-color: #a10000; /* Cor da borda ao passar o mouse */
}

.social-nav .navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.social-nav .nav-icon {
    color: white;
    padding: 4px; /* Reduzido para ajustar ao novo tamanho */
    border-radius: 50%; /* Mantém a forma circular */
    margin: 0 5px; /* Mantém o espaçamento entre ícones */
    width: 20px; /* Novo tamanho reduzido */
    height: 20px; /* Novo tamanho reduzido */
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.social-nav .nav-icon i {
    font-size: 10px;  /* Novo tamanho para o ícone */
}

.social-nav .nav-icon:hover {
    opacity: 0.8;
    background-color: rgba(255, 255, 255, 0.2);
}

.social-nav .nav-link {
    color: white;
    padding: 8px 10px;
    text-decoration: none;
    margin: 0 5px;
}

.imagem {
    max-width: 70%;
    height: auto;
}

.tcenter {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.tcenter img {
    margin: auto; /* Adiciona margem automática para centralizar blocos */
}

.input-busca {
    width: 80%;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.input-busca label {
    margin-bottom: 10px;
    display: block;
    text-align: center;
}

.readonly-field {
    background-color: #a6a6a6 !important;
    color: #000000 !important;
}

.readonly-field::placeholder {
    background-color: #a6a6a6 !important;
    color: #000000 !important;
}

.accordion-button {
    font-size: 0.9rem; /* Reduz o tamanho da fonte */
    padding: 0.3rem 0.6rem; /* Reduz os paddings */
}

.accordion-body {
    padding: 0.5rem; /* Reduz o padding do conteúdo */
}

.accordion-item {
    margin-bottom: 0.3rem; /* Reduz a margem entre os itens */
}

.accordion-dark {
    background-color: #000000 !important; /* Fundo preto */
    color: #ffffff !important; /* Texto branco */
    border: 1px solid #c10000 !important; /* Borda vermelha */
    border-radius: 4px;
    overflow: hidden;
}

.accordion-dark .accordion-item {
    border: none;
}

.accordion-dark .accordion-button {
    background-color: #000000 !important; /* Fundo preto */
    color: #ffffff !important; /* Texto branco */
    border: none !important;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    box-shadow: none !important; /* Remove sombra padrão no focus */
}

.accordion-dark .accordion-button:not(.collapsed) {
    background-color: #495057 !important; /* Fundo cinza escuro ao expandir */
    color: #ffffff !important;
}

.accordion-dark .accordion-button:hover,
.accordion-dark .accordion-button:focus {
    background-color: #495057 !important; /* Fundo cinza escuro ao passar o mouse */
    color: #ffffff !important; /* Texto branco */
    outline: none !important; /* Remove o outline */
    box-shadow: none !important; /* Remove sombra azul */
}

.accordion-dark .accordion-button::after {
    content: '';
    display: inline-block;
    width: 0.6em;
    height: 0.6em;
    margin-left: 0.5em;
    vertical-align: middle;
    border-top: 0.2em solid #ffffff; /* Seta branca */
    border-right: 0.2em solid #ffffff; /* Seta branca */
    transform: rotate(45deg);
}

.accordion-dark .accordion-button[aria-expanded="true"]::after {
    transform: rotate(-135deg); /* Seta invertida ao expandir */
}

.accordion-dark .accordion-body {
    background-color: #000000 !important; /* Fundo preto */
    color: #ffffff !important; /* Texto branco */
    padding: 0.5rem;
    border-top: 1px solid #c10000; /* Borda vermelha */
}

.accordion-light {
    background-color: #ffffff !important; /* Fundo preto */
    color: #000000 !important; /* Texto branco */
    border: 1px solid #c10000 !important; /* Borda vermelha */
    border-radius: 4px;
    overflow: hidden;
}

.accordion-light .accordion-item {
    border: none;
}

.accordion-light .accordion-button {
    background-color: #ffffff !important; /* Fundo preto */
    color: #000000 !important; /* Texto branco */
    border: none !important;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    box-shadow: none !important; /* Remove sombra padrão no focus */
}

.accordion-light .accordion-button:not(.collapsed) {
    background-color: #c8c8c8 !important; /* Fundo cinza escuro ao expandir */
    color: #000000 !important;
}

.accordion-light .accordion-button:hover,
.accordion-light .accordion-button:focus {
    background-color: #c8c8c8 !important; /* Fundo cinza escuro ao passar o mouse */
    color: #000000 !important; /* Texto branco */
    outline: none !important; /* Remove o outline */
    box-shadow: none !important; /* Remove sombra azul */
}

.accordion-light .accordion-button::after {
    content: '';
    display: inline-block;
    width: 0.6em;
    height: 0.6em;
    margin-left: 0.5em;
    vertical-align: middle;
    border-top: 0.2em solid #000000; /* Seta branca */
    border-right: 0.2em solid #000000; /* Seta branca */
    transform: rotate(45deg);
}

.accordion-light .accordion-button[aria-expanded="true"]::after {
    transform: rotate(-135deg); /* Seta invertida ao expandir */
}

.accordion-light .accordion-body {
    background-color: #ffffff !important; /* Fundo preto */
    color: #000000 !important; /* Texto branco */
    padding: 0.5rem;
    border-top: 1px solid #c10000; /* Borda vermelha */
}



.list-group-item-light {
    background-color: #ffffff !important; /* Fundo branco */
    color: #000000 !important; /* Texto preto */
    border: 1px solid #c10000 !important; /* Borda vermelha */
}

.list-group-item-light:hover,
.list-group-item-light:focus {
    background-color: #f8f9fa !important; /* Fundo claro ao passar o mouse */
    color: #000000 !important; /* Texto preto */
    border: 1px solid #c10000 !important; /* Borda vermelha */
}

.list-group-item-dark {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #c10000 !important; /* Borda vermelha */
}

.list-group-item-dark:hover,
.list-group-item-dark:focus {
    background-color: #495057 !important;
    color: #ffffff !important;
    border: 1px solid #c10000 !important; /* Borda vermelha */
}

.list-group-item {
    padding: 5px 15px;  /* Diminui o padding para reduzir a altura dos retângulos */
    font-size: 15px;    /* Ajusta o tamanho da fonte */
}
.list-group-item i {
    font-size: 14px;    /* Diminui o tamanho dos ícones FontAwesome */
}
.list-group {
    margin-bottom: 0;   /* Remove a margem inferior para uma lista mais compacta */
}

/* Estilo para o link ativo */
.list-group-item-dark.active, .list-group-item-light.active {
    background-color: #c10000 !important; /* Fundo vermelho */
    color: #ffffff !important;
    border: 1px solid #c10000 !important; /* Borda vermelha */
}


.menu-user{
    margin-top: 20px !important;
}

.menu-user-d{
    margin-bottom: 30px !important;
}


.img-icone {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

/* Estilos Gerais da Navbar */
.navbar {
    padding-top: 0px;
    padding-bottom: 0px;
}

/* Estilos de Fundo para Temas Escuro e Claro */
.bg-dark {
    background: linear-gradient(to right, black, #090909);
    color: #fff;
}

.bg-light {
    background: linear-gradient(to right, #eaeaea, #a9a9a9);
    color: #fff;
}

.bg-nav-dark {
    background: #210000;
    color: #fff;
}

.bg-nav-light {
    background: #f6f6f6;
    color: #000000;
}

.bg-dark-f {
    background: linear-gradient(to right, black);
    color: #fff;
}

.bg-light-f {
    background: linear-gradient(to right, #eaeaea);
    color: #fff;
}

.bg-color-d {
    background-color: #101010;
    color: #fff;
}

.bg-color-l {
    background-color: #fefefe;
    color: black;
}

.bg-border-dark {
    border: 2px solid #c10000 !important;
}

.bg-border-light {
    border: 2px solid black !important;
}

.bg-card-dark {
    border: 2px solid #c10000 !important;
    background-color: black;
}

.bg-card-light {
    border: 2px solid #c10000 !important;
    background-color: #fefefe;
}

.text-dark {
    color: #000 !important;
}

.text-light {
    color: #ffffff !important;
}

.anim-dark{
    color: #000 !important;
}

.anim-light {
    color: #ffffff !important;

}

.nf-dark{
    color: #000 !important;
}


.nf-light{
    color: #ffffff !important;
}

.text-nav {
    color: #ffffff !important;
}

.nborder-dark, .nborder-light {
    border-bottom: 2px solid;
    border-color: #000000;
}

/* Estilos para o Botão de Alternância de Tema */
#themeToggleButton {
    border-radius: 50%; /* Torna o botão circular */
    width: 30px; /* Largura do botão */
    height: 30px; /* Altura do botão */
    padding: 0px; /* Preenchimento interno */
    margin: 10px;
    display: flex; /* Alinhamento com Flexbox */
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center; /* Centraliza verticalmente */
}

#themeToggleButton i {
    line-height: 1; /* Ajusta a linha para os ícones */
}

/* Estilos para os Logos no Tema Escuro e Claro */
.logo-dark, .logo-light {
    width: 150px;
    height: auto; /* Altura do logo */
}

.nav-link {
    font-size: 0.85em; /* Ajuste para o tamanho desejado */
}

.nav-link i {
    font-size: 0.85em; /* Ajuste para o tamanho desejado */
}

.nav-link, .dropdown-item {
    text-decoration: none !important;
    font-size: 14px !important;
}

/* Esconde o submenu por padrão */
.nav-item .dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

/* Exibe o submenu ao passar o mouse */
.nav-item:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

.nav-text {
    font-size: 0.85em; 
    color: white;
    padding: 8px 10px;
    text-decoration: none;
    margin: 0 5px;
}

/* Estilo padrão para a barra de navegação: Itens alinhados horizontalmente */
#navbarSupportedContent .navbar-nav {
    display: flex;
    flex-wrap: wrap; /* Permite que os itens se empilhem quando não houver espaço */
}

#navbarSupportedContent .nav-item {
    white-space: nowrap; /* Previne que o texto quebre em várias linhas */
    margin-right: 4px; /* Espaçamento entre os itens, ajuste conforme necessário */
}

.footer {
    flex-shrink: 0; /* Impede que o footer encolha */
    width: 100%;
    height: auto;
    min-height: 97px;
    background-color: black;
    color: white;
    font-size: 0.85em;
}

.fsocial-icon {
    text-decoration: none; /* Remove o sublinhado do link */
    display: inline-flex; 
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    padding: 5px;
    margin: 15px 5px;
    width: 30px;
    height: 30px;
}

.fsocial-icon i {
    width: 100%; /* Largura do ícone */
    height: auto; /* Altura do ícone */
    color: #fff;
}

/* CSS para alternar cores com base no tema */
.bg-dark-f .social-icon, .bg-dark-f .copyright {
    color: #fff;
}

.bg-light .social-icon, .bg-light .copyright {
    color: #000;
}

.titulo-principal {
    max-width: 650px;
    text-align: center;
    margin: 10px auto 5px auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 22px;
    font-weight: bold;
}

.aviso {
    margin-top: 20px;
    text-align: left;
}

.titulo-principal:after {
    content: '|';
    margin-left: 5px;
    opacity: 1;
    animation: pisca .7s infinite;
}

/* Tabela no Tema Escuro */
.dataTables-dark table.dataTable {
    width: 100%;
    border-collapse: collapse;
}

/* Cabeçalho com Fundo Preto no Tema Escuro */
.dataTables-dark table.dataTable thead th {
    background-color: #000 !important;
    color: #fff !important;
    padding: 10px;
    border-bottom: 1px solid #c10000 !important;
}

/* Células da Tabela no Tema Escuro */
.dataTables-dark table.dataTable td {
    border-bottom: 1px solid #c10000 !important;
    color: #fff !important;
    padding: 10px;
}

/* Tabela no Tema Claro */
.dataTables-light table.dataTable {
    width: 100%;
    border-collapse: collapse;
}

/* Cabeçalho no Tema Claro */
.dataTables-light table.dataTable thead th {
    background-color: #fff !important;
    color: #000 !important;
    padding: 10px;
    border-bottom: 1px solid #c10000 !important;
}

/* Células da Tabela no Tema Claro */
.dataTables-light table.dataTable td {
    border-bottom: 1px solid #c10000 !important;
    color: #000 !important;
    padding: 10px;
}

/* Botões de Paginação */
.dataTables-dark .dt-paging-button, 
.dataTables-light .dt-paging-button {
    background-color: #fff !important;
    border: 1px solid #c10000 !important;
    color: #000 !important;
    margin: 2px;
    padding: 5px 10px;
    border-radius: 3px;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

/* Botões no Tema Escuro */
.dataTables-dark .dt-paging-button {
    background-color: #2c2c2c !important;
    color: #fff !important;
}

/* Hover e Estado Ativo dos Botões */
.dataTables-dark .dt-paging-button:hover,
.dataTables-light .dt-paging-button:hover {
    background-color: #000 !important; 
    color: #fff !important;
    border-color: #c10000 !important;
    background-image: none !important; 
}

/* Botões Ativos */
.dataTables-dark .dt-paging-button.current, 
.dataTables-light .dt-paging-button.current {
    background-color: #c10000 !important;
    color: #fff !important; /* Texto branco no tema claro */
    border: 1px solid #c10000 !important;
}

/* Botões Desabilitados */
.dt-paging-button.disabled {
    background-color: #e0e0e0 !important;
    color: #888 !important;
    border: 1px solid #ccc !important;
}

.dt-paging-button.disabled:hover {
    background-color: #e0e0e0 !important;
    color: #888 !important;
    border: 1px solid #ccc !important;
}

/* Campo de Busca com Borda Vermelha */
.dt-search .dt-input {
    background-color: #fff !important;
    color: #000 !important;
    border: 2px solid #c10000 !important;
    padding: 5px;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

/* Campo de Busca no Tema Escuro */
.dataTables-dark .dt-search .dt-input {
    background-color: #2c2c2c !important;
    color: #fff !important;
}

/* Foco no Campo de Busca */
.dt-search .dt-input:focus {
    outline: none;
    border-color: #c10000 !important;
    box-shadow: 0 0 8px rgba(255, 77, 77, 0.5);
}

/* Dropdown Select e Opções */
.dt-length select {
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #c10000 !important;
    outline: none;
}

.dt-length label {
    margin-left: 10px !important;
}


.dataTables-dark .dt-length select {
    background-color: #2c2c2c !important;
    color: #fff !important;
}

.dt-length select option {
    background-color: #fff !important;
    color: #000 !important;
}

.dt-length select option:hover {
    background-color: #e0e0e0 !important;
    color: #000 !important;
}

/* Foco no Dropdown */
.dt-length select:focus {
    border-color: #c10000;
    box-shadow: 0 0 5px rgba(193, 0, 0, 0.5);
    outline: none;
}

/* Estilo para inputs arredondados quando o botão de lixeira não está visível */
.input-group .form-control {
    border-radius: 0.375rem !important;  /* Arredonda todos os cantos */
    transition: border-radius 0.3s !important;  /* Suaviza a transição */
}

.input-group.no-clear .form-control {
    border-top-right-radius: 0.375rem !important; 
    border-bottom-right-radius: 0.375rem !important; 
}

/* Quando o botão da lixeira está visível */
.input-group.with-clear .form-control {
    background-color: #a6a6a6 !important;
    border-top-right-radius: 0 !important; 
    border-bottom-right-radius: 0 !important; 
}

hr {
    border-top: 1px solid #ccc;
    margin: 15px 0;
}

/* Animação de pisca */
@keyframes pisca {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/* Para dispositivos móveis */
@media (max-width: 992px) {

    .imagem {
        max-width: 60%;
        height: auto;
    }

    .social-nav .social-icons {
        display: flex;
        justify-content: center;
        flex-direction: row;
        width: 100%;
        margin-top: 20px; /* Adiciona espaço no topo das redes sociais */
        margin-bottom: 10px;
    }

    .social-nav .nav-icon {
        margin-right: 10px;
    }

    .social-nav .navbar-nav {
        display: flex;
        flex-direction: row;
        justify-content: center;
        width: 100%;
        margin-bottom: 10px; /* Adiciona espaço na parte inferior dos links */
    }

    .social-square-x {
        display: none;
    }

    .social-square {
        height: 30px; /* Altura total do contêiner pai */
    }

    /* Estilos para o Botão do Menu Hambúrguer Personalizado */
    .menu-toggler {
        border: 1px solid #ddd; /* borda do botão */
        background-color: #f8f9fa; /* cor de fundo */
        border-radius: 5px; /* cantos arredondados */
        padding: 5px 10px; /* preenchimento interno */
        display: inline-flex; /* para alinhar o ícone no centro */
        align-items: center; /* alinhamento vertical do ícone */
        justify-content: center; /* alinhamento horizontal do ícone */
        box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2); /* sombra para dar um efeito elevado */
        cursor: pointer; /* cursor em forma de mão quando passar o mouse sobre o botão */
    }

    .titulo-principal {
        max-width: 650px;
        text-align: center;
        margin: 40px auto 5px auto;
        font-family: 'Courier New', Courier, monospace;
        font-size: 18px;
        font-weight: bold;
    }

    .aviso {
        max-width: 750px;
        text-align: center;
        margin: 20px auto 5px auto;
        font-size: 20px;
    }
}

/* Para desktops */
@media (min-width: 993px) {
    .social-nav .social-icons {
        display: flex;
        justify-content: flex-start;
        flex-direction: row;
    }

    .social-nav .navbar-nav {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
    }
}

/* Esconder menu-toggler em telas maiores */
@media (min-width: 992px) {
    .menu-toggler {
        display: none !important;
    }
}


