/*
Theme Name:		Congresso de Educação Física 2025
Theme URI:		http://congresso.esef.br/
Author:			CIJUN
Author URI:		https://cijun.sp.gov.br/
Description:	Hotsite do 20º Congresso de Educação Física da ESEF.
Version:		1.0
*/

/* ----- TABELA DE CORES DA GESTÃO --------------------------------------------------- */

:root {
	--azul-esef: #003571;
	--ciano-esef: #5fbae6;

	--azul1: #687cb4;
	--azul2: #a2aed0;

	--verde1: #a7d363;
	--verde2: #d4e9b3;

	--azul: #0474bc;
	--vermelho: #ed1c24;
	--tooltip: #E1FE0A;
}

/* ----- RESET ----------------------------------------------------------------------- */

* {box-sizing: border-box; scroll-behavior: smooth;}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd,
q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td
{border: 0; margin: 0; padding: 0; vertical-align: baseline; font-size: 100%; font: inherit;}

blockquote, q {quotes: none;}
blockquote:before, blockquote:after, q:before, q:after {content: ''; content: none;}
table {border-collapse: collapse; border-spacing: 0;}
strong, b {font-weight: bold;}
em, i {font-style: italic;}
pre, code, tt {font: 1em/1.5em monospace; white-space: pre-wrap;}
sup {line-height: 100%; font-size: 70%; vertical-align: top;}
sub {line-height: 100%; font-size: 70%; vertical-align: bottom;}
small {font-size: 80%;}
del, strike {text-decoration: line-through;}
img {-ms-interpolation-mode: bicubic; vertical-align: middle; display: block;}
button, input, select, textarea {font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle;}
label {cursor: pointer;}
legend {border: 0; padding: 0; white-space: normal;}
button, input {line-height: normal;}
button, input[type="button"], input[type="reset"], input[type="submit"] {cursor: pointer; -webkit-appearance: button; *overflow: visible;}
button[disabled], input[disabled] {cursor: default;}
input[type="checkbox"], input[type="radio"] {box-sizing: border-box; padding: 0; *width: 13px; *height: 13px;}
input[type="search"] {-webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box;}
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button {-webkit-appearance: none;}
button::-moz-focus-inner, input::-moz-focus-inner {border: 0; padding: 0;}
textarea {overflow: auto; vertical-align: top; resize: vertical;}
figure {margin-block-start: 0; margin-block-end: 0; margin-inline-start: 0; margin-inline-end: 0;}

/* ----- ELEMENTOS BÁSICOS ----------------------------------------------------------- */

body, button, input, select, textarea {
	background: #fff;
	color: #333;
}

a:link,
a:visited {
	color: var(--azul-esef);
}

a:hover {
	color: var(--azul);
}

a:active,
a:focus,
button:focus {
	color: var(--vermelho);
	outline: 1px dotted #666;
	outline-offset: 1px;
}

h1 {
	margin: 0 0 1em;
}

h2 {
	margin: 1.5em 0 1em;
}

h3, h4, h5, h6 {
	margin: 0 0 0.5em;
}

p, pre, dl, ul, ol {
	margin-bottom: 1.5em;
}

iframe {
	margin-left: auto;
	margin-right: auto;
	display: block;
	max-width: 100%;
}

iframe:not(figure iframe) {
	margin-bottom: 1.5em;
}

table {
	margin-bottom: 0.5em;
}

ul, ol {
	margin-left: 1.5em;
}

ul li, ol li {
	margin-bottom: 0.3em;
}

ul ul,
ol ol,
ul ol,
ol ul {
	margin-top: 0.3em;
	margin-bottom: 0.3em;
}

img {
	max-width: 100%;
	height: auto;
}

/* ----- TIPOGRAFIA ------------------------------------------------------------------ */

html, body, button, input, select, textarea {
	font-size: 16px;
	font-family: 'Open Sans', sans-serif;
}

body {
	line-height: 1.4;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

b, strong {
	font-weight: 600;
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.2;
	font-weight: 600;
}

h1 {
	font-size:  28px;
}

h2 {
	font-size: 22px;
}

h3 {
	font-size: 20px;
}

h4 {
	font-size: 18px;
}

h5 {
	font-size: 16px;
}

h6 {
	font-size: 16px;
}

@media only screen and (min-width: 1024px) {

	h1 {
		font-size: 32px;
	}

	h2 {
		font-size: 26px;
	}

	h3 {
		font-size: 24px;
	}

	h4 {
		font-size: 22px;
	}

	h5 {
		font-size: 18px;
	}

}

/* ----- ELEMENTOS GENÉRICOS --------------------------------------------------------- */

.container {
	min-width: 300px;
	max-width: 1300px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 20px;
}

.clear {
	content: '';
	height: 0;
	display: block;
	clear: both;
	line-height: 0;
}

.hidden {
	display: none;
}

.border-radius-5 {
	border-radius: 5px;
}

.border-radius-10 {
	border-radius: 10px;
}

@media only screen and (min-width: 1330px) {

	.container {
		padding: 0;
	}

}


/* ----- BLOCOS DO WORDPRESS --------------------------------------------------------- */

figure,
.wp-block-group,
.wp-block-image,
.wp-block-media-text,
.wp-block-video,
.wp-block-embed,
.wp-block-cover {
	margin: 0 auto 2em;
}

.wp-block-embed {
	width: fit-content;
}

.wp-caption-text,
figcaption {
	margin-top: 10px;
	color: #777;
	font-size: 14px;
}

.wp-caption-text,
figcaption,
figure.size-large figcaption,
figure.size-full figcaption,
figure.aligncenter figcaption,
figure.alignleft figcaption,
figure.alignright figcaption {
	text-align: center;
}

/* separador */

hr {
	background: #ccc;
	color: #ccc;
	border: none;
	margin: 2em auto;
	height: 1px;
}

.wp-block-separator {
	border: none;
	width: 50%;	
}

.wp-block-separator.is-style-wide {
	width: 100%;
}

/* vídeos */

/* inserido num bloco do tipo HTML usando o código embed do YouTube */
iframe[src*="youtube.com"]:not(figure.is-type-video iframe),
figure.is-type-video.aligncenter,
figure.is-type-video.aligncenter iframe {
	width: 100%;
}

@media only screen and (min-width: 600px) {

	figure.is-type-video.alignleft {
		margin: 0 20px 0 0;
		float: left;
	}

	figure.is-type-video.alignright {
		margin: 0 0 0 20px;
		float: right;
	}

}

@media only screen and (min-width: 800px) {

	iframe[src*="youtube.com"]:not(figure.is-type-video iframe),
	figure.is-type-video.aligncenter iframe {
		height: 500px;
	}

	/* os mesmos vídeos mas dentro de colunas */
	.wp-block-column iframe[src*="youtube.com"]:not(figure.is-type-video iframe),
	.wp-block-column figure.is-type-video.aligncenter iframe {
		height: 300px;
	}

}

@media only screen and (min-width: 1024px) {

	.pagina-full iframe[src*="youtube.com"]:not(figure.is-type-video iframe),
	.pagina-full figure.is-type-video.aligncenter iframe {
		height: 650px;
	}

	.wp-block-column iframe[src*="youtube.com"]:not(figure.is-type-video iframe),
	.wp-block-column figure.is-type-video.aligncenter iframe {
		height: 400px;
	}

}

/* conteúdo embedado do instagram e do facebook */

iframe.instagram-media,
iframe[src*="instagram.com"] {
	margin-left: auto !important;
	margin-right: auto !important;
}

iframe[src*="instagram.com"],
iframe[src*="facebook.com"] {
	margin-bottom: 2em !important;
}

/* parágrafos */

.wp-block-group.has-background {
	padding: 20px;
}

/* tabelas */

.wp-block-table {
	margin-bottom: 1.5em;
}

.wp-block-table.aligncenter {
	margin-right: auto;
	margin-left: auto;
}

.wp-block-table.alignleft {
	margin: 0 20px 0 0;
	float: left;
}

.wp-block-table.alignright {
	margin: 0 0 0 20px;
	float: right;
}

.wp-block-table table {
	font-size: 14px;
}

.wp-block-table thead {
	font-weight: 600;
}

.wp-block-table table td,
.wp-block-table table th {
	padding: 10px;
}

.wp-block-table:not(.is-style-stripes) table {
	border-top: 3px solid #eee;
	border-bottom: 3px solid #eee;
}

.wp-block-table:not(.is-style-stripes) table thead,
.wp-block-table:not(.is-style-stripes) table tfoot {
	background: #f5f5f5;
}

.wp-block-table:not(.is-style-stripes) table td,
.wp-block-table:not(.is-style-stripes) table th {
	border: 1px solid #eee;
}

.wp-block-table.is-style-stripes {
	border-bottom: none;
}

.wp-block-table.is-style-stripes table,
.wp-block-table.is-style-stripes table thead {
	border-bottom: 3px solid #333;
}

.wp-block-table.is-style-stripes table,
.wp-block-table.is-style-stripes table tfoot {
	border-top: 3px solid #333;
}

.wp-block-table table .has-text-align-center img {
	margin: auto;
}

.wp-block-table table .has-text-align-left img {
	margin: 0 20px 0 0;
	float: left;
}

.wp-block-table table .has-text-align-right img {
	margin: 0 0 0 20px;
	float: right;
}

/* botões */

.wp-block-button,
.wp-block-buttons {
	width: fit-content;
	margin-bottom: 1.5em;
	margin-left: auto;
	margin-right: auto;
}

.wp-block-button.is-style-squared .wp-block-button__link {
	border-radius: none;
}

.wp-block-button__link,
.wp-block-button__link:link,
.wp-block-button__link:visited {
	color: #fff;
}

.wp-block-button.alignleft {
	margin: 0 20px 0 0;
	float: left;
}

.wp-block-button.alignright {
	margin: 0 0 0 20px;
	float: right;
}

/* galerias */

.wp-block-gallery {
	margin: 0 0 2em;
}

/* blockquote */

.wp-block-quote {
	border-left: 3px solid #333;
	margin-bottom: 2em;
	margin-left: 2em;
	padding-left: 1em;
	font-style: italic;
}

.wp-block-pullquote {
	border-top: 3px solid #333;
	border-bottom: 3px solid #333;
	margin: 3em 0;
	padding: 2em 0;
}

.wp-block-quote cite,
.wp-block-pullquote cite {
	font-size: 14px;
}

.wp-block-quote cite,
.wp-block-pullquote:not(.wp-block-pullquote.has-background) cite {
	color: #666;
}

/* cover */

.wp-block-cover {
	width: 100%;
	color: #fff;
}

.wp-block-cover.left {
	margin: 0 20px 0 0;
	float: left;
}

.wp-block-cover.alignright {
	margin: 0 0 0 20px;
	float: right;
}

/* editor clásico */

.wp-caption {
	max-width: 100%;
}

.wp-caption.aligncenter,
img.aligncenter {
	margin-left: auto;
	margin-right: auto;
	display: block;
}

.wp-caption.alignleft,
img.alignleft {
	float: left;
	margin-right: 20px;
	margin-bottom: 5px;
}

.wp-caption.alignright,
img.alignright {
	float: right;
	margin-left: 20px;
	margin-bottom: 5px;
}

@media only screen and (max-width: 599px) {

	.wp-block-image .alignleft,
	.wp-block-image .alignright,
	.wp-block-image .alignleft img,
	.wp-block-image .alignright img,
	.wp-caption.alignnone,
	.wp-caption.aligncenter,
	.wp-caption.alignleft,
	.wp-caption.alignright,
	img.alignleft,
	img.alignright {
		margin-left: auto;
		margin-right: auto;
		display: block;
		float: none;
	}

}

/* ----- FORMULÁRIOS ----------------------------------------------------------------- */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="date"],
input[type="number"],
input[type="tel"],
input[type="password"],
textarea,
select {
	border: 1px solid #BBB;
	border-radius: 2px;
	padding: 5px;
	max-width: 100%;
}

input[type="file"] {
	margin-top: 0.5em;
}

input[type="submit"] {
	background: #ccc;
	background: linear-gradient(to bottom, #cccccc 0%, #aaaaaa 100%);
	color: #000;
	border: 1px solid #bbb;
	border-radius: 3px;
	padding: 10px 15px;
}

input[type="submit"]:hover {
	background: #aaa;
	background: linear-gradient(to bottom, #aaaaaa 0%, #cccccc 100%);
}

/* Plugin Contact Form 7 */

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="range"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="password"],
.wpcf7-form select,
.wpcf7-form textarea {
	width: 100%;
}

.wpcf7-form input[type="date"] {
	width: 200px;
}

.wpcf7-form .wpcf7-quiz-label,
.wpcf7-form .wpcf7-list-item {
	display: block;
}

.wpcf7-form .wpcf7-list-item {
	margin: 0.3em 0;
}

input[type="submit"] {
	margin: auto;
	padding: 10px 30px;
	display: block;
}


/* ----- ACESSIBILIDADE -------------------------------------------------------------- */

/* https://make.wordpress.org/accessibility/handbook/markup/the-css-class-screen-reader-text/ */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

#acessibilidade {
	position: absolute;
	left: -10000px;
	top: -10000px;
}

#acessibilidade-navegacao {
	list-style: none;
}

/* ----- CABEÇALHO ------------------------------------------------------------------- */

#header {
	padding: 20px 0;
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr;
	grid-template-areas: "navegacao" "logotipos";
}

#header a:link,
#header a:visited {
	color: #000;
}

#header .logotipos {
	grid-area: logotipos;
}

#header .logotipos .container {
	display: grid;
	gap: 30px;
	grid-template-columns: 1fr;
	grid-template-areas: "titulo" "logotipo";
	align-content: start;
}

#header .navegacao {
	grid-area: navegacao;
}

#header .navegacao .container {
	display: grid;
	gap: 0;
	grid-template-columns: repeat(2, 1fr);
	grid-template-areas: "menu busca";
	align-content: start;
}

/* título no cabeçalho */

#site-titulo {
	grid-area: titulo;
	align-self: center;
}

#site-titulo .titulo {
	background: url(images/logo-congresso.png) no-repeat top center/100% 100%;
	aspect-ratio: 5/3.5;
	width: 180px;
	height: auto;
	margin: 0 auto;
	display: block;
	text-indent: -100000px;
}

/* logo esef */

#esef {
	grid-area: logotipo;
	align-self: center;
}

#esef .logotipo-esef {
	background: url(images/logo-esef.png) no-repeat top center/100% 100%;
	aspect-ratio: 25/9;
	width: 180px;
	height: auto;
	margin: 0 auto;
	display: block;
	text-indent: -100000px;
}

@media only screen and (min-width: 600px) {

	#header .logotipos .container {
		grid-template-columns: repeat(2, 1fr);
		grid-template-areas: "titulo logotipo";
	}

	#site-titulo {
		justify-self: start;
	}

	#esef {
		justify-self: end;
	}

}

@media only screen and (min-width: 1024px) {

	#header {
		gap: 40px;
		grid-template-areas: "logotipos" "navegacao";
	}

	#header .navegacao {
		background: var(--verde1);
		background: -moz-linear-gradient(top, var(--verde1) 0%, var(--verde2) 100%);
		background: -webkit-linear-gradient(top, var(--verde1) 0%, var(--verde2) 100%);
		background: linear-gradient(to bottom, var(--verde1) 0%, var(--verde2) 100%);
		border-bottom: 5px solid var(--verde1);
	}

	#header .navegacao .container {
		padding: 10px 0;
		grid-template-columns: 1fr 250px;
	}

	#site-titulo .titulo {
		width: 220px;
	}

	#esef .logotipo-esef {
		width: 200px;
	}

}

/* ambientes de homologação e local */

#header.local:before,
#header.staging:before {
	color: #fff;
	border-radius: 5px 5px 0 0;
	padding: 10px;
	position: fixed;
	left: 10px;
	bottom: 0;
	z-index: 1000000000000;
	font-size: 11px;
	text-align: center;
	font-weight: 600;
}

#header.local:before {
	content: " WORDPRESS LOCAL ";
	background: rgba(0, 0, 0, 0.8);
}

#header.staging:before {
	content: " AMBIENTE DE TESTES ";
	background: var(--vermelho);	
}

/* ----- MENU PRINCIPAL -------------------------------------------------------------- */

#conteudo-menu {
	width: 100%;
	grid-area: menu;
	align-self: center;
	justify-self: stretch;
}

/* botão */
#menu-botao {
	background: transparent;
	color: #000;
	border: none;
	line-height: 1;
	margin: auto;
}

#menu-botao .hamburguer {
	font-size: 28px;
}

#menu-botao span {
	display: inline-block;
	vertical-align: middle;
}

/* container */
#menu-header {
	background-color: #fff;
	border-bottom: 5px solid var(--verde1);
	width: 100%;
	display: none;
	position: absolute;
	top: 70px;
	left: 0;
	z-index: 20;
	box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
}

.logged-in #menu-header {
	top: 110px;
}

/* primeiro nível */
#menu-principal {
	margin: 0;
	list-style: none;
}

#menu-principal a:link,
#menu-principal a:visited {
	color: #000;
	margin: 0;
	padding: 10px;
	display: block;
	text-decoration: none;
}

#menu-principal a:hover {
	background-color: var(--verde1);
	color: #000;
}

#menu-principal li {
	border-bottom: 1px solid var(--verde1);
	margin: 0;
	padding: 0;
}

/* segundo nível */
#menu-principal .sub-menu {
	border-top: 1px solid var(--verde1);
	margin: 0;
	list-style: none;
}

#menu-principal .sub-menu a:link,
#menu-principal .sub-menu a:visited {
	padding-left: 30px;
}

#menu-principal .sub-menu li:last-of-type {
	border: none;
}

/* terceiro nível */
#menu-principal .sub-menu .sub-menu {
	display: none;
}

@media only screen and (min-width: 783px) {

	.logged-in #menu-header {
		top: 90px;
	}

}

@media only screen and (min-width: 1024px) {

	#menu-botao {
		display: none;
	}

	#menu-header {
		background: none;
		border: none;
		position: static;
		display: block;
		box-shadow: none;
	}

	#menu-principal > li.menu-item-has-children:hover > a,
	#menu-principal > li > a:hover {
		background: #000;
		color: #fff;
		border-radius: 5px;
	}

	/* setas para indicar que o item tem sub-itens */
	#menu-principal > li.menu-item-has-children > a:after {
		content: ' \0020 ';
		background-image: url(https://src.cijun.sp.gov.br/img/media/filled-version/SVG/97-arrows/arrow-down-12.svg);
		background-repeat: no-repeat;
		background-position: bottom center;
		background-size: 12px 12px;
		width: 16px;
		height: 16px;
		margin-left: 5px;
		display: inline-block;
		float: right;
	}

	#menu-principal > li.menu-item-has-children > a:hover:after,
	#menu-principal > li.menu-item-has-children:hover > a:after {
		filter: invert(100%);
	}
	
	#menu-principal > li.menu-item-has-children:hover > a,
	#menu-principal > li.menu-item-has-children > a:hover {
		background: #000;
		color: #fff;
		border-bottom-right-radius: 0px;
		border-bottom-left-radius: 0px;
	}

	#menu-principal > li {
		display: inline-block;
		float: left;
	}
	
	#menu-principal > li,
	#menu-principal > .sub-menu {
		border: none;
	}


	/* segundo nível */
	#menu-principal li ul {
		background: #fff;
		border-bottom: 5px solid var(--verde1);
		width: 350px;
		margin: 0 !important;
		position: absolute;
		left: -999em;
		z-index: 9999;
		box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
	}

	#menu-principal .sub-menu a:link,
	#menu-principal .sub-menu a:visited {
		padding-left: 10px;
	}

	/* comportamento do segundo nível */
	#menu-principal li:hover ul ul, #menu-principal li:hover ul ul ul, #menu-principal li.sfhover ul ul, #menu-principal li.sfhover ul ul ul {
		left: -999em;
	}
	#menu-principal li:hover ul, #menu-principal li li:hover ul, #menu-principal li li li:hover ul,
	#menu-principal li.sfhover ul, #menu-principal li li.sfhover ul, #menu-principal li li li.sfhover ul {
		left: auto;
	}
	#menu-principal li:hover, #menu-principal li.sfhover {
		position: static;
	}

}

/* ----- BUSCA ----------------------------------------------------------------------- */

#conteudo-busca {
	width: 100%;
	grid-area: busca;
	align-self: center;
	justify-self: stretch;
	text-align: right;
}

#busca-botao {
	background: transparent;
	color: #000;
	border: none;
	line-height: 1;
	text-decoration: none;
}

#busca-botao .lupa {
	background: url(https://src.cijun.sp.gov.br/img/icones-busca/buscar-preto.svg) no-repeat center center/20px 20px;
	width: 20px;
	height: 20px;
}

#busca-botao span {
	display: inline-block;
	vertical-align: middle;
}

#busca {
	background: #fff;
	width: 100%;
	padding: 20px;
	display: none;
	position: absolute;
	top: 70px;
	right: 0;
	z-index: 30;
}

.logged-in #busca {
	top: 110px;
}

#busca .busca-texto {
	width: 85%;
	border-right: none;
	border-radius: 3px 0 0 3px;
	display: inline-block;
}

#busca .busca-botao {
	background: #fff url(https://src.cijun.sp.gov.br/img/icones-busca/buscar-cinza.svg) no-repeat center center/20px 20px;
	color: transparent;
	border-left: none;
	border-radius: 0 3px 3px 0;
	width: 15%;
	padding: 5px;
	display: inline-block;
}

@media only screen and (min-width: 783px) {

	.logged-in #busca {
		top: 100px;
	}

}

@media only screen and (min-width: 1024px) {

	#conteudo-busca {
		align-self: start;
	}

	#busca-botao {
		display: none;
	}

	#busca {
		background: none;
		padding: 5px 0 0;
		display: block;
		position: static;
	}

}

/* ----- PÁGINA INICIAL -------------------------------------------------------------- */

.page-pagina-inicial {}

.page-pagina-inicial #breadcrumb,
.page-pagina-inicial .pagina-titulo {
	display: none;	
}

/* ----- RESULTADO DE BUSCA ---------------------------------------------------------- */

.noticias-lista {
	margin: 0;
	list-style: none;
}

.noticias-lista a:link,
.noticias-lista a:visited {
	text-decoration: none;
}

.noticias-lista a:hover {
	color: var(--azulgestao);
	text-decoration: underline;
}

.noticias-lista .noticia-item {
	margin-bottom: 2em;
}

.noticias-lista .noticia-data {
	color: #666;
	display: inline-block;
	font-size: 13px;
}

.noticias-lista .noticia-titulo {
	margin-bottom: 0.3em;
	line-height: 1.3;
	font-size: 18px;
	font-weight: 600;
}

.noticias-lista .noticia-foto {
	display: none;
}

.nenhuma-noticia {
	text-align: center;
}

/* ----- CONTEÚDO -------------------------------------------------------------------- */

.pagina-interna {
	margin-top: 2em;
}

#breadcrumb {
	color: #666;
	margin-bottom: 3em;
	font-size: 14px;
}

.sharethis-inline-share-buttons {
	width: fit-content;
	margin: 150px auto 20px;
}

/* aviso de que a página é um rascunho */

#rascunho {
	background: var(--tooltip);
	color: #000;
	margin: 2em 0;
	padding: 20px;
	text-align: center;
}

/* page.php */

ul.sub-paginas,
ul.sitemap {
	margin: 0;
	list-style: none;
}

ul.sub-paginas {
	margin-top: 3em;
}

ul.sub-paginas > li:before  {
	content: "» \00a0";
}

ul.sitemap li {
	margin-bottom: 0.5em;
}

ul.sitemap ul.children {
	margin: 0.5em 0 0.5em 1em;
	list-style: none;
}

/* single.php */

.noticia-data-hora,
.noticia-categorias {
	color: #666;
	font-size: 14px;
}

.noticia-data-hora {
	margin-top: -2em;
	margin-bottom: 3em;
}

.noticia-categorias {
	margin: 3em 0;
}

@media only screen and (min-width: 1024px) {

	.pagina-interna {
		margin-top: 4em;
	}

}

/* altura mínima das páginas internas */

.pagina-inicial,
.pagina-interna {
	min-height: 400px;
}

@media only screen and (min-height: 800px) {

	.pagina-inicial,
	.pagina-interna {
		min-height: 590px;
	}

}

@media only screen and (min-height: 1080px) {

	.pagina-inicial,
	.pagina-interna {
		min-height: 700px;
	}

}

/* personalização de conteúdos específicos */

.page-programacao h2 {
	margin-bottom: 2em;
}

.page-programacao .sub-paginas {
	display: none;
}

.wp-block-columns h3 {
	margin-bottom: 1em;
}

/* ----- PAGINAÇÃO ------------------------------------------------------------------- */

#paginacao {
	height: fit-content;
	margin: 3em auto;
	clear: both;
	display: table;
	line-height: 1;
	text-align: center;
}

#paginacao .nav {
	display: table;
	margin: auto;
}

#paginacao span,
#paginacao a {
	padding: 8px;
	display: block;
	font-weight: 700;
	text-decoration: none;
}

#paginacao .nav a,
#paginacao .current {
	float: left;
}

#paginacao a:hover {
	background: var(--azul-esef);
	color: #fff;
	border-radius: 3px;
	text-decoration: none;
}

#paginacao .current {
	background: none;
	color: #666;
}

#paginacao .label {
	padding: 10px;
	font-size: 14px;
	font-weight: normal;
}

#paginacao .page {
	color: #666;
	padding: 10px;
}

@media only screen and (min-width: 800px) {

	#paginacao .label,
	#paginacao .nav {
		float: left;
		margin: 0;
	}

}

/* ----- ERRO 404 -------------------------------------------------------------------- */

.erro404-titulo,
.erro404-texto {
	text-align: center;
}

.erro404-titulo {
	margin: 50px 0 !important;
}

/* ----- PARCEIROS (APOIO) ------------------------------------------------------ */

#logotipos-rodape {
	margin: 10em auto 0;
}

#logotipos-rodape .container:first-of-type {
	margin-bottom: 40px;
}

#logotipos-rodape .logotipos-label {
	color: #333;
	margin: 0 auto 2em;
	font-weight: 600;
	text-align: center;
}

#logotipos-rodape .logotipos {
	width: fit-content;
	margin: auto;
	display: flex;
	gap: 20px;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

#logotipos-rodape .logo {
	flex-grow: 1;
}

#logotipos-rodape img {
	width: 100%;
	max-width: 100px;
	height: auto;
	margin: 0 auto;
	display: block;
	filter: saturate(80%) opacity(60%);
}

#logotipos-rodape img:hover {
	filter: none;
}


@media only screen and (min-width: 1024px) {
	
	#logotipos-rodape {
		display: grid;
		gap: 40px;
		grid-template-columns: 1fr 1fr;
	}

	#logotipos-rodape .logotipos {
		gap: 40px;
	}

}

/* ----- RODAPÉ ---------------------------------------------------------------------- */

#rodape {
	background: var(--azul1);
	background: -moz-linear-gradient(top, var(--azul1) 0%, var(--azul2) 100%);
	background: -webkit-linear-gradient(top, var(--azul1) 0%, var(--azul2) 100%);
	background: linear-gradient(to bottom, var(--azul1) 0%, var(--azul2) 100%);
	color: #000;
	border-top: 5px solid var(--azul2);
	margin-top: 2em;
	padding: 40px 0 80px;
	position: relative;
	text-align: center;
}

#rodape a:link,
#rodape a:visited {
	color: #333;
	text-decoration: none;
}

#rodape a:hover {
	text-decoration: underline;
}

#desenvolvido-por,
#privacidade {
	margin-top: 15px;
	font-size: 13px;
	text-align: center;
	line-height: 1.5;
}

#desenvolvido-por span,
#privacidade .privacy-policy-link {
	display: block;
}

#privacidade .termos-de-uso:before {
	content: ' | ';
}

#privacidade .termos-de-uso,
#privacidade .politica-de-cookies {
	display: none;
}

#botao-topo {
	background-color: #000;
	color: #fff;
	border-radius: 8px 8px 0 0;
	padding: 10px 25px;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}

#botao-topo img {
	filter: invert(1);
}

@media only screen and (min-width: 480px) {

	#desenvolvido-por {
		line-height: 1;
	}
	
	#desenvolvido-por span,
	#privacidade .privacy-policy-link {
		display: inline-block;
	}

	#desenvolvido-por .desenvolvido-por-cijun:before,
	#privacidade .politica-de-cookies:before {
		content: ' | ';
	}

}

@media only screen and (min-width: 800px) {

	#desenvolvido-por,
	#privacidade {
		display: inline-block;
	}

	#privacidade:before {
		content: ' | ';
	}

}

/* ----- REDES SOCIAIS --------------------------------------------------------------- */

#menu-social-container {
	margin: 10px auto;
	width: max-content;
}

#menu-social {
	margin: 0;
	display: table;
	list-style: none;
	text-align: center;
}

#menu-social li {
	display: inline-block;
}

/* não mostra sub-itens */
#menu-social .sub-menu {
	display: none;
}

#menu-social a {
	background-image: url(https://src.cijun.sp.gov.br/img/icones-sociais/icone-preto-web.svg);
	background-position: center center;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	width: 30px;
	height: 30px;
	margin: 5px;
	display: block;
	text-indent: -10000px;
}

#menu-social a[href*="/feed/"] {
	background-image: url(https://src.cijun.sp.gov.br/img/icones-sociais/icone-preto-feed.svg);
}

#menu-social a[href*="facebook.com"],
#menu-social a[href*="fb.com"] {
	background-image: url(https://src.cijun.sp.gov.br/img/icones-sociais/icone-preto-facebook.svg);
}

#menu-social a[href*="instagram.com"] {
	background-image: url(https://src.cijun.sp.gov.br/img/icones-sociais/icone-preto-instagram.svg);
}

#menu-social a[href*="youtube.com"],
#menu-social a[href*="yt.be"] {
	background-image: url(https://src.cijun.sp.gov.br/img/icones-sociais/icone-preto-youtube.svg);
}

#menu-social a[href*="flickr.com"] {
	background-image: url(https://src.cijun.sp.gov.br/img/icones-sociais/icone-preto-flickr.svg);
}

#menu-social a[href*="twitter.com"] {
	background-image: url(https://src.cijun.sp.gov.br/img/icones-sociais/icone-preto-twitter.svg);
}

/* ----- POP-UP DA LGPD ------------------------------------------------------------------------ */

#aviso-lgpd {
	background: #eee;
	border: 1px solid #ddd;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	width: 100%;
	max-width: 1100px;
	margin: auto;
	padding: 20px;
	display: block;
	position: fixed;
	bottom: 0;
	left: 50%;
    transform: translateX(-50%);
	z-index: 10000000000;
	font-size: 14px;
}

#aviso-lgpd span {
	display: inline-block;
}

#aviso-lgpd button {
	background: #444;
	color: #fff;
	border: none;
	border-radius: 3px;
	margin: 20px auto 0;
	padding: 10px 40px;
	display: block;
	text-transform: uppercase;
}

@media only screen and (min-width: 600px) {
	
	#aviso-lgpd span {
		width: calc(100% - 120px);
		float: left;
	}

	#aviso-lgpd button {
		float: right;
		margin: 0;
	}

}

/* ----- RECAPTCHA ------------------------------------------------------------------- */

small.recaptcha {
	color: #999 !important;
}

small.recaptcha,
small.recaptcha a {
	font-size: 9px !important;
}

.grecaptcha-badge {
	visibility: hidden;
}

/* ----- IMPRESSÃO ------------------------------------------------------------------- */

.print {
	display: none;
}

@media print {

	.print {
		display: block;
	}

	.privacy-policy-link, /* política de privacidade */
	.ht-skip, /* hand talk */
	.no-print {
		display: none !important;
	}

	.url {
		margin-bottom: 1em;
		text-align: left;
	}

	#header-impresso {
		height: auto;
		margin-bottom: 0.5em;
		font-size: 18px;
		text-align: center;
	}

	#main {
		margin-top: 0;
	}

}