svg.ytnd-kuvio {
  max-width: 1280px;
  min-height: 600px;
}

section.ytnd-intro-chart svg.ytnd-kuvio {
  min-height: 410px;
}

section.ytnd-intro-chart.ytnd-intro-chart-narrow svg.ytnd-kuvio {
  min-height: 525px;
}

section.ytnd-vertical-wrapper svg.ytnd-kuvio {
  min-height: 310px;
  max-width: 350px;
}

svg.ytnd-kuvio text {
  font-family: hero-new, sans-serif;
  fill: #212121;
}

svg.ytnd-kuvio rect {
  fill: none;
}

svg.ytnd-kuvio g.ytnd-kuvio-stripe-odd.ytnd-kuvio-stripe-last rect {
  fill: rgb(82, 206, 162); 
  opacity: 0.3;
}

svg.ytnd-kuvio g.ytnd-kuvio-gridline-horizontal line.ytnd-kuvio-gridline-line {
  fill: none;
  stroke: rgb(0, 0, 0);
  opacity: 0.5;
  stroke-width: 0.5;
}

svg.ytnd-kuvio g.ytnd-kuvio-gridline-vertical line.ytnd-kuvio-gridline-line {
  fill: none;
  stroke: #4c3494;
  stroke-width: 1;
  stroke-dasharray: 2;
}

svg.ytnd-kuvio line.ytnd-kuvio-gridline-baseline {
  stroke: #000000;
  stroke-dasharray: none;
  stroke-width: 2;
}

svg.ytnd-kuvio line.ytnd-kuvio-tick {
  fill: none;
  stroke: #000000;
  stroke-width: 1.5;
}

svg.ytnd-kuvio line.ytnd-kuvio-tick-cutoff-low, 
svg.ytnd-kuvio line.ytnd-kuvio-tick-cutoff-high, 
svg.ytnd-kuvio text.ytnd-kuvio-label-cutoff-low,
svg.ytnd-kuvio text.ytnd-kuvio-label-cutoff-high {
  display: none;
}

svg.ytnd-kuvio rect.ytnd-kuvio-bar,
svg.ytnd-kuvio path.ytnd-kuvio-slice {
  transition: fill .5s ease-out;
}

svg.ytnd-kuvio rect.ytnd-kuvio-bar {
  fill: #0081c7;
  stroke: #ffffff;
  stroke-width: 1;
}

svg.ytnd-kuvio text.ytnd-kuvio-axis-label-value {
  font-size: 12pt;
  aspect-ratio: 1;
}

svg.ytnd-kuvio g.ytnd-kuvio-axis-label-horizontal text.ytnd-kuvio-axis-label-value {
  text-anchor: end;
  transform: translate(-6pt, 4pt);
}

svg.ytnd-kuvio g.ytnd-kuvio-axis-label-vertical text.ytnd-kuvio-axis-label-value {
  text-anchor: middle;
  transform: translate(0, 18pt);
}

svg.ytnd-kuvio g.ytnd-kuvio-data-label text.ytnd-kuvio-radial-label tspan {
  font-size: 14pt;
  font-weight: 700;
}

svg.ytnd-kuvio g.ytnd-kuvio-headline text {
  transform: translate(0, 18pt);
  font-size: 18.5pt;
  font-weight: bold;
}

svg.ytnd-kuvio g.ytnd-kuvio-subheadline text {
  transform: translate(0, 14pt);
  font-size: 14pt;
  line-height: 1.2em;
}

svg.ytnd-kuvio g.ytnd-kuvio-axis-title-vertical text {
  transform: translate(0, -18pt);
}

svg.ytnd-kuvio g.ytnd-kuvio-axis-title-horizontal text {
  text-anchor: middle;
}

svg.ytnd-kuvio g.ytnd-kuvio-legend  {
  transform: translate(0, 0);
}

svg.ytnd-kuvio g.ytnd-kuvio-source text {
  font-size: 9pt;
  text-anchor: end;
  transform: translate(0, 37.5pt);
}

svg.ytnd-kuvio g.ytnd-kuvio-connector polyline {
  fill: none;
  stroke: #000000;
}

svg.ytnd-kuvio g.ytnd-kuvio-series-teollisuusyritys rect.ytnd-kuvio-bar, 
svg.ytnd-kuvio g.ytnd-kuvio-point-teollisuusyritys path.ytnd-kuvio-slice,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-teollisuusyritys circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-series-asiantuntijat rect.ytnd-kuvio-bar, 
svg.ytnd-kuvio g.ytnd-kuvio-point-asiantuntijat path.ytnd-kuvio-slice,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-asiantuntijat circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-series-noussut rect.ytnd-kuvio-bar, 
svg.ytnd-kuvio g.ytnd-kuvio-point-noussut path.ytnd-kuvio-slice,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-noussut circle.ytnd-kuvio-legend-swatch
{ fill: #726aaf; stroke: #292160; }

svg.ytnd-kuvio g.ytnd-kuvio-series-insinoori-suunnittelu-tai-konsulttitoimisto rect.ytnd-kuvio-bar, 
svg.ytnd-kuvio g.ytnd-kuvio-point-insinoori-suunnittelu-tai-konsulttitoimisto path.ytnd-kuvio-slice,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-insinoori-suunnittelu-tai-konsulttitoimisto circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-series-keskijohto rect.ytnd-kuvio-bar, 
svg.ytnd-kuvio g.ytnd-kuvio-point-keskijohto path.ytnd-kuvio-slice,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-keskijohto circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-series-pysynyt-ennallaan rect.ytnd-kuvio-bar, 
svg.ytnd-kuvio g.ytnd-kuvio-point-pysynyt-ennallaan path.ytnd-kuvio-slice,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-pysynyt-ennallaan circle.ytnd-kuvio-legend-swatch
{ fill: #131f6b; stroke: #131f6b; }


svg.ytnd-kuvio g.ytnd-kuvio-series-tietotekniikan-palvelualan-yritys rect.ytnd-kuvio-bar, 
svg.ytnd-kuvio g.ytnd-kuvio-point-tietotekniikan-palvelualan-yritys path.ytnd-kuvio-slice,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-tietotekniikan-palvelualan-yritys circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-series-johto rect.ytnd-kuvio-bar, 
svg.ytnd-kuvio g.ytnd-kuvio-point-johto path.ytnd-kuvio-slice,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-johto circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-series-laskenut rect.ytnd-kuvio-bar, 
svg.ytnd-kuvio g.ytnd-kuvio-point-laskenut path.ytnd-kuvio-slice,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-laskenut circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-series-kylla rect.ytnd-kuvio-bar, 
svg.ytnd-kuvio g.ytnd-kuvio-point-kylla path.ytnd-kuvio-slice,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-kylla circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-series-sopiva rect.ytnd-kuvio-bar,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-sopiva circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-series-pitaa-taysin-paikkansa rect.ytnd-kuvio-bar,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-pitaa-taysin-paikkansa circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-series-paranivat rect.ytnd-kuvio-bar,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-paranivat circle.ytnd-kuvio-legend-swatch
{ fill: #92e5c9; stroke: #246854; }

svg.ytnd-kuvio g.ytnd-kuvio-series-muu-yksityinen-yritys rect.ytnd-kuvio-bar, 
svg.ytnd-kuvio g.ytnd-kuvio-point-muu-yksityinen-yritys path.ytnd-kuvio-slice,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-muu-yksityinen-yritys circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-series-ylin-johto rect.ytnd-kuvio-bar,
svg.ytnd-kuvio g.ytnd-kuvio-point-ylin-johto path.ytnd-kuvio-slice,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-ylin-johto circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-series-ei-toissa-lokakuussa-2021 rect.ytnd-kuvio-bar, 
svg.ytnd-kuvio g.ytnd-kuvio-point-ei-toissa-lokakuussa-2021 path.ytnd-kuvio-slice,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-ei-toissa-lokakuussa-2021 circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-series-liian-pieni rect.ytnd-kuvio-bar,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-liian-pieni circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-series-pitaa-jokseenkin-paikkansa rect.ytnd-kuvio-bar,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-pitaa-jokseenkin-paikkansa circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-series-pysyivat-ennallaan rect.ytnd-kuvio-bar,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-pysyivat-ennallaan circle.ytnd-kuvio-legend-swatch
{ fill: #0081c7; stroke: #002f6c; }

svg.ytnd-kuvio g.ytnd-kuvio-series-julkinen-sektori rect.ytnd-kuvio-bar, 
svg.ytnd-kuvio g.ytnd-kuvio-point-julkinen-sektori path.ytnd-kuvio-slice,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-julkinen-sektori circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-series-toimihenkilot rect.ytnd-kuvio-bar, 
svg.ytnd-kuvio g.ytnd-kuvio-point-toimihenkilot path.ytnd-kuvio-slice,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-toimihenkilot circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-series-laskenut rect.ytnd-kuvio-bar, 
svg.ytnd-kuvio g.ytnd-kuvio-point-laskenut path.ytnd-kuvio-slice,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-laskenut circle.ytnd-kuvio-legend-swatch
{ fill: #66b3dd; stroke: #005d8f; }

svg.ytnd-kuvio g.ytnd-kuvio-series-en-osaa-sanoa rect.ytnd-kuvio-bar, 
svg.ytnd-kuvio g.ytnd-kuvio-point-en-osaa-sanoa path.ytnd-kuvio-slice,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-en-osaa-sanoa circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-series-en-tieda rect.ytnd-kuvio-bar, 
svg.ytnd-kuvio g.ytnd-kuvio-point-jokin-muu rect.ytnd-kuvio-bar, 
svg.ytnd-kuvio g.ytnd-kuvio-point-muu-tilanne rect.ytnd-kuvio-bar, 
svg.ytnd-kuvio g.ytnd-kuvio-point-en-tieda rect.ytnd-kuvio-bar, 
svg.ytnd-kuvio g.ytnd-kuvio-point-en-tieda path.ytnd-kuvio-slice,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-en-tieda circle.ytnd-kuvio-legend-swatch
{ fill: #bfc2c7; stroke: #8f9297; }

svg.ytnd-kuvio g.ytnd-kuvio-series-ei rect.ytnd-kuvio-bar, 
svg.ytnd-kuvio g.ytnd-kuvio-point-ei path.ytnd-kuvio-slice,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-ei circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-series-en rect.ytnd-kuvio-bar, 
svg.ytnd-kuvio g.ytnd-kuvio-point-en path.ytnd-kuvio-slice,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-en circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-series-ajoittain-liian-suuri rect.ytnd-kuvio-bar,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-ajoittain-liian-suuri circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-point-ei-korvata-tai-katsotaan-sisaltyvan-peruspalkkaan rect.ytnd-kuvio-bar,
svg.ytnd-kuvio g.ytnd-kuvio-series-ei-pida-juurikaan-paikkaansa rect.ytnd-kuvio-bar,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-ei-pida-juurikaan-paikkaansa circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-series-heikkenivat rect.ytnd-kuvio-bar,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-heikkenivat circle.ytnd-kuvio-legend-swatch
{ fill: #ec6d69; stroke: #8b494a; }

svg.ytnd-kuvio g.ytnd-kuvio-series-jatkuvasti-liian-suuri rect.ytnd-kuvio-bar,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-jatkuvasti-liian-suuri circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-series-ei-pida-lainkaan-paikkaansa rect.ytnd-kuvio-bar,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-ei-pida-lainkaan-paikkaansa circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-series-ei-koske-minua rect.ytnd-kuvio-bar,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-ei-koske-minua circle.ytnd-kuvio-legend-swatch
{ fill: #000000; stroke: #000000; }

svg.ytnd-kuvio g.ytnd-kuvio-histogram g.ytnd-kuvio-baseline-vertical { display: none; }

section#ytnd-position-bar rect.ytnd-kuvio-bar { stroke: #cbf2e5; stroke-width: 3px; }
section#ytnd-position-bar text.ytnd-kuvio-bar-label { font-weight: 900; }
section#ytnd-position-bar g.ytnd-kuvio-data-label { transform: translate(0, -2px); }
section#ytnd-position-bar g.ytnd-kuvio-series-ylin-johto g.ytnd-kuvio-data-label { transform: translate(0, -4px); }
section#ytnd-position-bar g.ytnd-kuvio-series-johto g.ytnd-kuvio-data-label { transform: translate(0, 1px); }

section#ytnd-median-pay-bar g.ytnd-kuvio-headline text { fill: #ffffff; }
section#ytnd-median-pay-bar rect.ytnd-kuvio-bar { fill: #ffffff; stroke: none; }
section#ytnd-median-pay-bar text.ytnd-kuvio-bar-label { font-weight: 900; }

section#ytnd-gender-donut g.ytnd-kuvio-headline text { fill: #ffffff }
section#ytnd-gender-donut path.ytnd-kuvio-slice { stroke: none; }
section#ytnd-gender-donut g.ytnd-kuvio-point-mies path.ytnd-kuvio-slice { fill: #131f6b; }
section#ytnd-gender-donut g.ytnd-kuvio-point-nainen path.ytnd-kuvio-slice { fill: #cbf2e5; }
section#ytnd-gender-donut g.ytnd-kuvio-point-muu path.ytnd-kuvio-slice { fill: #ffffff; }

section#ytnd-gender-donut svg.ytnd-kuvio g.ytnd-kuvio-data-label text.ytnd-kuvio-radial-label tspan { fill: #ffffff }  
section#ytnd-gender-donut svg.ytnd-kuvio g.ytnd-kuvio-data-label text.ytnd-kuvio-radial-label tspan.ytnd-donut-label-value { font-size: 16pt; font-weight: normal; }
section#ytnd-gender-donut svg.ytnd-kuvio g.ytnd-kuvio-data-label-nainen text.ytnd-kuvio-radial-label { transform: translate(0, 23pt); }  
section#ytnd-gender-donut svg.ytnd-kuvio g.ytnd-kuvio-data-label-mies text.ytnd-kuvio-radial-label {  text-anchor: start; transform: translate(-60pt, 18pt); }  

div#ytnd-average-pay-bar svg.ytnd-kuvio g.ytnd-kuvio-headline text { font-size: 17pt; }
div#ytnd-average-pay-bar svg.ytnd-kuvio rect.ytnd-kuvio-bar { fill: #131f6b; stroke: none; }
div#ytnd-average-pay-bar svg.ytnd-kuvio text.ytnd-kuvio-bar-label { font-weight: 500; fill: #ffffff; letter-spacing: 0.04em; }
div#ytnd-average-pay-bar svg.ytnd-kuvio text.ytnd-kuvio-axis-label-text { text-anchor: start; transform: translate(0, -28px); }

svg#ytnd-gross-pay-distribution-chart g.ytnd-kuvio-series-f25 rect.ytnd-kuvio-bar { opacity: 0; }
svg#ytnd-gross-pay-distribution-chart g.ytnd-kuvio-series-median rect.ytnd-kuvio-bar { fill: #131f6b; stroke: #131f6b; }
svg#ytnd-gross-pay-distribution-chart g.ytnd-kuvio-series-f75 rect.ytnd-kuvio-bar { fill: #0081c7; stroke: #002f6c; }
svg#ytnd-gross-pay-distribution-chart g.ytnd-kuvio-data-label text.ytnd-kuvio-bar-label { font-size: 10.5pt; text-anchor: middle; transform: translate(5px, -24px); }
svg#ytnd-gross-pay-distribution-chart g.ytnd-kuvio-data-label.ytnd-kuvio-data-label-series-f25 text.ytnd-kuvio-bar-label { text-anchor: end; }
svg#ytnd-gross-pay-distribution-chart g.ytnd-kuvio-data-label.ytnd-kuvio-data-label-series-f75 text.ytnd-kuvio-bar-label { text-anchor: start; }

div#ytnd-travel-donut svg.ytnd-kuvio g.ytnd-kuvio-headline text { font-size: 17pt;}
div#ytnd-travel-donut svg.ytnd-kuvio g.ytnd-kuvio-data-label text.ytnd-kuvio-radial-label { transform: translate(0, 7px); }

section#ytnd-overtime-pay svg.ytnd-kuvio g.ytnd-kuvio-plot, section#ytnd-travel-pay svg.ytnd-kuvio g.ytnd-kuvio-plot { transform: translate(5pt, 0); }

section#ytnd-members-by-sector svg.ytnd-kuvio g.ytnd-kuvio-series rect.ytnd-kuvio-bar-last,
section#ytnd-performance-pay-bar svg.ytnd-kuvio g.ytnd-kuvio-series rect.ytnd-kuvio-bar-last,
section#ytnd-travel-days-bar svg.ytnd-kuvio g.ytnd-kuvio-series rect.ytnd-kuvio-bar-last
{ fill: #bfc2c7; stroke: #8f9297; }

div#ytnd-average-age-bar svg.ytnd-kuvio g.ytnd-kuvio-headline text { font-size: 17pt; }
div#ytnd-average-age-bar svg.ytnd-kuvio rect.ytnd-kuvio-bar { fill: #131f6b; stroke: none; }
div#ytnd-average-age-bar svg.ytnd-kuvio text.ytnd-kuvio-bar-label { font-weight: 500; fill: #ffffff; letter-spacing: 0.04em; }

div#ytnd-employment-type-donut svg.ytnd-kuvio g.ytnd-kuvio-headline text { font-size: 17pt; fill: #ffffff; }
div#ytnd-employment-type-donut svg.ytnd-kuvio path.ytnd-kuvio-slice { fill: #b85652 }
div#ytnd-employment-type-donut svg.ytnd-kuvio path.ytnd-kuvio-slice.ytnd-kuvio-slice-first { fill: #ffffff }  
div#ytnd-employment-type-donut svg.ytnd-kuvio text.ytnd-kuvio-radial-label-center { text-anchor: middle; font-size: 28pt; fill: #ffffff; transform: translate(0, 14px);  }

div#ytnd-region-donut svg.ytnd-kuvio g.ytnd-kuvio-headline text { font-size: 17pt; }
div#ytnd-region-donut svg.ytnd-kuvio g.ytnd-kuvio-point-paakaupunkiseutu path.ytnd-kuvio-slice { fill: #292160; stroke: #292160; }
div#ytnd-region-donut svg.ytnd-kuvio g.ytnd-kuvio-point-muu-suomi path.ytnd-kuvio-slice { fill: #66b3dd; stroke: #005d8f; }
div#ytnd-region-donut svg.ytnd-kuvio g.ytnd-kuvio-data-label-paakaupunkiseutu text.ytnd-kuvio-radial-label { transform: translate(-60pt, 8pt); }

div#ytnd-employer-size-bar svg.ytnd-kuvio g.ytnd-kuvio-headline text { font-size: 17pt; fill: #ffffff; }
div#ytnd-employer-size-bar svg.ytnd-kuvio rect.ytnd-kuvio-bar { fill: #cbf2e5; stroke: none; }
div#ytnd-employer-size-bar svg.ytnd-kuvio text.ytnd-kuvio-axis-label-text { fill: #ffffff; }

svg.ytnd-kuvio g.ytnd-kuvio-series line.ytnd-kuvio-segment { stroke-width: 4; }
svg.ytnd-kuvio g.ytnd-kuvio-series circle.ytnd-kuvio-dot,
section#ytnd-pay-rises-line svg.ytnd-kuvio circle.ytnd-kuvio-legend-swatch,
section#ytnd-job-security-line svg.ytnd-kuvio circle.ytnd-kuvio-legend-swatch
{ fill: #ffffff; stroke-width: 4; }

svg.ytnd-kuvio g.ytnd-kuvio-series-palkka-noussut line.ytnd-kuvio-segment,
svg.ytnd-kuvio g.ytnd-kuvio-series-palkka-noussut circle.ytnd-kuvio-dot,
svg.ytnd-kuvio g.ytnd-kuvio-series-oma-tilanne line.ytnd-kuvio-segment,
svg.ytnd-kuvio g.ytnd-kuvio-series-oma-tilanne circle.ytnd-kuvio-dot
{ stroke: #0081c7; }

svg.ytnd-kuvio g.ytnd-kuvio-series-yleiskorotus-tai-yrityskohtainen-korotus line.ytnd-kuvio-segment,
svg.ytnd-kuvio g.ytnd-kuvio-series-yleiskorotus-tai-yrityskohtainen-korotus circle.ytnd-kuvio-dot
{ stroke: #246854; }

svg.ytnd-kuvio g.ytnd-kuvio-series-meriitti line.ytnd-kuvio-segment,
svg.ytnd-kuvio g.ytnd-kuvio-series-meriitti circle.ytnd-kuvio-dot,
svg.ytnd-kuvio g.ytnd-kuvio-series-tyopaikan-tilanne line.ytnd-kuvio-segment,
svg.ytnd-kuvio g.ytnd-kuvio-series-tyopaikan-tilanne circle.ytnd-kuvio-dot
{ stroke: #131f6b; }

svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-palkka-noussut circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-oma-tilanne circle.ytnd-kuvio-legend-swatch
{ stroke: #0081c7; stroke-width: 4; fill: #ffffff; }

svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-yleiskorotus-tai-yrityskohtainen-korotus circle.ytnd-kuvio-legend-swatch
{ stroke: #246854; stroke-width: 4; fill: #ffffff; }

svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-meriitti circle.ytnd-kuvio-legend-swatch,
svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-tyopaikan-tilanne circle.ytnd-kuvio-legend-swatch
{ stroke: #131f6b; stroke-width: 4; fill: #ffffff; }

svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-siirtyminen-uuden-tyonantajan-palvelukseen circle.ytnd-kuvio-legend-swatch
{ fill: #ffffff; stroke-width: 4; stroke: #131f6b; }

svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-uusi-asema-tai-tehtava-sama-tyonantaja circle.ytnd-kuvio-legend-swatch
{ fill: #ffffff; stroke-width: 4; stroke: #005d8f; }

svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-meriitti circle.ytnd-kuvio-legend-swatch
{ fill: #ffffff; stroke-width: 4; stroke: #292160; }

section#ytnd-pay-rises-bar g.ytnd-kuvio-legend-entry circle.ytnd-kuvio-legend-swatch {
  stroke-width: 1;
}

svg.ytnd-kuvio g.ytnd-kuvio-series-meriitti rect.ytnd-kuvio-bar, 
svg.ytnd-kuvio g.ytnd-kuvio-point-meriitti path.ytnd-kuvio-slice,
section#ytnd-pay-rises-bar svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-meriitti circle.ytnd-kuvio-legend-swatch
{ fill: #726aaf; stroke: #292160; }

svg.ytnd-kuvio g.ytnd-kuvio-series-siirtyminen-uuden-tyonantajan-palvelukseen rect.ytnd-kuvio-bar, 
svg.ytnd-kuvio g.ytnd-kuvio-point-siirtyminen-uuden-tyonantajan-palvelukseen path.ytnd-kuvio-slice,
section#ytnd-pay-rises-bar svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-siirtyminen-uuden-tyonantajan-palvelukseen circle.ytnd-kuvio-legend-swatch
{ fill: #131f6b; stroke: #131f6b; }

svg.ytnd-kuvio g.ytnd-kuvio-series-uusi-asema-tai-tehtava-sama-tyonantaja rect.ytnd-kuvio-bar, 
svg.ytnd-kuvio g.ytnd-kuvio-point-uusi-asema-tai-tehtava-sama-tyonantaja path.ytnd-kuvio-slice,
section#ytnd-pay-rises-bar svg.ytnd-kuvio g.ytnd-kuvio-legend-entry-uusi-asema-tai-tehtava-sama-tyonantaja circle.ytnd-kuvio-legend-swatch
{ fill: #66b3dd; stroke: #005d8f; }

svg.ytnd-kuvio g.ytnd-kuvio-series rect.ytnd-kuvio-bar.ytnd-kuvio-hover, 
svg.ytnd-kuvio g.ytnd-kuvio-mark path.ytnd-kuvio-slice.ytnd-kuvio-hover
{ fill: #ec6d69; }  

svg.ytnd-kuvio g.ytnd-kuvio-histogram rect.ytnd-kuvio-bar.ytnd-kuvio-hover
{ fill: #ec6d69; stroke: #ffffff; }

section.ytnd-intro-chart svg.ytnd-kuvio g.ytnd-kuvio-series rect.ytnd-kuvio-bar.ytnd-kuvio-hover, 
section.ytnd-intro-chart svg.ytnd-kuvio g.ytnd-kuvio-mark path.ytnd-kuvio-slice.ytnd-kuvio-hover
{ fill: #000000 !important; }

section#ytnd-position-by-age svg.ytnd-kuvio g.ytnd-kuvio-legend { transform: matrix(1, 0, 0, 1, -80, -50) !important; }
section#ytnd-pay-rises-line svg.ytnd-kuvio g.ytnd-kuvio-legend { transform: matrix(1, 0, 0, 1, -52, -50) !important; }
section#ytnd-pay-rises-bar svg.ytnd-kuvio g.ytnd-kuvio-legend { transform: matrix(1, 0, 0, 1, -77, -40) !important; }
section#ytnd-job-security-line svg.ytnd-kuvio g.ytnd-kuvio-legend { transform: matrix(1, 0, 0, 1, -52, -40) !important; }
section#ytnd-performance-pay-by-employer-size svg.ytnd-kuvio g.ytnd-kuvio-legend { transform: matrix(1, 0, 0, 1, -102, -33) !important; }
section#ytnd-familial-leave svg.ytnd-kuvio g.ytnd-kuvio-legend { transform: matrix(1, 0, 0, 1, -102, -43) !important; }
section#ytnd-familial-leave-terms svg.ytnd-kuvio g.ytnd-kuvio-legend { transform: matrix(1, 0, 0, 1, 0, -43) !important; }

section#ytnd-pay-rises-bar svg.ytnd-kuvio g.ytnd-kuvio-axis-title-vertical > text, 
section#ytnd-pay-by-age-bar svg.ytnd-kuvio g.ytnd-kuvio-axis-title-vertical > text 
{ transform: translate(0, -13pt); }

section#ytnd-performance-pay-by-employer-size svg.ytnd-kuvio g.ytnd-kuvio-axis-title-vertical > text { transform: translate(3px, -11pt); } 
section#ytnd-workload-by-industry svg.ytnd-kuvio g.ytnd-kuvio-axis-title-vertical > text { transform: translate(0, -73pt); }
section#ytnd-overtime-pay svg.ytnd-kuvio g.ytnd-kuvio-axis-title-vertical > text, section#ytnd-travel-pay svg.ytnd-kuvio g.ytnd-kuvio-axis-title-vertical > text  { transform: translate(-5px, -18pt); } 
section#ytnd-paid-familial-leave svg.ytnd-kuvio g.ytnd-kuvio-axis-title-vertical > text { transform: translate(0, -36pt); }

section#ytnd-pay-by-position-bar svg.ytnd-kuvio g.ytnd-kuvio-axis-label-vertical.ytnd-kuvio-axis-label-value-last text.ytnd-kuvio-axis-label-value,
section#ytnd-pay-rises-bar svg.ytnd-kuvio g.ytnd-kuvio-axis-label-vertical.ytnd-kuvio-axis-label-value-last text.ytnd-kuvio-axis-label-value, 
section#ytnd-position-by-age svg.ytnd-kuvio g.ytnd-kuvio-axis-label-vertical.ytnd-kuvio-axis-label-value-last text.ytnd-kuvio-axis-label-value,
section#ytnd-performance-pay-bar svg.ytnd-kuvio g.ytnd-kuvio-axis-label-vertical.ytnd-kuvio-axis-label-value-last text.ytnd-kuvio-axis-label-value
{ transform: translate(7px, 24px); }

/* Responsive styles */
@media screen and (max-width: 1090px) {
  div#ytnd-employment-type-donut svg.ytnd-kuvio g.ytnd-kuvio-subheadline text { font-size: 14pt; }
  section#ytnd-performance-pay-by-employer-size svg.ytnd-kuvio g.ytnd-kuvio-subheadline { display: none; }
  section#ytnd-workload-by-industry svg.ytnd-kuvio g.ytnd-kuvio-legend { transform: matrix(1, 0, 0, 1, -230, -50) !important; }
  section#ytnd-workload-by-industry svg.ytnd-kuvio g.ytnd-kuvio-axis-title-vertical > text { transform: translate(0, -15pt); }   
}

@media screen and (max-width: 1010px) and (min-width: 768px) {
  section.ytnd-intro-chart.ytnd-intro-chart-narrow svg.ytnd-kuvio { min-height: calc(100vh - 200px); }
  section#ytnd-position-bar svg.ytnd-kuvio { transform: translate(-45px, 0); }
  section#ytnd-position-bar svg.ytnd-kuvio g.ytnd-kuvio-headline text,
  section#ytnd-position-bar svg.ytnd-kuvio g.ytnd-kuvio-subheadline text { transform: translate(45px, 18px);  }
  section#ytnd-position-bar svg.ytnd-kuvio rect.ytnd-kuvio-bar { transform: scale(0.66, 1) translate(60px, 0); }
}

@media screen and (max-width: 1010px) and (min-width: 876px) {
  svg.ytnd-kuvio g.ytnd-kuvio-headline text { font-size: 17pt; }
  svg.ytnd-kuvio g.ytnd-kuvio-subheadline text { font-size: 14pt; }
}

@media screen and (max-width: 955px) {
  svg.ytnd-kuvio g.ytnd-kuvio-legend text { font-size: 11pt; }
}

@media screen and (max-width: 900px) {
  div#ytnd-employment-type-donut svg.ytnd-kuvio text.ytnd-kuvio-radial-label-center { font-size: 21pt; }
}

@media screen and (max-width: 900px) and (min-width: 768px) {
  section.ytnd-intro-chart.ytnd-intro-chart-narrow svg.ytnd-kuvio { padding-top: 0; min-height: calc(100vh - 180px); }
  section#ytnd-position-bar svg.ytnd-kuvio g.ytnd-kuvio-headline text,
  section#ytnd-position-bar svg.ytnd-kuvio g.ytnd-kuvio-subheadline text { transform: translate(75px, 18px);  }
  section#ytnd-position-bar svg.ytnd-kuvio rect.ytnd-kuvio-bar { transform: scale(0.55, 1) translate(120px, 0); }
}

@media screen and (max-width: 805px) {
  section#ytnd-gender-donut svg.ytnd-kuvio g.ytnd-kuvio-subheadline { display: none; }
}

@media screen and (max-width: 800px) and (min-width: 768px) {
  section#ytnd-position-bar svg.ytnd-kuvio rect.ytnd-kuvio-bar { transform: scale(0.5, 1) translate(120px, 0); }
}

@media screen and (max-width: 767px) and (min-width: 631px) {
  section#ytnd-position-bar svg.ytnd-kuvio g.ytnd-kuvio-headline text  { transform: translate(60px, 20px); }
  section#ytnd-position-bar svg.ytnd-kuvio g.ytnd-kuvio-subheadline text { transform: translate(60px, 15px); }
  section#ytnd-position-bar svg.ytnd-kuvio rect.ytnd-kuvio-bar { transform: scale(0.45, 1) translate(160px, 0); }
  div#ytnd-average-pay-bar svg.ytnd-kuvio g.ytnd-kuvio-glyphs { transform: translate(0, 35px); }
  div#ytnd-average-pay-bar svg.ytnd-kuvio text.ytnd-kuvio-axis-label-text { transform: translate(0, 7px); }
}

@media screen and (max-width: 685px) and (min-width: 631px) {
 div.ytnd-intro-chart-wrapper svg.ytnd-kuvio g.ytnd-kuvio-data-label text, div.ytnd-intro-chart-wrapper svg.ytnd-kuvio text.ytnd-kuvio-axis-label-value, div.ytnd-intro-chart-wrapper svg.ytnd-kuvio text.ytnd-kuvio-radial-label tspan.ytnd-donut-label-description { font-size: 10pt; }
}

@media screen and (max-width: 630px) {
  section.ytnd-vertical-wrapper svg.ytnd-kuvio { max-width: 100%; padding-right: 30px; }
}

@media screen and (max-width: 630px) and (min-width: 546px) {
  section#ytnd-position-bar svg.ytnd-kuvio g.ytnd-kuvio-headline text  { transform: translate(170px, 20px); }
  section#ytnd-position-bar svg.ytnd-kuvio g.ytnd-kuvio-subheadline text { transform: translate(170px, 15px); }
  section#ytnd-position-bar svg.ytnd-kuvio rect.ytnd-kuvio-bar { transform: scale(0.33, 1) translate(600px, 0); }
}

@media screen and (max-width: 590px) {
  div:not(.ytnd-intro-chart-wrapper) svg.ytnd-kuvio g.ytnd-kuvio-data-label text, div:not(.ytnd-intro-chart-wrapper) svg.ytnd-kuvio text.ytnd-kuvio-axis-label-value, div:not(.ytnd-intro-chart-wrapper) svg.ytnd-kuvio text.ytnd-kuvio-radial-label tspan.ytnd-donut-label-description { font-size: 10pt; }
  svg.ytnd-kuvio g.ytnd-kuvio-subheadline text { font-size: 14pt; }
  section:not(.ytnd-intro-chart, #ytnd-pay-histogram) svg.ytnd-kuvio g.ytnd-kuvio-subheadline text { display: none; }
}

@media screen and (max-width: 575px) {
  section#ytnd-position-by-age svg.ytnd-kuvio g.ytnd-kuvio-legend { transform: matrix(1, 0, 0, 1, -80, -30) !important; }
  section#ytnd-position-by-age svg.ytnd-kuvio g.ytnd-kuvio-axis-title-vertical > text { transform: translate(0, -10pt); }
}

@media screen and (max-width: 545px) and (min-width: 426px) {
  section#ytnd-position-bar svg.ytnd-kuvio rect.ytnd-kuvio-bar { transform: scale(0.5, 1) translate(110px, 0); }
}

@media screen and (max-width: 490px) {
  svg#ytnd-gross-pay-distribution-chart g.ytnd-kuvio-data-label text.ytnd-kuvio-bar-label { font-size: 8pt; }
}

@media screen and (max-width: 450px) {
  section#ytnd-pay-rises-line svg.ytnd-kuvio g.ytnd-kuvio-legend { transform: matrix(1, 0, 0, 1, -51, -25) !important; }
}

@media screen and (max-width: 430px) and (min-height: 550px) {
  svg.ytnd-kuvio, section.ytnd-intro-chart.ytnd-intro-chart-narrow svg.ytnd-kuvio { min-height: calc(100vh - 175px); max-height: calc(100vh - 175px); }
}

@media screen and (max-width: 425px) {
  svg.ytnd-kuvio g.ytnd-kuvio-headline text { font-size: 17pt; }
  section#ytnd-position-bar svg.ytnd-kuvio rect.ytnd-kuvio-bar { transform: scale(0.75, 1) translate(0, 0); }
}

@media screen and (max-width: 395px) {
  svg.ytnd-kuvio g.ytnd-kuvio-legend text { font-size: 9pt; }
}

@media screen and (max-height: 585px) {
  section.ytnd-intro-chart svg.ytnd-kuvio { min-height: calc(100vh - 175px); max-height: calc(100vh - 175px); } 
}

@media screen and (max-height: 550px) {
  svg.ytnd-kuvio, section.ytnd-intro-chart.ytnd-intro-chart-narrow svg.ytnd-kuvio, section.ytnd-intro-chart svg.ytnd-kuvio { min-height: 375px; max-height: 375px; }
}

