

/*
 * base stylesheets included in every chart
 */
.chart #header {
  min-height: 1px;
  position: relative;
}
.chart #header .header-right {
  position: absolute;
  right: 10px;
  z-index: 20;
}
.chart #footer {
  min-height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 25px;
}
.chart #footer .footer-left,
.chart #footer .footer-right {
  position: absolute;
  bottom: 5px;
  z-index: 1000;
}
.chart #footer .footer-left {
  left: 5px;
}
.chart #footer .footer-right {
  right: 5px;
}
.chart .logo {
  position: absolute;
  right: 0;
  bottom: 0;
}
.chart .logo .big {
  display: none;
}
.chart.plain #footer {
  height: 10px;
}
.chart.js .noscript {
  display: none;
}
.chart .hidden {
  display: none;
}
.chart .label.annotation span {
  background: transparent;
}


.chart.vis-bar-chart-folha #chart {
  margin-bottom: 10px;
  max-width: 100%;
  overflow-x: hidden;
}
.chart.vis-bar-chart-folha .bc-group + .bc-group {
  margin-top: 20px;
}
.chart.vis-bar-chart-folha .bc-group-title {
  font-weight: bold;
  margin-bottom: 10px;
}
.chart.vis-bar-chart-folha .bc-group-content {
  position: relative;
}
.chart.vis-bar-chart-folha .bc-row {
  margin-bottom: 5px;
}
.chart.vis-bar-chart-folha .bc-hr .bc-row + .bc-row {
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid #e0e0e0;
}
.chart.vis-bar-chart-folha .bc-label-align-right .bc-row-label {
  text-align: right;
}
.chart.vis-bar-chart-folha .bc-row-label {
  display: inline-block;
  width: 40%;
  vertical-align: middle;
  padding-right: 5px;
  box-sizing: border-box;
}
.chart.vis-bar-chart-folha .bc-label-block .bc-row-label {
  width: 100%!important;
  display: block!important;
}
.chart.vis-bar-chart-folha .bc-row-highlight .bc-row-label span {
  font-weight: bold;
  color: #222;
}
.chart.vis-bar-chart-folha .bc-bars {
  display: inline-block;
  vertical-align: middle;
  width: 60%;
  overflow: hidden;
  vertical-align: top;
}
.chart.vis-bar-chart-folha .bc-label-block .bc-bars {
  width: 100%!important;
}
.chart.vis-bar-chart-folha .bc-bar-bg {
  position: relative;
  height: 20px;
}
.chart.vis-bar-chart-folha .bc-thick .bc-bar-bg {
  height: 27px;
}
.chart.vis-bar-chart-folha .bc-color-bg .bc-bar-bg {
  background: #f7f7f7;
}
.chart.vis-bar-chart-folha .bc-bar-inner {
  background: #ddd;
  height: 100%;
  position: absolute;
  top: 0;
}
.chart.vis-bar-chart-folha .label.bc-bar-label {
  padding: 0 5px;
  color: black;
  white-space: nowrap;
}
.chart.vis-bar-chart-folha .label.bc-bar-label span {
  text-shadow: none!important;
}
.chart.vis-bar-chart-folha .label.bc-bar-label.inverted {
  color: white;
}
.chart.vis-bar-chart-folha .bc-thick .bc-bar-label {
  padding: 5px;
}
.chart.vis-bar-chart-folha #footer {
  position: relative;
}
.chart.vis-bar-chart-folha .bc-split {
  display: inline-block;
  vertical-align: top;
}
.chart.vis-bar-chart-folha .bc-split {
  box-sizing: border-box;
  padding-right: 10px;
}
.chart.vis-bar-chart-folha .bc-color-key {
  margin-bottom: 10px;
}
.chart.vis-bar-chart-folha .bc-color-key .bc-swatch {
  display: inline-block;
  vertical-align: top;
  margin-right: 1ex;
  margin-bottom: 5px;
  white-space: nowrap;
}
.chart.vis-bar-chart-folha .bc-color-key .bc-swatch .bc-color {
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-right: 4px;
}
.chart.vis-bar-chart-folha .bc-color-key .bc-swatch .bc-label {
  display: inline-block;
  vertical-align: middle;
}
.chart.vis-bar-chart-folha sup {
  vertical-align: baseline;
  position: relative;
  top: -3px;
}
.chart.vis-bar-chart-folha .bc-grid-lines .bc-group {
  padding-top: 18px;
}
.chart.vis-bar-chart-folha .bc-grid {
  position: absolute;
  top: 0;
  z-index: -10;
}
.chart.vis-bar-chart-folha .bc-grid-line {
  position: absolute;
  top: 0px;
  width: 1px;
  height: 100%;
  background: #1A1A1A;
}
.chart.vis-bar-chart-folha .bc-grid-label {
  width: 50px;
  position: absolute;
  left: -25px;
  text-align: center;
  top: -18px;
}
.chart.vis-bar-chart-folha .bc-grid-lines .bc-group-title {
  position: relative;
  top: -13px;
}

.chart.vis-bar-chart-folha .label {
    position: static;
}

.chart.vis-bar-chart-folha .bc-label-block .bc-bar-label {
    position: static;
    padding: 0 5px;
}

.chart.vis-bar-chart-folha .bc-thick .bc-bar-label {
    padding: 3px 5px;
}

.tabs__selector {
  display: none;
}

.tabs-container {
  overflow-x: auto;
  margin-bottom: 20px;
  padding-bottom: 2px;
  overflow-y: hidden;
}

.tabs-container::-webkit-scrollbar {
  background-color: rgba(0,0,0,0);
  height: 5px;
}

.tabs-container::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.3);
  border-radius: 3px;
}

.graphic-tabs {
  height: 31px;
  border-bottom: 1px solid #e0e0e0;
  white-space: nowrap;
}

.tabs__selector + label {
  padding: 8px 15px;
  border-bottom: 3px solid rgba(0, 0, 0, 0);
  cursor: pointer;
}

.tabs__selector:checked + label {
  border-bottom-color:  #333;
}


/*
 * Folha Theme
 * -------------
 *
 */

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

.dw-chart-notes {
    color: #333;
}

 @media screen and (max-width: 480px) {
    .only-desktop { display: none; }
    .only-mobile { display: block; }
}

@media screen and (min-width: 480px) {
    .only-desktop { display: block; }
    .only-mobile { display: none; }
}

.chart a { color: #333; text-decoration: none; }

.chart {
    font-family: 'FolhaGrafico', 'Folha Grafico', 'Helvetica Neue', 'HelveticaNeue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    margin: 0 0px;
    background: #fff;
    color: #333;
}

.chart h1,
.chart h1 span {
    font-family: 'FolhaGrafico', 'Folha Grafico', 'Helvetica Neue', 'HelveticaNeue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    margin: 0 0 2px;
    text-align: left;
    line-height: 1.3;
}

/* NOTE: On IE, there is a border around each image which is a link */
.chart a img { border:0px; }

.chart p {
    margin: 0 0 10px!important;
    line-height: 20px;
}

.chart p.chart-intro {
    font-size: 15px;
    font-weight: 600;
    margin: 20px 0 0!important;
}

#chart,
.dw-chart-body {
    margin-top: 10px;
}


.chart .label {
    font-size: 16px;
    line-height: 1.3;
    /* Afeta a posição dos labels dos gráficos */
    position:absolute;
}

.chart.vis-bar-chart-folha .bc-label-block .bc-bar-label {
    line-height: 20px;
}

.chart .label span {
    color: #333;
    text-shadow: 0 0 2px #fff;
}

.chart .label.inverted span {
    text-shadow: none;
}

.chart .label.outline span {
    text-shadow: 0 1px 0 #FFFFFF, 1px 0 0 #FFFFFF, 0 -1px 0 #FFFFFF, -1px 0 0 #FFFFFF,
        1px 1px 0 #FFFFFF, 1px -1px 0 #FFFFFF, -1px -1px 0 #FFFFFF, -1px 1px 0 #FFFFFF,
        0 2px 1px #FFFFFF, 2px 0 1px #FFFFFF, 0 -2px 1px #FFFFFF, -2px 0 1px #FFFFFF,
        -1px 2px 0px #FFFFFF, 2px -1px 0px #FFFFFF, -1px -2px 0px #FFFFFF, -2px -1px 0px #FFFFFF,
        1px 2px 0px #FFFFFF, 2px 1px 0px #FFFFFF, 1px -2px 0px #FFFFFF, -2px 1px 0px #FFFFFF;
}

.chart .label.outline span sup {
    text-shadow: none;
}

.chart .label.highlighted, .chart .label.axis {
    font-size: 12px;
    z-index: 100;
    color: #757575;
}

.label.inverted span {
    color: #fff;
}
.line-chart .tooltip,
.label.tooltip {
    border-radius: 3px;
}
.line-chart .label.tooltip:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.15);
    left: 0;
    z-index: -1;
    top: 0;
    border-radius: 3px;
}

.label.highlighted {
    font-weight: bold;
}

.label.value span {
    font-size: 14px;
}

.label.series {
    font-size: 14px;
    line-height: 1.15;
    color: #757575;
}

.label.hover,
.label.hover span {
    font-weight: 500;
    color: #333;
}

.label.inverted,
.label.inverted span,
.label.inverted.hover,
.label.inverted.hover span {
    color: #fff;
}

.label.series.out span {
    font-weight: 500;
    color: #333;
}

.label.series.out.hover span {
    font-weight: 600;
}

.election-donut-chart .label.series span,
.pie-chart .label.series span,
.donut-chart .label.series span {
    color: #333;
    text-shadow: none;
}

.election-donut-chart .label.inverted.series span,
.pie-chart .label.inverted.series span,
.donut-chart .label.inverted.series span {
    color: #fff;
}

.tooltip {
    z-index: 200;
    padding-bottom: 0px;
}

.tooltip .content {
    background-color: #fff;
    border: 1px solid #888;
    box-shadow: 2px 2px 2px rgba(0,0,0,.2);
    padding: 5px 8px;
}

.tooltip label {
    font-weight: 500;
}

.tooltip label:after {
    content: ": ";
}

.dw-chart-notes {
    position: relative;
    margin-top: 10px;
    clear:both;
}

.dw-chart-notes h4 {
    margin-bottom: 10px;
    font-size: 16px;
}
.dw-chart-notes img {
    margin: 0 10px 0 0;
    float:left;
    max-height: 25px;
}

.dw-chart-notes img.imgPeople {
    max-width: 70px;
    max-height: initial;
}

.chart.theme-folha .dw-chart-notes {
    /*font-style: italic;
    margin-bottom: 5px;
    position: relative;
    margin-top: 10px;*/
}

#footer,
.dw-chart-footer {
    font-size: 14px;
    color: #333;
    /* The footer must now cover the chart to allow
    the toggleable panel to "go up" */
    z-index: 1100;
    /* Sets the background here to propagate it to its children */
    background:transparent;
    position:initial;
}

.chart.theme-folha #footer .footer-left {
    left: 0;
}

.chart #footer {
    /* height: 55px; */
    min-height: 20px;
    position: initial;
    margin-top: 20px;
    height: auto;
}

#footer .footer-left,
.dw-chart-footer .footer-left {
    bottom:0;
    /* Vertical text align */
    position: initial;
}

#footer .footer-left strong {
    color: #009fe3;
}

/* We have to break to absolute positionof the footer
to allow absolute positioning related to the #footer
within the .toggleable-panel */
#footer .footer-right {
    position: absolute;
    bottom: 0;
    right: 0;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

svg .axis,
svg .tick,
svg .grid,
svg rect {
    shape-rendering: crispEdges;
}

svg .axis {
    stroke: #999;
}

svg .grid {
    stroke: #e0e0e0;
}

.label.rotate90 {
    -moz-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    filter: progid: DXImageTransform.Microsoft.BasicImage(rotation=3);
}

.label.smaller span {
    font-size: 80%;
}
.chart #footer .footer-left {
    position: initial;
}

/* Target screens under 400px */
@media all and (max-width: 400px) {
    /* We must compensate the right offset
    that we just removed by adding this distances to
    the .toggle-panel element (that toggles the about panel).
    We choose to user padding to enlarge the touchable area.  */

    .chart #footer { height: auto; }

    .chart #footer .footer-left {
        position: static;
    }

    .chart #footer .footer-right {
        position:static;
        float:none;
        text-align:left;
        /* Vertical text align */
        padding: 0;
        margin: 2px 0 0;
    }
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

svg .axis, svg .tick, svg .grid, svg rect {
    shape-rendering: crispEdges;
}

/* Remove a borda em grÃ¡ficos de barra/colunas */
svg rect {
  stroke-width: 0;
}

.chart .label.rotate90 {
    -moz-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

.label.smaller span {
    font-size: 80%;
}

.filter-links {
    height: 48px;
    border-bottom: 1px solid #e0e0e0;
}

.filter-links a {
    padding: 8px 15px;
    border-bottom: 3px solid transparent;
    border-left: 0;
    display: inline-block;
    text-decoration: none;
    color: #444;
    min-height: 28px;
    line-height: 28px;
    margin: 1px 0 0;
}

.filter-links a:hover {
    color: #777;
}

*+html .filter-links a {  background: #eeeeee; } /** IE7 hack **/
.filter-links a { }  /** IE8 hack **/


.filter-links a.active {
    border-bottom: 3px solid #333;
}

.filter-links a:first-child {
    /* border-left: 1px solid #bbb; */
}

.filter-links a:last-child {
    /* border-radius: 0 10px 10px 0; */
}

.filter-select {
    vertical-align: middle;
    font-family: 'Folha Grafico', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    background-color: #fafafa;
    border: solid 1px #e0e0e0;
    border-radius: 3px;
    padding: 10px 25px 10px 10px;
    background: #fafafa url("//arte.folha.uol.com.br/library/folhastyle/2.1/images/components/forms/arrow-up-down.svg") 95% center no-repeat;
    background-size: 9px;
    width: 100%;
    max-width: 300px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.point {
    border: 1px solid #ccc;
    display: inline-block;
    position: absolute;
    background: #fff;
    z-index: 100;
    cursor: pointer;
    height: 20px;
    width: 20px;
    border-radius: 20px;
    top: 20px;
}

.point:hover {
    background: #ebebeb;
}

.point-label {
    position: absolute;
}

.point.active {
    background: #ccc;
    height: 20px;
    width: 20px;
    border-radius: 20px;
    top: 20px;
    border-color: #888;
}

.line {
    height: 1px;
    background: #ccc;
    position: absolute;
    left: 0px;
    top: 30px;
    z-index: 1;
}

.chart.vis-data-table .datatable-default tbody td {
    border-bottom: 1px solid #e0e0e0 !important;
    border-right:  1px solid #e0e0e0 !important;
    border-left: none;
}

.chart.vis-data-table .datatable-default tbody td:last-child {
    border-right: none !important;
}

.chart.vis-data-table #footer {
    left: 0;
}

.chart.vis-data-table .datatable-default td,
.chart.vis-data-table .datatable-default th {
    padding: 10px 5px !important;
}

.chart.vis-data-table .datatable-default th {
    background: #fff;
    color: #333;
    border: none;
}

.chart.vis-data-table .datatable-default th.sorting_desc:after,
.chart.vis-data-table .datatable-default th.sorting_asc:after {
    color: #333;
    margin-left: 10px;
}

.chart.vis-data-table .datatable-default thead tr {
    border-bottom: 2px solid #333 !important;
}

.chart.vis-data-table .datatable-default tbody tr,
.chart.vis-data-table .datatable-default tbody tr.even {
    background: none;
}

.chart.vis-data-table .datatable-default tbody tr:hover,
.chart.vis-data-table .datatable-default tbody tr.even:hover {
  background: #f5f5f5;
}

.chart.vis-data-table .datatable-default th.highlight,
.chart.vis-data-table .datatable-default tr td.highlight,
.chart.vis-data-table .datatable-default tr.even td.highlight {
    background-color: #fff;
}

.chart.vis-data-table .datatable-default tbody tr:hover td.highlight,
.chart.vis-data-table .datatable-default tr.even:hover td.highlight {
    background-color: #f5f5f5;
}

.chart.vis-data-table .datatable-default th.sorting:hover,
.chart.vis-data-table .datatable-default th.sorting_desc:hover,
.chart.vis-data-table .datatable-default th.sorting_asc:hover {
    text-decoration: none;
}

.chart.vis-data-table #datatable_previous:before {
    content: '← ';
    color: #777;
}

.chart.vis-data-table #datatable_next:after {
    content: ' →';
    color: #777;
}

.chart.vis-data-table .datatable-default.responsive.show-first-th td.highlight {
    font-weight: 500;
    color: #0078A4;
}

.chart.vis-data-table th.highlight {
    color: #0078A4;
}

.chart.vis-data-table #datatable_length,
#datatable_filter {
    margin-bottom: 20px !important;
}

.chart.vis-data-table #datatable_info,
.chart.vis-data-table #datatable_paginate {
    margin-bottom: 10px;
    margin-top: 10px;
}

.dataTables_filter input {
    margin-left: 8px;
}

.vis-pie-chart path,
.vis-donut-chart path,
.vis-election-donut-chart path {
    stroke-width: 0.5;
}

.line-chart .label.x-axis {
    font-weight: 500;
}

.vis-column-chart path.grid:last-child {
    stroke: #bdbdbd !important;
}



