/*
Theme Name: Agronegócio e Abastecimento 2.2
Theme URI: https://abastecimento.jundiai.sp.gov.br/
Author: CIJUN
Author URI: https://cijun.sp.gov.br/
Description: Site do Agronegócio e Abastecimento da Unidade de Gestão de Agronegócio, Abastecimento e Turismo da Prefeitura de Jundiaí.
Version: 2.2
*/

/* tabela de cores */
/*
azul gestão		#003371
turquesa		#00a898
verde			#70be43
amarelo			#ffdd00
laranja			#faa518
magenta			#b41d8d
ciano			#00b9f1
azul			#0474bc
*/

/* ----- ELEMENTOS BÁSICOS ------------------------------------------------------ */

body,
input,
textarea,
select,
button {
	font-family: 'Open Sans', sans-serif;
}

h1 {
	margin: 0 0 30px;
	font-size: 32px;
	font-weight: 600;
}

h2 {
	margin: 30px 0 20px;
	font-size: 24px;
	font-weight: 600;
}

h3 {
	margin: 25px 0 15px;
	font-size: 20px;
	font-weight: 600;
}

h4 {
	margin: 20px 0 10px;
	font-size: 18px;
	font-weight: 600;
}

h5 {
	margin: 20px 0 10px;
	font-size: 16px;
	font-weight: 600;
}

h6 {
	margin: 20px 0 10px;
	font-size: 14px;
	font-weight: 600;
}

.clear {
	line-height: 0;
}

#main,
.container {
	min-width: 300px;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

#main {
	margin-top: 20px;
}

a:link,
a:visited {
	color: #0474bc;
}

a:active,
a:focus {
	color: #ed1c24;
}

a:hover {
	color: #00a898;
}

@media only screen and (min-width: 1024px) {

	#main {
		margin-bottom: 40px;
	}

}

/* ----- CABEÇALHO -------------------------------------------------------------- */

#header {
	background: #003371;
 	padding: 15px 15px 10px;

	background: #003371 -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.05) 70%, rgba(0, 0, 0, 0.1) 100%);
	background: #003371 -moz-linear-gradient(top,    rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.05) 70%, rgba(0, 0, 0, 0.1) 100%);
	background: #003371 linear-gradient(to bottom,   rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.05) 70%, rgba(0, 0, 0, 0.1) 100%);

	-webkit-box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.2);
	-moz-box-shadow:    0px 2px 10px 0px rgba(0,0,0,0.2);
	box-shadow:         0px 2px 10px 0px rgba(0,0,0,0.2);
}

#header .titulo {
	color: #fff;
	margin: 0;
	display: block;
	font-size: 32px;
	font-weight: bold;
	/* font-family: 'PFBenchmarkPro'; */
	text-decoration: none;
	text-align: center;
}

#header .titulo span {
	display: none;
}

#header .brasao {
	margin: 0 auto 20px;
}

#barra-plataforma {
	width: 100%;
	height: 5px;
	font-size: 1px;
}

.barra-plataforma {
	background: #003371;
	background: -moz-linear-gradient(left,		#00a898 0%, #00a898 14%, #70be43 14%, #70be43 29%, #ffdd00 29%, #ffdd00 43%, #faa518 43%, #faa518 57%, #b41d8d 57%, #b41d8d 72%, #00b9f1 72%, #00b9f1 86%, #0474bc 86%, #0474bc 100%);
	background: -webkit-linear-gradient(left,	#00a898 0%, #00a898 14%, #70be43 14%, #70be43 29%, #ffdd00 29%, #ffdd00 43%, #faa518 43%, #faa518 57%, #b41d8d 57%, #b41d8d 72%, #00b9f1 72%, #00b9f1 86%, #0474bc 86%, #0474bc 100%);
	background: linear-gradient(to right,		#00a898 0%, #00a898 14%, #70be43 14%, #70be43 29%, #ffdd00 29%, #ffdd00 43%, #faa518 43%, #faa518 57%, #b41d8d 57%, #b41d8d 72%, #00b9f1 72%, #00b9f1 86%, #0474bc 86%, #0474bc 100%);
}

@media only screen and (min-width: 480px) {

	#header .titulo {
		font-size: 42px;
	}

	#header .titulo span {
		display: block;
		font-size: 22px;
	}

}

@media only screen and (min-width: 960px) {

	#header .titulo {
		margin-top: 10px;
		float: left;
		text-align: left;
	}

	#header .brasao {
		float: right;
		margin: 0 0 20px;
	}

}

/* ----- FORMULÁRIO DE BUSCA ---------------------------------------------------- */

#botao-buscar {
	color: #FFF;
	margin-top: 20px;
	margin-bottom: 10px;
	margin-right: 20px;
	display: block;
	float: right;
	line-height: 1;
	text-decoration: none;
}

#botao-buscar .lupa {
	background: url('//src.cijun.sp.gov.br/img/icones-busca/buscar-branco-20x20.png') center center no-repeat;
	padding: 10px;
}

#botao-buscar span {
	display: inline-block;
	vertical-align: middle;
}

#searchform-principal {
	margin: 10px 0;
	padding-top: 10px;
	display: none;
	clear: both;
}

#searchform-principal .busca-texto {
	border-right: none;
	width: 90%;

	-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;
}

#searchform-principal .busca-botao {
	background: #FFF url(https://src.cijun.sp.gov.br/img/icones-busca/buscar-cinza-16x16.png) center center no-repeat;
	color: transparent;
	border-left: none;
	width: 10%;

	-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: 960px) {

	#botao-buscar {
		display: none;
	}

	#searchform-principal {
		width: 250px;
		margin-top: -10px;
		margin-right: 0;
		margin-bottom: 10px;
		float: right;
		display: block;
	}

}

/* ----- MENU MOBILE ------------------------------------------------------------ */

#botao-menu {
	color: #FFF;
	width: auto;
	margin-top: 20px;
	margin-bottom: 10px;
	display: block;
	float: right;
	line-height: 1;
	text-decoration: none;
}

#botao-menu .hamburguer {
	font-size: 30px;
}

#botao-menu span {
	padding-right: 5px;
	display: inline-block;
	vertical-align: middle;
}

.menu-mobile-container {
	display: none;
	clear: both;
}

#menu-mobile {
	height: auto;
	list-style: none;
}

#menu-mobile li {
	border-bottom: 1px solid #DDD;
	display: block;
}

#menu-mobile ul li:last-child {
	border-bottom: none;
}

#menu-mobile a:link,
#menu-mobile a:visited {
	color: #FFF;
	padding: 10px;
	display: block;
	text-decoration: none;
}

#menu-mobile a:hover {
	background: #DDD;
	color: #000;
	text-decoration: none;
}

/* segundo nível */
#menu-mobile li ul {
	margin-left: 20px;
}

/* terceiro nível */
#menu-mobile li ul ul {
	margin-left: 30px;
}

#menu-mobile .destaque {
	font-weight: bold;
}

@media only screen and (min-width: 960px) {

	#botao-menu,
	#botao-menu,
	.menu-mobile-container {
		display: none;
	}

}

/* ----- MENU LATEERAL ---------------------------------------------------------- */

.menu-lateral-container {
	display: none;
}

@media only screen and (min-width: 960px) {

	.menu-lateral-container {
		background: #EEE;
		margin-bottom: 40px;
		clear: both;
		display: block;
	}

	#menu-lateral {
		width: 100%;
		height: auto;
		list-style: none;
		margin: 0;
	}

	#menu-lateral a {
		display: block;
		padding: 10px;
	}

	#menu-lateral a:link,
	#menu-lateral a:visited {
		color: #000;
		border-bottom: 1px solid #DDD;
		text-decoration: none;
	}

	#menu-lateral a:hover,
	#menu-lateral a:active {
		background-color: #555;
		color: #FFF;
		text-decoration: none;
	}

	#menu-lateral li {
		border-bottom: 1px solid #DDD;
		display: inline;
	}

	#menu-lateral .current-menu-item a { /* item atual */
		border-left: 3px solid #DDD;
	}

	/* segundo nível */
	#menu-lateral li li a {
		padding-left: 30px;
	}

	/* terceiro nível */
	#menu-lateral li li li a {
		padding-left: 40px;
	}

	#menu-lateral .destaque {
		font-weight: bold;
	}


}

/* ----- SLIDESHOW -------------------------------------------------------------- */

#slideshow {
	background: #fff;
	width: 100%;
	height: 400px;
	margin: 0 0 30px;
	list-style-type: none;
	overflow: hidden;
}

#slideshow img,
#slideshow li {
	width: 100%;
	height: 400px;
}

#slideshow li {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 100% auto;
}

#slideshow span {
	background: #000;
	background: rgba(0, 0, 0, 0.5);
	color: #FFF;
	padding: 5px 10px;
	position: relative;
	top: 70px;
	left: 20px;
	font-size: 18px;

	display: none;
}

@media only screen and (max-width: 800px) {

	#slideshow {
		display: none;
	}
	
}

/* ----- AGENDA ----------------------------------------------------------------- */

#agenda-home {
	margin: 50px 0 0;
}

#agenda-home .agenda-titulo {
	color: #333;
	border-bottom: 2px solid #333;
	margin: 0 0 20px;
	padding-bottom: 5px;
	display: block;
	font-size: 22px;
	font-weight: bold;
	text-align: left;
	text-decoration: none;
	text-transform: uppercase;
}

#agenda-home a:link,
#agenda-home a:visited {
	text-decoration: none;
}

#agenda-home .evento {
	border-bottom: 1px solid #DDD;
	margin-bottom: 20px;
	padding-bottom: 10px;
}

#agenda-home .evento:last-of-type {
	border-bottom: none;
}

#agenda-home img {
	border: 3px solid #DDD;
	width: auto;
	height: 100px;
	float: left;
	margin: 0 10px 10px 0;
}

#agenda-home .evento-data {
	color: #666;
	margin: 0 0 5px;
	font-size: 14px;
}

#agenda-home .evento-titulo {
	margin: 0 0 5px;
	line-height: 1.1;
	font-weight: 600;
	font-size: 18px;
}

#agenda-home .evento-resumo {
	font-size: 16px;
}

#agenda-home .evento-resumo p:last-of-type {
	margin-bottom: 0;
}

#agenda-home .agenda-leia-mais {
	background: #003371;
	color: #fff;
	margin-bottom: 20px;
	padding: 5px;
	display: inline-block;
	float: right;
	clear: both;
	font-weight: bold;
	text-decoration: none;
	text-transform: uppercase;
}


@media only screen and (min-width: 1220px) {

	#agenda-home  {
		margin-top: 0;
		width: 20%;
		float: right;
	}

	#agenda-home img {
		width: 100%;
		height: auto;
		float: none;
		margin: 0 0 10px;
	}

	#agenda-home .evento-titulo {
		font-size: 16px;
	}

	#agenda-home .evento-data {
		font-size: 13px;
	}

	#agenda-home .evento-resumo {
		font-size: 14px;
	}

	#agenda-home .agenda-leia-mais {
		display: block;
		float: none;
		clear: both;
		text-align: center;
	}

}

/* ----- CONTEÚDO DA HOME  ------------------------------------------------------ */

@media only screen and (min-width: 1220px) {

	#home-conteudo.agenda {
		width: 75%;
		float: left;
	}

}

/* ----- CONTEÚDO --------------------------------------------------------------- */

#conteudo {
	padding: 0 20px;
}

#conteudo ul ul,
#conteudo ol ol {
	margin-top: 0.3em;
	margin-bottom: 0.3em;
}

/* imagens */

.wp-block-image {
	margin-bottom: 2em;
}

.wp-block-embed figcaption,
.wp-block-image figcaption {
	color: #666;
	font-size: 13px;
	text-align: center;
}

/* lista de notícias */

.arquivo-noticias {
	color: #00a898;
	font-size: 16px;
}

.lista-noticias .noticia-lista {
	border-bottom: 1px solid #DDD;
	margin-bottom: 20px;
	padding-bottom: 20px;
	clear: both;
}

.lista-noticias .noticia-lista:last-child {
	border: none;
}

.lista-noticias img {
	border: 2px solid #DDD;
	width: 100px;
	height: 100px;
	margin: 0 10px 0 0;
	float: left;
}

.lista-noticias .thumb-video {
	width: 130px;
	height: 100px;
}

.lista-noticias .titulo-lista {
	margin-bottom: 0.3em;
	line-height: 1.1;
	font-size: 16px;
	font-weight: bold;
	text-align: left;
}

.data-hora {
	margin-bottom: 20px;
	color: #666;
}

.sharethis-inline-share-buttons {
	margin: 20px 0 40px;
}

/* lista das páginas Programas */

.page-programas ul li {
	margin-bottom: 0.6em;
}

@media only screen and (min-width: 960px) {

	#breadcrumb {
		background: #EEE;
		border-bottom-width: 1px;
		border-bottom-style: solid;
		border-bottom-color: #DDD;
		padding: 10px;
		text-transform: uppercase;
		font-size: 11px;
	}

	#breadcrumb .delimitador {
		color: #222;
		padding: 0 3px;
		font-weight: bold;
	}

	#breadcrumb a:link,
	#breadcrumb a:visited {
		color: #222;
		font-weight: bold;
	}

	#breadcrumb a:hover,
	#breadcrumb a:active {
		color: #000;
	}

}

@media only screen and (min-width: 960px) {

	.pagina {
		width: 72%;
		float: right;
	}

}

@media only screen and (min-width: 1220px) {

	#conteudo {
		padding: 0;
	}

}

/* ----- ICONES DE TIPOS DE ARQUIVOS -------------------------------------------- */

.pagina a[href$=".pdf"]:not(.wp-block-file__button),
.pagina a[href$=".doc"]:not(.wp-block-file__button),
.pagina a[href$=".docx"]:not(.wp-block-file__button),
.pagina a[href$=".xls"]:not(.wp-block-file__button),
.pagina a[href$=".xlsx"]:not(.wp-block-file__button) {
	background-repeat: no-repeat;
	padding-left: 20px;
}

.pagina 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);
}

.pagina a[href$=".doc"]:not(.wp-block-file__button),
.pagina 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);
}

.pagina a[href$=".xls"]:not(.wp-block-file__button),
.pagina 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);
}

.pagina 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);
}


/* ----- PAGINAÇÃO -------------------------------------------------------------- */

.paginacao a:link,
.paginacao a:hover,
.paginacao a:visited,
.paginacao a:active {
	text-decoration: none !important;
}

.paginacao a:hover {
	background: #003371;
}

/* ----- SIDEBAR ---------------------------------------------------------------- */

#sidebar {
	border-top: 5px solid #00a898;
	padding: 20px 0;
}

#sidebar .widget-titulo {
	font-size: 16px;
	margin-bottom: 0.3em;
}

/* newsletter do feedburner */
#mailing-feedburner {
	display: none;
}

@media only screen and (min-width: 960px) {

	#sidebar {
		border-top: none;
		width: 28%;
		margin-top: 0;
		padding: 0 40px 0 0;
		float: left;
	}

}

/* ----- RODAPÉ ----------------------------------------------------------------- */

#rodape a:link,
#rodape a:visited {
	color: #00a898;
	text-decoration: none;
}

#rodape a:hover {
	color: #00a898;
	text-decoration: underline;
}

/* redes sociais */

#rodape .icones-sociais {
	width: 245px;
	height: 36px;
	margin: 20px auto;
	clear: both;
}

#rodape .icones-sociais a {
	border: 3px solid #eee;
	width: 36px;
	height: 36px;
	margin: 0 0 0 5px;
	float: left;
}

#rodape .icones-sociais .feed {
	margin-left: 0;
}

/* ----- 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: 22px;
		text-align: center;
	}

	#main {
		margin-top: 0;
	}

}

/* ----- EDITOR DE BLOCOS ------------------------------------------------------- */

.wp-block-embed-youtube iframe {
	display: block;
	width: 100%;
	height: 550px;
}

/* ----- TABELAS ---------------------------------------------------------------- */

.tabela-cinza-borda-branca,
.tabela-cinza-borda-branca th,
.tabela-cinza-borda-branca td {
	background: #EEE;
	border: 3px solid #FFF;
}

.tabela-branca-borda-cinza,
.tabela-branca-borda-cinza th,
.tabela-branca-borda-cinza td {
	border: 1px solid #CCC;
}

.tabela-cinza-borda-branca th,
.tabela-branca-borda-cinza th {
	text-align: center;
	vertical-align: middle;
}

.tabela-branca-borda-cinza th {
	background: #F5F5F5;
}

.page-pagina-inicial .gallery {
	text-align: center;
}

.page-pagina-inicial .gallery-item {
	display: inline-block;
	float: none !important;
	width: 30% !important;
	margin-right: 15px;
}

.page-pagina-inicial .gallery img {
	border: none;
	box-shadow: none;
}

.page-pagina-inicial .gallery br {
	display: none;
}

@media (max-width: 450px) {
	.page-pagina-inicial .gallery-item {
		width: 100% !important;
	}
}

@media (min-width: 451px) and (max-width: 800px) {
	.page-pagina-inicial .gallery-item {
		width: 46% !important;
	}
}

/* ----- PRODUTOR RURAL --------------------------------------------------------- */

#busca-produtor-rural {
	margin-bottom: 60px;
}

#busca-produtor-rural #fruta {
	width: 100%;
	border: 1px solid #e5e5e5;
	border-radius: 5px;
	padding: 10px 15px;
}

.noresults:not(.pre-cadastro p.noresults) {
	display: none;
}

.results {
	display: block;
}

.page-produtor-rural .pagina-conteudo p:not(.pre-cadastro p) {
	border-bottom: 1px solid #eee;
	padding-bottom: 1em;
}

.page-produtor-rural .pagina-conteudo a[href*="wa.me"],
.page-produtor-rural .pagina-conteudo a[href*="goo.gl"],
.page-produtor-rural .pagina-conteudo a[href*="mailto:"],
.page-produtor-rural .pagina-conteudo a[href*="instagram.com"],
.page-produtor-rural .pagina-conteudo a[href*="facebook.com"] {
	background-size: 100% 100%;
	display: inline-block;
	margin: 5px 5px 0 0;
	width: 24px;
	height: 24px;
	text-indent: -10000px;
}

/* botões dos produtos */

#botoes-produtos {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, 1fr);
}

.botao-produto {
	background-color: #eee;
	background-size: auto 60px;
	background-repeat: no-repeat;
	background-position: center 10px;
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 70px 10px 10px;
	text-align: center;
}

.botao-caqui {
	background-image: url(images/produtor-rural-caqui.png);
}

.botao-goiaba {
	background-image: url(images/produtor-rural-goiaba.png);
}

.botao-hortalicas {
	background-image: url(images/produtor-rural-hortalicas.png);
}

.botao-mandioca {
	background-image: url(images/produtor-rural-mandioca.png);
}

.botao-morango {
	background-image: url(images/produtor-rural-morango.png);
}

.botao-milho {
	background-image: url(images/produtor-rural-milho.png);
}

.botao-organicos {
	background-image: url(images/produtor-rural-organicos.png);
}

.botao-pessego {
	background-image: url(images/produtor-rural-pessego.png);
}

.botao-ponkan {
	background-image: url(images/produtor-rural-ponkan.png);
}

.botao-uva {
	background-image: url(images/produtor-rural-uva.png);
}

/* link para o Whatsapp */
.page-produtor-rural .pagina-conteudo a[href*="wa.me"] {

	background-image: url(https://src.cijun.sp.gov.br/img/icones-sociais/icone-preto-whatsapp.svg);
}

/* link para o Google Maps */
.page-produtor-rural .pagina-conteudo a[href*="goo.gl"] {

	background-image: url(https://src.cijun.sp.gov.br/img/icones-sociais/icone-preto-endereco.svg);
	margin-right: 0px;
}

/* link para o email */
.page-produtor-rural .pagina-conteudo  a[href*="mailto:"] {
	background-image: url(https://src.cijun.sp.gov.br/img/icones-sociais/icone-preto-email.svg);
}

/* link para o Instagram */
.page-produtor-rural .pagina-conteudo  a[href*="instagram.com"] {
	background-image: url(https://src.cijun.sp.gov.br/img/icones-sociais/icone-preto-instagram.svg);
}

/* link para o Facebook */
.page-produtor-rural .pagina-conteudo  a[href*="facebook.com"] {
	background-image: url(https://src.cijun.sp.gov.br/img/icones-sociais/icone-preto-facebook.svg);
}

@media only screen and (min-width: 600px) {

	#botoes-produtos {
		grid-template-columns: repeat(4, 1fr);
	}

}

@media only screen and (min-width: 800px) {

	#botoes-produtos {
		grid-template-columns: repeat(5, 1fr);
	}

}