@charset "UTF-8";
/**
 * RESET
 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

.no-width-and-height {
  width: 0;
  height: 0;
}

/**
 * CLASSES
 */
.margin-0, body {
  margin: 0;
}

.margin-05 {
  margin: 5px;
}

.margin-1 {
  margin: 10px;
}

.margin-2, .menu {
  margin: 20px;
}

.margin-v-1 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.padding-0, body {
  padding: 0;
}

.padding-1, #tooltip, .close img, .menu {
  padding: 10px;
}

.padding-2 {
  padding: 20px;
}

.padding-v-1, .menu fieldset {
  padding-top: 10px;
  padding-bottom: 10px;
}

.full-height, html, body, .container .chart-container .bg, #overlay, #overlay .loading {
  height: 100%;
}

.full-width, .container .chart-container, .container .chart-container .bg, #overlay, .menu select {
  width: 100%;
}

.pointer, .close, button,
select {
  cursor: pointer;
}

.absolute, .container .chart-container .bg, #tooltip, #tooltip:after, #overlay, .close, .menu, .date-display {
  position: absolute;
}

.relative, body, .container, .container .chart-container, #overlay .loading, #overlay .message, .xchart {
  position: relative;
}

.pull-left, .close img, .menu button {
  float: left;
}

.pull-right {
  float: right;
}

.inline-block, .menu button {
  display: inline-block;
}

.bold, button {
  font-weight: 700;
}

.italic {
  font-style: italic;
}

.nowrap {
  white-space: nowrap;
}

/**
 * LAYOUT
 */
body {
  background-color: #fff;
  font: 12px "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  line-height: 1.3;
  color: #444;
}

.loading {
  background-image: url("../img/ajax-loader.gif");
  background-repeat: no-repeat;
  background-position: center center;
}

h1, h2, h3 {
  font-weight: 700;
}

h1 {
  font-size: 28.8px;
  border-bottom: 1px solid #444;
  margin-bottom: 10px;
}

h2 {
  font-size: 16.8px;
}

h3,
legend {
  font-size: 12px;
}

legend {
  font-weight: 700;
}

.container {
  margin: 0 auto;
  overflow: hidden;
}
.container .chart-container .bg {
  z-index: 0;
  top: 0;
  left: 0;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=15);
  opacity: 0.15;
  background-image: url(../img/bg.png);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100%;
}
.container .chart-container .chart {
  height: 360px;
}
@media screen and (max-width: 539px) {
  .container .chart-container .chart {
    padding-bottom: 10px;
  }
}
.container .source {
  margin-top: 10px;
}

#tooltip {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-align: center;
  width: 60px;
  display: none;
  z-index: 1000;
  color: #fff;
  background-color: #2f81b1;
}
#tooltip.name {
  width: 160px;
}
#tooltip:after {
  bottom: -6px;
  left: 50%;
  margin-left: -5px;
  content: "";
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #2f81b1;
}

#overlay {
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 100;
}
#overlay .message {
  top: 50%;
  text-align: center;
}

.close {
  right: 0;
  top: 0;
  z-index: 51;
}
.close img {
  width: 14px;
  height: 14px;
}

.menu {
  -moz-transition: all, 200ms, ease-in-out;
  -o-transition: all, 200ms, ease-in-out;
  -webkit-transition: all, 200ms, ease-in-out;
  transition: all, 200ms, ease-in-out;
  overflow: hidden;
  *zoom: 1;
  top: 0;
  right: 0;
  left: 8400px;
  bottom: 8400px;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.9);
}
.menu em {
  color: #d1313c;
}
.menu button {
  width: 49.5%;
  margin-right: 1%;
}
@media screen and (max-width: 539px) {
  .menu button {
    height: 35px;
    float: left;
  }
}
.menu button:nth-of-type(even) {
  margin-right: 0;
}
@media screen and (max-width: 539px) {
  .menu .parties .boxes,
  .menu .blocks .boxes {
    white-space: normal;
  }
  .menu .parties .boxes label,
  .menu .blocks .boxes label {
    width: 30%;
    display: inline-block;
  }
  .menu .parties .boxes label:nth-of-type(3n),
  .menu .blocks .boxes label:nth-of-type(3n) {
    margin-right: 0;
  }
}
.menu .parties .boxes label,
.menu .blocks .boxes label {
  margin-right: 9px;
}
@media screen and (max-width: 539px) {
  .menu .blocks .boxes label {
    width: 32%;
  }
  .menu .blocks .boxes label:nth-of-type(3n) {
    width: 100%;
  }
}
.menu fieldset {
  border-top: 0;
  border-bottom: 1px solid #444;
}
.menu fieldset.buttons {
  border-bottom: 0;
}

.selection-buttons {
  padding: 5px;
}

button,
select {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 5px 10px;
  background-color: #2f81b1;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  border: 0;
  color: #fff;
  font-size: 12px;
  margin-bottom: 5px;
  outline: none;
  white-space: nowrap;
}
@media screen and (max-width: 539px) {
  button,
  select {
    white-space: normal;
    font-size: 10px;
  }
}
button:hover,
select:hover {
  background-color: #2a729d;
}
button[type="submit"],
select[type="submit"] {
  height: auto;
  background-color: #218e38;
}
button[type="submit"]:hover,
select[type="submit"]:hover {
  background-color: #1c7a30;
}
button[type="reset"],
select[type="reset"] {
  height: auto;
  background-color: #a9262f;
}
button[type="reset"]:hover,
select[type="reset"]:hover {
  background-color: #942129;
}

button[disabled] {
  background-color: #9a9a9a;
}

.date-display {
  top: 5px;
  right: 5px;
  z-index: 90;
  text-shadow: 0 1px 0 #fff;
}
@media screen and (max-width: 539px) {
  .date-display {
    font-size: 10px;
  }
}
.date-display .compare {
  display: none;
}
.date-display .compare:before {
  content: "och jämför med ";
}

@media screen and (max-width: 539px) {
  .desktop-only {
    display: none !important;
  }
}
#tabs ul {
  border-bottom: 1px solid #808080;
  margin: 10px 0;
  padding: 0 5px;
}
#tabs ul li {
  display: inline-block;
  border: 1px solid #808080;
  border-bottom: 0;
  margin-right: 5px;
  width: 100px;
  text-align: center;
}
#tabs ul li.ui-state-active a {
  font-weight: bold;
  background-color: #fff;
  border-bottom: 1px solid #fff;
}
#tabs ul li a {
  line-height: 1.4;
  padding: 8px 14px;
  display: block;
  text-decoration: none;
  margin-bottom: -1px;
  color: #2f81b1;
  background-color: #cccccc;
  border-bottom: 1px solid #808080;
  outline: 0;
}
#tabs ul li a:hover {
  text-decoration: underline;
}

.xchart {
  z-index: 10;
}
.xchart .axis .tick line {
  shape-rendering: crispEdges;
  stroke: #cccccc !important;
}
.xchart g.scale .axisY .tick[data-line="dotted"] line {
  shape-rendering: crispEdges;
  stroke: #d1313c !important;
  stroke-dasharray: 6px;
}
.xchart g.scale .axisX text {
  font-size: 10.2px;
}
.xchart g.scale .axisX text[data-hide] {
  display: none;
}
@media screen and (max-width: 539px) {
  .xchart g.scale .axisX text[data-hide] {
    display: inline;
  }
  .xchart g.scale .axisX image {
    display: none;
  }
}
.xchart g.main rect {
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.xchart g.main rect:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
  shape-rendering: crispEdges;
  stroke: #000;
  stroke-opacity: 1;
}
.xchart g.comparison rect {
  fill: #b3b3b3;
  stroke-width: 0;
}
.xchart g.demographic rect {
  shape-rendering: crispEdges;
  stroke: #000;
  stroke-width: 0px;
  stroke-opacity: 0.2;
}
.xchart g.demographic rect[data-party='c'] {
  fill: #2ab848;
}
.xchart g.demographic rect[data-party='fp'], .xchart g.demographic rect[data-party='alliance'] {
  fill: #2859a6;
}
.xchart g.demographic rect[data-party='kd'] {
  fill: #9f3ba8;
}
.xchart g.demographic rect[data-party='m'] {
  fill: #5c8cd8;
}
.xchart g.demographic rect[data-party='mp'] {
  fill: #218e38;
}
.xchart g.demographic rect[data-party='s'], .xchart g.demographic rect[data-party='opposition'] {
  fill: #d1313c;
}
.xchart g.demographic rect[data-party='nyd'] {
  fill: #e5e98c;
}
.xchart g.demographic rect[data-party='sd'] {
  fill: #dce161;
}
.xchart g.demographic rect[data-party='v'] {
  fill: #a9262f;
}
.xchart g.demographic rect[data-party='fi'] {
  fill: #D9308E;
}
.xchart g.demographic rect[data-party='doubtful'] {
  fill: #808080;
}
.xchart g.demographic rect[data-party='others'] {
  fill: #4d4d4d;
}

/*# sourceMappingURL=app.css.map */
