#telaLogin {
    width: 400px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 1px 5px 30px rgb(195, 195, 195);
}

#telaRelatorio {
    width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 1px 5px 30px rgb(195, 195, 195);

}

#telaTotem {
    width: 1000px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 1px 5px 30px rgb(195, 195, 195);
}
#telaSD {
    width: 98%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 1px 5px 30px rgb(195, 195, 195);
    z-index: 1;
    height: auto; /* Deixe a altura automática para permitir a rolagem */
    min-height: 100vh; /* Isso vai garantir que o conteúdo ocupe ao menos a altura da tela */
}


.badge {
    position: absolute;
    bottom: 90px;
    right: 25px;
    background-color: red;
    color: white;
    border-radius: 50%;
    width: 45px;      /* Define a largura fixa */
    height: 45px;     /* Define a altura fixa */
    padding: 4px 8px;
    font-size: 30px;
}
.bmenu {
    position: absolute;
    bottom: 90px;
    right: -20px;
    background-color: red;
    color: white;
    border-radius: 50%;
    width: 45px;      /* Define a largura fixa */
    height: 45px;     /* Define a altura fixa */
    padding: 4px 8px;
    font-size: 30px;
}
.b2d {
    position: absolute;
    bottom: 90px;
    right: 25px;
    background-color: red;
    color: white;
    border-radius: 50%;
    width: 50px;      /* Define a largura fixa */
    height: 50px;     /* Define a altura fixa */
    padding: 4px 8px;
    font-size: 30px;
}


.rolando {
    max-height: 95%; /* Defina a altura máxima desejada */
    overflow-y: auto; /* Permite rolagem vertical */
    overflow-x: hidden; /* Oculta a rolagem horizontal, se não for necessária */
    border: 1px solid #ccc; /* Opcional: borda para destacar a div */
    padding: 10px; /* Opcional: espaçamento interno */
}
#fundo {
    background-color: #00401B;

}
#fundoA {
    /* background-color: #FF4500; */
    background-color: #F4A460;

}
#fundoB {
    /*background-color: #9932CC;*/
    /* background-color: #9370DB; */
    background-color: #7B68EE;

}
#fundoC {
    background-color: #E74C3C; /* Vermelho moderado, elegante e moderno */
}
#fundoD {
    background-color: #f79126; /* Vermelho moderado, elegante e moderno */
}
#fundoE {
    background-color: #00008B; /* Vermelho moderado, elegante e moderno */
}
#fundoF {
    background-color: #00008B; /* Vermelho moderado, elegante e moderno */
}
#fundoG {
    background-color: #730001; /* Vermelho moderado, elegante e moderno */
}


.table-danger {
    border: 2px solid red;
}
.rounded-border {
    border: 2px solid red; /* Cor da borda */
    border-radius: 10px; /* Arredondamento da borda */
    overflow: hidden; /* Para evitar que o conteúdo transborde a borda arredondada */
}

/* Para aplicar a borda arredondada às células da tabela */
.rounded-border td {
    border: none; /* Remover a borda padrão das células, se houver */
}
/* Esconde o formato nativo de data */
#dtfim::-webkit-calendar-picker-indicator {
    display: none;
}
/* Se você quiser garantir que a classe 'rounded-border' também aplique um fundo ou outra formatação, considere isso */
.rounded-border {
    background-color: white; /* Cor de fundo opcional */
}
.link_sd {
    color: inherit; /* Mantém a cor do texto pai */
    text-decoration: none; /* Remove o sublinhado */
    /*pointer-events: none; /* Opcional: desativa o clique no link */
}

.divbotao {
    padding-right: 40px;
    margin-left: -10px;
    text-align: center;
}

.topperson {
    margin-top: 30px;
    margin-left: -20px;
}

.botao-transparente {
    background: none;
    border: none;
}
.input-error {
    border: 2px solid red;
}

.pagination .page-item .page-link {
    color: white;
    /* Cor do texto */
    background-color: green;
    /* Cor do fundo */
    border-color: green;
    /* Cor da borda */
}
.pagination .page-item.active .page-link {
    background-color: darkgreen; /* Cor de fundo da página ativa */
    border-color: darkgreen; /* Cor da borda da página ativa */
    color: white; /* Cor do texto */
}


.pagination .page-item .page-link:hover {
    background-color: darkgreen;
    /* Cor de fundo ao passar o mouse */
    border-color: darkgreen;
    /* Cor da borda ao passar o mouse */
}

/*Estilo básico para os checkboxes */
input[type="checkbox"] {
    transform: scale(1.3);
    /* Aumenta o tamanho do checkbox  */
    margin-right: 5px;
    color: green;
    background-color: green;
    font-weight: bold;
}


#addPost {
    margin-left: auto;
    margin-right: auto;
    width: 45em
}

.dark-theme input[type="checkbox"] {
    background-color: #343a40 !important; /* Fundo escuro */
    border-color: #495057 !important;     /* Borda escura */
    color: white !important;              /* Cor de ícone marcado */
    transform: scale(1) !important;       /* Redefine escala */
    margin-right: 0px !important;         /* Remove margem */
    font-weight: normal !important;       /* Redefine peso da fonte */
}

.dark-theme input[type="checkbox"]:checked {
    background-color: #0d6efd !important; /* Fundo ao marcar */
    border-color: #0d6efd !important;
}

#semDetalhes {
    box-shadow: 0 0 0 0;
    border: 0 none;
    outline: 0;
    color: white;
    background-color: white;
}

#titulo {
    margin-top: 25 px;

}

#telaBotoes {
    padding-top: 900px;

}

#conteudo {
    margin-top: 25 px;

}

#postar {
    margin-top: 25px;
    align-content: center;
}

#voltar:link {
    text-decoration: none;

}

#voltar:visited {
    text-decoration: none;

}

#voltar:hover {
    text-decoration: none;
    color: inherit;
}

#voltar:active {
    text-decoration: none;

}

#voltar {
    color: inherit;
}

#conteudo {
    text-align: center;
}

#titulo {
    text-align: center;
}

.senha_box {
    background: white;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    border-top: 5px solid red;
    margin-bottom: 25px;
}

.senha_box h4 {
    font-weight: 900;
}

.senha_box.senha_a {
    border-top-color: greenyellow;
}

.senha_box.senha_c {
    border-top-color: orange;
}

.box_form {
    background: white;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
}

.input_senha {
    width: 150px;
    margin: 0 auto;
    position: relative;
}

.text-input {
    text-align: center;
}

.input_senha input {
    font-family: 'Courier New', monospace;
    font-size: 40px;
    padding-left: 60px;
    outline: none !important;
    box-shadow: none !important;
    border: 1px solid #ced4da !important;
    border-radius: 5px 0 0 5px;
}


.tooltip {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom:
        45%;
    /* Atributo para posicionar a tooltip abaixo do elemento */
    left: 50%;
    margin-left: -60px;
    /* Usado para centralizar horizontalmente */
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip2 {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom:
        80%;
    /* Atributo para posicionar a tooltip abaixo do elemento */
    left: 50%;
    margin-top: 5%;
    margin-left: -47%;
    /* Usado para centralizar horizontalmente */
    opacity: 0;
    transition: opacity 0.3s;
}

a:hover .tooltip2 {
    visibility: visible;
    opacity: 1;
}

.tooltip3 {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 20%;    /* Atributo para posicionar a tooltip abaixo do elemento */
    left: 50%;
    margin-top: 5%;
    margin-left: 37%;
    /* Usado para centralizar horizontalmente */
    opacity: 0;
    transition: opacity 0.3s;
}

a:hover .tooltip3 {
    visibility: visible;
    opacity: 1;
}

.tooltip4 {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 20%; /* Atributo para posicionar a tooltip abaixo do elemento */
    left: 50%;
    margin-top: 5%;
    margin-left: 33%;
    /* Usado para centralizar horizontalmente */
    opacity: 0;
    transition: opacity 0.3s;
}

a:hover .tooltip4 {
    visibility: visible;
    opacity: 1;
}

.tooltip5 {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 20%;
    left: 50%;
    margin-top: 5%;
    margin-left: -33%;
    /* Usado para centralizar horizontalmente */
    opacity: 0;
    transition: opacity 0.3s;
}

a:hover .tooltip5 {
    visibility: visible;
    opacity: 1;
}
.tooltip6 {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 80%;
    left: 120%;
    margin-top: 5%;
    margin-left: -33%;
    /* Usado para centralizar horizontalmente */
    opacity: 0;
    transition: opacity 0.3s;
}

a:hover .tooltip6 {
    visibility: visible;
    opacity: 1;
}
.tooltip7 {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 80%;
    left: 105%;
    margin-top: 5%;
    margin-left: -33%;
    /* Usado para centralizar horizontalmente */
    opacity: 0;
    transition: opacity 0.3s;
}

a:hover .tooltip7 {
    visibility: visible;
    opacity: 1;
}
.tooltip8 {
    visibility: hidden;
    width: 150px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 80%;
    left: 85%;
    margin-top: 5%;
    margin-left: -33%;
    /* Usado para centralizar horizontalmente */
    opacity: 0;
    transition: opacity 0.3s;
}

a:hover .tooltip8 {
    visibility: visible;
    opacity: 1;
}

a:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* .paginacao a {
    text-decoration: none;
    padding: 5px;
    margin: 2px;
    color: black;
}

.paginacao a.ativo {
    background-color: #198754;
    color: white;
} */
.paginacao a {
    display: inline-block;
    margin: 0 3px;
    padding: 5px 10px;
    text-decoration: none;
    color: #28a745;
    border: 1px solid #28a745;
    border-radius: 5px;
    transition: 0.3s;
}

.paginacao a:hover {
    background-color: #28a745;
    color: white;
}

.paginacao .ativo {
    background-color: #28a745;
    color: white;
    font-weight: bold;
    pointer-events: none;
}
.input_senha span {
    display: flex;
    width: 50px;
    height: 100%;
    background: #ced4da;
    position: absolute;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-family: 'Courier New', monospace;
}

.modal {
    display: none;
    /* Esconder o modal por padrão */
    position: fixed;
    /* Fixar o modal na tela */
    z-index: 1;
    /* Garantir que o modal fique acima de outros elementos */
    left: 0;
    top: 0;
    width: 100%;
    height: 200%;
    overflow: auto;
    /* Habilitar rolagem se o conteúdo for muito grande */
    background-color: rgba(0, 0, 0, 0.4);
    /* Fundo escurecido */
}
.modalCima {
    display: none;
    /* Esconder o modal por padrão */
    position: fixed;
    /* Fixar o modal na tela */
    z-index: 1;
    /* Garantir que o modal fique acima de outros elementos */
    left: 0;
    top: -150px;
    width: 100%;
    height: 200%;
    overflow: auto;
    /* Habilitar rolagem se o conteúdo for muito grande */
    background-color: rgba(0, 0, 0, 0.4);
    /* Fundo escurecido */
}
.modalMaisCima {
    display: none;
    /* Esconder o modal por padrão */
    position: fixed;
    /* Fixar o modal na tela */
    z-index: 1;
    /* Garantir que o modal fique acima de outros elementos */
    left: 0;
    top: -30%;
    width: 100%;
    height: 200%;
    overflow: auto;
    /* Habilitar rolagem se o conteúdo for muito grande */
    background-color: rgba(0, 0, 0, 0.4);
    /* Fundo escurecido */
}
.modal-content2 {
    background-color: #fefefe;
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.close2 {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close2:hover,
.close2:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.close3 {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close3:hover,
.close3:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.espaco {
    margin-left: 10%;
    font-weight: bold;
}
.centralizado {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.texto-longo {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    margin: 0;
    padding: 0;
  }
  
  .permissoes-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
  }

  .permissao-item {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    padding: 8px;
    border-radius: 6px;
    font-family: sans-serif;
    font-size: 14px;
  }

  .permissao-item svg {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    fill: #007bff;
    flex-shrink: 0;
  }

  .permissao-label {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  #tela-permissoes .permissao-box input[type="checkbox"] {
    background-color: white !important;
    border-color: #096b00 !important;
  }
  #tela-permissoes .permissao-box input[type="checkbox"]:checked {
    background-color: #096b00 !important;
    border-color: black !important;
  }
 
  .permissao-nome {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .permissao-icon svg {
    width: 14px;
    height: 14px;
    fill: blue;
    flex-shrink: 0;
  }

/* Garantir que o z-index do tooltip está correto */
/* .tooltip.bs-tooltip-top, .tooltip.bs-tooltip-bottom, .tooltip.bs-tooltip-start, .tooltip.bs-tooltip-end {
    z-index: 1050 !important; */
/* } */

/* Prevenir que o tooltip seja coberto por outros elementos */
/* .tooltip-inner {
    background-color: #0d6efd;
    color: white;
    padding: 5px 10px;
    font-size: 0.875rem;
    border-radius: 4px;
} */

/* Ajustar a posição do tooltip se necessário */
/* .tooltip-arrow {
    border-color: #0d6efd;
} */
/* Estilos exclusivos para a página com a classe .pagina-config */
.pagina-config .tooltip {
    visibility: hidden;
    width: 150px; /* Tamanho do tooltip */
    background-color: #0d6efd; /* Cor de fundo */
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1050; /* Certifica-se de que o tooltip não será coberto */
    bottom: 45%; /* Posição relativa ao elemento */
    left: 50%;
    margin-left: -75px; /* Ajusta para centralizar o tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}

/* Torna o tooltip visível ao passar o mouse */
.pagina-config .tooltip-visible {
    visibility: visible;
    opacity: 1;
}

/* Ajustar a posição do tooltip se necessário */
.pagina-config a:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* #editor img {
    max-width: 600px;
    width: 100%;
    height: auto;
  } */

  .ql-editor img {
    max-width: 100%;
    cursor: pointer;
    /* Fazendo as imagens ficarem dentro da área de edição e podendo ser redimensionadas */
}

.ql-editor .resize-handle {
    border: 1px dashed #999;
    width: 10px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    right: 0;
    bottom: 0;
    cursor: se-resize;
}
