/*
Theme Name:		FUNSS 3.0
Theme URI:		https://fundosocial.jundiai.sp.gov.br/
Author:			CIJUN
Author URI:		https://cijun.sp.gov.br/
Description:	Site do Fundo Social de Solidariedade de Jundiaí.
Template:		jundiai-tema-base
Version:		3.0
*/

/* ----- CABEÇALHO ------------------------------------------------------------------- */

#barra-plataforma {
	background: var(--magenta);
}


/* ----- SLIDESHOW DA CAPA ----------------------------------------------------------- */

#slideshow {
	padding: 40px 20px;
}

#slider {
	max-width: 1300px;
	margin: auto;
}

.rslides {
	width: 100%;
	overflow: hidden;
	margin: 0;
	padding: 0;
	list-style: none;
	position: relative;
}

.rslides li {
	width: 100%;
	margin: 0;
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	-webkit-backface-visibility: hidden;
}

.rslides li:first-child {
	display: block;
	position: relative;
	float: left;
}

.rslides img {
	border: 0;
	width: 100%;
	height: auto;
	aspect-ratio: 1300/300;
	display: block;
	float: left;
}

@media only screen and (min-width: 1024px) {

	#slideshow {
		padding-bottom: 2em;
	}

}

/* ----- NOTÍCIAS DA CAPA ------------------------------------------------------------ */

#noticias-portal {
	padding-top: 3em;
	word-break: break-word;
}

#noticias-portal .noticias-lista .noticia-item:nth-child(2) .noticia-resumo,
#noticias-portal .noticias-lista .noticia-item:nth-child(3) .noticia-resumo,
#noticias-portal .noticias-lista .noticia-item:nth-child(4) .noticia-resumo {
	display: none;
}

@media only screen and (min-width: 1024px) {

	#noticias-portal {
		padding-top: 4em;
	}

	#noticias-portal .noticias-lista {
		grid-template-columns: 1fr 1fr 1fr;
		gap: 40px;
		grid-template-areas:
			"a a a"
			"b c d";
	}

	#noticias-portal .noticias-lista .noticia-item:nth-child(1) {
		min-height: 420px;
		position: relative;
		grid-area: a;
	}

	#noticias-portal .noticias-lista .noticia-item:nth-child(1) .noticia-data {
		position: absolute;
		top: 0;
		left: 0;
	}

	#noticias-portal .noticias-lista .noticia-item:nth-child(1) .noticia-titulo {
		background: var(--magenta);
		color: #fff;
		padding: 10px 15px;
		position: absolute;
		left: 550px;
		top: 80px;
		font-size: 180%;
		text-decoration: none;
	}

	#noticias-portal .noticias-lista .noticia-item .noticia-foto {
		aspect-ratio: 3 / 2;
		height: auto;
	}

	#noticias-portal .noticias-lista .noticia-item:nth-child(1) .noticia-foto {
		width: 600px;
		position: absolute;
		top: 20px;
		left: 0;
	}

	#noticias-portal .noticias-lista .noticia-item:nth-child(1) .noticia-resumo {
		position: absolute;
		left: 640px;
		top: 230px;
	}

	#noticias-portal .noticias-lista .noticia-item:nth-child(2) {
		grid-area: b;
	}

	#noticias-portal .noticias-lista .noticia-item:nth-child(3) {
		grid-area: c;
	}

	#noticias-portal .noticias-lista .noticia-item:nth-child(4) {
		grid-area: d;
	}

	#noticias-portal .noticias-lista .noticia-item:nth-child(2) .noticia-resumo,
	#noticias-portal .noticias-lista .noticia-item:nth-child(3) .noticia-resumo,
	#noticias-portal .noticias-lista .noticia-item:nth-child(4) .noticia-resumo {
		display: none;
	}

	#noticias-portal .noticias-lista p {
		margin-bottom: 1em;
	}

}


/* ----- MENU DAS REDES SOCIAIS DO FUNSS --------------------------------------------- */

#sociais-portal {
	margin-top: 60px;
}

#sociais-portal h2 {
	text-align: center;
}

#menu-social-funss-container {
	margin: 30px auto;
	width: max-content;
}

#menu-social-funss {
	margin: 0;
	display: table;
	list-style: none;
	text-align: center;
}

#menu-social-funss li {
	display: inline-block;
}

/* não mostra sub-itens */
#menu-social-funss .sub-menu {
	display: none;
}

#menu-social-funss a {
	background-image: url(//src.cijun.sp.gov.br/img/icones-sociais/icone-branco-web.svg);
	background-position: center center;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	width: 60px;
	height: 60px;
	margin: 5px;
	display: block;
	text-indent: -10000px;
}

#menu-social-funss a[href*="/feed/"] {
	background-image: url(//src.cijun.sp.gov.br/img/icones-sociais/icone-magenta-feed.svg);
}

#menu-social-funss a[href*="facebook.com"],
#menu-social-funss a[href*="fb.com"] {
	background-image: url(//src.cijun.sp.gov.br/img/icones-sociais/icone-magenta-facebook.svg);
}

#menu-social-funss a[href*="instagram.com"] {
	background-image: url(//src.cijun.sp.gov.br/img/icones-sociais/icone-magenta-instagram.svg);
}

#menu-social-funss a[href*="youtube.com"],
#menu-social-funss a[href*="yt.be"] {
	background-image: url(//src.cijun.sp.gov.br/img/icones-sociais/icone-magenta-youtube.svg);
}

#menu-social-funss a[href*="flickr.com"] {
	background-image: url(//src.cijun.sp.gov.br/img/icones-sociais/icone-magenta-flickr.svg);
}

#menu-social-funss a[href*="twitter.com"] {
	background-image: url(//src.cijun.sp.gov.br/img/icones-sociais/icone-magenta-twitter.svg);
}





































