:root {
  font-family: Arial, Helvetica, sans-serif;
}

body,
html {
  width: 100%;
  background-image: url("https://demandanet.com/dnetfundo.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.custom-tooltip {
  --bs-tooltip-opacity: 1;
}

td {
  position: relative;
}

.nav-link.current {
  position: relative;
  font-weight: bold;
}

.nav-link.current::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: rgb(255, 255, 255);
}

/* Estilo para o hover com sublinhado menor */
.nav-link:hover {
  position: relative;
}

.nav-link:hover::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 2px;
  bottom: -2px;
  left: 25%;
  background-color: rgb(255, 255, 255);
}

/* Ajuste de padding da navbar */
.navbar {
  padding: 0.5rem 1rem;
}

.navbar-brand img {
  max-height: 40px;
  width: auto;
}

.navbar-nav .nav-item {
  margin: 0 0.5rem;
}

/* Alinhamento padrão para telas grandes (à esquerda) */
.navbar-collapse {
  justify-content: flex-start;
  /* Alinha itens à esquerda */
}

/* Comportamento responsivo para telas menores */
@media (max-width: 992px) {
  .navbar-collapse {
    display: flex;
    justify-content: center;
    /* Alinha itens ao centro em telas pequenas */
    align-items: center;
    /* Centraliza verticalmente */
  }

  .navbar-nav {
    flex-direction: column;
    /* Itens organizados em coluna */
    text-align: center;
  }

  .navbar-nav .nav-item {
    margin: 0.5rem 0;
    /* Espaçamento entre os itens */
  }

  .navbar-brand {
    margin-bottom: 0.5rem;
    /* Ajusta o espaçamento em telas pequenas */
  }
}

/* Ensure the modal content is responsive */
.modal-dialog {
  max-width: 90%;
}

/* Estilo para a tabela */
.table {
  border-collapse: collapse; /* Remove espaços entre as bordas */
  width: 100%; /* Tabela ocupa toda a largura disponível */
}

.table th,
.table td {
  padding: 12px 15px; /* Aumenta o padding para mais espaço */
  text-align: left; /* Alinha o texto à esquerda */
  border: 1px solid #ddd; /* Borda suave */
  transition: background-color 0.3s; /* Suaviza a transição de cor */
}

.table th {
  background-color: #007bff; /* Cor de fundo do cabeçalho */
  color: white; /* Cor do texto do cabeçalho */
  font-weight: bold; /* Negrito para o cabeçalho */
}

.table tbody tr:hover {
  background-color: #e9ecef; /* Cor de fundo ao passar o mouse */
}

.table tbody tr:nth-child(even) {
  background-color: #f2f2f2; /* Cor de fundo alternada */
}

.table tbody tr:nth-child(odd) {
  background-color: #ffffff; /* Cor de fundo padrão */
}

/* Estilo para os botões */
.btn {
  border-radius: 5px; /* Bordas arredondadas */
  padding: 8px 12px; /* Aumenta o padding dos botões */
  font-size: 14px; /* Aumenta o tamanho da fonte dos botões */
}

/* Estilo para os ícones */
.btn i {
  margin-right: 5px; /* Espaço entre o ícone e o texto */
}

/* Estilo para a tabela responsiva */
.table-responsive {
  overflow-x: auto; /* Permite rolagem horizontal */
  -webkit-overflow-scrolling: touch; /* Suporte para rolagem suave em dispositivos móveis */
}

/* Remove fixed width settings */
#tabela_prof_docs th,
#tabela_prof_docs td {
  white-space: nowrap;
}

fieldset,
legend {
  all: revert;
}

.reset {
  all: revert;
  border: 1px solid #e0e0e0;
  font-weight: bold;
  border-radius: 5px;
  text-align: left;
}

.data-intervalo {
  margin-bottom: 10px;
  /* Controle de espaçamento */
}

.etapa {
  font-weight: bold;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  font-size: 30px;
  /* Aumenta o tamanho */
  color: #000;
  /* Altera a cor para preto */
  text-shadow: 0 0 4px #fff, 0 0 4px #fff;
  /* Adiciona sombra branca para melhor contraste */
}

swiper-container {
  width: 100%;
  height: 100%;
}

swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
}

swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spanEscola {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: small;
  margin: 3px;
  padding: 2px;
  border: 2px solid #ccc;
  background-color: #f0f0f0;
  border-radius: 10px;
  cursor: pointer;
}

#ordem_escolha_indicacoes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.large-spacing {
  margin-bottom: 20px;
}

/* Ajustes para telas menores */
@media (max-width: 768px) {
  .table th,
  .table td {
    padding: 8px 10px; /* Reduz o padding para telas menores */
    font-size: 12px; /* Reduz o tamanho da fonte */
  }

  .table {
    font-size: 12px; /* Reduz o tamanho da fonte da tabela */
  }
}

/* Estilo para o texto do tbody */
.table tbody td {
    color: #000; /* Cor do texto em preto */
}
