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

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





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

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

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


a { color: #0088CC; }

.chart {
    font-family: Helvetica Neue, Arial;
    font-weight: 400;
    font-size: 12px;
    margin: 0 0px;
    background: transparent;
    height: 100%;
}

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-x: hidden;
    overflow-y: visible;
    border-bottom: 1px solid #ccc;
}

.filter-links a {
    color: #666;
    height: 28px;
    line-height: 28px;
    padding: 10px;
    text-decoration: none;
}

.filter-links a:hover {
    background: #fff;
    color: #222;
}

.filter-links a.active {
    font-weight: bold;
    color: #000;
    box-shadow: none;
    background: #fff;
    cursor: default;
    text-decoration: none;

    border-bottom: 3px solid #555;
    padding: 10px 10px 6px 10px;

}

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

.point {
    border: 1px solid #ccc;
    display: inline-block;
    position: absolute;
    background: #fff;
    z-index: 100;
    cursor: pointer;

    height: 20px;
    width: 20px;
    border-radius: 20px;
    top: 20px;
}

.point:hover {
    background: #ebebeb;
}

.point-label {
    position: absolute;
}

.point.active {
    background: #ccc;
    height: 20px;
    width: 20px;
    border-radius: 20px;
    top: 20px;
    border-color: #888;
}  

.line {
    height: 1px;
    background: #ccc;
    position: absolute;
    left: 0px;
    top: 30px;
    z-index: 1;
}


/* swissinfo.ch
 * -------------
 */
html,body {height: 99% }
.chart.theme-swissinfo {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: black;
  margin: 0px;
  overflow: hidden;
  background: white;
  text-rendering: optimizeLegibility;
  padding-bottom: 10px;
}
.chart.theme-swissinfo.vis-bar-chart {
  overflow: visible;
}
.chart.theme-swissinfo.vis-bar-chart #footer {
  position: relative;
}
.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 .dw-chart-notes {
  font-size: 12px;
  margin-left: 5px;
  margin-bottom: 0px;
  position: relative;
  top: 10px;
}
.chart.theme-swissinfo #footer {
  font-size: 13px;
  color: #888888;
  height: auto;
  min-height: 40px;
  background: none;
  z-index: 1100;
}
.chart .filter-ui {
  font-size: 12px;
}
.chart.theme-swissinfo #footer .logo img {
  width: 110px;
}
@media only screen and (max-width: 400px) {
  .chart.theme-swissinfo #footer {
    padding-top: 10px;
  }
  .chart.theme-swissinfo #footer .logo {
    position: static;
  }
  .chart.theme-swissinfo #footer .logo img {
    margin-top: 5px;
  }
  .chart.theme-swissinfo #footer .footer-left {
    position: static;
  }
}
.chart.theme-swissinfo .label.smaller span {
  font-size: 80%;
}
.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%;
}



