/*
Theme Name: Compra Aberta 4
Theme URI: https://compraaberta.jundiai.sp.gov.br/
Author: CIJUN
Author URI: https://cijun.sp.gov.br/
Description: Site Compra Aberta da Prefeitura de Jundia&iacute;.
Version: 4.0
*/

/* tabela de cores */
/*
azul gestão		#003371
turquesa		#00a898
verde			#70be43
amarelo			#ffdd00
laranja			#faa518
magenta			#b41d8d
ciano			#00b9f1
azul			#0474bc

azul degrade	#155db4
azul degrade	#3f80ce
*/

/* ----- 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: #003371;
}

a:active,
a:focus {
	color: #ed1c24;
}

a:hover {
	color: #0474bc;
}

.wp-block-file:not(.wp-element-button) {
	font-size: 1em !important;
}

@media only screen and (min-width: 1024px) {

	#main {
		margin-bottom: 40px;
	}

}

/* ----- CABEÇALHO -------------------------------------------------------------- */

#header {
	background-color: #003371;
	border-bottom: 10px solid #00a898;
	padding: 15px 15px 10px;
	position: relative;
	z-index: 20;

	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 -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 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;
	display: block;
	line-height: 1.2;
	font-size: 32px;
	font-weight: bold;
	/* font-family: 'PFBenchmarkPro'; */
	text-decoration: none;
	text-align: center;
}

#header .titulo span {
	display: block;
	padding-top: 10px;
	font-size: 22px;
}

#header .brasao {
	display: none;
}

@media only screen and (min-width: 600px) {

	#header .titulo {
		font-size: 46px;
	}

}

@media only screen and (min-width: 800px) {
	
	#header .titulo {
		width: auto;
		margin-top: 10px;
		margin-bottom: 20px;
		float: left;
		text-align: left;
	}

	#header .brasao {
		margin-top: 20px;
		float: right;
		display: block;
	}

}

@media only screen and (min-width: 1024px) {

	#header {
		background: #003371 url(images/header.jpg) no-repeat center center;
	}

	#header .titulo {
		background: url(images/logo-compra-aberta.png) no-repeat left center;
		padding-left: 110px;
	}

}

/* ----- 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 - não tem! */
#menu-mobile li ul ul {
	display: none;
}

@media only screen and (min-width: 800px) {

	#botao-menu,
	.menu-mobile-container {
		display: none;
	}

}

/* ----- MENU SUPERIOR ---------------------------------------------------------- */

.menu-superior-container {
	display: none;
}

@media only screen and (min-width: 800px) {

	.menu-superior-container {
		background: #eee;
		border-bottom: 1px solid #CCC;
		height: auto;
		width: 100%;
		margin: 0 auto 20px;
		padding: 10px 0 5px;
		display: table;
		clear: both;

		background: #eee -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: #eee -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: #eee 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);
	}

	#menu-superior li a:link,
	#menu-superior li a:visited {
		color: #333;
		width: auto;
		height: auto;
		margin-left: 5px;
		margin-bottom: 5px;
		padding: 5px 10px;
		font-size: 16px;
		text-decoration: none;
	}

	#menu-superior li a:hover,
	#menu-superior li a:active {
		background-color: #00a898;
		color: #fff;
		text-decoration: none;

		-webkit-border-radius: 4px;
		-moz-border-radius: 4px;
		border-radius: 4px;

		-webkit-transition: background 0.1s ease-in;
		-moz-transition: background 0.1s ease-in;
		-ms-transition: background 0.1s ease-in;
		-o-transition: background 0.1s ease-in;
		transition: background 0.1s ease-in;
	}
	
	#menu-superior .fale-conosco {
		float: right;
	}

	/* segundo nivel */
	#menu-superior li ul {
		background-color: #ccc;
		border-bottom: 5px solid #003371;
		width: 300px;
		margin-top: 0;
		margin-left: 5px;

		-webkit-box-shadow: 0px 5px 5px rgba(0,0,0,0.2);
		-moz-box-shadow: 0px 5px 5px rgba(0,0,0,0.2);
		-ms-box-shadow: 0px 5px 5px rgba(0,0,0,0.2);
		-o-box-shadow: 0px 5px 5px rgba(0,0,0,0.2);
		box-shadow: 0px 5px 5px rgba(0,0,0,0.2);
	}

	/* efeitinhos do segundo nível */
    #menu-superior > li ul.sub-menu {
		opacity: 0;

        -webkit-transform: scaleY(0);
        transform: scaleY(0);

        -webkit-transform-origin: 50% 0;
        transform-origin: 50% 0;

        -webkit-transition-property: opacity, margin-top, -webkit-transform, left;
        transition-property: opacity, margin-top, transform, left;

        -webkit-transition-duration: 0.45s, 0.45s, 0.15s, 0s;
        transition-duration: 0.45s, 0.45s, 0.15s, 0s;

        -webkit-transition-delay: 0s, 0s, 0.1s, 0.5s;
        transition-delay: 0s, 0s, 0.1s, 0.5s;
    }

    #menu-superior li:hover > ul.sub-menu,
    #menu-superior li.open > ul.sub-menu {
        opacity: 1;

        -webkit-transform: scaleY(1);
        transform: scaleY(1);

        -webkit-transition-delay: 0.1s, 0.1s, 0.1s, 0s;
        transition-delay: 0.1s, 0.1s, 0.1s, 0s;
    }

	/* links do segundo nível */
	#menu-superior li li a:link,
	#menu-superior li li a:visited {
		background: #EEE;
		color: #000;
		border-bottom: 1px solid #DDD;
		width: 300px;
		margin: 0;
		padding: 10px;
		font-size: 14px;
		font-weight: normal;
		text-align: left;
		text-decoration: none;
	}

	#menu-superior li li a:hover,
	#menu-superior li li a:active {
		background: #FFF;
		color: #000;
		text-decoration: none;

		-webkit-border-radius: 0px;
		-moz-border-radius: 0px;
		border-radius: 0px;
	}

	/* terceiro nivel - não tem! */
	#menu-superior li ul ul {
		display: none;
	}

}

/* ----- BANNERS DA CAPA -------------------------------------------------------- */

#banners-home {
	margin: 20px 0 0;
}

.banner-home {
	background: #155db4;
	color: #FFF;
	width: 100%;
	max-width: 100%;
	height: 310px;
	margin-bottom: 20px;
	padding: 40px 20px;
	overflow: hidden;
	font-size: 20px;
	text-align: center;

	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#3f80ce+0,155db4+100 */
	background: -moz-linear-gradient(top, #3f80ce 0%, #155db4 100%);
	background: -webkit-linear-gradient(top, #3f80ce 0%,#155db4 100%);
	background: linear-gradient(to bottom, #3f80ce 0%,#155db4 100%);
}

.banner-home span {
	height: 90px;
	width: 300px;
	display: table-cell;
	vertical-align: middle;
}

.banner-home a {
	color: #FFF;
	text-decoration: none;
}

.banner-home img {
	width: 150px;
	height: 150px;
	margin: 0 auto 20px;
	clear: both;
}

@media only screen and (min-width: 480px) {

	.banner-home {
		width: 46%;
		margin: 0 2% 20px;
		float: left;
	}

}

@media only screen and (min-width: 800px) {

	.banner-home {
		width: 16%;
		font-size: 16px;
		margin-bottom: 0;
	}

	.banner-home img {
		width: 100%;
		max-width: 150px;
		height: auto;
	}

}

@media only screen and (min-width: 1120px) {
	/*
	.banner-home {
		font-size: 24px;
	}
	*/

}

/* ----- CONTEÚDO --------------------------------------------------------------- */

#conteudo {
	padding: 0 20px;
}

#conteudo ul ul,
#conteudo ol ol {
	margin-top: 0.3em;
	margin-bottom: 0.3em;
}

/* página com lista de sub-páginas */

.sub-paginas li {
	list-style: none;
}

.sub-paginas li:before {
	color: #333;
	content: "» \00a0";
}

/* ----- 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),
.pagina a[href*="docs.google.com"]:not(.wp-block-file__button),
.pagina a[href*="drive.google.com"]:not(.wp-block-file__button),
.pagina a[href*="goo.gl"]:not(.wp-block-file__button),
.pagina a[href*="bit.ly"]:not(.wp-block-file__button),
.pagina a[href*="twitter.com"]:not(.wp-block-file__button),
.pagina a[href*="instagram.com"]:not(.wp-block-file__button),
.pagina a[href*="facebook.com"]:not(.wp-block-file__button),
.pagina a[href*="youtube.com"]:not(.wp-block-file__button),
.pagina a[href*="youtu.be"]: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 a[href*="docs.google.com"]:not(.wp-block-file__button), /* link para arquivos no Drive */
.pagina 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);
}

@media only screen and (min-width: 1220px) {

	#conteudo {
		padding: 0;
	}

}

/* ----- LISTA DE PUBLICAÇÕES --------------------------------------------------- */

#lista-publicacoes {
	margin: 0;
	list-style: none;
}

#lista-publicacoes li {
	border-bottom: 1px solid #e5e5e5;
	height: 180px;
	margin: 0 0 2em;
	clear: both;
}

#lista-publicacoes img {
	border: 1px solid #e5e5e5;
	margin: 0 20px 0 0;
	padding: 3px;
	float: left;
}

#lista-publicacoes .lista-conteudo {
	height: 100px;
	overflow: hidden;
}

#lista-publicacoes .lista-titulo {
	margin-bottom: 0.5em;
	line-height: 1.2;
	font-weight: bold;
	text-align: left;
}

#lista-publicacoes .lista-resumo {}

#lista-publicacoes .pdf-download,
#lista-publicacoes .pdf-visualizar,
#lista-publicacoes .pdf-nao-encontrado {
	display: inline-block;
	padding: 10px;
}

#lista-publicacoes .pdf-visualizar {
	background: url('https://src.cijun.sp.gov.br/img/icones-arquivos/arquivo-pdf-16x16-flat.png') no-repeat left center;
	padding-left: 20px;
	font-weight: bold;
}

#lista-publicacoes .pdf-download {
	background: url('https://src.cijun.sp.gov.br/img/icones-arquivos/download-16x16.png') no-repeat left center;
	padding-left: 20px;
	left: 250px;
	font-weight: bold;
}

#lista-publicacoes .pdf-tamanho {
	display: none;
}

#lista-publicacoes .pdf-nao-encontrado {
	font-style: italic;
}

@media only screen and (min-width: 600px) {

	#lista-publicacoes .pdf-tamanho {
		display: inline;
		font-size: 12px;
		font-weight: normal;
	}

	#lista-publicacoes .lista-titulo {
		font-size: 18px;
	}

}

/* ----- PAGINAÇÃO -------------------------------------------------------------- */

.paginacao span,
.paginacao a {
    font-weight: 600;
}

.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: 3px solid #00a898;
	margin-bottom: 40px;
	padding-top: 20px;
}

#sidebar .widget {
    margin-bottom: 50px;
}

#sidebar .screen-reader-text {
	display: none;
}

#sidebar select {
	width: 100%;
}

#sidebar .widget-titulo {
	color: #003371;
	margin-bottom: 0.5em;
	font-size: 18px;
	font-weight: 600;
	text-transform: uppercase;
}

@media only screen and (min-width: 960px) {

	#sidebar {
		border-top: none;
		width: 25%;
		padding-top: 0;
		float: right;
	}

	.noticia {
		width: 70%;
		float: left;
	}

}

/* ----- RODAPÉ ----------------------------------------------------------------- */

#rodape {
	background-color: #222;
	color: #FFF;
	padding: 10px 20px 0;

	background: #222 -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: #222 -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: #222 linear-gradient(to bottom,   rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.05) 70%, rgba(0, 0, 0, 0.1) 100%);
}

#rodape a:link,
#rodape a:visited {
	color: #FFF;
	text-decoration: none;
}

#rodape a:hover {
	color: #FFF;
	text-decoration: underline;
}

#rodape .logo-cijun {
	margin: 30px auto 10px;
}

#desenvolvido-por {
	color: #FFF;
}

/* menu */

.menu-rodape-container {
	margin-top: 20px;
}

#menu-rodape {
	height: auto;
	list-style: none;
	line-height: 2;
	text-align: center;
}

#menu-rodape li {
	border-left: 1px solid #555;
	display: inline;
}

#menu-rodape li:first-child {
	border-left: none;
}

#menu-rodape a:link,
#menu-rodape a:visited {
	color: #FFF;
	padding: 5px;
	text-decoration: none;
}

#menu-rodape a:hover,
#menu-rodape a:active {
	background: #000;
	color: #FFF;
	text-decoration: none;
}

/* widgets */

#rodape .rodape-widget-texto {
	margin-bottom: 50px;
	line-height: 1.8;
	font-size: 12px;
	text-align: center;
}

#rodape .widget-texto {
	margin-bottom: -20px;
}

#rodape .widget-titulo {
	font-size: 16px;
}

/* redes sociais */

#rodape .icones-sociais {
	width: 270px;
	height: 36px;
	margin: 0 auto;
	display: block;
	clear: both;
}

#rodape .icones-sociais a {
	width: 36px;
	height: 36px;
	margin: 0 0 0 10px;
	border: 3px solid #FFF;
	float: left;
}

#rodape .icones-sociais a:hover {
	border-color: #DDD;
}

#rodape .icones-sociais .feed {
	margin-left: 0;
}

@media only screen and (min-width: 600px) {

	.menu-rodape-container {
		margin-bottom: 20px;
	}
	
	#rodape .rodape-widget-texto {
		margin-bottom: 20px;
		clear: both;
	}

	#rodape .widget-texto {
		width: 50%;
		padding-right: 30px;
		float: left;
		text-align: left;
	}

	#rodape .icones-sociais {
		margin: 30px 0 20px;
		float: left;
		clear: none;
	}

	#rodape .logo-cijun {
		float: right;
		margin-bottom: 20px;
	}

}

@media only screen and (min-width: 800px) {

	#rodape .rodape-widget-texto {
		width: 750px;
	}

}

@media only screen and (min-width: 1100px) {

	#rodape .rodape-widget-texto {
		min-height: 150px;
		overflow: hidden;
	}

	#rodape .icones-sociais {
		float: right;
		margin-top: -140px;
		margin-bottom: 30px;
	}

	#rodape .logo-cijun {
		margin-top: -60px;
		margin-right: 60px;
		margin-bottom: 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;
	}

}