

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


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



/*
 * Default Theme
 * -------------
 *
 */


a { color: #0088CC; }

.chart {
    font-family: Helvetica Neue, Arial;
    font-weight: 400;
    font-size: 12px;
    margin: 0 0px;
    background: transparent;
    height: 100%;
}

h1 {
    font-size: 22px;
    font-weight: 300;
    margin: 0 0 10px;
    text-align: left;
}

h1 span {
}

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

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

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

.label {
    font-size: 12px;
}

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

.label.inverted span {
    text-shadow: 0 0px 2px #000000;
}

.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;
}

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

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

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

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

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

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

.label.series span {
    font-size: 12px;
}


.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: 700;
}

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

.dw-chart-notes {
    font-style: italic;
    margin-bottom: 10px;
}

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

#footer, .dw-chart-footer {
    font-size: 11px;
    color: #888;
    /* 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;
}

.chart.theme-default .dw-chart-footer .footer-left {
    left: 0;
}


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

/* We have to break to absolute positionof the footer
to allow absolute positioning related to the .dw-chart-footer
within the .toggleable-panel */
.dw-chart-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;
}


.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: 30px;
    overflow-x: hidden;
    overflow-y: hidden;
    border-bottom: 1px solid #ccc;
}

.filter-links a {
    color: #666;
    height: 28px;
    line-height: 28px;
    padding: 10px;
    text-decoration: none;
}

.filter-links a:hover {
    background: #fff;
    color: #222;
}

.filter-links a.active {
    font-weight: bold;
    color: #000;
    box-shadow: none;
    background: #fff;
    cursor: default;
    text-decoration: none;

    border-bottom: 3px solid #555;
    padding: 10px 10px 6px 10px;

}

.filter-select {
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 4px 4px 4px 4px;
    padding: 4px 6px;
    vertical-align: middle;
    font-size: 12px;
}

.line-chart .tooltip {
    border-radius: 5px;
}

.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;
}

.dataTable td {
    border: 1px solid #e6e6e6 !important;
}

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

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

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

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

.chart.vis-data-table .datatable-default tbody tr.even {
    background: #fafafa !important;
}

.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_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;
}




/*
 * Default Theme
 * -------------
 *
 */


body, html {
    margin: 20px;
}

a { color: #0058c1;
    text-decoration: none;
    font-size: 11px;
    font-weight: 300;
}
a:hover {text-decoration: underline;}

.chart #footer {
  min-height: 1px;
  position: absolute !important;
  bottom: 20px !important;
  left: 20px !important;
  right: 20px !important;
}

.dw-chart-notes {
  margin-bottom: 30px;
}

body.chart {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 12px;
    margin: 0 0px;
    background: #fff;
    padding-bottom: 1%;
    color: #000;
}

h1 {
    font-size: 18px;
    font-weight: 300;
    margin: 0 0 10px;
    text-align: left;
}

h1 span {
}

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

.chart p { 
  margin: 5px 0 10px !important; 
  line-height: 17px;
  font-size: 12px;
  font-weight: 300;
}

.legend{
    color: #333;
    font-size: 13px;
}

.label {
    font-size: 13px;
}

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

.label.inverted span {
    text-shadow: 0 0px 2px #000000;
}

.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;
}

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

.label.highlighted, .label.axis {
    z-index: 100;
    font-weight: 300;
}

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

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

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

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

.label.series span {
    font-size: 13px;
}


.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: 700;
}

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

#footer {
    font-size: 11px;
    color: #888;
    /* 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;
    padding-top: 2%;
}


#footer .footer-left {
    bottom:0;
    /* Vertical text align */
}

/* 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: 20px;
    right: 20px;
}

.footer-right .toggle-panel {
    display:none;
}


.footer-right .toggle-panel:after {
    content:" ▲";
}

/* Add a comma after the source block */
.toggleable-panel .source-block:after {
    content:","
}

/* This oiverlay cover the body when the toggleable panel is open */
.toggleable-panel-overlay {
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    opacity:0;
    background:#fff;
    /* Bellow the stacking context to avoid overlap toggle link */
    z-index:-1;

    -moz-transition: opacity 0.7s;
    -webkit-transition: opacity 0.7s;
    -ms-transition: opacity 0.7s;
    -o-transition: opacity 0.7s;
}

.embed-code {
    position: absolute;
    bottom: 8%;
    left: 0;
    width: 400%;
    padding: 7%;
    background: #eee;
    color: #000;
    border-radius: 6px;
    text-transform: none;
    font-size: 1em;
    box-shadow: 2px 2px 0px rgba(0,0,0,.4);
}

.embed-code textarea {
    width: 90%;
    margin-top: 2%;
    height: 7em;
}

.hide {
    display: none;
}

.embed-code .close {
    cursor: pointer;
    position: absolute;
    right: 2%;
    top: 2%;
    font-size: 1.125em;
    opacity: 0.7;
}

.embed-code .close:hover {
    opacity: 1;
}
.chart.theme-abc .dw-chart-notes {
   padding-left: 0.007142857!important;
}

/* 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; }

}

.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;
}


.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: 30px;
    overflow: hidden;
}

.filter-links a {
    padding: 0px 10px;
    box-shadow: 0 0 10px #ddd inset;
    border: 1px solid #bbb;
    border-left: 0;
    display: block;
    float: left;
    text-decoration: underline;
    color: #666;
    height: 28px;
    line-height: 28px;
    background: #fbfbfb;
}

.filter-links a:hover {
    background: #fff;
    color: #0088CC;
}

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


.filter-links a.active {
    font-weight: bold;
    color: #000;
    box-shadow: none;
    background: #fff;
    cursor: default;
    text-decoration: none;
}

.filter-links a:first-child {
    border-radius: 10px 0 0 10px;
    border-left: 1px solid #bbb;
}

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

.filter-select {
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 4px 4px 4px 4px;
    padding: 4px 6px;
    vertical-align: middle;
    font-size: 12px;
}

.line-chart .tooltip {
    border-radius: 5px;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
   body.chart {
    font-size: 10px;
}
    /* no fullscreen button on smartphones, never */
    .fs-btn {
        display: none!important;
    }
}

.chart #footer .footer-left {
    left: 0px !important;
}



