

/*
 * 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-d3-lines div.d3l-main {
  position: absolute;
}
.chart.vis-d3-lines .d3l-line-label {
  position: absolute;
  width: 100px;
}
.chart.vis-d3-lines .d3l-hidden {
  display: none!important;
}
.chart.vis-d3-lines .d3l-color-key {
  position: absolute;
}
.chart.vis-d3-lines .d3l-color-key .d3l-item {
  display: inline-block;
  vertical-align: baseline;
  margin-right: 1em;
}
.chart.vis-d3-lines .d3l-color-key .d3l-item .label br {
  display: inline;
  content: ' ';
  clear: none;
}
.chart.vis-d3-lines .d3l-color-key .d3l-item .label br:after {
  content: ' ';
}
.chart.vis-d3-lines .d3l-color-key .d3l-item .d3l-key {
  display: inline-block;
  width: 10px;
  height: 10px;
  vertical-align: baseline;
  margin-right: 4px;
}
.chart.vis-d3-lines g.tooltip {
  display: none;
  pointer-events: none;
}
.chart.vis-d3-lines g.tooltip.show {
  display: block;
}
.chart.vis-d3-lines g.tooltip text {
  font-size: 90%;
  text-anchor: start;
}
.chart.vis-d3-lines g.tooltip text.bg {
  stroke: white;
  fill: white;
  stroke-width: 5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.chart.vis-d3-lines g.tooltip text tspan:first-child {
  font-weight: bold;
}
.chart.vis-d3-lines g.tooltip line {
  stroke: black;
  opacity: 0.3;
}
.chart.vis-d3-lines g.tooltip circle {
  stroke: black;
  fill: none;
  opacity: 0.3;
}
.chart.vis-d3-lines svg rect.bg {
  fill: #fff;
  fill-opacity: 0;
}
.chart.vis-d3-lines svg .x.axis line,
.chart.vis-d3-lines svg .x.ticks line {
  shape-rendering: crispEdges;
}
.chart.vis-d3-lines svg .x.axis text,
.chart.vis-d3-lines svg .x.ticks text {
  text-anchor: middle;
}
.chart.vis-d3-lines svg .y-grid line {
  shape-rendering: crispEdges;
}
.chart.vis-d3-lines svg .y-grid text {
  text-anchor: end;
}
.chart.vis-d3-lines svg .lines .line path {
  fill: none;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke: navy;
}
.chart.vis-d3-lines svg .lines .line path.line-style-width-0 {
  stroke-width: 2;
}
.chart.vis-d3-lines svg .lines .line path.line-style-width-1 {
  stroke-width: 3;
}
.chart.vis-d3-lines svg .lines .line path.line-style-width-2 {
  stroke-width: 4;
}
.chart.vis-d3-lines svg .lines .line path.line-style-width-3 {
  stroke-width: 1;
}
.chart.vis-d3-lines svg .lines .line path.line-style-dash-0 {
  stroke-dasharray: none;
}
.chart.vis-d3-lines svg .lines .line path.line-style-dash-1 {
  stroke-dasharray: 0.5,4;
}
.chart.vis-d3-lines svg .lines .line path.line-style-dash-1.line-style-width-1 {
  stroke-dasharray: 0.25,5;
}
.chart.vis-d3-lines svg .lines .line path.line-style-dash-1.line-style-width-2 {
  stroke-dasharray: 0,6;
}
.chart.vis-d3-lines svg .lines .line path.line-style-dash-1.line-style-width-3 {
  stroke-dasharray: 0.5,2;
}
.chart.vis-d3-lines svg .lines .line path.line-style-dash-2 {
  stroke-dasharray: 3,6;
}
.chart.vis-d3-lines svg .lines .line path.line-style-dash-2.line-style-width-1 {
  stroke-dasharray: 4,8;
}
.chart.vis-d3-lines svg .lines .line path.line-style-dash-2.line-style-width-2 {
  stroke-dasharray: 5,10;
}
.chart.vis-d3-lines svg .lines .line path.line-style-dash-2.line-style-width-3 {
  stroke-dasharray: 2,4;
}
.chart.vis-d3-lines svg .lines .line path.line-style-dash-3 {
  stroke-dasharray: 6,6;
}
.chart.vis-d3-lines svg .lines .line path.line-style-dash-3.line-style-width-1 {
  stroke-dasharray: 8,8;
}
.chart.vis-d3-lines svg .lines .line path.line-style-dash-3.line-style-width-2 {
  stroke-dasharray: 10,10;
}
.chart.vis-d3-lines svg .lines .line path.line-style-dash-3.line-style-width-3 {
  stroke-dasharray: 4,4;
}
.chart.vis-d3-lines svg .area-fill {
  opacity: 0.2;
}
.chart.vis-d3-lines svg line.cursor {
  fill: none;
  stroke: #c00;
  opacity: 0.3;
  stroke-dasharray: 3,2;
}
.chart.vis-d3-lines svg rect.cursor {
  fill: #c00;
  opacity: 0.2;
}
.chart.vis-d3-lines svg text.cursor-display {
  fill: #c00;
  opacity: 0.5;
  pointer-events: none;
  font-size: 10px;
  font-family: Arial;
}
.chart.vis-d3-lines svg .free-texts text {
  text-anchor: middle;
  alignment-baseline: middle;
}
.chart.vis-d3-lines svg .free-texts text.dw-bold {
  font-weight: bold;
}
.chart.vis-d3-lines svg .free-texts text.dw-italic {
  font-style: italic;
}
.chart.vis-d3-lines svg .free-texts text.dw-underline {
  text-decoration: underline;
}
.chart.vis-d3-lines svg .lbl-connect-lines path {
  stroke: black;
  stroke-dasharray: 2,2;
  fill: none;
}
.chart.vis-d3-lines .dw-chart-body {
  position: relative;
  padding-bottom: 0px;
}
.chart.vis-d3-lines .dw-chart-body.grid-labels-inside .y-grid text {
  text-anchor: start;
}



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

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

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

.dataTable td {
    border: 1px solid #e6e6e6 !important;
}

.chart.vis-data-table .datatable-default td, 
.chart.vis-data-table .datatable-default th {
    padding: 10px !important;
}

.chart.vis-data-table .datatable-default th {
    background: #08c;
    color: #fff;
    border: none;
}

.chart.vis-data-table .datatable-default th.sorting_desc:after,
.chart.vis-data-table .datatable-default th.sorting_asc:after {
    color: #fff;
    margin-left: 10px;
}

.chart.vis-data-table .datatable-default thead tr {
    border-bottom: 1px solid #e6e6e6 !important;
}

.chart.vis-data-table .datatable-default tbody tr.even {
    background: #fafafa !important;
}

.chart.vis-data-table .datatable-default th.sorting:hover, .chart.vis-data-table .datatable-default th.sorting_desc:hover, .chart.vis-data-table .datatable-default th.sorting_asc:hover {
    text-decoration: none;
}

.chart.vis-data-table #datatable_previous:before {
    content: '← ';
    color: #777;
}

.chart.vis-data-table #datatable_next:after {
    content: ' →';
    color: #777;
}

.chart.vis-data-table #datatable_length, #datatable_filter {
    margin-bottom: 20px !important;
} 

.chart.vis-data-table #datatable_info,
.chart.vis-data-table #datatable_paginate {
    margin-bottom: 10px;
    margin-top: 10px;
}

.dataTables_filter input {
    margin-left: 8px;
}

.vis-pie-chart path,
.vis-donut-chart path,
.vis-election-donut-chart path {
    stroke-width: 0.5;
}



@font-face {
  font-family: 'ProximaNova-Bold';
  src: url('//static.dwcdn.net/custom/theatlantic/ProximaNova-Bold.eot?#iefix') format('embedded-opentype'),  url('//static.dwcdn.net/custom/theatlantic/ProximaNova-Bold.otf')  format('opentype'),
	     url('//static.dwcdn.net/custom/theatlantic/ProximaNova-Bold.woff') format('woff'), url('//static.dwcdn.net/custom/theatlantic/ProximaNova-Bold.ttf')  format('truetype'), url('//static.dwcdn.net/custom/theatlantic/ProximaNova-Bold.svg#ProximaNova-Bold') format('svg');
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: 'ProximaNova-Regular';
  src: url('//static.dwcdn.net/custom/theatlantic/ProximaNova-Regular.eot?#iefix') format('embedded-opentype'),  url('//static.dwcdn.net/custom/theatlantic/ProximaNova-Regular.otf')  format('opentype'),
	     url('//static.dwcdn.net/custom/theatlantic/ProximaNova-Regular.woff') format('woff'), url('//static.dwcdn.net/custom/theatlantic/ProximaNova-Regular.ttf')  format('truetype'), url('//static.dwcdn.net/custom/theatlantic/ProximaNova-Regular.svg#ProximaNova-Regular') format('svg');
  font-weight: normal;
  font-style: normal;
}

.chart {
    font-family: ProximaNova-Regular;
}

.chart-title {
    font-family: ProximaNova-Bold;
}

.chart #footer {
    height: auto;
    min-height: 45px;
    padding-top: 0;
}

.chart #footer .footer-left { 
    left: 0px;
    padding-right: 90px;
    position: absolute;
}

.embed-code {
    position: absolute;
    bottom: 8%;
    left: 0;
    width: 40%;
    padding: 15px;
    z-index: 5000;
    background: #eee;
    color: #000;
    border-radius: 6px;
    text-transform: none;
    font-size: 1em;
    box-shadow: 2px 2px 0px rgba(0,0,0,.4);
}

.embed-code textarea {
    width: 90%;
    margin-top: 2%;
    height: 7em;
}

.hide {
    display: none;
}

.embed-code .close {
    cursor: pointer;
    position: absolute;
    right: 2%;
    top: 2%;
    font-size: 1.125em;
    opacity: 0.7;
}

.embed-code .close:hover {
    opacity: 1;
}

.embed-wrapper, .data-wrapper {
    display: none;
}


.embed-wrapper, .data-wrapper {
    display: inline-block;
}



