:root {
  /*   Variáveis de cor */

  --clr-primary-dark: #2a4070;
  --clr-primary-main: #1c519b;
  --clr-primary-light: #5f98ff;

  --clr-success-dark: #005f5b;
  --clr-success-main: #73deaa;
  --clr-success-light: #cdfff0;

  --clr-warning-dark: #814d04;
  --clr-warning-main: #ffc700;
  --clr-warning-light: #f9ed7f;

  --clr-error-dark: #ab1111;
  --clr-error-main: #ef8383;
  --clr-error-light: #ffe4e4;

  --clr-secondary-dark: #890080;
  --clr-secondary-main: #ac87cf;
  --clr-secondary-light: #d9afff;

  --clr-info-dark: #05114d;
  --clr-info-main: #122fc6;
  --clr-info-light: #d5dcf7;

  --clr-gray50: #f9f9f9;
  --clr-gray100: #edebeb;
  --clr-gray300: #e1e1e1;
  --clr-gray400: #cfd0d2;
  --clr-gray500: #c2c2c2;
  --clr-gray600: #aca8a8;
  --clr-gray700: #545454;
  --clr-gray800: #2d2d2e;
  --clr-gray900: #060608;

  --clr-background-papper: #f0f2f5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--clr-background-papper);
  font-family: "Libre Franklin", sans-serif;
  min-height: 100vh;
}

b {
  color: var(--clr-primary-main);
}

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}

.img-fluid {
  min-width: 100%;
  height: auto;
}

/* -------------------------------- HEADER -------------------------------- */

header {
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
  background-color: white;
  height: 76px;
  border-bottom: 1px solid var(--clr-gray400);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
}

.header-left button {
  cursor: pointer;
  border: none;
  background-color: white;
  margin-top: 7px;
}

.header-menu {
  margin-right: 1rem;
}

.header-logo {
  margin-right: 1rem;
}

.header-title {
  font-size: 20px;
  font-weight: 600;
}

header input[type="text"] {
  background-color: var(--clr-background-papper);
  border-radius: 8px;
  font-size: 14px;
  background-image: url("../img/search.svg");
  background-position: 10px 13px;
  background-repeat: no-repeat;
  padding: 12px 20px 12px 40px;
  border: none;
}

form#search-form {
    display: flex;
    width: 100%;
    gap: 4px;
}

header input[type="text"]:focus {
  outline: none !important;
}

.header-title-mobile {
  display: none;
}

@media only screen and (max-width: 900px) {
  .header-title {
    display: none;
  }
  .header-title-mobile {
    font-size: 1rem;
    font-weight: 600;
  }
  header input[type="text"] {
    font-size: 14px;
    width: 20rem;
  }
}

/* -------------------------------- CONTAINER -------------------------------- */

.grid-container {
  width: 100%;
  z-index: 0;
  margin: 0 auto;
  margin-top: 76px;
  display: flex;
}

/* -------------------------------- NAVBAR -------------------------------- */

.sidebar {
  width: 21%;
  height: 100%;
  position: fixed;
  z-index: 1;
  background-color: white;
  overflow: hidden;
  overflow-y: scroll;
  scrollbar-width: none;
}

.sidebar-small {
  position: relative;
  width: 0%;
  height: 100%;
  overflow: hidden;
}

.nav-list {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.nav-item {
  list-style: none;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-item span {
  color: var(--clr-gray700);
}

.nav-item a {
  text-decoration: none;
  color: var(--clr-gray700);
  padding-top: 1px;
  margin-left: 10px;
}

.nav-item a {
  text-decoration: none;
  color: var(--clr-gray700);
  padding-top: 1px;
}

header .active {
  border-left: 3px solid var(--clr-primary-main);
  padding-top: 8px;
  padding-bottom: 8px;
}

header .active span {
  color: var(--clr-primary-main);
}

header .active button {
  color: var(--clr-primary-main) !important;
  font-weight: bold;
}

.nav-item button {
  display: flex;
  gap: 1rem;
  text-align: left;
  width: 100%;
  background-color: white;
  border: none;
  outline: none;
  cursor: pointer;
  color: var(--clr-gray700);
  transition: background-color 0.2s linear;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-in-out;
}

.accordion-content ul {
  padding-top: 5px;
  list-style: none;
}

.accordion-content li {
  margin: 20px 0px;
}

.accordion-content a {
  margin-left: 0px;
}

.nivel_1 {
  border-left: 5px solid var(--clr-primary-dark);
  padding-left: 10px;
}

.nivel_2 {
  border-left: 5px solid var(--clr-primary-main);
  padding-left: 10px;
}

.nivel_3 {
  border-left: 5px solid #76b3d9;
  padding-left: 10px;
}

.nivel_4 {
  border-left: 5px solid #dae8f5;
  padding-left: 10px;
}

.download-do-manual span {
  color: var(--clr-success-dark);
}

.download-do-manual a {
  color: var(--clr-success-dark);
}

.download-do-manual a:hover {
  color: var(--clr-success-dark);
}

@media only screen and (max-width: 900px) {
  .sidebar {
    width: 0%;
    overflow: hidden;
  }

  .sidebar-small {
    position: fixed;
    width: 80%;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    overflow-y: scroll;
    scrollbar-width: none;
  }
}

/* -------------------------------- CONTENT -------------------------------- */

.content {
  margin-left: 22%;
  margin-right: 1rem;
}

.content-large {
  width: 100%;
  margin: 0rem 1rem 1rem 1rem;
}

.tag-edicao {
  position: absolute;
  background-color: var(--clr-warning-light);
  padding: 1rem;
  color: var(--clr-gray900);
  font-size: 20px;
  font-weight: 700;
  width: 124px;
  height: 60px;
  border-radius: 0px 0px 8px 8px;
  margin-left: 3rem;
  margin-top: 1rem;
}

.main-title-header {
  background-color: var(--clr-primary-main);
  padding: 1rem 1rem 1rem 3rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
  border-radius: 8px;
}

.main-title-header h1 {
  font-size: 2rem;
  color: white;
  font-weight: 200;
}

.breadcrumb {
  color: var(--clr-gray500);
}

.breadcrumb a {
  text-decoration: none;
  color: var(--clr-gray500);
}

.breadcrumb .atual {
  color: var(--clr-primary-main);
}

.main-content {
  background-color: white;
  border-radius: 8px;
  padding: 3rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6rem;
  margin-top: 1rem;
}

.main-content-intro h1 {
  font-size: 3.44rem;
  font-weight: bold;
  color: var(--clr-primary-main);
}

.main-content-presentation {
  width: 70%;
}

.main-content-presentation p {
  font-size: 1rem;
  color: var(--clr-gray700);
}

.main-content-intro {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.main-content-intro p {
  font-size: 1.375rem;
  color: var(--clr-gray700);
}

.main-content-intro a {
  margin-top: 2rem;
}

.btn-primary-main {
  background-color: var(--clr-primary-main);
  padding: 1rem;
  color: white;
  font-size: 1.125rem;
  font-weight: 400;
  text-decoration: none;
  border-radius: 8px;
  width: fit-content;
}

.btn-primary-main:hover {
  color: white;
}

.main-content-img {
  margin-top: -5rem;
}

@media only screen and (max-width: 900px) {
  .main-title-header h1 {
    font-size: 2rem;
  }
  .content {
    width: 100%;
    margin: 1rem;
    overflow: hidden;
  }

  .content-large {
    width: 100%;
  }
  .main-content {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
  }
  .main-content-presentation {
    width: 100%;
  }
  .main-content-intro h1 {
    margin-top: 3rem;
  }
  .main-content-intro a {
    margin-top: 1rem;
  }
  .main-content-img {
    display: none;
  }

  .main-content img {
    max-width: 100%;
    height: auto;
  }
}

/* -------------------------------- CONTEEUDO GERAL -------------------------------- */

.main-content-general {
  background-color: white;
  border-radius: 8px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1rem;
}

.main-content-general p {
  font-size: 1rem;
  color: var(--clr-gray700);
}

.main-content-general .legenda {
  font-size: 1rem;
  font-weight: bold;
  color: var(--clr-gray700);
  text-align: center;
  line-height: 3rem;
}

.main-content-general .fonte {
  font-size: 1rem;
  color: var(--clr-gray700);
  text-align: center;
  line-height: 4rem;
}

.main-content-general img {
  margin-top: 1rem;
}

.main-content-general ul,
li {
  font-size: 1rem;
  color: var(--clr-gray700);
}

.main-content-general .citacao {
  font-size: 0.9rem;
  color: var(--clr-gray900);
  margin-left: 4rem;
}

.wp-block-columns {
	display: flex;
	flex-direction: row;	
    justify-content: space-between;
    align-items: center;
}

@media only screen and (max-width: 900px) {
	.wp-block-columns {
		flex-direction: column;	
		align-items: center;
	}
}

/* -------------------------------- TABELA DE BOTÕES -------------------------------- */
.table-button {	
    border: none;
    border-radius: 1rem;
    background-color: var(--clr-background-papper);
	width: 100%;
}

.table-button-element {
	display: flex;
    align-items: center;
    padding: 8px 16px 8px 0;
}

.button-icon {	
    font-size: 3rem;
    padding: 0 1.5rem;
    color: #1C519B;
}

.button-table {	
    display: grid;
    grid-template-columns: repeat(auto-fit, 320px);
	gap: 2rem 5rem;
    justify-content: center;
}


/* -------------------------------- FOOTER -------------------------------- */

footer {
  margin-top: 1rem;
  padding: 3rem;
  background-color: var(--clr-primary-main);
  display: flex;
  flex-direction: column;
  border-radius: 8px 8px 0px 0px;
}

footer a {
  text-decoration: none;
  color: white;
}

.footer-collum {
  width: 25%;
  margin-bottom: 3rem;
}

.footer-collum h3 {
  margin-bottom: 2rem;
  font-size: 1rem;
  font-weight: 700;
  color: white;
}

.footer-collum ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-collum li {
  font-size: 1rem;
  font-weight: 200;
  color: white;
}

.redes-sociais {
  display: flex;
  gap: 1rem;
}

.redes-sociais img {
  height: 24px;
}

@media only screen and (max-width: 900px) {
  .footer-collum {
    width: 100%;
    margin-bottom: 3rem;
  }
  header input[type="text"] {
    font-size: 14px;
    width: 8rem;
  }
}

.wp-block-buttons {
    display: flex;
    justify-content: center;
}

.wp-block-button {
	cursor: pointer;
    padding: 1rem;
    border: 1px solid #1D4ED8;
    border-radius: 12px;
    color: #1D4ED8;
    background: white;
    width: fit-content;
    text-decoration: none;
    font-family: "Libre Franklin";
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.46px;
}

a.wp-block-button__link {
    color: #1D4ED8;
	text-decoration: none;
}

.wp-block-table table {
  border: 1px solid #cfd0d2;
}

.wp-block-table tbody {
  border: 1px solid #cfd0d2;
}

.wp-block-table tr {
  border: 1px solid #cfd0d2;
}

.wp-block-table td {
  border: 1px solid #cfd0d2;
  padding: 10px;
}

.wp-block-table ol,
li {
  margin-bottom: 1rem;
}

.wp-block-table ol,
li::marker {
  color: var(--clr-primary-main);
  font-weight: bold;
}
.wp-block-table table {
  font-size: 0.9rem;
}
.wp-block-table tr:first-child {
  background-color: #cfd0d2;
}
.wp-block-table tr:first-child {
  background-color: #1c519b;
  color: #ffffff;
}


/* 404
--------------------------------------------- */
.erro-404 {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	color: #7E848C;
	h1 {
		font-size: 80px;
    	font-weight: 700;
		margin-top: 0;
		margin-bottom: 0;
	}
	h4 {		
		font-size: 24px;
		font-weight: 700;
		margin-top: 0;
		margin-bottom: 0;
	}
	a, a:visited {
		color: #20234c;
		cursor: pointer;
	}
}

.not-found {
    flex: 1;
    margin-top: auto;
    margin-bottom: auto;
}

.container-404 {
    flex: 1;
    display: flex;
}


:root {
--clr-primary-main: #1e76c4;
}

strong {
	text-decoration: underline 3px #fdeb4970;
}
 
.wp-block-quote {
    background-color: #fdeb4920;
    padding: 0.1rem 1rem 1rem 1rem;
    border-radius: 0.5rem;
}
 
.atencao {
    background-color: #fdeb4920;
    padding: 1rem;
    border-radius: 0.5rem;
}

.glossario {
    align-self: flex-start;
    padding-left: 2rem;
}

.glossario .wp-block-group {
    padding-left: 2rem;
}

.wp-block-details {
    margin-bottom: 1rem !important;
}

.glossario h2 {
    color: var(--clr-primary-main);
}

.glossario summary {
    text-decoration: underline #fdeb4970 5px;
}

.wp-block-details p{
    padding-top: 0.5rem !important;
}

/* Estilos para dispositivos móveis (telas menores) */
@media (max-width: 1000px) {
  .glossario {
    padding-left: 0;
  }
}

/*
 * CSS para a Imagem de Topo Responsiva
 */
.container-imagem-topo img {
    /* A imagem nunca ultrapassará a largura do seu container. */
    max-width: 100%;
    
    /* A altura se ajustará automaticamente para manter a proporção. */
    height: auto;
    
    /* Garante que a imagem se comporte como um bloco. */
    display: block; 
	
	border-radius: 8px;
}

.wp-block-table {
	display: block !important;
}

/* Container para a tabela para adicionar sombra e bordas arredondadas */
#tabela-contas-container {
	width: 100%;
	max-width: 1200px;
	border-radius: 8px;
	overflow: hidden; /* Garante que o conteúdo respeite as bordas arredondadas */
	border: 1px solid #e0e0e0;
}

/* Estilização da tabela */
#tabela-contas-container table {
	width: 100%;
	border-collapse: collapse; /* Remove o espaçamento entre as células */
}

/* Estilização das células de cabeçalho (th) e de dados (td) */
#tabela-contas-container th, #tabela-contas-container td {
	border: 1px solid #e0e0e0;
	padding: 16px;
	text-align: left;
	vertical-align: top; /* Alinha o conteúdo no topo */
	font-size: 14px;
}

/* Estilização do cabeçalho da tabela */
#tabela-contas-container thead {
	background-color: #f3b41b; /* Cor de fundo amarela/dourada */
	color: white;
	font-weight: 600;
}

#tabela-contas-container thead th {
	text-align: center;
	vertical-align: middle;
	border-color: #f3b41b; /* Cor da borda igual ao fundo para um visual limpo */
}

/* Estilização das linhas do corpo da tabela */
#tabela-contas-container tbody tr {
	background-color: #ffffff;
}

/* Efeito de hover para as linhas */
#tabela-contas-container tbody tr:hover {
	background-color: #f8f9fa;
}

/* Estilização da primeira coluna do corpo da tabela */
#tabela-contas-container tbody td:first-child {
	font-weight: 600; /* Texto em negrito */
	background-color: #f9f9f9; /* Fundo levemente acinzentado */
}

#tabela-contas-container .sub-header td {
	text-align: center;
	vertical-align: middle;
	background-color: #f9f9f9; /* Fundo levemente acinzentado */
	font-weight: 600; /* Texto em negrito */
}

/* Estilos para responsividade */
@media screen and (max-width: 960px) {
	/* Esconde o cabeçalho original em telas menores */
	#tabela-contas-container thead, #tabela-contas-container .sub-header {
		display: none;
	}

	/* Transforma a tabela em um layout de blocos */
	#tabela-contas-container table, #tabela-contas-container tbody, #tabela-contas-container tr, #tabela-contas-container td {
		display: block;
		width: 100%;
	}

	/* Remove a borda colapsada e a sombra do container */
	#tabela-contas-container {
		box-shadow: none;
		border: none;
	}

	#tabela-contas-container table {
		border: none;
	}

	/* Estiliza cada linha como um cartão separado */
	#tabela-contas-container tbody tr {
		margin-bottom: 24px;
		border: 1px solid #e0e0e0;
		border-radius: 8px;
		overflow: hidden;
	}

	#tabela-contas-container tbody tr:last-child {
		margin-bottom: 0;
	}

	/* Remove a borda das células e ajusta o alinhamento */
	#tabela-contas-container td {
		border: none;
		border-bottom: 1px solid #e0e0e0;
		text-align: right; /* Alinha o conteúdo à direita */
		position: relative;
		padding-left: 50%; /* Deixa espaço para o rótulo */
		min-height: 48px;
		display: flex;
		align-items: center;
		justify-content: flex-end;
	}

	#tabela-contas-container td:last-child {
		border-bottom: none;
	}

	/* Usa o atributo 'data-label' para criar um rótulo antes do conteúdo da célula */
	#tabela-contas-container td:before {
		content: attr(data-label);
		position: absolute;
		left: 16px;
		width: calc(50% - 24px);
		font-weight: 600;
		text-align: left;
		white-space: normal;
	}

	/* Estiliza a primeira célula de cada linha como o título do cartão */
	#tabela-contas-container tbody td:first-child {
		background-color: #f9f9f9;
		font-weight: 700;
		text-align: center;
		justify-content: center;
		padding: 12px 16px;
	}

	/* Remove o rótulo do título do cartão */
	#tabela-contas-container tbody td:first-child:before {
		content: "";
	}

	/* Remove o efeito de hover em telas de toque */
	#tabela-contas-container tbody tr:hover {
		background-color: #ffffff;
	}
}

/* Container para a tabela */
#tabela-elementos-container {
	width: 100%;
	max-width: 1200px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #e0e0e0;
}

/* Estilização da tabela */
#tabela-elementos-container table {
	width: 100%;
	border-collapse: collapse;
}

/* Estilização das células de cabeçalho (th) e de dados (td) */
#tabela-elementos-container th, #tabela-elementos-container td {
	border: 1px solid #e0e0e0;
	padding: 16px;
	text-align: left;
	vertical-align: top;
	font-size: 14px;
}

/* Estilização do cabeçalho da tabela */
#tabela-elementos-container thead {
	background-color: #f3b41b;
	color: white;
	font-weight: 600;
}

#tabela-elementos-container thead th {
	text-align: center;
	vertical-align: middle;
	border-color: #f3b41b;
}

/* Estilização das linhas do corpo da tabela */
#tabela-elementos-container tbody tr {
	background-color: #ffffff;
}

#tabela-elementos-container tbody tr:hover {
	background-color: #f8f9fa;
}

#tabela-elementos-container tbody td:first-child {
	font-weight: 600;
}

/* Estilização para as listas com bullets */
#tabela-elementos-container ul {
	padding-left: 20px;
	margin: 0;
	list-style-position: outside;
}

#tabela-elementos-container li {
	margin-bottom: 12px;
	padding-left: 5px;
}

#tabela-elementos-container li::marker {
	color: #f3b41b;
}

#tabela-elementos-container li:last-child {
	margin-bottom: 0;
}


/* Estilos para responsividade */
@media screen and (max-width: 768px) {
	#tabela-elementos-container thead {
		display: none;
	}

	#tabela-elementos-container table, #tabela-elementos-container tbody, #tabela-elementos-container tr, #tabela-elementos-container td {
		display: block;
		width: 100%;
	}

	#tabela-elementos-container {
		box-shadow: none;
		border: none;
	}

	#tabela-elementos-container table {
		border: none;
	}

	#tabela-elementos-container tbody tr {
		margin-bottom: 24px;
		border: 1px solid #e0e0e0;
		border-radius: 8px;
		overflow: hidden;
	}

	#tabela-elementos-container tbody tr:last-child {
		margin-bottom: 0;
	}

	#tabela-elementos-container td {
		border: none;
		border-bottom: 1px solid #e0e0e0;
	}

	#tabela-elementos-container td:last-child {
		border-bottom: none;
	}

	#tabela-elementos-container tbody td:first-child {
		background-color: #f9f9f9;
		font-weight: 700;
		text-align: center;
		padding: 12px 16px;
	}
}




























