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

  --clr-primary-dark: #2a4070;
  --clr-primary-main: #3E3F41;
  --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;
}

/* -------------------------------- HOME ----------------------------------*/
.home img {
	width: 100%;
    border-radius: 0.5rem;
	margin-top: 1rem;
}

@media only screen and (max-width: 900px) {
	.home img {
		margin-top: 0;
	}
}
/* -------------------------------- 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;
  }
}

.logo {
	width: 93px;
	height: 93px;
	img {
		width: 93px;
		height: 93px;
	}
}

.nav-item > span {
	color: #FFC928
}

/* -------------------------------- 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: #FFC928
}

.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;
  height: fit-content;
  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: #3E3F41;
  padding: 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-);
}

.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-);
}

.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);
  width: 100%;
}

.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: #3E3F41;
  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;
}
