@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:300);
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  background: #ff
}
main {
  width: 75%;
  margin: auto;
  padding: 2em;
}

figure {
  font: 300 1em/1.2 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
  color: gray;
  margin: 5em 0;
  padding-top: 1em;
}
figcaption {
  font-family: 'Source Sans Pro', 'Century Gothic', sans-serif;
  max-width: 35em;
  margin: 0 2em;
}
.ct-chart .ct-line {
  stroke: #E71A1A !important;
}
.tooltip {
  position: absolute;
  pointer-events: none;
  margin-top: -1.5em;
  z-index: 999;
  padding: .25em .5em;
  border: 1px solid #9F9F9F;
  background: #F7F7F7;
  border-radius: 3px;
  font-size: .75em;
  text-align: center;
  line-height: 1.5;
  transition: opacity .5s .5s ease;
}
.tooltip {
  opacity: 0;
  transition: opacity .5s .5s ease;
}
.tooltip.show {
  opacity: 1;
  transition: opacity .5s 0s ease;
}
.tooltip:after {
  content: " ";
  position: absolute;
  top: 100%;
  left: 50%;
  height: 0;
  width: 0;
  border: 5px solid transparent;
  border-top-color: #9F9F9F;
  margin-left: -5px;
}
.tooltip div{
  display: inline;
}
.tooltip .label:after{
  content: " : ";
}
.tooltip .value{
  font-weight: bold;
}

.ct-point {
    opacity: 0;
    stroke-width: 30px !important;
}
.ct-label.ct-vertical {
    position: relative;
    top: .4em;
}
.ct-label.ct-horizontal {
    /* transform: rotate(-90deg); */
    position: relative;
    left: -1em;
}

.ct-chart.line .ct-label.ct-horizontal {
    display: none !important;
    font-size: 1em !important;
}
.ct-chart.bar .ct-label.ct-horizontal {
    transform: rotate(-45deg);
}
/*
.ct-labels .ct-horizontal {
    display: none !important;
}
.ct-labels > *:nth-child(5n+1) .ct-horizontal {
    display: block !important;
}
*/
