body {
  font-family: Arial, sans-serif;
  background-color: #f0f0f5;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}


.header {
  background-color: #2a5298;
  color: white;
  padding: 15px 0;
  box-shadow: 0 1px 4px rgba(42, 82, 152, 0.15); /* Sombra sutil */
}

/* Barra de navega o */

.navbar {
  background-color: #2a5298;
  padding: 0;
  box-shadow: 0 2px 8px rgba(42, 82, 152, 0.2); /* Sombra sutil na mesma cor */
}

/* Itens da barra de navega o */

.navbar-nav .nav-link {
  color: white !important;
  padding: 5px 5px;
  border-radius: 10px;
}

/* Efeito hover dos itens da barra de navega o */
.navbar-nav .nav-link:hover {
  background-color: #4d5172;
}

/* Item ativo da barra de navega o */

.navbar-nav .nav-link.active {
  background-color: #4d5172;
}

/* Título da p gina */

.content-header {
  background-color: #afb2d2;
  padding: 15px;
  color: #444;
  margin-bottom: 0;
}

/* Caixa gen rica */
.box {
  border: 0.125rem solid rgb(225, 191, 191);
  margin: 1.25rem auto;
  padding: 1.25rem;
  width: 100%;
  max-width: 50rem;
}

/* Caixa espec fica para unidades */
#box-unidades {
  border: 0.125rem solid rgb(149, 151, 226);
  margin: 1.25rem auto;
  padding: 1.25rem;
  width: 100%;
  max-width: 900px;
}

/* Conte do da p gina */
.content {
  background-color: #f0f0f5;
  padding: 20px;
  color: #333;
  line-height: 1.6;
}

/* Container do conte do */
/* .content-container {
  background-color: white;
  border: 1px solid #ddd;
  margin: 20px auto;
} */

.link {
  color: #5d3e96;
  font-weight: bold;
  text-decoration: none;
}

.logo-img {
  height: 60px;
}

/* T tulo do portal */
.portal-title {
  font-size: 24px;
  font-weight: bold;
}

/* Conte do da p gina */
.page-content {
  display: none;
}

/* Conte do da p gina ativo */
.page-content.active {
  display: block;
}

#pdf {
  /* PDF */
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 50%;
}

/* Seção */
.section {
  margin-bottom: 20px;
}

/* Título da seção */
.section-header {
  background-color: #b2b6db;
  padding: 10px 15px;
  font-weight: bold;
  color: #424269;
}

/* Conte do da seção*/
.section-content {
  background-color: #e6e8f5;
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Item da seção*/
.entity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 150px;
  margin-bottom: 5px; /* Ajustei o espa o entre os itens */
}

/* Icone da seção */
.entity-icon {
  width: 60px; /* Reduzido o tamanho da imagem */
  height: 60px; /* Reduzido o tamanho da imagem */
  margin-bottom: 1px; /* Ajustei o espa o entre a imagem e o nome */
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Nome da seção */
.entity-name {
  font-size: 12px;
  color: #424269;
  margin-top: 5px; /* Adicionado para um pequeno espa o no topo do nome */
}

.entity-item {
  transition: transform 0.3s ease-in-out;
}

.entity-item:hover {
  transform: scale(1.1);
}

#menu-lateral-container {
  height: 100%;
  background-color: #f8f9fa;
  border-right: 1px solid #dee2e6;
}

#menu-lateral-dados {
  width: 90%;
  height: 60%;
  background-color: #f8f9fa;
}

/* Itens do menu lateral */
#sidebar {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  box-shadow: 3px 0 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  overflow-y: auto;
  color: #fff;
  font-family: "Montserrat", sans-serif;
}

/* Efeitos do menu lateral */

.menu-item a:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  transform: translateX(5px);
}

.voltar-btn:hover {
  background: rgba(255, 255, 255, 0.25) !important;
}

@media (max-width: 768px) {
  #sidebar {
    width: 100% !important;
    height: 100vh !important;
  }
}

.voltar-btn {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
}

#menu-list .menu-item .nav-link {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
}

#sidebar .text-muted {
  font-size: 0.75rem;
}

#dados-abas {
  height: 100vh;
  overflow-y: auto;
}
