/*
Theme Name: DAE Jundiaí 3.6
Theme URI: https://daejundiai.com.br/
Author: CIJUN
Author URI: https://cijun.sp.gov.br/
Description: Site da DAE Jundiaí
Version: 3.6
*/

/* ----- TABELA DE CORES -------------------------------------------------------- */

:root {
	--azulescuro: #163f75;
	--azulmedio: #1569b4;
	--laranja: #f26222;
	--ciano: #0d9ed8;
	--turquesa: #258fa9;
	--amarelo: #f9a74a;
	--verde: #5ebb46;
	--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;
}

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: var(--azulmedio);
	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(images/logo-dae-branco.svg);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	width: 120px;
	height: 50px;
	display: block;
	position: absolute;
	top: 10px;
	left: 10px;
	text-indent: -100000px;
}

@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(//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: 30px;
	right: 110px;
	text-indent: -100000px;
	text-decoration: none;
	cursor: pointer;
}

#busca {
	background: var(--azulmedio);
	width: 100%;
	display: none;
	padding: 10px;
	position: absolute;
	top: 70px;
	right: 0px;
	z-index: 10;
}

#busca .busca-texto {
	border-right: none;
	border-color: var(--azulmedio);
	width: 85%;

	-webkit-border-bottom-left-radius: 4px;
	-webkit-border-top-left-radius:    4px;
	-moz-border-radius-bottomleft:     4px;

	-moz-border-radius-topleft: 4px;
	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%;

	-webkit-border-bottom-right-radius: 4px;
	-webkit-border-top-right-radius:    4px;
	-moz-border-radius-bottomright:     4px;

	-moz-border-radius-topright: 4px;
	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: 43px;
		right: 140px;
	}

	#busca {
		max-width: 350px;
		padding: 0;
		top: 40px;
		right: 200px;
	}

}

/* ----- MENU ------------------------------------------------------------------- */

#botao-menu {
	background: none;
	color: #fff;
	border: none;
	position: absolute;
	top: 20px;
	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(--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;
		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;
}

/* ----- 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: 2;
	font-size: 7px;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
}

#abastecimento-efeito {
	background: var(--azulmedio);
	background: linear-gradient(45deg, var(--azulmedio), var(--ciano));
	width: 95px;
	height: 95px;
	top: 135px;
	right: 25px;
	z-index: 1;

	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;
}

#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 {
	background: var(--laranja);
	color: #fff;
}

#acesso-rapido-home a:link,
#acesso-rapido-home a:visited {
	color: #fff;
	font-weight: 400;
	text-decoration: none;
}

/* Serviços */

#servicos {
	padding: 20px 20px 40px;
}

#servicos-itens {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(3, 1fr);
}

#servicos-itens .item {
	line-height: 1;
	font-size: 12px;
	font-weight: 400;
	text-align: center;
}

#servicos-itens .item:hover {
	text-decoration: underline;
}

#servicos-itens .item img {
	width: auto;
	height: auto;
	max-height: 60px;
	margin: 0 0 0.5em;
}

/* links */

#links {
	background: var(--azulmedio);
	font-size: 80%;
}

#links .link {
	padding: 20px;
	display: flex;
	align-items: center;
	line-height: 1;
	text-transform: uppercase;
}

#links .link span {
	padding-right: 1em;
}

#links .link-relacionamento strong {
	white-space: nowrap;
	font-size: 140%;
	font-weight: 700;
}

#links .link:not(:first-child) {
	border-top: 1px solid var(--azulescuro);
}

/* 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"] {
	background-image: url(//src.cijun.sp.gov.br/img/icones-sociais/icone-branco-whatsapp.svg);
	background-repeat: no-repeat;
	background-size: auto 16px;
	background-position: left center;
	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;
}

#menu-sociais a {
	background-color: #fff;
	background-repeat: no-repeat;
	background-size: 18px 18px;
	background-position: center center;
	display: block;
	width: 30px;
	height: 30px;
	display: inline-block;
	text-indent: -10000px;

	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}

#menu-sociais a[href*="instagram.com"]{
	background-image: url(//src.cijun.sp.gov.br/img/icones-sociais/icone-preto-instagram.svg);
}

#menu-sociais a[href*="youtube.com"]{
	background-image: url(//src.cijun.sp.gov.br/img/icones-sociais/icone-preto-youtube.svg);
}

#menu-sociais a[href*="facebook.com"]{
	background-image: url(//src.cijun.sp.gov.br/img/icones-sociais/icone-preto-facebook.svg);
}

#menu-sociais a[href*="linkedin.com"]{
	background-image: url(//src.cijun.sp.gov.br/img/icones-sociais/icone-preto-linkedin.svg);
}

@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) {
	
	#acesso-rapido-home {
		display: grid;
		gap: 0;
		grid-template-columns: 3fr 1fr;
	}

	#servicos-itens .item img {
		margin-bottom: 1em;
	}

	#links {
		display: grid;
	}

}

@media only screen and (min-width: 1220px) {

	#servicos-itens {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around;
		align-items: flex-start;
	}

	#servicos-itens .item {
		flex: 5%;
		font-size: 16px;
	}

}

@media only screen and (min-width: 1360px) {

	#menu-sociais a {
		background-size: 22px 22px;
		width: 36px;
		height: 36px;
		margin: 3px;
	}

}

/* ----- 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);
}

#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: var(--azulmedio);
	color: #fff;
	max-width: 300px;
	margin: 2em auto 1em;
	padding: 20px;
	display: block;
	line-height: 1;
	font-weight: 400;
	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(--azulescuro);
}

/* 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: 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 {
	background: var(--azulmedio);
	color: #fff;
	padding: 20px 0 0;

	background: -moz-linear-gradient(top, var(--azulmedio) 0%, var(--azulescuro) 100%);
	background: -webkit-linear-gradient(top, var(--azulmedio) 0% var(--azulescuro) 100%);
	background: linear-gradient(to bottom, var(--azulmedio) 0%, var(--azulescuro) 100%);
}

#banners-home img {
	width: 100%;
	height: auto;
	margin: 0 auto 1em;
}

@media only screen and (min-width: 600px) {

	#banners-home .container {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
		align-content: center;
		justify-items: center;
		padding-bottom: 20px;
	}

	#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: 80%;
	text-align: center;
}

#desenvolvido-por,
#privacidade {
	margin: 1em auto;
}

#desenvolvido-por span,
#privacidade span {
	display: block;
}

#rodape .container-widgets {
	margin-top: 3em;
}

/* 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( 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;
	margin: 0 auto;
}

#botao-topo {
	background-color: var(--azulmedio);
	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 {
		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: " | ";
	}


}

/* ----- MENUS DO RODAPÉ -------------------------------------------------------- */

.menu-rodape {
	padding: 5px 0;
	font-weight: 400;
}

.menu-rodape ul {
	list-style: none;
}

.menu-rodape li {
	display: inline-block;
	padding: 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(--laranja);
	color: #fff;
}

#rodape-1 a:link,
#rodape-1 a:visited {
	color: #fff;
}

#rodape-1 a:hover {
	color: #000;
}

#rodape-2 {
	color: var(--azulmedio);
	font-weight: 700;
}

#rodape-2 a:link,
#rodape-2 a:visited {
	color: var(--azulmedio);
}

#rodape-2 a:hover {
	color: var(--laranja);
}

#rodape-3 {
	color: #666;
}

#rodape-3 a:link,
#rodape-3 a:visited {
	color: #666;
}

#rodape-3 a:hover {
	color: var(--laranja);
}

@media only screen and (min-width: 1024px) {

	.menu-rodape {
		font-size: 120%;
	}
	
}

/* ----- 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%;
    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;
	}

}