@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,600);


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



.line-chart .label span {
    background-color: #fff;
}

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

.line-chart .label.highlighted {
    z-index: 100;
}

.line-chart .label.highlighted span,
.line-chart .label.axis span {
    background-color: #fff;
}

.line-chart .label.rotate45 {
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
}

.line-chart .label.x-axis {
    font-weight: bold;
}

.line-chart .label.x-axis.h span {
    padding: 2px 5px 5px;
}

html, body {
    overflow: hidden!important;
}

.line-chart .tooltip {
    padding: 2px 0px;
    text-align: center;
    z-index: 100;
}

.line-chart .tooltip:after {
    content: "⎮";
    position: absolute;
    bottom: -10px;
    left: 20%;
    right: 20%;
    color: rgba(0,0,0,.8);
    font-size: 10px;
    line-height: 10px;
    font-family: Arial;
    z-index: -1;
    text-align: center;
}


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

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 {
    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: #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;
}


#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: 0;
    right: 0;
}

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

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

/* swissinfo.ch
 * -------------
 */
.chart.theme-swissinfo {
  overflow: hidden;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: black;
  margin: 0px;
  background: white;
  text-rendering: optimizeLegibility;
}
.chart.theme-swissinfo.vis-bar-chart {
  overflow: visible;
}
.chart.theme-swissinfo a {
  color: #af001d;
}
.chart.theme-swissinfo h1 {
  margin: 0;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.4em;
  color: black;
  letter-spacing: 0.01em;
  padding: 0 0 0.3em 0;
}
.chart.theme-swissinfo a img {
  border: 0px;
}
.chart.theme-swissinfo .chart-intro {
  margin: 5px 0 10px !important;
  letter-spacing: 0.01em;
  font-size: 0.95em;
  font-weight: 400;
  line-height: 1.4em;
  color: black;
}
.chart.theme-swissinfo #chart {
  margin-top: 10px;
}
.chart.theme-swissinfo #chart.line-chart {
  margin-top: 20px;
}
.chart.theme-swissinfo #chart .label {
  font-size: 12px;
}
.chart.theme-swissinfo #chart .label span {
  color: #333333;
  text-shadow: 0 0 2px white;
}
.chart.theme-swissinfo #chart .label.inverted span {
  text-shadow: 0 0px 2px black;
  color: white;
}
.chart.theme-swissinfo #chart .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;
}
.chart.theme-swissinfo #chart .label.outline span sup {
  text-shadow: none;
}
.chart.theme-swissinfo #chart .label.highlighted {
  font-size: 12px;
  z-index: 100;
  font-weight: 600;
}
.chart.theme-swissinfo #chart .label.axis {
  font-size: 12px;
  z-index: 100;
}
.chart.theme-swissinfo #chart .label.hover {
  font-weight: 600;
}
.chart.theme-swissinfo #chart .label.value span,
.chart.theme-swissinfo #chart .label.series span {
  font-size: 12px;
}
.chart.theme-swissinfo .tooltip {
  z-index: 200;
  padding-bottom: 0px;
}
.chart.theme-swissinfo .tooltip .content {
  background-color: white;
  border: 1px solid #888888;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
  padding: 5px 8px;
}
.chart.theme-swissinfo .tooltip label {
  font-weight: 700;
}
.chart.theme-swissinfo .tooltip label:after {
  content: ": ";
}
.chart.theme-swissinfo #footer {
  font-size: 13px;
  color: #888888;
  margin-top: 20px;
  z-index: 1100;
  background: transparent;
  position: relative;
}
@media only screen and (max-width: 400px) {
  .chart.theme-swissinfo #footer {
    height: auto;
    top: 5px;
  }
}
.chart.theme-swissinfo #footer .footer .footer-left {
  position: static;
}
.chart.theme-swissinfo #footer .footer .logo {
  float: right;
  position: relative;
  left: auto;
  right: auto;
  top: -3px;
}
.chart.theme-swissinfo #footer .footer .logo img {
  width: 110px;
}
@media only screen and (max-width: 400px) {
  .chart.theme-swissinfo #footer .footer .logo {
    float: none;
    padding-top: 10px;
  }
}
.chart.theme-swissinfo .label.smaller span {
  font-size: 80%;
}
.chart.theme-swissinfo .filter-links {
  height: 30px;
  overflow: hidden;
}
.chart.theme-swissinfo .filter-links a {
  padding: 0px 10px;
  box-shadow: 0 0 10px #dddddd inset;
  border: 1px solid #bbbbbb;
  border-left: 0;
  display: block;
  float: left;
  text-decoration: underline;
  color: #666666;
  height: 28px;
  line-height: 28px;
  background: #fbfbfb;
}
.chart.theme-swissinfo .filter-links a:hover {
  background: white;
  color: #0088cc;
}
.chart.theme-swissinfo .filter-links a.active {
  font-weight: 600;
  color: black;
  box-shadow: none;
  background: white;
  cursor: default;
  text-decoration: none;
}
.chart.theme-swissinfo .filter-links a:first-child {
  border-radius: 10px 0 0 10px;
  border-left: 1px solid #bbbbbb;
}
.chart.theme-swissinfo .filter-links a:last-child {
  border-radius: 0 10px 10px 0;
}
.chart.theme-swissinfo .filter-select {
  background-color: white;
  border: 1px solid #cccccc;
  border-radius: 4px 4px 4px 4px;
  padding: 4px 6px;
  vertical-align: middle;
  font-size: 12px;
}
.chart.theme-swissinfo .line-chart .tooltip {
  border-radius: 5px;
}
.chart.theme-swissinfo svg .axis,
.chart.theme-swissinfo svg .tick,
.chart.theme-swissinfo svg .grid {
  shape-rendering: crispEdges;
}
.chart.theme-swissinfo svg rect {
  shape-rendering: crispEdges;
}
html[xmlns] .clearfix {
  display: block;
}
* html .clearfix {
  height: 1%;
}



