/*
Theme Name: DAE Jundiaí 4.0
Theme URI: https://daejundiai.com.br/
Author: CIJUN
Author URI: https://cijun.sp.gov.br/
Description: Site da DAE Jundiaí
Version: 4.0
*/

/* ----- TABELA DE CORES -------------------------------------------------------- */

:root {
	/* --azulescuro: #163f75; */
	/* --laranja: #f26222; */
	/* --azulmedio: #1569b4; */
	/* --verde: #5ebb46; */

	--azulescuro: #0d5a99;
	--azulmedio: #1082ca;
	--ciano: #14bcff;

	--laranja: #f56a32;
	--laranja2: #dd5b2b;

	--verde: #72b844;
	--verde2: #61a53a;

	/* --turquesa: #258fa9; */
	/* --amarelo: #f9a74a; */
	/* --verdeescuro: #4b9637; */ 


}

/* ----- ELEMENTOS BÁSICOS ------------------------------------------------------ */

html {
	scroll-behavior: smooth;
}

body,
input,
textarea,
select,
button {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	word-wrap: break-word;
	font-weight: 400;
}

body {
	background: #fff;
	color: #000;

	background-image: url(images/ondas-10.svg);

 /* Alinhamento horizontal (Eixo X) - Esconde 30px na direita */
  background-position-x: calc(100% + 250px);

  /* Alinhamento vertical (Eixo Y) - Esconde 20px no bottom */
  background-position-y: calc(100% + 200px);
  
  
	background-repeat: no-repeat;
	background-size: auto 1000px;
}

body.home {
	background-image: url(images/ondas-10.svg), url(images/ondas-10.svg);
	background-position-x: calc(100% + 250px), calc(100% - 500px);
	background-position-y: calc(100% + 200px), calc(100% - 500px);
	background-size: auto 1000px, auto 1500px;
	background-repeat: no-repeat, no-repeat;
}


@media only screen and (min-width: 800px) {

	body {
		background-position-y: calc(100% + 300px);
	}

	body.home {
		background-image: url(images/ondas-10.svg), url(images/ondas-10.svg);
		background-position-x: calc(100% + 250px), calc(100% + 300px);
		background-position-y: calc(100% + 200px), calc(100% - 700px);
		background-size: auto 1000px, auto 1600px;
		background-repeat: no-repeat, no-repeat;
	}

}


h1 {
	margin: 1em 0;
	font-size: 180%;
	font-weight: 800;
}

h2 {
	margin: 1.5em 0 1em;
	font-size: 150%;
	font-weight: 800;
}

h3 {
	margin: 1em 0 0.5em;
	font-size: 135%;
	font-weight: 800;
}

h4 {
	margin: 1em 0 0.5em;
	font-size: 120%;
	font-weight: 800;
}

h5 {
	margin: 1em 0 0.5em;
	font-size: 110%;
	font-weight: 800;
}

h6 {
	margin: 1em 0 0.5em;
	font-size: 100%;
	font-weight: 600;
}

a:link,
a:visited {
	color: var(--azulmedio);
}

a:hover {
	color: var(--laranja);
}

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: 400; */
}

h1 {
	font-weight: 700;
}

h2, h3, h4, h5, h6 {
	font-weight: 400;
}

table th,
table td {
	padding: 10px;
}

/* ----- EDITOR DE BLOCOS ------------------------------------------------------- */

figure {
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

.wp-block-image img {
	height: auto;
}

.wp-block-embed-youtube.aligncenter iframe {
	width: 100%;
	height: 300px;
}

.wp-block-embed.alignleft {
	float: left;
	margin-right: 1em;
}

.wp-block-embed.alignright {
	float: right;
	margin-left: 1em;
}

.wp-block-file:not(.wp-element-button) {
	margin-bottom: 1.5em;
	font-size: 1em;
}

@media only screen and (min-width: 600px) {

	.wp-block-embed-youtube.aligncenter iframe {
		height: 500px;
	}

}

/* ----- HEADER ----------------------------------------------------------------- */

#header {
	background-color: var(--azulescuro);
	background-image: url(images/ondas-negativo-10.svg), url(images/ondas-contorno-10.svg);
	background-position: center center, left center;
	background-repeat: no-repeat, no-repeat;
	background-size: 300% auto, 200% auto;
	color: #fff;
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 10000;
}

#header .container {
	position: relative;
	height: 70px;
}

#header a:link,
#header a:visited {
	color: #fff;
	text-decoration: none;
}

#header .logo {
	background-image: url(https://src.cijun.sp.gov.br/img/logo-dae/logotipo-dae-negativo.svg);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	aspect-ratio: 1.5/1;
	width: 70px;
	height: auto;
	display: block;
	position: absolute;
	top: 10px;
	left: 20px;
	left: 50%;
	text-indent: -100000px;
	transform: translateX(-50%);
}

@media only screen and (min-width: 1024px) {

	#header .container {
		height: 100px;
	}

	#header .logo {
		width: 160px;
		height: 70px;
		top: 15px;
	}

}

/* ----- FORMULÁRIO DE BUSCA ---------------------------------------------------- */

#botao-buscar {
	background: transparent url(https://src.cijun.sp.gov.br/img/icones-busca/buscar-branco.svg) no-repeat center center/20px 20px;
	border: none;
	width: 20px;
	height: 20px;
	position: absolute;
	top: 25px;
	left: 25px;
	text-indent: -100000px;
	text-decoration: none;
	cursor: pointer;
}

#busca {
	background: var(--azulescuro);
	width: 100%;
	display: none;
	padding: 20px;
	position: absolute;
	top: 70px;
	left: 0;
	width: 100%;
	z-index: 10;
}

#busca .busca-texto {
	border-right: none;
	border-color: var(--azulmedio);
	width: 85%;
	border-bottom-left-radius:  4px;
	border-top-left-radius:     4px;
}

#busca .busca-botao {
	background: #fff url(//src.cijun.sp.gov.br/img/icones-busca/buscar-cinza.svg) no-repeat center center/20px 20px;
	color: transparent;
	border-left: none;
	border-color: var(--azulmedio);
	width: 15%;
	border-bottom-right-radius:  4px;
	border-top-right-radius:     4px;
}

@media only screen and (min-width: 1024px) {

	#botao-buscar {
		background-size: 32px 32px;
		width: 40px;
		height: 30px;
		top: 30px;
		right: auto;
		left: 20px;
	}

	#busca {
		top: 95px;
	}

}

@media only screen and (min-width: 1220px) {

	#busca {
		background: transparent;
		width: 300px;
		top: 10px;
		left: 55px;
	}

}

/* ----- MENU ------------------------------------------------------------------- */

#botao-menu {
	background: none;
	color: #fff;
	border: none;
	position: absolute;
	top: 20px;
	right: 0;
	cursor: pointer;
	line-height: 1;
	font-size: 12px;
	font-weight: 500;
	text-decoration: none;
	text-transform: uppercase;
}

#botao-menu span {
	padding: 3px 5px 0;
	display: inline-block;
	vertical-align: middle;
}

#botao-menu .hamburguer {
	border: 1px solid var(--ciano);
	border-radius: 3px;
	font-size: 24px;
	line-height: 1;
}

#botao-fechar {
	background: none;
	color: var(--azulmedio) !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(--azulmedio);
}

#menu-container .widget {
	margin-bottom: 30px;
}

#menu-container .widget ul,
#menu-container .widget ol {
	margin-left: 1.5em;
	list-style: square;
}

#menu-container .widget-titulo {
	color: var(--azulmedio);
	font-weight: 400;
}

#menu-container .widget p {
	margin-bottom: 0.5em;
}

#menu-container .widget_text a {
	text-decoration: underline;
}

/* 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: 400;
}

#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(--azulmedio);
	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;
}

/* widget dos logotipos */

#menu-logos {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax(25%, 1fr) );
	gap: 40px;
	margin: 40px;
}

#menu-logos .widget {
	width: 100%;
	align-self: center;
	justify-items: stretch;
	text-align: center;
}

#menu-logos .widget-titulo {
	display: none;
}

#menu-logos .widget img {
	width: auto;
	max-height: 120px !important;
	margin: 0 auto;
}

@media only screen and (min-width: 1024px) {

	#botao-menu {
		top: 30px;
		font-size: 18px;
	}

}

/* ----- 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;
}

/* ----- COBERTURA DA HOME ------------------------------------------------------ */

#cobertura {
	height: 180px;
	overflow: hidden;
}

.foto-cobertura {
	background-position: center center;
	background-size: cover;
}

.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;
	}
	
}

/* ----- ALERTA DE ABASTECIMENTO HOME ------------------------------------------- */

#abastecimento-home,
#abastecimento-efeito {
	display: table;
	position: fixed;
	border-radius: 50%;
}

#abastecimento-home {
	background: var(--verde);
	background: linear-gradient(-45deg, var(--verdeescuro), var(--verde));
    background-size: 100% 100%;
	color: #fff;
	width: 85px;
	height: 85px;
	padding: 5px;
	line-height: 1;
	top: 140px;
	right: 30px;
	z-index: 20;
	font-size: 7px;
	text-align: center;
	text-transform: uppercase;
	text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
	font-family: 'Grandis', sans-serif;
}

#abastecimento-efeito {
	background: var(--azulmedio);
	background: linear-gradient(45deg, var(--azulmedio), var(--ciano));
	width: 95px;
	height: 95px;
	top: 135px;
	right: 25px;
	z-index: 19;

	animation: spin 1.5s ease infinite;
}

@keyframes spin {
	from {transform: rotate(0deg);}
	to   {transform: rotate(360deg);}
}

#abastecimento-home a {
	display: table-cell;
	vertical-align: middle;
}

#abastecimento-home span {
	font-size: 18px;
	display: block;
	font-weight: 700;
}

#abastecimento-home a:link,
#abastecimento-home a:visited {
	color: #fff;
	text-decoration: none;
}

#abastecimento-home a:link,
#abastecimento-home a:visited {
	color: #fff;
}

@media only screen and (min-width: 1024px) {

	#abastecimento-home {
		top: 330px;
		right: 140px;
		width: 125px;
		height: 125px;
		font-size: 10px;
	}

	#abastecimento-efeito {
		top: 325px;
		right: 135px;
		width: 135px;
		height: 135px;
	}

	#abastecimento-home span {
		font-size: 27px;
	}

}

@media only screen and (min-width: 1220px) {

	#abastecimento-home {
		right: 80px;

	}

	#abastecimento-efeito {
		right: 75px;
	}

}

/* ----- ACESSO RÁPIDO HOME ----------------------------------------------------- */

#acesso-rapido-home {
	color: #fff;
	display: grid;
	gap: 10px;
	margin: 10px;
	grid-template-columns: 1fr;
	font-family: 'Grandis', sans-serif;
}

#acesso-rapido-home a:link,
#acesso-rapido-home a:visited {
	color: #fff;
	text-decoration: none;
}

@media only screen and (min-width: 1024px) {

	#acesso-rapido-home {
		grid-template-columns: auto auto;
	}

}

/* Serviços */

#servicos {
	background-color: var(--azulescuro);
	background-image: url(images/ondas-escuro-70.svg);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 200% auto;
	border-radius: 20px;
	padding: 20px;
	align-content: space-evenly;
}

#servicos-itens {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(3, 1fr);
}

#servicos-itens .item-acesso-rapido {
	grid-column: 1 / -1; /* ocupa a linha toda */
	font-size: 130%;
}

#servicos-itens .item-acesso-rapido span {
	display: block;
}

#servicos-itens .item-acesso-rapido .acesso {
	font-size: 13px;
}

#servicos-itens .item-acesso-rapido .servicos {
	font-weight: 600;
	font-size: 20px;
}

#servicos-itens .item-acesso-rapido span strong {
	border: 1px solid var(--azulmedio);
	border-radius: 10px;
	display: block;
	width: fit-content;
	margin-inline: auto;
	padding: 1px 8px;
	box-shadow: color(srgb 0 0.541176 1 / 0.62) 0px 0px 38.5px 0px,
	rgba(20,188,255,0.3) 0px 5.25px 3px 1.3125px inset,
	rgba(20,188,255,0.15) 0px -6.3px 21px 0px inset,
	rgba(20,188,255,0.05) 0px 2.625px 7.875px 0px,
	rgba(20,188,255,0.1) 0px 10.5px 21px 0px;
	font-size: 22px;
	letter-spacing: 3px;
	font-weight: 600;
}

#servicos-itens .item {
	font-weight: 400;
	text-align: center;
	text-transform: uppercase;
}

#servicos-itens .item .item-titulo {
	line-height: 1.3;
	font-size: 12px;
}

#servicos-itens .item .item-titulo:hover {
	text-decoration: underline;
}

#servicos-itens .item img {
	width: auto;
	height: auto;
	max-height: 50px;
	margin: 0 0 0.5em;
}

@media only screen and (min-width: 600px) {

	#servicos-itens {
		grid-template-columns: repeat(5, 1fr);
	}

}

@media only screen and (min-width: 1024px) {

	#servicos-itens {
		gap: 20px 10px;
	}

	#servicos-itens .item img {
		margin-bottom: 1em;
	}

}

@media only screen and (min-width: 1220px) {

	#servicos-itens {
		grid-template-columns: repeat(10, 1fr);
	}

	#servicos-itens .item-acesso-rapido {
		grid-column: 1; /* ocupa a linha toda */
	}

}








/* bloco com os 3 divs de links */

#links {
	position: relative;
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr;
}

#links::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;

	background-image: url('images/ondas-escuro-20.svg');
	background-repeat: no-repeat;
	background-size: 250% auto;
	background-position: center;

	mix-blend-mode: color-burn;
}

#links a, #links button {
  position: relative;
  z-index: 1;
}

.link {
	border-radius: 20px;
	padding: 20px;
	line-height: 1;
	font-size: 12px;
	text-transform: uppercase;
	align-content: space-evenly;
}

.link strong,
.link strong a {
	font-size: 22px;
	font-weight: 900;
	white-space: nowrap;
}

.link .wp-block-paragraph,
.link .widget-titulo,
.link .textwidget p {
	margin-bottom: 0.4em;
}

.link .widget:last-of-type .wp-block-paragraph,
.link .widget:last-of-type .widget-titulo,
.link .textwidget p:last-of-type {
	margin-bottom: 0;
}

.link.link-relacionamento {
	background-color: var(--azulescuro);
background-image: url("data:image/svg+xml,%3Csvg%20version%3D%221.2%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%2296%2064%20448%20512.1%22%20width%3D%22448%22%20height%3D%22513%22%3E%3Cstyle%3E.a%7Bfill%3A%23fff%7D%3C%2Fstyle%3E%3Cpath%20class%3D%22a%22%20d%3D%22m320%20128c-79%200-144.7%2057.3-157.7%20132.7%209.3-3%2019.3-4.7%2029.7-4.7h16c26.5%200%2048%2021.5%2048%2048v96c0%2026.5-21.5%2048-48%2048h-16c-53%200-96-43-96-96v-64c0-123.7%20100.3-224%20224-224%20123.7%200%20224%20100.3%20224%20224v168.1c0%2066.3-53.8%20120-120.1%20120l-87.9-0.1h-32c-26.5%200-48-21.5-48-48%200-26.5%2021.5-48%2048-48h32c26.5%200%2048%2021.5%2048%2048h40c39.8%200%2072-32.2%2072-72v-20.9c-14.1%208.2-30.5%2012.8-48%2012.8h-16c-26.5%200-48-21.5-48-48v-96c0-26.5%2021.5-48%2048-48h16c10.4%200%2020.3%201.6%2029.7%204.7-13-75.3-78.6-132.7-157.7-132.7z%22%2F%3E%3C%2Fsvg%3E");
	background-repeat: no-repeat;
	background-size: auto 32px;
	background-position: 20px center;
	padding-left: 70px;

}



.link.link-whatsapp {
	background-color: var(--verde);
	background-image: url(//src.cijun.sp.gov.br/img/icones-sociais/icone-branco-whatsapp.svg);
	background-repeat: no-repeat;
	background-size: auto 32px;
	background-position: 20px center;
	padding-left: 70px;
}



.link.link-sociais {
	background-color: var(--laranja);
}


@media only screen and (min-width: 1024px) {

.link {
	
	padding: 10px 20px;
}

}



/* menu rápido */


/*
#menu-rapido {
	list-style: none;
	margin: 0;
}

#menu-rapido li {
	margin-bottom: 1em;
}

#menu-rapido li:last-of-type {
	margin-bottom: 0;
}

#menu-rapido a[href*="whatsapp.com"] {

	padding: 7px 0 5px 20px;
	display: block;
}
*/

/* redes sociais */

#menu-sociais {
	list-style: none;
	margin: 0;
	display: inline-block;
}

#menu-sociais li {
	display: inline-block;
	margin: 0;
}

#menu-sociais a {
	background-repeat: no-repeat;
	background-size: 22px 22px;
	background-position: center center;
	display: block;
	border: 1px solid #fff;
	border-radius: 10px;
	width: 38px;
	height: 38px;
	margin: 0 8px 0 0;
	display: inline-block;
	text-indent: -10000px;
}

#menu-sociais a[href*="instagram.com"]{
	background-image: url(https://src.cijun.sp.gov.br/img/icones-sociais/icone-branco-instagram.svg);
}

#menu-sociais a[href*="youtube.com"]{
	background-image: url(https://src.cijun.sp.gov.br/img/icones-sociais/icone-branco-youtube.svg);
}

#menu-sociais a[href*="facebook.com"]{
	background-image: url(https://src.cijun.sp.gov.br/img/icones-sociais/icone-branco-facebook.svg);
}

#menu-sociais a[href*="linkedin.com"]{
	background-image: url(https://src.cijun.sp.gov.br/img/icones-sociais/icone-branco-linkedin.svg);
}

@media only screen and (min-width: 1360px) {

	#menu-sociais a {
		background-size: 22px 22px;
		width: 36px;
		height: 36px;
		margin: 3px;
	}

}



/*

.logo-transparencia-container {
	width: 30%;
}

.radar-button {
	max-width: 400px;
}

.radar-content {
	max-width: 550px !important;
}

.logo-transparencia {
	width: 100% !important;
}

.radar-text span {
	text-align: center;
}
*/






/* ----- VÍDEO HOME ------------------------------------------------------------- */

#video-home {
	padding: 40px 0;
}

#video-home video {
	background: #000;
	width: 100%;
	height: 250px;
}

.video-home-image img {
	width: 100%;
	height: auto;
}

@media only screen and (min-width: 600px) {

	#video-home video {
		height: 350px;
	}

}

@media only screen and (min-width: 800px) {
	
	#video-home .container-com-imagem {
		display: grid;
		gap: 0;
		grid-template-columns: repeat(2, 1fr);
	}
	
	#video-home .container-com-imagem video {
		height: 100%;
	}

	#video-home .container-sem-imagem video {
		height: 500px;
	}
	
}

@media only screen and (min-width: 1024px) {

	#video-home .container-sem-imagem video {
		height: 635px;
	}

}

/* ----- NOTÍCIAS HOME ---------------------------------------------------------- */

#noticias-home {
	padding: 40px 0;
}

#noticias-home .titulo-home {
  color: var(--azulmedio);
  width: 100%;
  margin: 40px 0;
  position: relative;
  font-family: 'Grandis', sans-serif;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Linha cortando o fundo */
#noticias-home .titulo-home::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #8bbbe5; /* Cor da linha */
  z-index: 1;
}

/* Balão com o texto */
#noticias-home .titulo-home span {
  position: relative;
  z-index: 2;
  background-color: #fff; /* Altere para a cor exata do fundo da página */
  color: var(--azulmedio);
  border: 2px solid #8bbbe5;
  border-radius: 50px;
  padding: 10px 25px;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 1px;
}

#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(--azulmedio);
}

#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: radial-gradient(at 27.3% 72.9%, rgb(13, 90, 153) 0px, transparent 50%), radial-gradient(at 91.8% 21.7%, rgb(16, 130, 202) 0px, transparent 50%), radial-gradient(at 42.1% 29.6%, rgb(3, 75, 133) 0px, transparent 50%) rgb(3, 75, 133);
	color: #fff;
	border-radius: 30px;
	max-width: 300px;
	margin: 2em auto 1em;
	padding: 20px;
	display: block;
	line-height: 1;
	font-family: 'Grandis', sans-serif;
	font-weight: 500;
	font-size: 22px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}

#noticias-home .saiba-mais:hover {
	background: radial-gradient(at 84.3% 24.2%, rgb(13, 90, 153) 0px, transparent 50%), radial-gradient(at 21.3% 80.2%, rgb(16, 130, 202) 0px, transparent 50%), radial-gradient(at 28.8% 20.9%, rgb(3, 75, 133) 0px, transparent 50%) rgb(3, 75, 133);
}

/* lista de notícias na home e na index.php */

.noticia-data {
	font-size: 70%;
	color: #666;
	margin: 0 0 0.3em;
}

#noticias-home .noticia-data {
	background: var(--azulmedio);
	color: #fff;
	border-radius: 5px 5px 0 0;
	display: inline-block;
	margin: 0;
	padding: 5px 8px;
	font-weight: 500;
	font-size: 14px;
	font-family: 'Grandis', sans-serif;
}

.noticia-titulo {
	margin: 0 0 0.3em;
	line-height: 1.3;
	font-size: 100%;
	font-weight: 400;
}

@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));
	}
	
}

/* ----- BANNERS HOME ----------------------------------------------------------- */

#banners-home {
	padding: 20px;
}

#banners-home img {
	width: 100%;
	height: auto;
	margin: 0 auto 1em;
}

#banners-home .container {
	background-color: var(--laranja);
	background-image: url(images/ondas-escuro-10.svg);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 200% auto;
	color: #fff;
	border-radius: 20px;
	max-width: 1200px;
	padding: 20px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	align-content: center;
	justify-items: center;
}

#banners-home .banner-home {
	align-content: space-evenly;
}

	
@media only screen and (min-width: 600px) {

	#banners-home .container {
		grid-template-columns: repeat(4, 1fr);
		gap: 40px;
	}

	#banners-home img {
		margin: 0;
	}

}

@media only screen and (min-width: 1024px) {

	#banners-home .container {
		grid-template-columns: repeat(4, 1fr);
		gap: 40px;
	}

}

/* ----- 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;
}

.pagina-interna ul .children {
	margin-top: 0.3em;
	margin-bottom: 0.3em;
}

/* 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: 2em 0;
}

/* 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;
	margin-bottom: 0;
}

@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(--azulmedio);
	border-bottom: 2px solid var(--azulmedio);
	margin-bottom: 0.5em;
	font-weight: 700;
	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(--azulmedio);
	text-decoration: underline;
}

@media only screen and (min-width: 1024px) {

	#sidebar {
		margin-top: 4em;
		width: 24%;
		float: right;
	}

}

/* ----- 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);
}

/* link para arquivos no Drive */
/*
#conteudo a[href*="docs.google.com"]:not(.wp-block-file__button), 
#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);
}
*/

/* link para documento no encurtador do Google e do bit.ly */
/*
#conteudo a[href*="goo.gl"]:not(.wp-block-file__button), 
#conteudo a[href*="bit.ly"]:not(.wp-block-file__button) {
	background-image: url(https://src.cijun.sp.gov.br/img/icones-arquivos/arquivo-generico-16x16.png);
}
*/

/* ----- 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(--azulmedio);
	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;
	}

}

/* ----- RODAPÉ ----------------------------------------------------------------- */

#rodape {
	padding-bottom: 50px;
	position: relative;
	font-size: 14px;
	text-align: center;
	font-family: 'Grandis', sans-serif;
}

#desenvolvido-por,
#privacidade {
	margin: 1em auto;
}

#desenvolvido-por span,
#privacidade span {
	display: block;
}

#rodape .container-widgets {
	margin-top: 100px;
}

/* widget de endereço */

#rodape-endereco {
	color: var(--azulescuro);
	margin-bottom: 3em;
	font-weight: 700;
	text-align: center;
}

#rodape-endereco .widget-titulo {
	display: none;
}

#rodape-endereco p {
	margin-bottom: 0.5em;
}

/* widget dos logotipos */

#rodape-logos {
	display: grid;
	grid-template-columns: repeat(2, auto);
	gap: 40px;
}

#rodape-logos .widget {
	align-self: center;
	justify-items: stretch;
}

#rodape-logos .widget-titulo {
	display: none;
}

#rodape-logos .widget img {
	width: auto;
	max-height: 80px;
	height: auto;
	margin: 0 auto;
}

#botao-topo {
	background-color: var(--azulmedio);
	color: #fff;
	padding: 5px 15px;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	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 {
		grid-template-columns: repeat(4, auto);
		gap: 20px;
		max-width: 500px;
		align-center: center;
		margin-inline: auto;
	}

	#rodape-logos .widget img {

	}

	#desenvolvido-por {
		font-weight: 400;
		color: #666;
		font-size: 13px;
	}
	
	#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-logos {
		justify-self: right;
		margin-inline: 0;
	}

	#rodape-endereco {
		margin-bottom: 0;
		text-align: left;
	}

	#desenvolvido-por,
	#privacidade {
		display: inline-block;
	}

	#desenvolvido-por span:last-of-type:after {
		content: " | ";
	}


}

/* ----- MENUS DO RODAPÉ -------------------------------------------------------- */

.menu-rodape {
	margin: 20px 0;
	padding: 5px 0;
	font-size: 14px;
	font-weight: 400;
	text-transform: uppercase;
}

.menu-rodape ul {
	list-style: none;
}

.menu-rodape li {
	display: inline-block;
	padding: 5px 15px;
}

.menu-rodape a:link,
.menu-rodape a:visited {
	text-decoration: none;
}

/* não tem segundo nível */
.menu-rodape .sub-menu {
	display: none;
}

#rodape-1 {
	background: var(--azulescuro);
	border-radius: 20px;
	color: #fff;
}

#rodape-1 a:link,
#rodape-1 a:visited {
	color: #fff;
}

#rodape-1 a:hover {
	color: var(--ciano);
}

#rodape-2 {
}

#rodape-2 a:link,
#rodape-2 a:visited {
	color: var(--azulmedio);
}

#rodape-2 a:hover {
	color: var(--verde);
}

#rodape-3 {
	color: #666;
}

#rodape-3 a:link,
#rodape-3 a:visited {
	color: #666;
}

#rodape-3 a:hover {
	color: var(--laranja);
}

/* ----- CONTACT FORM 7 ------------------------------------------------------------------------ */

@media only screen and (min-width: 550px) {

	.form-container {
		max-width: 600px;
		padding-top: 1.5em;
	}

	.form-imagem {
		margin-top: -4.5em;
		float: right;
	}

}

/* ----- 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%;
	z-index: 10000;
    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;
	}

}