


/*
 * base stylesheets included in every chart
 */

html body.chart.fullscreen {
    margin: 0;
    height:100%;
    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 {
    position: absolute;
    bottom: 20px; /**/
    left:0;
    right:0;
    height: 30px;
    margin-top:10px;
}

.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: 15px;
    bottom: 30px;
}

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

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

.footer-left {
    left: 5px;
}

.footer-right {
    right: 5px;
}

.logo {
    position: absolute;
    right: 15px;
    bottom: 18px;
    height:19px;
}

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

/*
 * special styles for bar charts
 */

html body #footer {
    position: relative;
    top: auto;
    left: auto;
}

html body #footer .footer-left { left: 0;}

.chart.vis-bar-chart {
    overflow-x: hidden;
}


/*
 * Figaro Theme 1.2
 * -------------
 *
 */

@font-face{
    font-family : "MuseoSlab500";
    src : url('http://a.f1g.fr/assets-fonts/Museo_Slab_500-webfont.eot');
    src : url('http://a.f1g.fr/assets-fonts/Museo_Slab_500-webfont.eot?') format('eot'),
    url('http://a.f1g.fr/assets-fonts/Museo_Slab_500-webfont.woff') format('woff'),
    url('http://a.f1g.fr/assets-fonts/Museo_Slab_500-webfont.svg#abcd') format('svg'),
    url('http://a.f1g.fr/assets-fonts/Museo_Slab_500-webfont.ttf') format('truetype');
}

body, html {
    /*height: 99%;*/
}

a { color: #0088CC; }

body.chart {
    font-family: "MuseoSlab500", "Trebuchet MS", Arial, Helvetica, sans-serif;
    /*margin:5px 5px 20px 5px;*/
    background: #fff;
}

#chartWrapper {
    border:1px solid #e3e3e3;
    padding:15px;
}

h3 {
    font-size: 23px;
    margin: 0 0 12px;
    /*font-size: 2.3rem;
    line-height: 1.30435;*/
}

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

#footer {
    font-size: 11px;
    color: #aaa;

    /* 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-logo {

    background:#fff;
    padding:2px;
    margin:0;

}


#footer .footer-left {
    /*bottom: 16px;*/
    /* Vertical text align */
    float:left;
    margin-left: 5px;
}

/* 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: 16px;
    right: 0;*/
    float:right;
    /*margin-right:170px;*/
    margin-top:-15px;
}

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

/* 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.  */

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

    /*.footer-right*/ .toggle-panel {
        position:absolute;
        right:0;
        bottom:0;
        display:block;
        /* Vertical text align */
        width:100%;
    }

    /*.footer-right*/ .toggleable-panel {
        background:#eee;
        position:absolute;
        left:0;
        right:0;
        bottom:0;
        /* Ensures that the toggleable panel is beside the stack context
        to allow the mouse to reach .footer-left */
        z-index:1110;
        text-align:left;
        overflow:hidden;
        line-height:inherit;

        padding:0 5px;
        max-height:0;

        -moz-transition: max-height 0.7s;
        -webkit-transition: max-height 0.7s;
        -ms-transition: max-height 0.7s;
        -o-transition: max-height 0.7s;
    }

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

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




