@font-face {
  font-family: 'Flama';
  src: url('https://infograficos.estadao.com.br/assets/fonts/Flama/Flama/Flama-Book-webfont.eot');
  src: url('https://infograficos.estadao.com.br/assets/fonts/Flama/Flama/Flama-Book-webfont.eot?#iefix') format('embedded-opentype'), url('https://infograficos.estadao.com.br/assets/fonts/Flama/Flama/Flama-Book-webfont.woff2') format('woff2'), url('https://infograficos.estadao.com.br/assets/fonts/Flama/Flama/Flama-Book-webfont.woff') format('woff'), url('https://infograficos.estadao.com.br/assets/fonts/Flama/Flama/Flama-Book-webfont.ttf') format('truetype'), url('https://infograficos.estadao.com.br/assets/fonts/Flama/Flama/Flama-Book-webfont.svg#flamabook') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Flama';
  src: url('https://infograficos.estadao.com.br/assets/fonts/Flama/Flama/Flama-Bold-webfont.eot');
  src: url('https://infograficos.estadao.com.br/assets/fonts/Flama/Flama/Flama-Bold-webfont.eot?#iefix') format('embedded-opentype'), url('https://infograficos.estadao.com.br/assets/fonts/Flama/Flama/Flama-Bold-webfont.woff2') format('woff2'), url('https://infograficos.estadao.com.br/assets/fonts/Flama/Flama/Flama-Bold-webfont.woff') format('woff'), url('https://infograficos.estadao.com.br/assets/fonts/Flama/Flama/Flama-Bold-webfont.ttf') format('truetype'), url('https://infograficos.estadao.com.br/assets/fonts/Flama/Flama/Flama-Bold-webfont.svg#flamabold') format('svg');
  font-weight: bold;
  font-style: normal;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  display: block;
}

body {
  font-family: 'Flama', sans-serif;
  color: #333;
}

#ipsos {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.charts {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
}

.charts:empty {
  padding: 16px;
}

.charts:empty::before {
  display: block;
  content: 'Carregando…';
  text-align: center;
  width: 100%;
  text-transform: uppercase;
  font-size: 66%;
  font-weight: bold;
  opacity: .5;
}

.helpers {
  width: 100%;
  padding: 0;
  margin-bottom: 32px;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  line-height: 1.2;
}

.legend div {
  display: flex;
  align-items: center;
  margin: 8px 32px 8px 0;
}

.legend i {
  display: block;
  width: 12px;
  height: 4px;
  margin-right: 6px;
  background: red;
}

.legend .desaprova i {
  background: #b6292f;
}

.legend .aprova i {
  background: #5b869e;
}

.legend .naosabe i {
  background: #d2d2d2;
}

.legend span {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 66%
}


[data-pessoa] {
  width: 50%;
  margin-bottom: 48px;
/*   padding: 8px; */
}

@media( max-width: 540px ) {
  [data-pessoa] {
    width: 100%;
  }
}

.c3-line {
  stroke-width: 4px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.c3-path {
  stroke: #ccc;
}

.c3 .domain {
  display: none;
}

.c3-axis-y .tick line {
  display: none;
}

.c3-axis-x .tick line {
  stroke: #ccc;
}

.c3-ygrid-line line {
  stroke-dasharray: 3;
  stroke: #ccc;
}

figcaption {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0 16px 0 42px ;
}

@media( max-width: 360px ) {
  figcaption {
    padding: 0 16px;
  }
}

.profile img {
  background: #e2e2e2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
}

.bio {
  display: flex;
  padding: 0 8px;
  flex-wrap: wrap;
  line-height: 1.2;
  width: 100%;
}

.bio .name {
  width: 100%;
  font-weight: bold;
}

.role {
  margin-right: 6px;
  opacity: .66;
}

.party {
  opacity: .66;
}

.party::before {
  content: '(';
}

.party::after {
  content: ')';
}

.rate {
  display: none;
  align-items: flex-end;
  padding: 0;
  height: 100%;
  line-height: 1.2;
  font-size: 150%;
  font-weight: bold;
  white-space: nowrap;
}

[data-show="aprova"] .rate.aprova {
  display: flex;
  color: #5b869e;
}

[data-show="aprova"] .c3-circles-Aprova .c3-circle:last-of-type {
  stroke-width: 6px;
  stroke: #5b869e;
}

[data-show="desaprova"] .rate.desaprova {
  display: flex;
  color: #b6292f;
}

[data-show="desaprova"] .c3-circles-Desaprova .c3-circle:last-of-type {
  stroke-width: 6px;
  stroke: #b6292f;
}

.rate .material-icons {
  font-size: 16px;
}

footer {
  padding: 16px 32px;
}

footer p {
  opacity: .66;
  font-size: 80%;
  line-height: 1.2;
}

.c3-tooltip-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 8px rgba( 0, 0, 0, .33 );
  box-shadow: 0 0 0 1px #aaa;
}

.c3-tooltip {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  opacity: 1;
}

.c3-tooltip tr {
  border: 0;
}

.c3-tooltip td {
  border: 0
}

.c3-tooltip td.value::after {
  content: '%';
  margin-left: .1em;
}

.c3-tooltip th {
  background-color: #fff;
  font-size: 13px;
  padding: 8px 8px 0;
  text-align: center;
  color: #333;
  font-weight: bold;
}

.c3-tooltip th::before {
  content: 'Taxas em ';
  text-transform: initial;
}

.c3-tooltip td {
  padding: 8px 8px 0;
}

.c3-tooltip tr:last-of-type td {
  padding-bottom: 8px;
}

.c3-tooltip td > span {
  width: 12px;
  height: 4px;
  margin-right: 6px;
  margin-bottom: 3px;
}
