

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


s
/*
 * basic styles for data tables
 *
 */

.chart.vis-data-table.chart {
    overflow: visible !important;
}

.chart.vis-data-table #footer {
    position: relative;
    top: auto;
    left: auto;
}

.chart.vis-data-table #datatable_wrapper {
    margin: 10px 6px 10px 2px;
}

.chart.vis-data-table .datatable-default {
    width: 100%;
    border: 0;
    border-spacing:0;
    margin: 10px 0 5px;
    border-collapse:collapse;
    clear: both;
}

.chart.vis-data-table .datatable-default td,
.chart.vis-data-table .datatable-default th {
    text-align: left;
    padding: 6px 11px!important;
    border: 0;
}

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

.chart.vis-data-table .datatable-default tr.highlight {
    background: #E3E7F6;
}

.chart.vis-data-table .datatable-default th.highlight {
    background: #CFD9EF;
}

.chart.vis-data-table .datatable-default tr td.highlight {
    background: #E6EaF9;
}

.chart.vis-data-table .datatable-default td span.raw-sortable {
    display: none;
}

.chart.vis-data-table .datatable-default tr.even td.highlight {
    background: #E0E3F3;
}

.chart.vis-data-table .datatable-default tr.odd td {
    /* background: #f9f9f9; */
}

.chart.vis-data-table .datatable-default thead th {
    padding: 6px 20px 6px;
    border-left: 1px solid transparent;
    font-weight: bold;
}

.chart.vis-data-table .datatable-default tbody th {
    background: none;
    font-weight: normal;
}

.chart.vis-data-table .datatable-default tbody td {
    text-align: left;
    border-left: 1px solid #bbb;
}

.chart.vis-data-table .datatable-default tbody td:last-child {
    border-right: 1px solid #bbb;
}

.chart.vis-data-table .datatable-default tbody tr:last-child
 {
    border-bottom: 1px solid #aaa;
}

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


.chart.vis-data-table .datatable-default tbody tr:hover td.highlight {
    background: #CFD9EF;
}


.chart.vis-data-table #datatable_info, #datatable_length {
    float: left;
}

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

.chart.vis-data-table #datatable_paginate, #datatable_filter {
    float: right;
}

.chart.vis-data-table #datatable_paginate a {
    padding-left: 20px;
    cursor: pointer;
}

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

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

.chart.vis-data-table .paginate_disabled_next,
.chart.vis-data-table .paginate_disabled_previous {
    color: #777;
    cursor: default;
}

.chart.vis-data-table .datatable-default th.sorting,
.chart.vis-data-table .datatable-default th.sorting_desc,
.chart.vis-data-table .datatable-default th.sorting_asc
{
    cursor: pointer;
}

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

.chart.vis-data-table .datatable-default th.sorting_asc:after {
    content: '▼';
    color: #777;
    white-space: nowrap;
}

.chart.vis-data-table .datatable-default th.sorting_desc:after {
    content: '▲';
    white-space: nowrap;
    color: #777;
}

.chart.vis-data-table .datatable-default tbody tr .unit {
    opacity: 0;
}

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

.chart.vis-data-table .datatable-default tbody tr:first-child .unit {
    opacity: 1;
}

.chart.vis-data-table .datatable-default td {
    text-align: left;
}

.chart.vis-data-table .datatable-default td.not-available,
.chart.vis-data-table .datatable-default td.number,
.chart.vis-data-table .datatable-default td.number-decimal,
.chart.vis-data-table .datatable-default td.number-small {
    text-align: right;
}

/*
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media
only screen and (max-width: 560px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

    /* Force table to not be like tables anymore */
    table.responsive, .responsive thead, .responsive tbody, .responsive th, .responsive td, .responsive tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .responsive thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .responsive tr { border: 1px solid #ccc; }

    .responsive td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

    .responsive td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }

    /*
    Label the data
    */
    .responsive td:nth-of-type(1):before { content: attr(title); }
    .responsive td:nth-of-type(2):before { content: attr(title); }
    .responsive td:nth-of-type(3):before { content: attr(title); }
    .responsive td:nth-of-type(4):before { content: attr(title); }
    .responsive td:nth-of-type(5):before { content: attr(title); }
    .responsive td:nth-of-type(6):before { content: attr(title); }
    .responsive td:nth-of-type(7):before { content: attr(title); }
    .responsive td:nth-of-type(8):before { content: attr(title); }
    .responsive td:nth-of-type(9):before { content: attr(title); }
    .responsive td:nth-of-type(10):before { content: attr(title); }
    .responsive td:nth-of-type(11):before { content: attr(title); }
    .responsive td:nth-of-type(12):before { content: attr(title); }
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
    body {
        padding: 0;
        margin: 0;
        width: 320px; }
    }

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    body {
        width: 495px;
    }
}



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


a { color: #0088CC; }

.chart {
    font-family: Helvetica Neue, Arial;
    font-weight: 400;
    font-size: 12px;
    margin: 0 0px;
    background: #fff;
}

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


/* Target screens under 400px */
@media all and (max-width: 400px) {

    .chart .dw-chart-footer,
    .chart #footer { height: auto; }

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

    .chart #footer .footer-right,
    .chart .dw-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;
}


.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) {
    /* no fullscreen button on smartphones, never */
    .fs-btn {
        display: none!important;
    }
}

html > body.chart.theme-the-australian {
    background: #fefefe;
    font-family: Times New Roman, Arial;
    color: #333333;
    font-weight: 400;
    font-size: 12px;
    margin: 0 0px;
    width: 100%;

}


.theme-the-australian #header h1 {
    color: #333333;
    margin: 0 0 10px;
    font-family: Times New Roman, Arial;
    text-align: left;
    font-size: 27px;
}

.theme-the-australian #header h1 span {

}

.theme-the-australian .chart-intro {
    font-size: 15px;
}

.chart p { margin: 5px 0 10px;}


.theme-the-australian #chart .label {
    font-size: 12px;
    line-height: 13px;
}
div .label span{
    text-transform: uppercase;
}

#chart > div.legend > div> span{
 text-transform: uppercase;
}

.theme-the-australian #chart .label.axis span,
.theme-the-australian #chart .label.series span{
    background: transparent;
    text-transform: capitalize!important;
}

.line-chart > div > span{
 text-transform: capitalize!important;
}
.label.inverted span {
    text-shadow: 0 0px 2px #000000;
}
.label.outline span sup {
    text-shadow: none;
}


body.chart.theme-the-australian #footer {
    border-top: 3px solid transparent;
    font-size: 13px;
    font-family: Times New Roman, Arial, Verdana;
    line-height: 14px;
    height: 14px;
    color: #333333;
    font-style: Italic;
    font-weight: 600;
}

.theme-the-australian #footer .footer-right {
   position: absolute;
    bottom: 0;
    right: 0;
}

.theme-the-australian #footer .footer-left {
     bottom:0;
}

.theme-the-australian #footer a{
   color: #277f9c;
    text-decoration: none;
}

.theme-the-australian #footer a:hover {
    text-decoration: underline;
}

.pie-chart .label.series span,
.donut-chart .label.series span,
.election-donut-chart .label.series span {
    background: transparent!important;
}


#header .filter-links a:first-child,
#header .filter-links a:last-child {
    border-radius: 0;
}

.filter-links a{
    background-color: #E7E6E1;
    font-family: arial;
    font-size: 12px;
    box-shadow: 0 0 3px #eee inset;
    text-decoration: none;
    text-transform: uppercase;
    color:  #333333;
    font-weight: bold;
    text-align: center;
   display:table-cell;
   vertical-align:middle;
}

.filter-links a.active{
  background-color: #004563;
  color: #ffffff;
  font-weight: bold;
}
.filter-links a:hover {
   background-color: #004563;
  color: #ffffff;
  font-weight: bold;
}



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


#chart > div.label.tooltip.inverted {
   background-color: transparent!important;
}
#chart > div.label.tooltip.inverted > span{
   color: #333333;
   font-weight: bold;
   font-family:  Arial, verdana;
   font-size: 15px;
   text-shadow: none!important;
}

#chart > div.label.value.inverted > span{
  font-size: 15px;
}
#chart > div > span{
   font-size: 15px;

}
div#datatable_length.dataTables_length > label{
color: #ffffff!important;
}

#datatable > thead > tr{
   font-style: bold;
}

#datatable > tbody{
 border-right: 2px solid #E5E4DA!important;
}

.datatable-default tbody td {
    border-color: #F9F7F8;
    text-align: left;

}


#datatable > tbody > tr{
background-color: #F9F7F8;
border: 1px solid #E5E4DA;
}
#datatable > tbody > tr:hover{
background-color: #fefefe;
}
#datatable > thead > tr{
border-bottom: 2px solid #E5E4DA;
}

rect {
   -moz-transition: all 0.3s;
   -o-transition: all 0.3s;
   -webkit-transition: all 0.3s;
   transition: all 0.3s;
}

rect:hover{
fill: #D2D1C2;
stroke: #D2D1C2;
}

@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.  */
    body { font-size:90%;}

   #footer .footer-right {
        position:static;
        float:right;
        text-align:right;
        right:0;
        bottom:0;
        /* Vertical text align */
        padding:0 5px;
        overflow:hidden;
        padding-top: 5px;
    }



    .toggleable-panel .source-block {
        display:block;
        white-space:nowrap;
        padding-bottom:5px;
    }

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

    #footer .footer-right:hover .toggleable-panel  {
        padding:5px;
        max-height:90px;
    }

    #footer .footer-right:hover  {
        /* Avoids to loose the 'hover' when the mouse
         go through the toggleable-panel links  */
        height:20px;
    }

    #footer .footer-right:hover + .toggleable-panel-overlay {
        top:-1000000%;
        opacity:0.8;
    }
}

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


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


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

.chart.theme-the-australian .dw-chart-notes {
  font-size: 13px;
  margin-bottom: 0;
}



