
/********************
 * HTML CSS
 */


.chartWrap {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/********************
  Box shadow and border radius styling
*/
.nvtooltip.with-3d-shadow, .with-3d-shadow .nvtooltip {
  -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
  -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
  box-shadow: 0 5px 10px rgba(0,0,0,.2);

  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}

/********************
 * TOOLTIP CSS
 */

.nvtooltip {
  position: absolute;
  background-color: rgba(255,255,255,1.0);
  padding: 1px;
  border: 1px solid rgba(0,0,0,.2);
  z-index: 10000;

  font-family: Arial;
  font-size: 13px;
  text-align: left;
  pointer-events: none;

  white-space: nowrap;

  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/*Give tooltips that old fade in transition by
    putting a "with-transitions" class on the container div.
*/
.nvtooltip.with-transitions, .with-transitions .nvtooltip {
  transition: opacity 250ms linear;
  -moz-transition: opacity 250ms linear;
  -webkit-transition: opacity 250ms linear;

  transition-delay: 250ms;
  -moz-transition-delay: 250ms;
  -webkit-transition-delay: 250ms;
}

.nvtooltip.x-nvtooltip,
.nvtooltip.y-nvtooltip {
  padding: 8px;
}

.nvtooltip h3 {
  margin: 0;
  padding: 4px 14px;
  line-height: 18px;
  font-weight: normal;
  background-color: rgba(247,247,247,0.75);
  text-align: center;

  border-bottom: 1px solid #ebebeb;

  -webkit-border-radius: 5px 5px 0 0;
  -moz-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
}

.nvtooltip p {
  margin: 0;
  padding: 5px 14px;
  text-align: center;
}

.nvtooltip span {
  display: inline-block;
  margin: 2px 0;
}

.nvtooltip table {
  margin: 6px;
  border-spacing:0;
}


.nvtooltip table td {
  padding: 2px 9px 2px 0;
  vertical-align: middle;
}

.nvtooltip table td.key {
  font-weight:normal;
}
.nvtooltip table td.value {
  text-align: right;
  font-weight: bold;
}

.nvtooltip table tr.highlight td {
  padding: 1px 9px 1px 0;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-top-style: solid;
  border-top-width: 1px;
}

.nvtooltip table td.legend-color-guide div {
  width: 8px;
  height: 8px;
  vertical-align: middle;
}

.nvtooltip .footer {
  padding: 3px;
  text-align: center;
}


.nvtooltip-pending-removal {
  position: absolute;
  pointer-events: none;
}


/********************
 * SVG CSS
 */


svg {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* Trying to get SVG to act like a greedy block in all browsers */
  display: block;
  width:100%;
  height:100%;
}


svg text {
  font: normal 12px Arial;
}

svg .title {
 font: bold 14px Arial;
}

.nvd3 .nv-background {
  fill: white;
  fill-opacity: 0;
  /*
  pointer-events: none;
  */
}

.nvd3.nv-noData {
  font-size: 18px;
  font-weight: bold;
}


/**********
*  Brush
*/

.nv-brush .extent {
  fill-opacity: .125;
  shape-rendering: crispEdges;
}



/**********
*  Legend
*/

.nvd3 .nv-legend .nv-series {
  cursor: pointer;
}

.nvd3 .nv-legend .disabled circle {
  fill-opacity: 0;
}



/**********
*  Axes
*/
.nvd3 .nv-axis {
  pointer-events:none;
}

.nvd3 .nv-axis path {
  fill: none;
  stroke: #000;
  stroke-opacity: .75;
  shape-rendering: crispEdges;
}

.nvd3 .nv-axis path.domain {
  stroke-opacity: .75;
}

.nvd3 .nv-axis.nv-x path.domain {
  stroke-opacity: 0;
}

.nvd3 .nv-axis line {
  fill: none;
  stroke: #e5e5e5;
  shape-rendering: crispEdges;
}

.nvd3 .nv-axis .zero line,
/*this selector may not be necessary*/ .nvd3 .nv-axis line.zero {
  stroke-opacity: .75;
}

.nvd3 .nv-axis .nv-axisMaxMin text {
  font-weight: bold;
}

.nvd3 .x  .nv-axis .nv-axisMaxMin text,
.nvd3 .x2 .nv-axis .nv-axisMaxMin text,
.nvd3 .x3 .nv-axis .nv-axisMaxMin text {
  text-anchor: middle
}



/**********
*  Brush
*/

.nv-brush .resize path {
  fill: #eee;
  stroke: #666;
}



/**********
*  Bars
*/

.nvd3 .nv-bars .negative rect {
    zfill: brown;
}

.nvd3 .nv-bars rect {
  zfill: steelblue;
  fill-opacity: .75;

  transition: fill-opacity 250ms linear;
  -moz-transition: fill-opacity 250ms linear;
  -webkit-transition: fill-opacity 250ms linear;
}

.nvd3 .nv-bars rect.hover {
  fill-opacity: 1;
}

.nvd3 .nv-bars .hover rect {
  fill: lightblue;
}

.nvd3 .nv-bars text {
  fill: rgba(0,0,0,0);
}

.nvd3 .nv-bars .hover text {
  fill: rgba(0,0,0,1);
}


/**********
*  Bars
*/

.nvd3 .nv-multibar .nv-groups rect,
.nvd3 .nv-multibarHorizontal .nv-groups rect,
.nvd3 .nv-discretebar .nv-groups rect {
  stroke-opacity: 0;

  transition: fill-opacity 250ms linear;
  -moz-transition: fill-opacity 250ms linear;
  -webkit-transition: fill-opacity 250ms linear;
}

.nvd3 .nv-multibar .nv-groups rect:hover,
.nvd3 .nv-multibarHorizontal .nv-groups rect:hover,
.nvd3 .nv-discretebar .nv-groups rect:hover {
  fill-opacity: 1;
}

.nvd3 .nv-discretebar .nv-groups text,
.nvd3 .nv-multibarHorizontal .nv-groups text {
  font-weight: bold;
  fill: rgba(0,0,0,1);
  stroke: rgba(0,0,0,0);
}

/***********
*  Pie Chart
*/

.nvd3.nv-pie path {
  stroke-opacity: 0;
  transition: fill-opacity 250ms linear, stroke-width 250ms linear, stroke-opacity 250ms linear;
  -moz-transition: fill-opacity 250ms linear, stroke-width 250ms linear, stroke-opacity 250ms linear;
  -webkit-transition: fill-opacity 250ms linear, stroke-width 250ms linear, stroke-opacity 250ms linear;

}

.nvd3.nv-pie .nv-slice text {
  stroke: #000;
  stroke-width: 0;
}

.nvd3.nv-pie path {
  stroke: #fff;
  stroke-width: 1px;
  stroke-opacity: 1;
}

.nvd3.nv-pie .hover path {
  fill-opacity: .7;
}
.nvd3.nv-pie .nv-label {
  pointer-events: none;
}
.nvd3.nv-pie .nv-label rect {
  fill-opacity: 0;
  stroke-opacity: 0;
}

/**********
* Lines
*/

.nvd3 .nv-groups path.nv-line {
  fill: none;
  stroke-width: 1.5px;
  /*
  stroke-linecap: round;
  shape-rendering: geometricPrecision;

  transition: stroke-width 250ms linear;
  -moz-transition: stroke-width 250ms linear;
  -webkit-transition: stroke-width 250ms linear;

  transition-delay: 250ms
  -moz-transition-delay: 250ms;
  -webkit-transition-delay: 250ms;
  */
}

.nvd3 .nv-groups path.nv-line.nv-thin-line {
  stroke-width: 1px;
}


.nvd3 .nv-groups path.nv-area {
  stroke: none;
  /*
  stroke-linecap: round;
  shape-rendering: geometricPrecision;

  stroke-width: 2.5px;
  transition: stroke-width 250ms linear;
  -moz-transition: stroke-width 250ms linear;
  -webkit-transition: stroke-width 250ms linear;

  transition-delay: 250ms
  -moz-transition-delay: 250ms;
  -webkit-transition-delay: 250ms;
  */
}

.nvd3 .nv-line.hover path {
  stroke-width: 6px;
}

/*
.nvd3.scatter .groups .point {
  fill-opacity: 0.1;
  stroke-opacity: 0.1;
}
  */

.nvd3.nv-line .nvd3.nv-scatter .nv-groups .nv-point {
  fill-opacity: 0;
  stroke-opacity: 0;
}

.nvd3.nv-scatter.nv-single-point .nv-groups .nv-point {
  fill-opacity: .5 !important;
  stroke-opacity: .5 !important;
}


.with-transitions .nvd3 .nv-groups .nv-point {
  transition: stroke-width 250ms linear, stroke-opacity 250ms linear;
  -moz-transition: stroke-width 250ms linear, stroke-opacity 250ms linear;
  -webkit-transition: stroke-width 250ms linear, stroke-opacity 250ms linear;

}

.nvd3.nv-scatter .nv-groups .nv-point.hover,
.nvd3 .nv-groups .nv-point.hover {
  stroke-width: 7px;
  fill-opacity: .95 !important;
  stroke-opacity: .95 !important;
}


.nvd3 .nv-point-paths path {
  stroke: #aaa;
  stroke-opacity: 0;
  fill: #eee;
  fill-opacity: 0;
}



.nvd3 .nv-indexLine {
  cursor: ew-resize;
}


/**********
* Distribution
*/

.nvd3 .nv-distribution {
  pointer-events: none;
}



/**********
*  Scatter
*/

/* **Attempting to remove this for useVoronoi(false), need to see if it's required anywhere
.nvd3 .nv-groups .nv-point {
  pointer-events: none;
}
*/

.nvd3 .nv-groups .nv-point.hover {
  stroke-width: 20px;
  stroke-opacity: .5;
}

.nvd3 .nv-scatter .nv-point.hover {
  fill-opacity: 1;
}

/*
.nv-group.hover .nv-point {
  fill-opacity: 1;
}
*/


/**********
*  Stacked Area
*/

.nvd3.nv-stackedarea path.nv-area {
  fill-opacity: .7;
  /*
  stroke-opacity: .65;
  fill-opacity: 1;
  */
  stroke-opacity: 0;

  transition: fill-opacity 250ms linear, stroke-opacity 250ms linear;
  -moz-transition: fill-opacity 250ms linear, stroke-opacity 250ms linear;
  -webkit-transition: fill-opacity 250ms linear, stroke-opacity 250ms linear;

  /*
  transition-delay: 500ms;
  -moz-transition-delay: 500ms;
  -webkit-transition-delay: 500ms;
  */

}

.nvd3.nv-stackedarea path.nv-area.hover {
  fill-opacity: .9;
  /*
  stroke-opacity: .85;
  */
}
/*
.d3stackedarea .groups path {
  stroke-opacity: 0;
}
  */



.nvd3.nv-stackedarea .nv-groups .nv-point {
  stroke-opacity: 0;
  fill-opacity: 0;
}

/*
.nvd3.nv-stackedarea .nv-groups .nv-point.hover {
  stroke-width: 20px;
  stroke-opacity: .75;
  fill-opacity: 1;
}*/



/**********
*  Line Plus Bar
*/

.nvd3.nv-linePlusBar .nv-bar rect {
  fill-opacity: .75;
}

.nvd3.nv-linePlusBar .nv-bar rect:hover {
  fill-opacity: 1;
}


/**********
*  Bullet
*/

.nvd3.nv-bullet { font: 10px sans-serif; }
.nvd3.nv-bullet .nv-measure { fill-opacity: .8; }
.nvd3.nv-bullet .nv-measure:hover { fill-opacity: 1; }
.nvd3.nv-bullet .nv-marker { stroke: #000; stroke-width: 2px; }
.nvd3.nv-bullet .nv-markerTriangle { stroke: #000; fill: #fff; stroke-width: 1.5px; }
.nvd3.nv-bullet .nv-tick line { stroke: #666; stroke-width: .5px; }
.nvd3.nv-bullet .nv-range.nv-s0 { fill: #eee; }
.nvd3.nv-bullet .nv-range.nv-s1 { fill: #ddd; }
.nvd3.nv-bullet .nv-range.nv-s2 { fill: #ccc; }
.nvd3.nv-bullet .nv-title { font-size: 14px; font-weight: bold; }
.nvd3.nv-bullet .nv-subtitle { fill: #999; }


.nvd3.nv-bullet .nv-range {
  fill: #bababa;
  fill-opacity: .4;
}
.nvd3.nv-bullet .nv-range:hover {
  fill-opacity: .7;
}



/**********
* Sparkline
*/

.nvd3.nv-sparkline path {
  fill: none;
}

.nvd3.nv-sparklineplus g.nv-hoverValue {
  pointer-events: none;
}

.nvd3.nv-sparklineplus .nv-hoverValue line {
  stroke: #333;
  stroke-width: 1.5px;
 }

.nvd3.nv-sparklineplus,
.nvd3.nv-sparklineplus g {
  pointer-events: all;
}

.nvd3 .nv-hoverArea {
  fill-opacity: 0;
  stroke-opacity: 0;
}

.nvd3.nv-sparklineplus .nv-xValue,
.nvd3.nv-sparklineplus .nv-yValue {
  /*
  stroke: #666;
  */
  stroke-width: 0;
  font-size: .9em;
  font-weight: normal;
}

.nvd3.nv-sparklineplus .nv-yValue {
  stroke: #f66;
}

.nvd3.nv-sparklineplus .nv-maxValue {
  stroke: #2ca02c;
  fill: #2ca02c;
}

.nvd3.nv-sparklineplus .nv-minValue {
  stroke: #d62728;
  fill: #d62728;
}

.nvd3.nv-sparklineplus .nv-currentValue {
  /*
  stroke: #444;
  fill: #000;
  */
  font-weight: bold;
  font-size: 1.1em;
}

/**********
* historical stock
*/

.nvd3.nv-ohlcBar .nv-ticks .nv-tick {
  stroke-width: 2px;
}

.nvd3.nv-ohlcBar .nv-ticks .nv-tick.hover {
  stroke-width: 4px;
}

.nvd3.nv-ohlcBar .nv-ticks .nv-tick.positive {
 stroke: #2ca02c;
}

.nvd3.nv-ohlcBar .nv-ticks .nv-tick.negative {
 stroke: #d62728;
}

.nvd3.nv-historicalStockChart .nv-axis .nv-axislabel {
  font-weight: bold;
}

.nvd3.nv-historicalStockChart .nv-dragTarget {
  fill-opacity: 0;
  stroke: none;
  cursor: move;
}

.nvd3 .nv-brush .extent {
  /*
  cursor: ew-resize !important;
  */
  fill-opacity: 0 !important;
}

.nvd3 .nv-brushBackground rect {
  stroke: #000;
  stroke-width: .4;
  fill: #fff;
  fill-opacity: .7;
}



/**********
* Indented Tree
*/


/**
 * TODO: the following 3 selectors are based on classes used in the example.  I should either make them standard and leave them here, or move to a CSS file not included in the library
 */
.nvd3.nv-indentedtree .name {
  margin-left: 5px;
}

.nvd3.nv-indentedtree .clickable {
  color: #08C;
  cursor: pointer;
}

.nvd3.nv-indentedtree span.clickable:hover {
  color: #005580;
  text-decoration: underline;
}


.nvd3.nv-indentedtree .nv-childrenCount {
  display: inline-block;
  margin-left: 5px;
}

.nvd3.nv-indentedtree .nv-treeicon {
  cursor: pointer;
  /*
  cursor: n-resize;
  */
}

.nvd3.nv-indentedtree .nv-treeicon.nv-folded {
  cursor: pointer;
  /*
  cursor: s-resize;
  */
}

/**********
* Parallel Coordinates
*/

.nvd3 .background path {
  fill: none;
  stroke: #ccc;
  stroke-opacity: .4;
  shape-rendering: crispEdges;
}

.nvd3 .foreground path {
  fill: none;
  stroke: steelblue;
  stroke-opacity: .7;
}

.nvd3 .brush .extent {
  fill-opacity: .3;
  stroke: #fff;
  shape-rendering: crispEdges;
}

.nvd3 .axis line, .axis path {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}

.nvd3 .axis text {
  text-shadow: 0 1px 0 #fff;
}

/****
Interactive Layer
*/
.nvd3 .nv-interactiveGuideLine {
  pointer-events:none;
}
.nvd3 line.nv-guideline {
  stroke: #ccc;
}
:root {
   font-family: "ORF ON";
   line-height: 1.4;
   color: black;
   background: white;
}
a {
   color: #466199;
}
:root.iframe nav {
   display: none;
}
:root.iframe h1 {
   display: none;
}
/*
common stylesheet for wahlarchiv app/web
important: if changing something, check app and web styles!
*/

/* ------- global/generic ----------- */

html {
   -webkit-text-size-adjust: 100%;
}

.wa a, .wa a:hover, .wa a:focus {
   text-decoration: none;
}

svg {
   display: block;
}
/* this would disable map interaction on empty canvas */
/*
svg {
   pointer-events: none;
}
svg * {
   pointer-events: auto;
}
*/
.wa-paper {
   -webkit-user-select: none;
}

/* ----- map styles ------ */
svg g.borders, svg g.districts {
   stroke: #E2E2E2;
   fill: none;
}
svg g.borders, svg #Bundeslandgrenzen, svg #Staatsgrenze {
   stroke-width: 1.5;
}
.wa-voters-gender-60plus svg g.borders, .wa-voters-gender-60plus svg g.districts {
}
svg #wien-bg {
   fill: white;
   stroke: #E2E2E2;
}
/* --------- timeline --------- */

.timeline .axis path,
.timeline .axis line {
   fill: none;
   stroke: white;
   shape-rendering: crispEdges;
   stroke-width: 1px;
}

.timeline .x.axis.grid line {
   stroke: white;
}

.timeline .line {
   fill: none;
   stroke-width: 3px;
}

.timeline .grid-fill-even {
   fill: rgb(248, 249, 252);
}

.timeline .grid-fill-odd {
   fill: rgb(240, 241, 244);
}

.timeline circle {
   stroke-width: 3px;
}
.timeline circle:hover {
/*   stroke-width: 4px;
*/}
.timeline text {
   font-size: 12px;
}
.timeline .point-bg-rect {
   fill: rgba(250, 250, 250, 0.8);
   stroke: #ccc;
}

#timeline-percentage-label {
   font-size: 12px;
   opacity: 0;
   position: absolute;
   background-color: rgba(250, 250, 250, 0.9);
   border: 1px solid #ccc;
   padding: 2px;
   pointer-events: none;
}

#timeline-coalitions {
   margin: 0;
}

#timeline-coalition-1945 {
   font-size: 30px;
   width: 40px;
   text-align: center;
   cursor: default;
}

#timeline-coalitions li {
   display: block;
   position: absolute;
   height: 24px;
   border-left: 1px solid #eee;
}

#timeline-coalitions li:first-child {
   border-color: transparent;
}

#timeline-coalitions li div {
   display: block;
   width: 100%;
}
#timeline-canvas {
   height: 100%;
}
.nvd3 .nv-axis path.domain {
   stroke: #e5e5e5;
}
#timeline-absolute-svg > .nv-stackedAreaChart > g > rect {
   opacity: 1 !important;
   fill: white;
}
#timeline-legend {
   position: absolute;
   right: 30px;
   top: 10px;
   color: white;
   left: auto;
}

#timeline-absolute-link, #timeline-percentage-link {
   top: 8px;
   position: absolute;
   background-color: #7E90B8;
   padding: 3px 5px;
}
@media(max-width: 599px) {
   #timeline-absolute-link, #timeline-percentage-link {
      font-size: 14px;
   }
}

#timeline-absolute-link a, #timeline-percentage-link a {
   color: white;
}

#timeline-absolute-link {
   right: 30px;
}
#timeline-percentage-link {
   left: 80px;
}

/* ----------- maps ------------ */

svg #wien-title {
   font-size: 1.2em;
}
.wa-maphover { 
   position: absolute;
   font-size: 12px;
   font-weight: normal;
   color: #000;
   display: none;
   padding: 3px 4px;
   border: 1px solid #a0a0a0;
   border-radius: 2px;
   background: #fcfcfe;
   background: rgba(250, 250, 250, 0.9);
   z-index: 100;
}
.wa-maphover.visible { 
   display: block;
}

.wa-gender-age-switch {
   text-align: center;
   margin: 0;
}
.wa-gender-age-switch li {
   display: inline-block;
   background-color: #7e90b8;
   border: 1px solid #7e90b8;
   width:7em;
}
#wa-density-switch li {
   width: 10em;
}
.wa-gender-age-switch li.active {
   background-color: transparent;
   border-color: #d0d2d6;
}
.wa-gender-age-switch li a {
   display: block;
   padding: 0.3em;
   color: white;
}

.wa-gender-age-switch li.active a
{
   color: black;
/*   font-weight: bold;*/
}

.wa-legend {
   position: absolute;
   top: 28px;
   left: 10px;
   margin: 0;
   font-size: 14px;
   line-height: 18px;
/*tmp   pointer-events: none;
*/}

#wa-gender-legend ul {
   margin: 0;
}

.wa-legend .legend-color {
   width: 18px;
   height: 18px; /* like line-height */
}
.wa-legend li span.legend-color {
   float: left;
   display: block;
   margin-right: 4px;
}
.wa-legend .legend-text {
   line-height: 16px;
   padding: 1px 4px;
}
.wa-legend li span.legend-text {
   padding-right: 4px;
   display: block;
   float: right;
}

.wa-legend li:before, /* micro clearfix */
.wa-legend li:after {
    content: " ";
    display: table;
}
.wa-legend li:after {
   clear: both;
}

#wa-heatmap-left-legend li span.legend-color {
   float: right;
   margin-right: 0;
   margin-left: 4px;
}

.wa-legend-unit {
   border-bottom: 1px solid #d0d2d6;
   text-align: center;
   padding-left: 5px;
   padding-right: 5px;
}
.wa-legend table {
   border-collapse: collapse;
}
.wa-legend th {
   font-weight: normal;
}
#wa-heatmap-legend-relative-label, #wa-heatmap-legend-absolute-label {
   padding: 0 3px;
   text-align: center;
}

#wa-heatmap-legend-absolute-label {
   border-right: 1px solid #d0d2d6;
}

.wa-legend li, .wa-legend-unit, .wa-legend td, .wa-legend th {
   background-color: #f0f1f4;
}
.wa-legend td,  .wa-legend th {
   padding: 0;
}
.wa-legend li, .wa-legend td {
   text-align: right;
   border-top: 1px solid #d0d2d6;
}

#wa-density-aggolomeration-legend li {
   text-align: left;
}

#wa-density-aggolomeration-legend li span.legend-text {
   float: left;
}

.wa-legend li:first-child {
   border-top: 0 none;
}

#wa-heatmap-left-legend li {
   padding-right: 0;
   padding-left: 4px;
}

#wa-heatmap-no-result {
   position: absolute;
   right: 0;
   left: 0;
   top: 40%;
   text-align: center;
   font-size: 20px;
}
#wa-heatmap-no-result span {
   padding: 10px;
   border: 1px solid #A0A0A0;
   border-radius: 2px;
   background-color: rgb(250, 250, 255);
   background-color: rgba(250, 250, 255, 0.85);
   color: black
}

/* not tablet */
@media (max-width: 767px) {
   .wa-legend {
      font-size: 12px;
   }
   .timeline text {
      font-size: 10px;
   }
   .wa-gender-age-switch {
      font-size: 14px;
   }
   .wa-legend-unit {
      line-height: 1.2;
   }
   .wa-collapsable-legend li span.legend-text {
      display: none;
   }
   .wa-collapsable-legend li:first-child span.legend-text, .wa-collapsable-legend li:last-child span.legend-text, .wa-collapsable-legend li.equal-males-females span.legend-text {
      display: inline;
   }
   .wa-collapsable-legend li, .wa-collapsable-legend li span.legend-color {
      height: 5px;
   }
   .wa-collapsable-legend li:first-child span.legend-color, .wa-collapsable-legend li:last-child span.legend-color, .wa-collapsable-legend li.equal-males-females span.legend-color, .wa-collapsable-legend li:first-child, .wa-collapsable-legend li:last-child, .wa-collapsable-legend li.equal-males-females {
      height: 18px;
   }
   .wa-tabs .not-current {
      display: none;
   }
}


/* ---- info ------- */
#wa-flyout p {
   margin: 0 0 0.5em;
}
#wa-info-gender-app {
   display: none;
}
/* ---------- slider --------- */

#years-slider-container {
   margin-right: auto;
   margin-left: auto;
   width: 400px;
   bottom: 26px;
   height: 26px;
}
#years-slider {
   margin: 0 0 0 0; /*40px;*/
   width: 100%;
}
#years-slider-labels {
   top: 30px;
   left: -20px;
   right: -20px; /* thumb.width/2 */
   position: absolute;
   font-size: 14px;
   pointer-events: none;
}
#years-slider-labels div {
   float: left;
   text-align: center;
}
.loading #years-slider-container, .loading .wa-gender-age-switch, .loading .wa-legend {
   display: none;
}
#loading {
   background: url('../img/loading.gif') 0px 70px no-repeat;
   display: block;
   height: 165px;
   width: 32px;
   margin: 0 auto;
   text-indent: -1000em;
}

/* wahlerstroeme */
#wa-wsa {
   max-width: 472px;
}

#wsa-chart {
   clear: both;
   margin-bottom: 1em;
}

#wsa-chart .party-label.spoe.hover, #wsa-chart .party-label.oevp.hover, #wsa-chart .party-label.fpoe.hover {
   fill: #f0f1f4;
   text-shadow: none;
}

#wsa-chart .link {
  fill: none;
  stroke-opacity: .3;
}

#wsa-chart .link.hover {
  stroke-opacity: 1;
}

.wsa-labels {
   font-size: 1.2em;
   line-height: 1.5;
   font-weight: bold;
}
.from-label {
   float: left;
}
.to-label {
   float: right;
}
#hover-label {
   position: absolute;
   pointer-events: none;
   font-size: 0.8em;
   color: #000;
   display: none;
   padding: 0.15em 0.2em;
   border: 1px solid #a0a0a0;
   border-radius: 2px;
   background: #fcfcfe;
   background: rgba(250, 250, 250, 0.9);
}
#hover-label.visible {
   display: block;
}

/* positioning */
html {
   height: auto; /* override 101% to prevent scroll bars */
}
body {
   margin: 0;
}
nav {
   background-color: #5286c1;
   display: block;
   height: 75px;
   border-bottom:8px solid #4172a3;
}
nav img {
   position: absolute;
   top: 19px;
   left: 80px;
   width: 160px;
}
/* responsive map */
.wa-paper {
   height: 0;
   padding-bottom: 55%;
   overflow: hidden;
}
@media (max-width: 800px) {
   .wa-paper {
      padding-bottom: 60%;
   }
}
.wa-paper svg {
   width: 100%;
}
.timeline {
   /* for positioning of label */
   position: relative;
}
main {
   background-color: white;
}
.scroller {
   overflow: auto;
   -webkit-overflow-scrolling: touch;
}
#wa-container { 
   position: relative; 
   min-height: 300px;
   min-width: 480px;
   max-width: 800px;
}

/* move 'em up */
.wa-gender-age-switch, #years-slider-container, #timeline-coalitions, #timeline-coalition-1945 {
   position: relative;
   height: 0;
}
.wa-gender-age-switch {
   top: -40px;
}
#timeline-coalitions, #timeline-coalition-1945 {
   top: -30px;
}
#timeline-absolute {
   max-height: 480px;
   border-top: 1px solid #D9D9D9;
   z-index: 100;
}

/* ------ intro -------- */
.wrapper {
   font-size: 0.938em;
}
.wa h1 {
   color: #222222;
   font-size: 1.533em;
   font-weight: bold;
   line-height: 1.261em;
   padding-top: 31px;
   margin: 0 0 0 167px;
   background: #fff;
   padding-bottom: 26px;
}

.wahl13logo {
   position: absolute;
   right: 0px;
   top: 1px;
}

.landscape-message {
   margin: 10px 10px 20px 167px;
   padding: 10px;
   display: inline-block;
   background-color: #fcf8e3;
   border: 1px solid #fbeed5;
   -webkit-border-radius: 4px;
      -moz-border-radius: 4px;
           border-radius: 4px;
   display: none;
   max-width: 280px;
}

@media (max-width: 748px) {
   .wa h1, .landscape-message {
      margin-left: 18px;
   }
}
#wa-heatmap-map, #wa-gender-age-map, #timeline-canvas, #wa-nuts-map, #timeline-absolute {
   position: relative;
   background-image:url(http://orf.at/wahlergebnisse/bp16/images/background.png);   
}
.plainview #wa-heatmap-map {
   background-image:none;
   width: 472px;
}
.plainview #wa-heatmap-legend, .plainview #years-slider-container {
   display: none;
}
/* ----------- tabs ----------- */
.wa-tabs {
   padding-left: 14px;
   position: relative;
   z-index: 10;
   height: 30px;
   overflow: hidden;
   margin-bottom: 0.3em;
   margin-top: 0.3em;
   font-weight: 500;
   font-family: "ORF ON Condensed";
   font-size: 16px;
}
.wa-tabs li {
   display: inline-block;
   position: relative;
   top: 1px;
}
.wa-tabs .wa-tab-results-more {
   display: none;
}
@media (max-width: 849px) {
   .wa-tabs .wa-tab-projection, .wa-tabs .wa-tab-mandates, .wa-tabs .wa-tab-result-detail {
      display: none;
   }
   .wa-tabs .wa-tab-results-more {
      display: inline-block;
   }
}
.wa-tabs a {
   display: block;
   text-align: center;
   padding: 5px 12px;
   height: 18px;
}
.wa-tabs a:focus,
.wa-tabs a:hover {
   color: #222;
}
.wa-tabs .active a {
   cursor: default;
   color: #222;
}

.wa-tabs .wa-tab-migrations.active a {
   background: url('http://orf.at/wahlergebnisse/bp16/images/background.png') -1px 0 repeat;
   border-bottom: 1px solid #FCFCFC;
}
/* ----------- subtabs ------------ */
.wa-subtabs {
   z-index: 1;
   background: #F1F2F5;
   border-bottom: 1px solid #d9d9d9;
   display: block;
   height: 1.750em; /* 28px */
   padding-left: 150px;
}
@media (min-width: 748px) and (max-width: 850px) {
   #wa-heatmap-subtabs {
      width: 650px; 
      float: right;
   }   
}
.wa-subtabs + div {
   clear: both;
}
.wa-subtabs li {
   display: inline-block;
   font-size: 0.867em;
   font-weight: bold;
   text-align: center;
   padding-top: 2px;
}

.wa-subtabs li a {
   display: block;
   padding: 4px 12px;
   border: 1px solid transparent;
}
.wa-subtabs li.active a {
   background: url(http://orf.at/wahlergebnisse/bp16/images/background.png) -1px 0 repeat;
   border-bottom: 1px solid #FCFCFC;
   border-left: 1px solid #D9D9D9;
   border-right: 1px solid #D9D9D9;
   border-top: 1px solid #D9D9D9;
}
@media (max-width: 748px) {
   .wa-subtabs {
      padding-left: 10px;
   }
   .wa-subtabs li a {
      padding: 4px 8px;
   }
}

.wa-legend {
   left: 18px;
   top: 36px;
}


/* ----------- flyout info ---------- */
#wa-flyout {
   width: 472px;
   margin-left: 167px;
   padding-top: 1em;
   padding-bottom: 1em;
}
@media (max-width: 748px) {
   #wa-flyout {
      margin-left: 10px;
   }
}
.wa-flyout-info {
   display: none;
}
.wa-info-detail {
   font-size: 0.86666667em;
}
/* ------ years-slider ---------- */
#years-slider-container {
   top: -42px;
}
#years-slider {
   margin: 0 10px;
   width: 380px; /* 400 - margin */
}
#years-slider::-ms-tooltip {
   display: none; /* don't show the bogus value */
}
#years-slider-labels {
   top: 24px;
}

#years-slider-track {
   height: 0;
   left: 10px;
   right: 10px;
   top: 12px;
   position: absolute;
}
.years-slider-track-tick {
   position: absolute;
   background-color: rgb(128,142,183);
   width: 4px;
   height: 10px;
   left: 0px;
}


/* waehlerstroeme */

#wa-wsa-container {
   border-top: 1px solid #D9D9D9;
   background-image: url(http://orf.at/wahlergebnisse/bp16/images/background.png);
   padding-right: 1em;
   padding-left: 160px;
   padding-top: 1em;
   padding-bottom: 1em;
}
#wa-wsa {
   background-color: white;
   padding: 10px 20px;
}

#wa-wsa-info {
   padding-top: 1em;
   padding-bottom: 1em;
}
@media (max-width: 748px) {
   #wa-wsa-container {
      padding-left: 1em;
   }
}
#wa-wsa-info p {
   margin-bottom: 0.5em;
}

#wsa-chart .node rect {
  shape-rendering: crispEdges;
  stroke: transparent;
}

#wsa-chart .node text {
  pointer-events: none;
  text-shadow: 0 1px 1px #ccc;
}



/* from wahlcomputer */

#ie7message {
   background: #fff;
   padding: 16px 170px 20px 167px;
   font-size: 12px;
   border-top: 1px solid #D9D9D9;
}

#ie7message h2 {
   font-weight: bold;
   font-size: 15px;
   margin: 0 0 4px 0;
}

.svg-unsupported-message {
   padding: 80px 100px 100px 167px;
}

.error,
noscript div {
   padding: 80px 100px 100px 100px;
   background: #fff;
}

.error p,
noscript p {
   background: #fbf6a3;
   padding: 14px;
   border: 1px solid #f06b6b;
   -webkit-border-radius: 4px;
   border-radius: 4px;
   line-height: 1.6em;
}

noscript #sensor {
   display: block;
   margin: 40px auto 0 auto;
}

.warningBanner {
   background: #fbf6a3;
   padding: 10px;
   margin: 0 157px 20px 157px;
}

@media (max-width: 850px) {
	.networkNavigation {
		overflow: hidden;
	}
	#ss-sitemapMenu {
		display: none;
	}
	.networkNavigation .sitemapMenu {
		position: static;
		float: right;
	}
	.ss footer.pageFooter {
		background-image: none;
   	padding-right: 10px;
	}
   /* make responsive */
   .ss .wrapper {
      max-width: 800px;
      width: auto;
      overflow: hidden;
   }
}

/* header from wahlsite */
#wahl13-header {
   width: 553px;
   height: 77px;
   float: right;
   background: -moz-linear-gradient(left, rgba(82,134,193,0.78) 0%, rgba(16,47,84,0.78) 100%); /* FF3.6+ */
   background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(82,134,193,0.78)), color-stop(100%,rgba(16,47,84,0.78))); /* Chrome,Safari4+ */
   background: -webkit-linear-gradient(left, rgba(82,134,193,0.78) 0%,rgba(16,47,84,0.78) 100%); /* Chrome10+,Safari5.1+ */
   background: -o-linear-gradient(left, rgba(82,134,193,0.78) 0%,rgba(16,47,84,0.78) 100%); /* Opera 11.10+ */
   background: -ms-linear-gradient(left, rgba(82,134,193,0.78) 0%,rgba(16,47,84,0.78) 100%); /* IE10+ */
   background: linear-gradient(to right, rgba(82,134,193,0.78) 0%,rgba(16,47,84,0.78) 100%); /* W3C */
   filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c75286c1', endColorstr='#c7102f54',GradientType=1 ); /* IE6-9 */
   position: relative;
}

#wahl13-header-app-link {
   float: right;
}

#wahl13-header-link {
   float: left;
   margin-left: 150px;
}

@media (orientation: portrait) and (max-width: 479px) {
   .landscape-message {
      display: block;
   }  
}

@media (max-width: 720px) {
   #wahl13-header-link {
      margin-left: 240px;
   }
	.ss.news .pageFooter  {
		height: auto;
		padding: 0.3em;
		padding-right: 10px;
	}
	.ss.news .pageFooter ul {
		float: none;
	}
	.ss.news .pageFooter li {
		display: block;
		margin-bottom: 0.4em;
		margin-left: 0;
	}
}

@media (max-width: 600px) {
   #ss-networkNavigation {
      display: none;
   }
   .ss .header {
      height: 77px;
   }
   .ss #orfonTarget {
      left: 10px;
   }
   .ss .wrapper {
      margin: 0;
      padding: 0;
   }
   .wa-subtabs {
       padding-left: 4px;
   }
   .wa-subtabs li a {
       padding: 4px 6px;
   }
   .wa-tabs a {
       padding: 5px 8px;
    }
    .wa-tabs {
       margin-left: 5px;
    }
}

