/* -------------------------------- 

Primary style

-------------------------------- */
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
}

body, html {
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

ul {
	list-style-type: none;
}

ul, li { 
	margin: 0; padding: 0;
}

p {
	font-size: 14px;
}

h1,h2,h3,h4,h5{
	font-weight: normal;
}

@font-face {
    font-family: 'flamabook';
    src: url('../fonts/flama-book-webfont.eot');
    src: url('../fonts/flama-book-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/flama-book-webfont.woff') format('woff'),
         url('../fonts/flama-book-webfont.ttf') format('truetype'),
         url('../fonts/flama-book-webfont.svg#flamabook') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'flamamedium';
    src: url('../fonts/flama-medium-webfont.eot');
    src: url('../fonts/flama-medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/flama-medium-webfont.woff') format('woff'),
         url('../fonts/flama-medium-webfont.ttf') format('truetype'),
         url('../fonts/flama-medium-webfont.svg#flamamedium') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
	font-size: 17px;
	font-family: 'flamabook', sans-serif;
	color: #4d4d4f;
	margin:0;
	padding:0;
	background: #e6ebed;
}

#container{
	position: relative;
	width: 100%;
	/*background: url("../img/bottom-gradient.png") repeat-x bottom center;*/
}

#titleBar{
	position: fixed; top:0;
	width: 100%;
	overflow: visible;
	background: #fff;
	-webkit-box-shadow: -20px 0px 20px 0px rgba(50, 50, 50, 0.5);
	-moz-box-shadow:    -20px 0px 20px 0px rgba(50, 50, 50, 0.5);
	box-shadow:         -20px 0px 20px 0px rgba(50, 50, 50, 0.5);
	z-index:101;
}

#titleBar h1{
	width: 100%; min-height: 130px;
	max-width: 960px;
	margin: 0 auto;
	padding: 60px 0 0 0;
	position: relative;
	font-size: 42px; line-height: 1.2em;
	color: #4d4d4d;
}

#topBlock{
	width: 100%; max-width: 960px;
	margin: 0 auto;
	z-index: 1;
}

#highlightNav{
	list-style: none;
	display: block; 
	width: 100%; max-width: 960px;
	margin: 10px auto 0 auto;
	position: relative;
	white-space: nowrap;
	text-align: center;
	zindex: 1001;
}

#highlightNav li{
	display: inline-block;
	width:10px; height: 10px;
	padding: 0px;
	
	border-radius: 5px;
	-moz-border-radius: 5px;
	
	margin: 0 6px 0 0;
	cursor:pointer;
	background: #fff;
}
#highlightNav li.active{
	background: #42ada0;
}

#archiveHighlights{
	list-style:none;
	display: block;
	margin-top: 130px;
	padding: 0;
	position: relative;
	width: 100%;
	max-width: 960px;
	overflow: hidden;
	white-space:nowrap;
}
#archiveHighlights li{
	position: relative;
	display: inline-block;
	font-size: 22px;
	width: 100%;
	max-width: 960px;
	overflow: hidden;
	background: transparent;
	white-space:normal;
}
#archiveHighlights li a{
	display: block;
	overflow: hidden;
	/*
	border-radius: 10px;
	-moz-border-radius: 10px;
	*/
}

#archiveHighlights li img{
	width: 100%;
	display:block;
}

#archiveHighlights li a span.itemText{
	font-family: 'flamamedium', sans-serif;
	position: absolute; bottom:0;
	display: block; width: 100%;
	padding: 20px;
	background: rgba(0,0,0,0.55);
	color: #fff;
	line-height:16px;
	/*
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	-moz-border-bottom-left-radius: 10px;
	-moz-border-bottom-right-radius: 10px;
	*/
	transition: all 0.3s ease-in;
	-moz-transition: all 0.3s ease-in;
}

#archiveHighlights li a:hover span.itemText{
	background: rgba(66,173,160, 0.9);
	transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
}

#archiveHighlights li a span.itemDescription{
	/*font-size: 14px;
	display:block;
	color: rgba(255,255,255,0.7);
	margin-top: 5px;
	max-height:0;
	opacity: 0;
	
	transition: all 0.2s ease-in;
	-moz-transition: all 0.2s ease-in;
	*/
	width: 100%;
	display:block;
	margin-top: 5px;
	color: rgba(255,255,255,0.7);
	max-height:0;
	opacity:0;
	font-size: 15px;
	line-height: 17px;
	
	transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
}

#archiveHighlights li a:hover span.itemDescription{
	max-height:300px;
	opacity: 1;
	transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
}


#mainBlock{
	width: 100%;
	/*background: #42ada0;*/
	z-index: 1;
}

#yearFilterBlock{
	width: 100%; max-width: 960px;
	margin: 50px auto 0px auto;
	overflow: hidden;
	/*background: #42ada0;*/
	position: relative;
	border-bottom: 1px solid #42ada0;
}


#yearFilterHolder{
	width: 100%; max-width: 960px;
	margin: 0px auto;
}

#yearFilterBlock h2{
	display: inline-block;
	vertical-align: bottom;
	margin: 0 0 0 0px;
	overflow: hidden;
	font-size: 32px;
	color: #42ada0;
	padding: 12px 0 0px 0;
}

#yearFilterBlock #yearList{
	float: right;
	margin: 0px 0 20px 0;
}


a.yearFilter {
	padding: 12px 12px;
	color: #42ada0;
	background: #fff;
	margin-left: 1px;
	float: left;
	display: block;
	transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
}
a.yearFilter:hover {
	background: #6fc6ba;
	color: #fff;
}
a.yearFilter.active {
	background: #4d4d4f;
	color: #fff;
}


#filterTitle{
	background: #42ada0;
	width: 100%;
}

#filterTitle h3{
	width: 100%;
	max-width: 960px;
	margin: 30px auto;
	padding: 12px 0;
	color: #fff;
}

#filteredItems{
	width: 100%;
	max-width: 960px;
	margin: 0px auto;
	overflow: hidden;
	position: relative;
}

#tagHolder{
	width: 100%;
	max-width: 960px;
	margin: 20px auto 50px auto;
	position:relative;
	overflow: hidden;
}

#tagBefore, #tagAfter{
	width: 25px; height: 25px;
	float:left; display: block;
	/*background: #6fc6ba;*/
	background: url('../img/setas.png') no-repeat 4px 0;
	text-indent: -1000px;
}
#tagAfter {
	float: right;
	background-position: 4px -25px;
}

#tagMask {
	margin: 0 5px;
	overflow: hidden;
}

#tagList{
	/*text-align: center;
	left:50%;*/
	left:0;
	/*float:left;*/
	white-space: nowrap;
	display: inline-block;
	max-width: 1000000px;
	clear: both;
	overflow: hidden;
}
#tagList li {
	color: #42ada0;
	margin-right: 5px;
	display: inline-block;
	transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	line-height:16px;
}
a.firstTag {
	float:left;
}

a.tag {
	padding: 3px 10px 6px 10px;
	color: #ededed;
	color: #42ada0;
	background: #fff;
	/*background: #3a3a3a;
	border: 1px solid #999999;*/
	display: inline-block;
	transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	
	
	border-radius: 16px;
	-moz-border-radius: 16px;
	
	font-size: 15px;
}
a.tag.tagAll{
	float:left;
	font-size:13px;
	padding: 3px 10px 4px 10px;
	margin: 0 12px 0 0;
	border: 1px solid #42ada0;
}

a.tag:hover {
	background: #6fc6ba;
	color: #fff;
	/*background: transparent;
	color: #fff;*/
}
a.tag.active {
	background: #4d4d4f;
	color: #fff;
	/*background: #fff;
	color: #4d4d4f;*/
}


#itemHolder{
	list-style:none;
	display: block;
	margin: 30px auto;
	padding: 0;
	position: relative;
	width: 100%;
	clear: both;
	max-width: 960px;
	overflow: hidden;
}
#itemList{
	min-height: 200px;
}
#itemList li{
	position: relative;
	display: block; float: left;
	font-size: 16px;
	width: 35%;
	overflow: hidden;
	padding-right: 5%;
	margin-bottom: 5%;
}
#itemList li a{
	display: block;
	/*border: 1px solid #4d4d4d;
	
	border-radius: 10px;	
	-moz-border-radius:10px;
	*/
	overflow: hidden;
}
#itemList li:nth-child(3n){
/*#itemHolder li.noMargin{*/
	width: 30%;
	padding-right: 0;
}
#itemList li img{
	width: 100%;
	display: block;
}

#itemList li a span.itemText, #itemList li a:active span.itemText{
	font-family: 'flamamedium';
	position: absolute; bottom:0;
	display: block;
	width: 85.8%;
	padding: 10px 20px;
	background: rgba(0,0,0,0.75);
	color: #fff;
	
	font-size: 17px;
	line-height: 17px;
	
	transition: all 0.3s ease-in;
	-moz-transition: all 0.3s ease-in;
	
}


#itemList li a:hover span.itemText{
	background: rgba(66,173,160, 0.9);/*#6fc6ba;*/
	
	transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
}

#itemList li:nth-child(3n) span.itemText{
	width: 100%;
}


#itemList li a:hover span.itemTitle{
	display:block;
}

#itemList li a span.itemDescription {
	/*font-family: 'flamabook';*/
	width: 100%;
	display:block;
	margin-top: 3px;
	color: rgba(255,255,255,0.7);
	max-height:0;
	opacity:0;
	font-size: 13px;
	line-height: 15px;
	
	transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
}

#itemList li a:hover span.itemDescription {
	max-height: 300px;
	opacity:1;
	transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
}

#footer{
	background: #fff;
	border-top: 2px solid #42ada0;
	overflow:hidden;
}
#footerContent{
	width:100%; max-width: 960px;
	margin: 5px auto;
}

#footerContent span{
	float:left;
	font-size: 13px;
	margin-top:25px;
}

#footerContent img{
	float:right;
}




/* iFrame com a barra do Estadão */
#siteBar, #siteBarMobile{
	width:100%;
	height:30px; left: 0; top: 0;
	padding:0;
	z-index:1000;
	text-align:center;
	border-top: 1px solid #d6d6d6;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(50, 50, 50, 0.5);
	-moz-box-shadow:    0px 0px 10px 0px rgba(50, 50, 50, 0.5);
	box-shadow:         0px 0px 10px 0px rgba(50, 50, 50, 0.5);
	overflow: hidden;
	position: fixed; display:block;
	background: #4d4d4f;
}
#siteBarMobile{
	display:none;
}
#siteBarMobile a {
	background: url(https://www.estadao.com.br/estadao/img/logos/logo-barra.png) 0 0 no-repeat;
	display: inline-block;
	width: 95px;
	height: 30px;
	text-indent: -999px;
	overflow: hidden;
	vertical-align: middle;
}

/* Redes sociais */
#shareBar{
	min-width: 110px; height: 40px;
	margin: 45px 10px 0 0;
	float: right;
	z-index: 99;
	position: absolute;
	right: 0px; top:24px;
}
#shareBar a{
	display:inline-block; float:left;
	text-decoration: none;
	width: 30px; height: 30px;
	margin-left: 10px;
	background: transparent url('https://infograficos.estadao.com.br/geral/img/social-icons-round.png') no-repeat center top;
}
#shareBar a span{
	display: block;
	text-decoration: none;
	text-align: center;
	color: #ccc;
	font-family:Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	margin-top: 12px;
}

#shareBar a#btFbShare{ background-position: -40px 0; margin-left: 0; }
#shareBar a#btFbShare:hover{ background-position: -40px -40px; }
#shareBar a#btGPlusShare{ background-position: -80px 0; }
#shareBar a#btGPlusShare:hover{ background-position: -80px -40px; }
#shareBar a#btTwitterShare{ background-position: 0 0; }
#shareBar a#btTwitterShare:hover{ background-position: 0 -40px; }




@media all and (max-width: 960px){

	#siteBar{
		display:none;
	}
	#siteBarMobile{
		display:block;
		padding: 0;
	}
	
	#titleBar h1{
		width: auto;
		padding: 65px 120px 0px 20px;
		font-size: 25px;
	}
	#yearFilterBlock h2{
		padding-left: 4px;
		font-size: 25px;
	}
	

	a.yearFilter {
		padding: 12px 15px;
		/*font-size: 14px;*/
	}
	
	#filterTitle h3{
		padding: 12px 20px;
	}
	
	
	/*items */
	#itemList li{
		font-size: 14px;
		width: 52.5%;
	}
	
	#itemList li span.itemText{
		position: absolute; bottom:0;
		display: block;
		width: 100%;
		padding: 10px 20px;
		background: rgba(0,0,0,0.55);
		color: #fff;
	}
	#itemList li:nth-child(3n){
		width: 52.5%;
		padding-right: 5%;
	}
	#itemList li:nth-child(3n) span.itemText, #itemList li:nth-child(n) span.itemText{
		width: 90.4%;
	}
	#itemList li:nth-child(2n){
		width: 47.5%;
		padding-right: 0;
	}
	#itemList li:nth-child(2n) span.itemText{
		width: 100%;
	}

}

@media all and (max-width: 500px){
	#titleBar{
		max-height: 90px;
		position:relative;
	}
	
	#titleBar h1{
		padding: 45px 20px 0px 20px;
		margin:0;
		text-align: center;
		font-size: 22px;
	}
	
	#yearFilterBlock {
		/*background:transparent;*/
		margin-top:20px;
		text-align: center;
	}
	
	#yearFilterBlock h2{
		display:block;
		text-align:center;
		font-size: 28px;
		margin-bottom: 6px;
		/*color: #4d4d4d;*/
	}
	
	#archiveHighlights {
		margin:75px auto 0px auto;
	}
	
	#archiveHighlights li{
		font-size: 17px;
	}
	
	#archiveHighlights li a span.itemText{
		font-size: 17px; line-height: 17px;
		padding: 10px 20px;
	}
	
	#yearFilterBlock #yearList{
		float: none;
		display: inline-block;
		margin: 0px auto 10px auto;
	}
	
	a.yearFilter{
		padding: 10px;
		font-size: 14px;
	}
	
	#tagList{
		/*margin-left: 20px;*/
	}
	a.tag.tagAll{
		margin: 0 3px 0 5px;
		
	}

	#itemList li{
		font-size: 15px;
		width: 100%;
		padding-right: 0;
		margin-bottom: 5%;
	}
	
	#itemList li span.itemText{
		position: absolute; bottom:0;
		display: block;
		width: 100%;
		padding: 10px 20px;
		background: rgba(0,0,0,0.55);
		color: #fff;
	}

	#itemList li:nth-child(n){
		width: 100%;
		padding-right: 0;
	}
	#itemList li:nth-child(n) span.itemText{
		width: 100%;
	}
	#shareBar{
		float: none;
		clear: both;
		width: 110px;
		margin: 15px auto 0 auto;
		position: relative;
		text-align:center;
	}
}