


/*
 * base stylesheets included in every chart
 */

html body.chart.fullscreen {
    margin: 0;
    padding: 50px 100px;
    width: 100%;
    background: #fff;
    overflow: hidden;
}

#header {
    min-height: 1px;
    position: relative;
}

#header .header-right {
    position: absolute;
    right: 10px;
    z-index: 20;
}

.fullscreen #header .header-right {
    right: 200px;
}

#footer {
    min-height: 1px;
    position: absolute;
    bottom: 0;
    left:0;
    right:0;
    height: 25px;
}

.fullscreen h1 {
    font-size: 36px;
    margin: 0 200px 30px 0
}

.fullscreen p {
    font-size: 15px;
    margin-right: 200px!important;
}

.fullscreen #header label {
    font-size: 15px;
}

.fullscreen .logo {
    right: 100px;
}

.fullscreen .label {
    font-size: 15px;
}

.fullscreen #footer {
    font-size: 13px;
    line-height: 20px;
    height: 40px;
    margin: 0 0px 20px 100px;
    position: absolute;
    left: 0;
    bottom: 0;
}

.footer-left, .footer-right {
    position: absolute;
    bottom: 5px;
    z-index: 1000;
}

.footer-left {
    left: 5px;
}

.footer-right {
    right: 5px;
}

.fullscreen .footer-right {
    right: 100px;
}

.logo {
    position: absolute;
    right: 0;
    bottom: 0;
}

.fullscreen .fs-btn {
    display: none!important;
}

.fs-btn {
    width: 24px;
    height: 24px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYAQMAAADaua+7AAAAA3NCSVQICAjb4U/gAAAABlBMVEWxsbH////8JldWAAAAAnRSTlP/AOW3MEoAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAYdEVYdENyZWF0aW9uIFRpbWUAMTMuMTIuMjAxMnLzWo0AAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzVxteM2AAAANklEQVQImWNgqGNgYPjPwMD4vwFMg/lQMcX/LQzF/88x/P//Hysu/v8OqOYIUC1Qbz1CH5JZACUFJoZujXhwAAAAAElFTkSuQmCC);
    opacity: 0.5;
    cursor: pointer;
    display: none;
}

.fs-btn.small {
    width: 18px;
    height: 18px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAQMAAABsABwUAAAAA3NCSVQICAjb4U/gAAAABlBMVEWxsbH////8JldWAAAAAnRSTlP/AOW3MEoAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAYdEVYdENyZWF0aW9uIFRpbWUAMTMuMTIuMjAxMnLzWo0AAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzVxteM2AAAAKUlEQVQImWNgfMDAwPwBgmFs9h8MDO//NjD8/38ABef/PQCWQ1YLZQMAx8MaxZ/JdpAAAAAASUVORK5CYII=);
}

.chart:hover .fs-btn {
    display: block;
}

.fs-btn:hover {
    opacity: 1;
}

.fs-btn.top-right {
    position: absolute;
    top: 4px;
    right: 4px;
}

.logo .big {
    display: none;
}

.fullscreen .logo .big {
    display: inline;
}

.fullscreen .logo .small {
    display: none;
}

html .chart.plain #footer {
    height: 10px;
}

body.js .noscript {
    display: none;
}

.chart .hidden {
    display: none;
}

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

html body.chart {
    overflow: visible !important;
}

html body #footer, html body.chart.fullscreen #footer {
    position: relative;
    top: auto;
    left: auto;
}

html body.chart.fullscreen {
    width    : auto    !important;
    overflow : visible !important;
}

#datatable_wrapper {
    margin: 10px 0px 10px;
}
.datatable-default {
    width: 100%;
    border: 0;
    border-spacing:0;
    margin: 10px 0 5px;
    border-collapse:collapse;
    clear: both;
}

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

.datatable-default thead tr {
    border-bottom: 2px solid #000;
}

.datatable-default tr.highlight {
    background: #E3E7F6;
}

.datatable-default th.highlight {
    background: #CFD9EF;
}

.datatable-default tr td.highlight {
    background: #E6EaF9;
}

.datatable-default td span.raw-sortable {
    display: none;
}

.datatable-default tr.even td.highlight {
    background: #E0E3F3;
}

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

.datatable-default thead th {
    padding: 6px 20px 6px;
    border-left: 1px solid #fff;
    font-weight: bold;
}

.datatable-default tbody th {
    background: none;
    font-weight: normal;
}

.datatable-default tbody td {
    text-align: left;
    border-left: 1px solid gray;
}

.datatable-default tbody td:last-child {
    border-right: 1px solid gray;
}

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

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


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


#datatable_info, #datatable_length {
    float: left;
}

#datatable_length, #datatable_filter {
    margin-bottom: 10px;
}

#datatable_paginate, #datatable_filter {
    float: right;
}

#datatable_paginate a {
    padding-left: 20px;
    cursor: pointer;
}

#datatable_next:after {
    content: ' ►';
    color: #777;
}

#datatable_previous:before {
    content: '◀ ';
    color: #777;
}

.paginate_disabled_next,
.paginate_disabled_previous {
    color: #777;
    cursor: default;
}

.datatable-default th.sorting,
.datatable-default th.sorting_desc,
.datatable-default th.sorting_asc
{
    cursor: pointer;
}

.datatable-default th.sorting:hover,
.datatable-default th.sorting_desc:hover,
.datatable-default th.sorting_asc:hover
{
    text-decoration: underline;
}

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

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

.datatable-default tbody tr .unit {
    opacity: 0;
}

.datatable-default tbody tr.even {
    background: #f3f3f3;
}

.datatable-default tbody tr:first-child .unit {
    opacity: 1;
}

.datatable-default td {
    text-align: left;
}

.datatable-default td.not-available,
.datatable-default td.number,
.datatable-default td.number-decimal,
.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; 
    }
}


.chart .chartMenu a {
    color: #fff;
}

/*
 * Noir Theme
 * ----------
 *
 * based on http://bootswatch.com/slate/
 */

body.chart {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 400;
    margin:5px 10px;
    font-size: 13px;
    line-height: 18px;
    background: #272B30;
    overflow: visible;
    overflow-x:hidden;
    color: #9ab;
}

a {
    color: #fff;
    text-decoration: none;
}

a:hover {
    color: #fff;
    text-decoration: underline;
}

h1 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px;
    text-align: left;
}

.chart p { margin: 15px 0; line-height: 19px;}

#chart {
    margin-top: 25px;
}

.label span {
    font-size: 12px;
    color: #9ab;
}

.line-chart .label span {
    background: #272B30!important;
}

html .line-chart .label.tooltip span {
    background: none!important;
}

html .line-chart .label.tooltip.inverted span {
    color: #fff!important;
}

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

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

.pie-chart .label.hover span,
.donut-chart .label.hover span {
    color: #fff;
}

.label.inverted span {
    color: #000!important;
}

.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: #202328;
    border: 1px solid #101214;
    border-radius: 4px 4px 4px 4px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5) inset;
    padding: 5px 8px;
}

.tooltip label {
    font-weight: 700;
}

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

#footer {
    margin: 10px 0px 0px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.footer-left {
    float: left;
}
.footer-right {
    float: right;
}

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

@media screen and (max-width: 400px) {
    h1, #footer, p, .label {
        display: none;
        position: absolute;
        height: 0;
        width: 0;
        padding: 0;
        margin: 0;
    }

    #chart {
        margin: 0;
    }

    body.chart { margin:0; padding: 0;}
}

.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 .chartMenu {
    background: #272B30;
    box-shadow: 0 0 5px #444;
}

.chart .chartMenu a {
    color: #bbb;
}

.chart .chartMenu a:hover {
    color: #fff;
}


.chart .icon-fullscreen { background-position: 0 -15px; }
.chart .icon-share { background-position: -32px -15px; }
.chart .icon-download { background-position: -17px -15px; }



