

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



.chart.vis-column-chart {
    overflow: hidden;
}


@font-face {
    font-family: 'Channel 4 Headline';
    src: url('https://static.data.c4news.com/fonts/c4/c4heareg.eot');
    src: url('https://static.data.c4news.com/fonts/c4/c4heareg.ttf') format('truetype'),
			   url('https://static.data.c4news.com/fonts/c4/c4heareg.eot?#iefix') format('embedded-opentype'),
         url('https://static.data.c4news.com/fonts/c4/c4heareg.woff2') format('woff2'),
         url('https://static.data.c4news.com/fonts/c4/c4heareg.woff') format('woff'),
         url('https://static.data.c4news.com/fonts/c4/c4heareg.svg#c4_headlineregular') format('svg');
    font-weight: bold;
    font-style: normal;
}

html, body {
	height:100%;
}

body.chart {
    font-family: Trebuchet,"Trebuchet MS","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 400;
    margin:0;
    font-size: 13px;
    line-height: 18px;
		background: transparent;
    overflow: visible;
    overflow-x:hidden;
    color: #111;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

a {
    color: #005987;
    text-decoration: none;
}

a:hover {
    color: #005987;
    text-decoration: underline;
}

/* Chart title */
h1 {
  font-size: 24px;
  line-height:28px;
  font-weight: normal;
  margin: 0;
  padding: 0 0 5px 0;
  color:#52057F;
  text-align: left;
  font-family: 'Channel 4 Headline';
  @media (min-width: 500px) {
		padding-right:140px; 
  }
}

/* Chart description */
.chart p {
	margin: 0 0 15px;
	font-size: 15px;
	color: #555;
	line-height: 20px;
}

/* Brand logo */
.logo {
	position: absolute;
	top:30px !important;
	right:30px !important;
	width:44px;
	height:71px;
	display:none;
}

#chart {
	width:100%;
}

.chart #footer {
	position: relative;
}

.label span {
  font-size: 14px;
}

.label.value.outline {
	margin-top:-10px;
}

.line-chart .label span {
    background: #272B30;
    border-radius:2px;
}

.legend .label span {
	font-size: 14px;
	text-transform: uppercase;
}

.line-chart .tooltip:after {
	content:none;
}

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

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

.label.highlighted, .label.axis {
    z-index: 100;
}

.pie-chart .label.hover span,
.donut-chart .label.hover span {
    color: #111;
}

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

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

.label.value span {
    font-size: 13px;
    font-weight: normal;
    font-family: 'Channel 4 Headline';
}

.label.series span {
    font-size: 14px;
    text-align: right;
}

.tooltip {
    z-index: 200;
    padding-bottom: 0px;
    border-radius:2px;
}

.tooltip .content {
    background-color: #fff;
    border: 1px solid #CCC;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5) inset;
    padding: 5px 15px;
}

.tooltip label {
    font-weight: 700;
}

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

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

.chart .chartMenu {
    box-shadow: 0 0 5px #444;
}

.chart .chartMenu a {
    color: #333;
}

.chart .chartMenu a:hover {
    color: #333;
}

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

.line-chart .label.highlighted span, .line-chart .label.axis span {
	background:none;
}

.chart .icon-fullscreen { background-position: 0 -15px; }
.chart .icon-share { background-position: -32px -15px; }
.chart .icon-download { background-position: -17px -15px; }

.source-block {
	margin:0;
	text-transform: uppercase;
	font-size:11px;
	color:#666;
}

.source-block a {
	color:#666;
}

.filter-links {
    height: 30px;
    overflow: hidden;
    margin-bottom:20px;
}

.filter-links a {
    padding: 0px 15px;
    border-left: 0;
    display: block;
    float: left;
    text-decoration: none;
    color: #9D2275;
    height: 28px;
    line-height: 28px;
    background: #DDD;
    border-radius: 3px;
    margin-right:10px;
    box-shadow:inset 0px -2px rgba(0,0,0,0.1);
}

.filter-links a:hover {
    background: #CCC;
    color: #9D2275;
    text-decoration: underline;
}

.filter-links a.active {
    font-weight: bold;
    color: #FFF;
    box-shadow: none;
    background: #9D2275;
    cursor: default;
    text-decoration: none;
    box-shadow:inset 0px 2px rgba(0,0,0,0.1);
}

.filter-select {
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 2px;
    padding: 4px 6px;
    vertical-align: middle;
    font-size: 12px;
}




