


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

body, html {
    height: 99%;
}

a { color: #0088CC; }

body.chart {
    font-family: Helvetica Neue, Arial;
    font-weight: 400;
    font-size: 12px;
    margin: 0 5px;
    background: #fff;
    overflow: visible;
    overflow-x:hidden;
}

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

h1 span {
}

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

#chart {
    margin-top: 10px;
}

#chart.line-chart {
    margin-top: 20px;
}

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

#footer {
    font-size: 11px;
    color: #888;
}


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

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


/*
 * Guardian Theme
 * --------------
 *
 */

body.chart {
    font-family: arial,sans-serif;
    font-weight: 400;
    line-height: 15px;
    color: #333;
    font-size: 12px;
    background: #fff;
    overflow: visible;
    overflow-x: hidden;
    padding: 0px 5px 0;
    margin: 0;
}

h1 {
    font-size: 18px;
    font-weight: normal;
    margin: 0 0 10px;
    line-height: 18px;
    text-align: left;
    color: #006cb5;
    border-top: 1px solid #2b2b2a;
    padding: 5px 0 7px;
    border-bottom: 1px solid #2b2b2a;
}

.fullscreen h1 {
    border-top-width: 2px;
    border-bottom-width: 2px;
    font-size: 26px;
    line-height: 26px;
    padding: 10px 0 15px;
    margin-right: 200px!important;
}

p { margin: 10px 0; line-height: 19px;}

#chart {
    margin-top: 20px;
}

.label { font-size: 10px; }
.label span { color: #333; }

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

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

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

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

.label.value { font-size: 11px; }

.label.series { font-size: 11px; }

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

.footer-right img {
    position: relative;
    top: 4px;
}

.tooltip label {
    font-weight: 700;
}

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

.chart #footer {
    height: 38px;
    clear: both;
    text-transform: uppercase;
    color: #2b2b2a;
    font-size: 10px;
}

#footer a {
    color: #2b2b2a;
    text-decoration: underline;
}

.fullscreen #footer {
    height: 45px;
}

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

#datatable {
    background: #F3F3F3;
}

#datatable thead tr {
    background: #D3D3D3;
    border-bottom: 0;
}

#datatable thead th {
    border-color: #D3D3D3;
}

#datatable tbody tr:hover {
    background: #dbdbdb;
}

.filter-links a {
    border-radius: 0!important;
    line-height: 25px;
    height: 25px;
    text-decoration: underline;
    box-shadow: none;
    color: #000;
    background: #eee;
}

.filter-links a.active {
    text-decoration: none;
}

.embed-code {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 370px;
    padding: 15px;
    background: #eee;
    color: #000;
    border-radius: 6px;
    text-transform: none;
    font-size: 12px;
    box-shadow: 2px 2px 0px rgba(0,0,0,.4);
}

.embed-code textarea {
    width: 360px;
    margin-top: 8px;
    height: 7em;
}

.hide {
    display: none;
}

.embed-code .close {
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 18px;
    opacity: 0.7;
}

.embed-code .close:hover {
    opacity: 1;
}



