@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;
}
@font-face {
    font-family: 'populaire';
    src: url('../fonts/populaire-webfont.eot');
    src: url('../fonts/populaire-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/populaire-webfont.woff') format('woff'),
         url('../fonts/populaire-webfont.ttf') format('truetype'),
         url('../fonts/populaire-webfont.svg#populaire') format('svg');
    font-weight: normal;
    font-style: normal;
}



/* -------------------------------- 

Primary style

-------------------------------- */
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /*font-family: Arial, sans-serif;*/
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
}

body {
	/*font-family: Arial, sans-serif;*/
	font-family: 'flamabook', Arial, sans-serif;
	color: #787878;
	background-color: white;
	margin:0;
	padding:0;
	margin-top:0px;
	width: 100%;
}

body, html {
	font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

ul {
	list-style-type: none;
}

ul, li { 
	margin: 0; padding: 0;
}

p {
}

.centered{
	margin: 0 auto;
}

/***********************/
.topBg{
	width: 100%;
	position: fixed;
}
#top{
	width: 100%; height: 600px;
	overflow:hidden;
	position: relative;
}
.centeredContent{
	max-width: 960px;
	height:70%;
	margin: 0 auto;
	position: relative;
}

#container{
	width: 100%;
	background: #fff;
	position: relative;
	border-top: 5px solid #fff;
	overflow: hidden;
}

#topBar{
	height: 10px;
	background-color: #3f3f38;
	margin-bottom: 20px;
}

#content{
	max-width: 960px;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}

#topTitle{
	position: relative;
	max-width: 960px; height: 400px;
	margin: 120px auto 0 auto;
}

#topTitle #opening{
	font-family: 'flamabook';
	width: 450px;
	position: absolute;
	right:0; top: 32%;
	color: #3f3f38;
}

#topTitle #opening h2{
	font-family: 'populaire';
	font-size: 4.5em;
	color: #3f3f38;
	position: relative;
	margin: 0;
	font-weight:normal;
}
#topTitle #opening .subtitle{
	font-family: 'flamabook';
	font-size: 22px;
	color: #fff;
	position: relative;
}


.section{
	margin-bottom: 40px;
	overflow: hidden;
	/*border-top: 1px dotted #dedede;*/
}

.section h3{
	font-family: 'populaire';
	font-size: 48px;
	color: #4b928f;
	font-weight:normal;
	margin-bottom: 30px;
}
.sectionSub{
	font-family: 'flamabook';
	font-size: 18px;
	display:inline-block;
	margin-left: 10px;
	vertical-align:middle;	
}

.halfWidth{
	min-width: 330px;
	width: 50%;
	float:left;
	position: relative;
	/*margin-right: 4%;*/
	
}
.halfWidth.right{
	padding-left: 30px;
	border-left: 1px dotted #dedede;
}
.halfWidth.borderLeft{
	border-left: 1px dotted #dedede;
}
.halfWidth.borderRight{
	border-right: 1px dotted #dedede;
}
h4.barChartTitle{
	/*font-family: 'flamamedium';*/
	font-size: 22px;
	font-weight:normal;
	margin: 0 0 25px 0;
	color: #3f3f38;
}
div.barChartSub{
	margin: -20px 0 25px 0;
}

ul.pieChart{
	width: 275px;
	float: left;
	margin-right: 10px;
}
ul.pieChart li{
	display: block;
	overflow:hidden;
	padding-bottom: 10px;
}
div.pieColor{
	display: block;
	float: left;
	margin: 5px 10px 0 0;
	width: 10px; height: 10px;	
	border-radius:5px;
}


div.pieLeg{
	width: 85%;
	margin-top:2px;
	float:left;
	line-height: 16px;
}
ul.pieChart li div.active, div.pieLeg.active{
	color: #000;
}

ul.barChart, ul.singleBarChart{
	list-style: none;
	margin:0; padding:0;
	overflow: hidden;
}
ul.singleBarChart{
	padding-right: 30px;
}

ul.barChart li, ul.singleBarChart li{
	display: block;
	overflow:hidden;
	margin-bottom: 8px;
}

.barLegend{
	display: inline;
	width: 75%; height: 12px;
	float: right;
	font-size:11px;
	color: #4b928f;
}
.bar{
	display: inline;
	width: 75%; height: 20px;
	float: right;
	padding-top:3px;
}
.bar span{
	display: block;
	height: 16px;
	border-radius: 8px;
	float: left;
	font-family: 'flamamedium';
	font-size: 11px;
	color: #fff;
}
.bar span.leftSide{
	background: #95d4c9;
	border-bottom-right-radius: 0;
	border-top-right-radius: 0;
	text-align:left;
	padding: 0px 0 0 6px;
}
.bar span.rightSide{
	background:#ce8ea3;
	border-bottom-left-radius: 0;
	border-top-left-radius: 0;
	text-align:right;
	padding: 0px 6px 0 0;
}
.barLegend span.leftSide{
	color: #95d4c9;
	width: 50%; display: block; float:left;
	text-align:left;
}
.barLegend span.rightSide{
	color: #ce8ea3;
	width: 50%; display: block; float:left;
	text-align:right;
}

.singleBar{
	display: inline;
	width: 38%; height: 20px;
	float: right;
	padding-top:2px;
}
.singleBar2{
	display: inline;
	width: 82%; height: 20px;
	float: right;
	padding-top:2px;
}


.singleBar span, .singleBar2 span{
	background-color: #95d4c9;
	width: 100%; height: 16px; 
	display: inline-block; float: left;
	vertical-align:top;
	margin-top:2px;
	text-align:right;
	border-radius: 8px;
	font-family: 'flamabook';
	font-size: 13px;
	color: #333;
	padding-right: 6px;
	margin-right: 3px;
}
.singleBarLeg{
	width: 62%;
	float:left;
}
.singleBarLeg2{
	width: 18%;
	float:left;
}

.beforeAfter, .topics{
	position:relative;
	padding-right:30px;
	line-height:21px;
	height:240px;
	/*margin-bottom: 90px;*/
	padding: 40px 30px 40px 0;
	border-bottom: 1px dotted #dedede;	
}
.beforeAfter.top, .topics.top{
	border-top: 1px dotted #dedede;	
}
.beforeAfter.right, .topics.right{
	padding-right:0;
}

.legBeforeAfter{
	display: block;
	float:none;
	width: 100%;
	top:56%;
	position:absolute;
	padding-right:35px;
}
.legBeforeAfter.twolines{
	top:63%;
}
.legBefore{
	color: #95d4c9;
	width: 40%;
	float:left;
	text-align:right;
}
.legAfter{
	color:#ce8ea3;
	width: 40%;
	float:left;
	text-align:left;
}
.legBar{
	width: 16%; height: 12px;
	float:left;
	margin: 0 2% 15px 2%;
	border-bottom: 1px solid #dedede;	
}
.ball{
	width: 50%;
	float:left;
}
.ball span{
	display: block;
	width:120px; height:120px;
	padding-top:22%;
	border-radius:60px;
	background: #95d4c9;
	text-align: center;
	font-family: 'flamamedium';
	font-size:3em; 
	color: #fff;
}
.ballsExplainer{
	margin-bottom: 20px;
	text-align: center;
}
.ballsExplainer b{
	color: #ce8ea3;
	font-weight:normal;
	font-size: 1.2em;
	margin-bottom:-2px;
}
/*
.ball.leftSide span{
	float:right;
}
*/
.ball.rightSide span{
	float:right;
	background:#ce8ea3;
}
.topics{
	height: auto;
}
.topics ul li{
	margin-bottom:18px;
}

.topics ul li b{
	font-family: 'flamamedium';
	font-weight:normal;
	color: #95d4c9;
	margin-right:4px;
	font-size:1.4em;
}

ul.tableChart{
	clear: both;
	display:block;
}

ul.tableChart li{
	height: 27px;
}
.tableLeg{
	width:10%;
	float:left;
}
.tableValues{
	width: 90%;
	float:left;
}
.tableValues span{
	display: block;
	float:left;
}
.tableHeaders{
	width: 90%; height: 22px;
	margin-left: 10%;
	padding-top: 10px;
}
.tableHeaders span{
	display: block;
	float:left;
}
.tableHeaders .tableSpace{
	width:30%; height: 22px;
}
.tableHeaders .tableNum{
	width:20%;
	font-family: 'flamamedium';
	text-align: center;
}

.tableLine{
	border-bottom: 1px dotted #dedede;
	width:30%; height: 12px;
}
.tableNum{
	width:20%;
	text-align: center;
}






#chart1, #chart2{
	float: left;
}
#chart5{
	width: 100%;
	height: auto;
}

#chart5 rect{
	cursor:pointer
}

.credits{
	font-size: 0.8em;
	height: 50px;
	margin-bottom: 30px;
}


/* anuncio super */
#OAS_Position1{
	width: 728px; height: 90px;
	position: absolute;
	margin-left: 50%;
	left: -364px; top: 40px;
	z-index: 10000;
}

/* iFrame com a barra do Estadão */
#siteBar{
	width:100%;
	height:30px;
	left: 0px;
	z-index:1000000;
	text-align:center;
	/*border-top: 1px solid #d6d6d6;*/
	min-width:960px;
	-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;
}
#siteBarSmall{
	display:none;
	background: #4d4d4f;
	width:100%;
	height:30px;
	left: 0px;
	z-index:1000000;
	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;
	text-align: center;
}
#siteBarSmall a{
	height: 30px;
	overflow:hidden;
	display: inline-block;
}

/* Redes sociais */
#shareBar{
	width: 120px; height: 40px;
	margin:0 -20px 0 0;
	z-index: 1001;
	position: absolute;
	right: -40px; 
	bottom:-20px !important;
}
#shareBar a{
	display:block; float:left;
	text-decoration: none;
	width: 30px; height: 30px;
	margin-left: 10px;
	background: transparent url('../img/social-icons-round.png') no-repeat center top;
}
#shareBar a span{
	display: block;
	text-decoration: none;
	text-align: center;
	color: #4d4d4d;
	font-family:Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	margin-top: 30px;
}

#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 screen and (max-width: 960px){
	body, html {
		font-size: 0.92em;
	}
	svg#chart5{
		width: 100%;
		height: auto;
	}
	#chart1, #chart2, #chart3{
		width: 110px;
		position: absolute;
		top: 30px;right: 20px;
	}
	
	#siteBar{
		display:none;
	}
	#siteBarSmall{
		display:block;
	}
	#top{
		height:480px;
	}
	#shareBar{
		right:1em;
	}
}

@media screen and (min-width: 1500px){
	#top{
		height:750px;
	}
}

@media screen and (max-width: 680px){
	body, html {
		font-size: 0.88em;
	}
	.topBg{
		position: relative;
	}
	
	#top{
		height: auto;
		overflow:visible;
		z-index: 10;
	}
	
	#topTitle{
		width: 100%;  height: auto;
		overflow:visible;
		float: left; margin: 30px auto 0 auto;
		padding-bottom:20px;
	}
	#topTitle #opening{
		width: 100%;
		position: relative;
		float: none;
		padding: 0 10px;
		top: 0;
	}
	#topTitle #opening h2{
		font-size: 4em;
		line-height: 0.94em;
	}
	#topTitle #opening .subtitle{
		font-size: 1.6em;
		color: #3f3f38;	
	}
		
	.halfWidth, .halfWidth.right{
		/*padding-right: 10px;
		padding-left: 10px;*/
		width: 100%;
		border:none;
		border-bottom: 1px dotted #dedede;
		padding:20px 0;
	}
	.beforeAfter{
		height:160px;
	}
	.topics{
		height:auto;
	}
	.beforeAfter, .topics,
	.beforeAfter.top, .topics.top,
	.beforeAfter.right, .topics.right{
		/*padding-right:0px;*/
		padding:20px 0;
		border:none;
		border-bottom: 1px dotted #dedede;
	}
	.ball{
		height: 120px;
	}
	.ball span{
		padding-top:25px;
		width:80px; height:80px;
	}
	
	ul.pieChart li{
		padding-bottom: 4px;	
	}
	
	ul.pieChart li{
		padding-bottom: 4px;	
	}
	
	.section {
  		padding: 0 10px;
	}
	.section h3 {
  		font-size: 3.2em;
		margin: 10px 0;
	}
	
	#shareBar{
		position: absolute;
		right: 10px;
		top: -50px;
		z-index: 100;
	}
	
	/* anuncio super */
	#OAS_Position1{
		margin: 0 auto;
		width: 100%;
		height: 60px;
		top: 30px;
		left: 0;
	}
}