/*
Theme Name: Parque da Cidade 2.1
Theme URI: https://parquedacidade.jundiai.sp.gov.br/
Author: CIJUN
Author URI: https://cijun.sp.gov.br/
Description: Site do Parque da Cidade
Version: 2.1
*/

/* ----- TABELA DE CORES -------------------------------------------------------- */

:root {
	--verdeescuro: #007941;
	--verde: #58ab47;
	--verdeagua: #d8e8d0;
	--laranja: #f26222;
}

/* ----- 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,
input,
textarea,
select,
button {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	/* word-wrap: break-word; */
	font-weight: 300;
}

body {
	background: #fff;
	color: #000;
	line-height: 1.2;
}

h1 {
	margin: 1em 0;
	font-size: 180%;
	font-weight: 700;
}

h2 {
	margin: 1.5em 0 1em;
	font-size: 150%;
	font-weight: 700;
}

h3 {
	margin: 1em 0 0.5em;
	font-size: 135%;
	font-weight: 700;
}

h4 {
	margin: 1em 0 0.5em;
	font-size: 120%;
	font-weight: 700;
}

h5 {
	margin: 1em 0 0.5em;
	font-size: 110%;
	font-weight: 700;
}

h6 {
	margin: 1em 0 0.5em;
	font-size: 100%;
	font-weight: 500;
}

a:link,
a:visited {
	color: var(--verdeescuro);
}

a:hover {
	color: var(--verde);
}

a:active,
a:focus,
button:focus {
	outline: 1px dotted #666;
}

.container {
	min-width: 300px;
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 20px;
}

strong, b {
	font-weight: 500;
}

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;
}

.clear {
	content: '';
	height: 0;
	display: block;
	clear: both;
}

.hidden {
	display: none;
}

/* ----- 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: 500;
}

.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;
}

.blocks-gallery-grid {
	margin-left: 0 !important;
}

/* 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 input[type="submit"] {
	margin: auto;
	padding: 10px 30px;
	display: block;
}

.wpcf7-form .wpcf7-quiz-label,
.wpcf7-form .wpcf7-list-item {
	display: block;
}

.wpcf7-form .wpcf7-list-item {
	margin: 0.3em 0;
}

/* ----- 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;
}

/* ----- HEADER ----------------------------------------------------------------- */

#header {
	background: #fff;
	color: #333;
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 10000;
}

#header .container {
	position: relative;
	height: 90px;
}

#header a:link,
#header a:visited {
	color: #fff;
	text-decoration: none;
}

#header .logo {
	background-image: url(images/logotipo.svg);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	width: 120px;
	height: 49px;
	display: block;
	position: absolute;
	top: 20px;
	left: 10px;
	text-indent: -100000px;
}

@media only screen and (min-width: 1024px) {

	#header .container {
		height: 100px;
	}

	#header .logo {
		width: 160px;
		height: 66px;
		top: 15px;
	}

}

/* ----- FORMULÁRIO DE BUSCA ---------------------------------------------------- */

#botao-buscar {
	background: transparent url(//src.cijun.sp.gov.br/img/icones-busca/buscar-preto.svg) no-repeat center center/20px 20px;
	border: none;
	width: 20px;
	height: 20px;
	position: absolute;
	top: 50px;
	right: 110px;
	text-indent: -100000px;
	text-decoration: none;
	cursor: pointer;
	
	/* converte o preto para outra cor em https://codepen.io/sosuke/pen/Pjoqqp */
	filter: invert(32%) sepia(30%) saturate(1461%) hue-rotate(106deg) brightness(102%) contrast(104%);
}

#busca {
	background: #fff;
	width: 100%;
	display: none;
	padding: 10px;
	position: absolute;
	top: 90px;
	right: 0px;
	z-index: 10;
}

#busca .busca-texto {
	border-right: none;
	width: 85%;
	border-radius: 4px 0 0 4px;
}

#busca .busca-botao {
	background: #fff url(//src.cijun.sp.gov.br/img/icones-busca/buscar-cinza.svg) no-repeat center center/20px 20px;
	border-radius: 0 4px 4px 0;
	color: transparent;
	border-left: none;
	width: 15%;
	padding: 5px 0;
}

@media only screen and (min-width: 1024px) {

	#botao-buscar {
		background-size: 32px 32px;
		width: 40px;
		height: 30px;
		top: 43px;
		right: 140px;
	}

	#busca {
		max-width: 350px;
		padding: 0;
		top: 40px;
		right: 200px;
	}

}

/* ----- MENU ------------------------------------------------------------------- */

#botao-menu {
	background: none;
	color: var(--verdeescuro);
	border: none;
	position: absolute;
	top: 40px;
	right: 10px;
	cursor: pointer;
	line-height: 1;
	text-decoration: none;
}

#botao-menu span {
	padding: 3px;
	display: inline-block;
	vertical-align: middle;
}

#botao-menu .hamburguer {
	font-size: 32px;
}

#botao-fechar {
	background: none;
	color: var(--verdeescuro) !important;
	border: none;
	position: absolute;
	top: 30px;
	right: 20px;
	line-height: 0;
	font-size: 48px;
	text-decoration: none;
	cursor: pointer;
}

#botao-fechar:hover {
	color: var(--laranja) !important;
}

#overlay {
	background: #000;
	width: 100%;
	height: 100vh;
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 1;

	opacity: 0.5;
	transition: opacity .5s cubic-bezier(.215, .61, .355, 1);
}

/* container com o menu e os widgets */

#menu-container {
	background: #fff;
	color: #000;
	width: 100%;
	max-width: 600px;
	min-height: 100vh;
	max-height: 100vh;
	padding: 70px 20px 20px;
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	z-index: 20;
	overflow-y: auto;
}

.logged-in #menu-container {
	top: 30px;
}

#menu-container::-webkit-scrollbar {
	width: 6px;
}
#menu-container::-webkit-scrollbar-thumb {
	background: #dddddd;
	border-radius: 6px;
}
#menu-container::-webkit-scrollbar-thumb:hover {
	background: #ccc;
}
#menu-container::-webkit-scrollbar-track {
	background: #fff;
	border-radius: 6px;
}

#menu-container a:link,
#menu-container a:visited {
	color: #000;
	text-decoration: none;
}

#menu-container a:hover {
	color: var(--verdeescuro);
}

/* menu */

#menu-superior {
	margin-bottom: 30px;
	height: auto;
	list-style: none;
	font-size: 16px;
}

#menu-superior a:link,
#menu-superior a:visited {
	padding: 10px 0;
	display: block;
	font-weight: 500;
}

#menu-superior .sub-menu a:link,
#menu-superior .sub-menu a:visited {
	padding-left: 20px;
	font-size: 100%;
	font-weight: 300;
}

#menu-superior a:hover,
#menu-superior a:active {
	color: var(--verdeescuro);
	text-decoration: none;
}

#menu-superior .sub-menu {
	list-style: none;
	display: none;
}

/* não tem terceiro nível */
#menu-superior .sub-menu .sub-menu {
	display: none;
}

/* + e - */
#menu-superior .menu-item-has-children a:after {
	background: url(https://src.cijun.sp.gov.br/img/media/filled-version/SVG/97-arrows/arrow-down-12.svg) no-repeat center center/100% 100%;
	content: "\00a0 ";
	width: 30px;
	height: 15px;
	display: inline-block;
	float: right;
	transition: all 0.2s;
}
#menu-superior .menu-item-has-children a.active:after {
	background: url(https://src.cijun.sp.gov.br/img/media/filled-version/SVG/97-arrows/arrow-up-12.svg) no-repeat center center/100% 100%;
	content: "\00a0 ";
	transition: all 0.2s;
}

#menu-superior .menu-item-has-children .sub-menu a:after {
	display:none;
}

@media only screen and (min-width: 1024px) {

	#botao-menu {
		top: 30px;
		right: 15px;
		font-size: 120%;
	}

	#botao-menu .hamburguer {
		font-size: 48px;
	}

}

/* ----- PÁGINA INICIAL --------------------------------------------------------- */

.home #conteudo {
	padding: 0;
}

.home .titulo-home {
	margin: 0 0 2em;
	font-size: 120%;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
}

#pagina-inicial .pagina-interna {
	min-height: 0;
	margin-top: 2em;
}

/* ----- COBERTURA DA HOME ------------------------------------------------------ */

#cobertura {
	height: 250px;
	overflow: hidden;
}

.foto-cobertura {
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

.video-cobertura {
	position: relative;
}

.video-cobertura .video {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	min-width: 100%;
	min-height: 100%;
}

.video-cobertura #video-desktop {
	display: none;
}

@media only screen and (min-width: 1024px) {

	#cobertura {
		height: 400px;
	}

	.video-cobertura #video-mobile {
		display: none;
	}

	.video-cobertura #video-desktop {
		display: block;
	}
	
}

@media only screen and (min-width: 1280px) {

	#cobertura {
		height: 600px;
	}

}

/* ----- BARRA DE SERVIÇOS HOME ------------------------------------------------- */

#barra-home {
	background: var(--verdeescuro);
	color: #fff;
}

#barra-home a:link,
#barra-home a:visited {
	color: #fff;
	font-weight: 300;
	text-decoration: none;
	align-items: center;
}

/* Serviços */

#servicos {
	background: var(--verde);
	padding: 20px;
}

#servicos-itens {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(4, 1fr);
}

#servicos-itens .item {
	line-height: 1;
	font-size: 12px;
	font-weight: 300;
	text-align: center;
	word-break: break-word;
}

#servicos-itens .item:hover {
	text-decoration: underline;
}

#servicos-itens .item img {
	width: auto;
	height: auto;
	max-height: 60px;
	margin: 0 auto 0.5em;
}

/* aviso da home */

#aviso {
	background-image: url(images/aviso.png);
	background-position: 20px center;
	background-repeat: no-repeat;
	background-size: 50px 50px;
	padding: 20px 20px 20px 90px;
}

#aviso .widget,
#aviso p {
	margin-bottom: 1em;
}

#aviso .widget:last-of-type,
#aviso p:last-of-type {
	margin-bottom: 0;
}

@media only screen and (min-width: 600px) {

	#servicos-itens {
		grid-template-columns: repeat(5, 1fr);
	}

}

@media only screen and (min-width: 800px) {

	#servicos-itens {
		grid-template-columns: repeat(8, 1fr);
	}

}

@media only screen and (min-width: 1024px) {
	
	#barra-home {
		display: grid;
		gap: 0;
		grid-template-columns: 3fr 1fr;
		align-items: center;
	}

	#servicos {
		padding: 20px 40px;
		height: 100%;
	}

	#servicos-itens {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around;
		align-items: flex-start;
		align-content: center;
	}

	#servicos-itens .item {
		height: 100%;
		flex: 5%;
		font-size: 16px;
	}

	#servicos-itens .item img {
		margin-bottom: 1em;
	}

}

/* ----- NOTÍCIAS HOME ---------------------------------------------------------- */

#noticias-home {
	padding: 40px 0;
}

#noticias-home .titulo-home {
	color: var(--verdeescuro);
}

#noticias-home .noticia-item {
	width: 100%;
	margin-bottom: 2em;
}

#noticias-itens a:link,
#noticias-itens a:visited {
	color: #666;
	text-decoration: none;
}

#noticias-itens a:hover {
	color: var(--verdeescuro);
}

#noticias-itens .noticia-foto,
#pagina-index .noticia-foto {
	background-color: #f5f5f5;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	overflow: hidden;
}

#noticias-itens .noticia-foto {
	width: 100%;
	max-width: 100%;
	height: 300px;
	margin: 0 0 0.5em;
}

#pagina-index .noticia-foto {
	width: 100px;
	height: 100px;
	margin: 0 10px 10px 0;
	float: left;
}

#pagina-index .noticia-item {
	min-height: 100px;
	margin-bottom: 2em;
	clear: both;
}

#noticias-home .saiba-mais {
	background: var(--verde);
	color: #fff;
	max-width: 300px;
	margin: 2em auto 1em;
	padding: 20px;
	display: block;
	line-height: 1;
	font-weight: 500;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;

	-webkit-border-radius: 10px;
	-moz-border-radius:    10px;
	border-radius:         10px;
}

#noticias-home .saiba-mais:hover {
	background: var(--verdeescuro);
}

/* lista de notícias na home e na index.php */

.noticia-data {
	font-size: 70%;
	color: #666;
	margin: 0 0 0.3em;
}

.noticia-titulo {
	margin: 0 0 0.3em;
	line-height: 1.3;
	font-size: 100%;
	font-weight: 500;
}

@media only screen and (min-width: 600px) {

	#noticias-itens .noticia-foto {
		height: 350px;
	}

}

@media only screen and (min-width: 800px) {

	#noticias-itens {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
		align-content: center;
		justify-items: center;
	}

	#noticias-home .noticia-item {
		margin-bottom: 0;
	}

	#noticias-itens .noticia-foto {
		height: 180px;
	}

}

@media only screen and (min-width: 1024px) {

	#noticias-itens {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	
}

/* ----- CONTEÚDO --------------------------------------------------------------- */

#conteudo {
	padding: 0 0 2em;
}

.pagina-interna {
	min-height: 500px;
}

.pagina-interna ul,
.pagina-interna ol {
	margin-left: 1.5em;
	margin-bottom: 1.5em;
	list-style: square;
}

/* index.php */

.titulo-arquivos {
	color: var(--verde);
	margin: 2em 0;
	font-size: 120%;
}

/* single.php */

.noticia-data-hora {
	color: #666;
	margin: -1.5em 0 2em;
	font-size: 80%;
}

.mais-sobre {
	color: #666;
	margin: 2em 0;
	font-size: 80%;
}

.sharethis-inline-share-buttons {
	margin: 4em 0 2em;
}

/* erro 404 */

.erro404-titulo,
.erro404-texto {
	text-align: center;
}

.erro404-titulo {
	margin-top: 3em;
}

/* breadcrumb */

#breadcrumb {
	margin: 3em 0;
	font-size: 80%;
}

/* lista de sub páginas */

.sub-paginas {
	color: #555;
}

.sub-paginas li {
	margin: 0.3em 0;
}

.sub-paginas .children {
	list-style: none;
	margin-left: 1em;
}

@media only screen and (min-width: 1024px) {
	
	#conteudo {
		padding-bottom: 3em;
	}

	.noticia #conteudo {
		padding-top: 2em;
		width: 70%;
		float: left;
	}

}

/* ----- SIDEBAR ---------------------------------------------------------------- */

#sidebar {
	margin-top: 2em;
}

#sidebar .widget-titulo {
	color: var(--verde);
	border-bottom: 2px solid var(--verde);
	margin-bottom: 0.5em;
	font-weight: 500;
	font-size: 120%;
}

#sidebar .widget {
	margin-bottom: 3em;
}

#sidebar .widget p {
	margin-bottom: 0.5em;
}

#sidebar ul,
#sidebar ol {
	margin-left: 20px;
	line-height: 1.3;
	list-style: square;
}

#sidebar li {
	margin-bottom: 0.3em;
}

#sidebar li a:link,
#sidebar li a:visited {
	color: #333;
	text-decoration: none;
}

#sidebar li a:hover {
	color: var(--verde);
	text-decoration: underline;
}

#sidebar .widget select {
	width: 100%;
}

@media only screen and (min-width: 1024px) {

	#sidebar {
		margin-top: 4em;
		width: 24%;
		float: right;
	}

}

/* ----- PAGINAÇÃO ------------------------------------------------------------------- */

#paginacao {
	height: fit-content;
	margin: 4em auto 2em;
	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: 500;
	text-decoration: none;
}

#paginacao .nav a,
#paginacao .current {
	float: left;
}

#paginacao a:hover {
	background: var(--verdeescuro);
	color: #fff;
	border-radius: 3px;
	text-decoration: none;
}

#paginacao .current {
	background: none;
	color: #666;
}

#paginacao .label {
	padding: 10px;
	font-size: 14px;
	font-weight: 300;
}

#paginacao .page {
	color: #666;
	padding: 10px;
}

@media only screen and (min-width: 800px) {

	#paginacao .label,
	#paginacao .nav {
		float: left;
		margin: 0;
	}

}

/* ----- ICONES DE TIPOS DE ARQUIVOS -------------------------------------------- */

#conteudo a[href$=".pdf"]:not(.wp-block-file__button),
#conteudo a[href$=".doc"]:not(.wp-block-file__button),
#conteudo a[href$=".docx"]:not(.wp-block-file__button),
#conteudo a[href$=".xls"]:not(.wp-block-file__button),
#conteudo a[href$=".xlsx"]:not(.wp-block-file__button),
#conteudo a[href*="docs.google.com"]:not(.wp-block-file__button),
#conteudo a[href*="drive.google.com"]:not(.wp-block-file__button),
#conteudo a[href*="goo.gl"]:not(.wp-block-file__button),
#conteudo a[href*="bit.ly"]:not(.wp-block-file__button),
#conteudo a[href*="youtube.com"]:not(.wp-block-file__button),
#conteudo a[href*="youtu.be"]:not(.wp-block-file__button) {
	background-repeat: no-repeat;
	padding-left: 20px;
}

#conteudo a[href$=".pdf"]:not(.wp-block-file__button) /* link para arquivo PDF */
{
	background-image: url(https://src.cijun.sp.gov.br/img/icones-arquivos/arquivo-pdf-16x16.png);
}

#conteudo a[href$=".doc"]:not(.wp-block-file__button),
#conteudo a[href$=".docx"]:not(.wp-block-file__button) /* link para arquivo do Word */
{
	background-image: url(https://src.cijun.sp.gov.br/img/icones-arquivos/arquivo-doc-16x16.png);
}

#conteudo a[href$=".xls"]:not(.wp-block-file__button),
#conteudo a[href$=".xlsx"]:not(.wp-block-file__button) /* link para arquivo do Excel */
{
	background-image: url(https://src.cijun.sp.gov.br/img/icones-arquivos/arquivo-xls-16x16.png);
}

#conteudo a[href$=".pdf"]:not(.wp-block-file__button) /* link para arquivo PDF */
{
	background-image: url(https://src.cijun.sp.gov.br/img/icones-arquivos/arquivo-pdf-16x16.png);
}

#conteudo a[href*="docs.google.com"]:not(.wp-block-file__button), /* link para arquivos no Drive */
#conteudo a[href*="drive.google.com"]:not(.wp-block-file__button) {
	background-image: url(https://src.cijun.sp.gov.br/img/icones-arquivos/arquivo-drive-16x16.png);
}

#conteudo a[href*="goo.gl"]:not(.wp-block-file__button), /* link para documento no encurtador do Google */
#conteudo a[href*="bit.ly"]:not(.wp-block-file__button) /* link para documento no encurtador do bit.ly */
{
	background-image: url(https://src.cijun.sp.gov.br/img/icones-arquivos/arquivo-generico-16x16.png);
}

/* ----- RODAPÉ ----------------------------------------------------------------- */

#rodape {
	background: var(--verdeagua);
	padding-bottom: 50px;
	position: relative;
	font-size: 80%;
	text-align: center;
}

/* widget de endereço */

#rodape .container-widgets {
	margin-top: 3em;
	margin-bottom: 3em;
}

#rodape-endereco {
	color: #444;
	margin-bottom: 3em;
	font-weight: 700;
	text-align: center;
}

#rodape-endereco .widget-titulo {
	display: none;
}

#rodape-endereco p {
	margin-bottom: 0.5em;
}

#desenvolvido-por,
#privacidade {
	margin: 1em auto 0;
}

#desenvolvido-por span,
#privacidade span {
	display: block;
}

/* widget dos logotipos */

#rodape-logos {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax(25%, 1fr) );
	gap: 40px;
}

#rodape-logos .widget {
	width: 100%;
	align-self: center;
	justify-items: stretch;
}

#rodape-logos .widget-titulo {
	display: none;
}

#rodape-logos .widget img {
	width: 100%;
	height: auto;
	max-height: 250px;
	margin: 0 auto;
}

#botao-topo {
	background-color: var(--verde);
	color: #fff;
	padding: 5px 15px;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);

	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

#botao-topo img {
	filter: invert(1);
}

@media only screen and (min-width: 600px) {

	#rodape-logos {
		max-width: 600px;
		margin: auto;
		grid-template-columns: repeat( auto-fit, minmax(25%, 1fr) );
	}

	#rodape-logos .widget img {
		width: auto;
		max-height: 100px !important;
	}

	#desenvolvido-por span {
		display: inline-block;
	}

	#privacidade .termos-de-uso,
	#privacidade .politica-de-cookies {
		display: inline-block;
	}

	#privacidade .termos-de-uso:before,
	#privacidade .politica-de-cookies:before {
		content: " | ";
	}

	#desenvolvido-por span:first-of-type:after {
		content: " | ";
	}

}

@media only screen and (min-width: 1024px) {

	#rodape .container-widgets {
		display: grid;
		gap: 0;
		grid-template-columns: 1fr 2fr;
	}

	#rodape-endereco,
	#rodape-logos {
		align-self: center;
		justify-items: stretch;
	}

	#rodape-endereco {
		margin-bottom: 0;
		text-align: left;
	}

	#rodape-logos {
		gap: 40px;
		grid-template-columns: repeat( auto-fit, minmax(10%, 5fr) );
	}

	#desenvolvido-por,
	#privacidade {
		display: inline-block;
	}

	#desenvolvido-por span:last-of-type:after {
		content: " | ";
	}

}

/* ----- MENU DO RODAPÉ ------------------------------------------------------------------------ */

#menu-sociais {
	background: var(--verdeescuro);
	list-style: none;
	margin: 0;
	padding: 10px;
	display: block;
}

#menu-sociais li {
	display: inline-block;
}

#menu-sociais a {
	color: #fff;
	height: 30px;
	margin: 10px;
	display: inline-block;
	font-weight: 400;
	font-size: 18px;
	text-decoration: none;
	vertical-align: middle;
}

#menu-sociais a:before {
	content: ' ';
	background-color: #fff;
	background-repeat: no-repeat;
	background-size: 18px 18px;
	background-position: center center;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	margin-right: 5px;
	display: inline-block;
	vertical-align: middle;
}

#menu-sociais a[href*="instagram.com"]:before {
	background-image: url(//src.cijun.sp.gov.br/img/icones-sociais/icone-verde-instagram.svg);
}

#menu-sociais a[href*="facebook.com"]:before {
	background-image: url(//src.cijun.sp.gov.br/img/icones-sociais/icone-verde-facebook.svg);
}

#menu-sociais a[href^="tel:"]:before {
	background-image: url(//src.cijun.sp.gov.br/img/icones-sociais/icone-verde-telefone.svg);
}

#menu-sociais a[href^="mailto:"]:before {
	background-image: url(//src.cijun.sp.gov.br/img/icones-sociais/icone-verde-email.svg);
}

/* ----- RECAPTCHA ----------------------------------------------------------------------------- */

small.recaptcha {
	color: #999 !important;
}

small.recaptcha,
small.recaptcha a {
	font-size: 9px !important;
}

.grecaptcha-badge {
	visibility: hidden;
}

/* ----- POLÍTICA DE PRIVACIDADE --------------------------------------------------------------- */

/* bloco do tipo Grupo */
.privacidade-institucional {
	border: 2px solid #eee;
	margin-bottom: 1.5em;
	padding: 20px;
}

.privacidade-institucional p {
	margin-bottom: 0;
	line-height: 2em;
}

/* tabela */
.privacidade-tabela {
	border-collapse: collapse;
	margin-bottom: 2em;
}

.privacidade-tabela td,
.privacidade-tabela th {
	border: 1px solid #e5e5e5;
	padding: 10px;
	vertical-align: middle;
}

.privacidade-tabela td {
	font-size: 12px;
}

.privacidade-tabela th {
	background: #f5f5f5;
	font-weight: 600;
}

@media only screen and (min-width: 800px) {

.privacidade-tabela td {
	font-size: 14px;
}

}

/* ----- POP-UP DA LGPD ------------------------------------------------------------------------ */

#aviso-lgpd {
	background: #f5f5f5;
	border: 1px solid #eee;
	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%);
}

#aviso-lgpd span {
	display: inline-block;
}

#aviso-lgpd button {
	background: #444;
	color: #fff;
	border: none;
	border-radius: 3px;
	margin: 20px auto 0;
	padding: 15px 40px;
	display: block;
	font-size: 20px;
}

@media only screen and (min-width: 600px) {
	
	#aviso-lgpd span {
		width: calc(100% - 120px);
		float: left;
	}

	#aviso-lgpd button {
		float: right;
		margin: 0;
	}

}

/* ----- VERSÃO PARA IMPRESSÃO ----------------------------------------------------------------- */

.print {
	display: none;
}

@media print {

	.print {
		display: block;
	}

	.no-print {
		display: none !important;
	}

	.url {
		margin-bottom: 1em;
		text-align: left;
	}

	#header-impresso {
		height: auto;
		margin-bottom: 0.5em;
		font-size: 14pt;
		text-align: center;
	}

	/* hand talk */
	.ht-skip {
		display: none !important;
	}

}