/* normalize.css v3.0.0 | MIT License | git.io/normalize */
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}
audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
[hidden],
template {
  display: none;
}
a {
  background: transparent;
}
a:active,
a:hover {
  outline: 0;
}
abbr[title] {
  border-bottom: 1px dotted;
}
b,
strong {
  font-weight: bold;
}
dfn {
  font-style: italic;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
mark {
  background: #ff0;
  color: #000;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
img {
  border: 0;
}
svg:not(:root) {
  overflow: hidden;
}
figure {
  margin: 1em 40px;
}
hr {
  box-sizing: content-box;
  height: 0;
}
pre {
  overflow: auto;
}
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}
button {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
button[disabled],
html input[disabled] {
  cursor: default;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input {
  line-height: normal;
}
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
input[type="search"] {
  -webkit-appearance: textfield;
  box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
legend {
  border: 0;
  padding: 0;
}
textarea {
  overflow: auto;
}
optgroup {
  font-weight: bold;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td,
th {
  padding: 0;
}
html,
body {
  min-width: 270px;
  font-family: $ed-font-body;
  color: $ed-body-black;
  background-color: $ed-background-gray;
}
h1 {
  color: $ed-header-black;
}
h2,
h3,
p {
  color: $ed-body-black;
}
p {
  position: relative;
  margin: 0 0 0 0;
  padding: 0 0 30px 0;
}
p:last-child {
  padding: 0 0 0 0;
}
p a {
  color: $ed-body-link-color;
  text-decoration: none;
}
p a:hover {
  text-decoration: underline;
}
#interactive-wrap {
  margin: 0 auto;
}
.clearfix {
  clear: both;
}
#interactive-content {
  width: 1px;
  min-width: 100%;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}
#interactive-content .copy-wrap {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}
#interactive-content .copy-wrap .copy {
  max-width: 620px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
body.qz {
  background-color: #f9f9f9;
}
body.work {
  background-color: $work-background-gray;
}
body.quartzy {
  background-color: $quartzy-background-gray;
}
/*
// For qz.com //
*/
@font-face {
  font-family: "MaisonNeue-Medium";
  src: url("/fonts/MaisonNeue/MaisonNeue-Medium.woff2") format('woff2');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "MaisonNeue-ExtraBold";
  src: url("https://qz.com/public/fonts/MaisonNeue/MaisonNeue-ExtraBold.woff2") format('woff2'), url("/fonts/MaisonNeue/MaisonNeue-ExtraBold.woff2") format('woff2');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "MaisonNeueExtended-Bold";
  src: url("https://qz.com/public/fonts/MaisonNeue/MaisonNeueExtended-Bold.woff2") format('woff2'), url("/fonts/data.qz.com/MaisonNeue/MaisonNeueExtended-Bold.woff2") format('woff2');
  font-weight: normal;
  font-style: normal;
}
body {
  font-size: 20px;
  -webkit-font-smoothing: antialiased;
}
@media only screen and (max-width: 620px) {
  body {
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
  }
}
h1 {
  font-family: 'MaisonNeueExtended-Bold', Helvetica, Arial, sans-serif;
  font-size: 70px;
  line-height: 1.05;
}
@media screen and (max-width: 767px) {
  h1 {
    font-size: 26px;
  }
}
@media screen and (max-width: 1023px) and (min-width: 768px) {
  h1 {
    font-size: 50px;
  }
}
h2 {
  font-family: "PT Serif", Georgia, serif;
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.17em;
  font-family: "PT Serif", Georgia, serif;
  font-weight: bold;
}
p {
  font-family: "PT Serif", Georgia, serif;
  font-size: 1em;
  line-height: 1.6;
}
/* */
/*
// For At Work //
*/
/* */
/*
// For Quartzy //
*/
/* */
#interactive-content {
  font-family: 'MaisonNeue-Medium', 'Helvetica Neue', 'HelveticaNeue', Helvetica, Arial, sans-serif;
}
#interactive-content .footnote {
  font-size: 12px;
  color: #c4c4c4;
  padding-bottom: 20px;
  margin-bottom: 10px;
}
#interactive-content .footnote a {
  text-decoration: none;
  color: #ab5787;
}
#interactive-content p {
  padding-bottom: 5px;
}
#interactive-content p.annotate {
  height: 70px;
  padding-bottom: 1em;
}
@media screen and (max-width: 520px) {
  #interactive-content p.annotate {
    height: 90px;
  }
}
@media screen and (max-width: 380px) {
  #interactive-content p.annotate {
    font-size: 15px;
    height: 75px;
  }
}
#interactive-content p.annotate span {
  display: none;
  padding: 10px;
}
#interactive-content p.annotate span.visible {
  display: block;
}
#interactive-content p.annotate span.visible span {
  display: inline;
  padding: 0;
  font-family: "PT Serif", Georgia, serif;
  font-weight: 900;
}
#interactive-content p.annotate span.visible span.cand {
  font-family: 'MaisonNeueExtended-Bold', Helvetica, Arial, sans-serif;
}
#interactive-content p.annotate span.all {
  background: rgba(196,196,196,0.2);
}
#interactive-content p.annotate span.d18 {
  background: rgba(22,141,217,0.2);
}
#interactive-content p.annotate span.d30 {
  background: rgba(135,208,192,0.2);
}
#interactive-content p.annotate span.d45 {
  background: rgba(209,144,182,0.2);
}
#interactive-content #time-legend {
  font-size: 15px;
  margin: -15px 0 20px 0;
  color: qz-body-black;
  font-family: 'MaisonNeue-Medium', 'Helvetica Neue', 'HelveticaNeue', Helvetica, Arial, sans-serif;
}
@media screen and (max-width: 500px) {
  #interactive-content #time-legend {
    margin: 0 0 20px 0;
  }
}
@media screen and (max-width: 450px) {
  #interactive-content #time-legend {
    margin: -10px 0 20px 0;
  }
}
@media screen and (max-width: 360px) {
  #interactive-content #time-legend {
    font-size: 12px;
  }
}
#interactive-content #time-legend span {
  display: inline-block;
  margin: 0;
  padding: 0;
}
#interactive-content #time-legend span.moe {
  display: none;
}
#interactive-content #time-legend span.moe.visible {
  display: inline-block;
}
#interactive-content #time-legend span.moe .moe-bar {
  width: 30px;
  height: 8px;
  border-radius: 2px;
  margin: 0 4px;
  background: rgba(150,150,150,0.7);
}
#interactive-content #time-legend ul {
  display: inline-block;
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0 4px 0 4px;
}
#interactive-content #time-legend ul li {
  display: inline-block;
  position: relative;
  width: 7px;
  width: 1.3vw;
  height: 7px;
  background-color: #f9f9f9;
  margin-right: 0;
  float: left;
  box-sizing: border-box;
}
#interactive-content #time-legend ul li .bar-container.all {
  background-color: #444;
  opacity: 0.7;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  filter: alpha(opacity=70);
}
#interactive-content #time-legend ul li .bar-container.all.fade {
  background-color: transparent;
  border: 1px solid rgba(68,68,68,0.5);
}
#interactive-content #time-legend ul li .bar-container.d18 {
  background-color: #168dd9;
  opacity: 0.7;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  filter: alpha(opacity=70);
}
#interactive-content #time-legend ul li .bar-container.d18.fade {
  background-color: transparent;
  border: 1px solid rgba(22,141,217,0.7);
}
#interactive-content #time-legend ul li .bar-container.d30 {
  background-color: #1a9b8c;
  opacity: 0.7;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  filter: alpha(opacity=70);
}
#interactive-content #time-legend ul li .bar-container.d30.fade {
  background-color: transparent;
  border: 1px solid rgba(26,155,140,0.7);
}
#interactive-content #time-legend ul li .bar-container.d45 {
  background-color: #d365ba;
  opacity: 0.7;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  filter: alpha(opacity=70);
}
#interactive-content #time-legend ul li .bar-container.d45.fade {
  background-color: transparent;
  border: 1px solid rgba(211,101,186,0.7);
}
#interactive-content #time-legend ul li .bar-container {
  border: 1px solid #f9f9f9;
  position: absolute;
  display: block;
  left: 0;
  width: 4px;
  height: 4px;
  top: 0;
  background: #000;
}
#interactive-content ul#legend {
  font-family: 'MaisonNeue-Medium', 'Helvetica Neue', 'HelveticaNeue', Helvetica, Arial, sans-serif;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 5px;
}
@media screen and (max-width: 450px) {
  #interactive-content ul#legend {
    font-size: 16px;
  }
}
#interactive-content ul#legend li {
  padding: 10px 10px;
  margin: 0;
  display: inline-block;
  box-sizing: border-box;
  border: 2px solid transparent;
  cursor: pointer;
  pointer-events: all;
}
#interactive-content ul#legend li:active,
#interactive-content ul#legend li:hover {
  background: rgba(196,196,196,0.3);
  box-sizing: border-box;
}
#interactive-content ul#legend li span {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 1px;
  background-color: #f9f9f9;
  margin-right: 4px;
  margin-bottom: -1px;
}
#interactive-content ul#legend li.all span {
  border: 1px solid #000;
  box-sizing: border-box;
}
#interactive-content ul#legend li.d18 {
  color: #168dd9;
}
#interactive-content ul#legend li.d18 span {
  background-color: #168dd9;
}
#interactive-content ul#legend li.d30 {
  color: #1a9b8c;
}
#interactive-content ul#legend li.d30 span {
  background-color: #1a9b8c;
}
#interactive-content ul#legend li.d45 {
  color: #d365ba;
}
#interactive-content ul#legend li.d45 span {
  background-color: #d365ba;
}
#interactive-content ul#legend li.selected {
  background: rgba(196,196,196,0.2);
  box-sizing: border-box;
  border: 2px solid #666;
}
#interactive-content #graphic {
  font-family: 'MaisonNeue-Medium', 'Helvetica Neue', 'HelveticaNeue', Helvetica, Arial, sans-serif;
}
#interactive-content #graphic svg line.gridline {
  stroke: rgba(196,196,196,0.8);
}
#interactive-content #graphic svg text.gridlabel {
  text-anchor: middle;
  fill: #969696;
}
@media screen and (max-width: 450px) {
  #interactive-content #graphic svg text.gridlabel {
    font-size: 14px;
  }
}
#interactive-content #graphic svg text.gridlabel.main {
  fill: #969696;
}
#interactive-content #graphic svg .candidate .all text,
#interactive-content #graphic svg .candidate .age-group text {
  display: none;
  text-anchor: middle;
  font-size: 14px;
  font-family: 'MaisonNeueExtended-Bold', Helvetica, Arial, sans-serif;
}
@media screen and (max-width: 450px) {
  #interactive-content #graphic svg .candidate .all text,
  #interactive-content #graphic svg .candidate .age-group text {
    font-size: 13px;
  }
}
#interactive-content #graphic svg .candidate .d18 text {
  fill: #168dd9;
}
#interactive-content #graphic svg .candidate .d45 text {
  fill: #ab5787;
}
#interactive-content #graphic svg .candidate .d30 text {
  fill: #006c6c;
}
#interactive-content #graphic svg .candidate .selected.latest text,
#interactive-content #graphic svg .candidate .selected .latest text {
  display: block;
}
#interactive-content #graphic svg .candidate text.visible {
  display: block;
}
#interactive-content #graphic svg .candidate text {
  font-family: 'MaisonNeue-Medium', 'Helvetica Neue', 'HelveticaNeue', Helvetica, Arial, sans-serif;
}
@media screen and (max-width: 450px) {
  #interactive-content #graphic svg .candidate text {
    font-size: 16px;
  }
}
#interactive-content #graphic svg .candidate .all {
  pointer-events: all;
  cursor: crosshair;
}
#interactive-content #graphic svg .candidate .all rect {
  fill: #444;
  stroke: #444;
  stroke-width: 0.2%;
  fill-opacity: 0.75;
  stroke-opacity: 0.6;
}
#interactive-content #graphic svg .candidate .all rect.moe {
  pointer-events: none;
  display: none;
  fill: #969696;
  stroke-width: 0;
  mix-blend-mode: multiply;
}
#interactive-content #graphic svg .candidate .all rect.moe.visible {
  display: block;
}
#interactive-content #graphic svg .candidate .all.fade rect.bar {
  fill-opacity: 0;
  stroke-opacity: 0.4;
}
#interactive-content #graphic svg .candidate .age-group {
  pointer-events: all;
  cursor: crosshair;
}
#interactive-content #graphic svg .candidate .age-group rect {
  fill-opacity: 0.75;
  stroke-opacity: 0.6;
  stroke-width: 0.2%;
}
#interactive-content #graphic svg .candidate .age-group .fade rect.bar {
  fill-opacity: 0;
  stroke-opacity: 0.5;
}
#interactive-content #graphic svg .candidate .age-group.d18 rect {
  fill: #168dd9;
  stroke: #168dd9;
}
#interactive-content #graphic svg .candidate .age-group.d30 rect {
  stroke: #1a9b8c;
  fill: #1a9b8c;
}
#interactive-content #graphic svg .candidate .age-group.d45 rect {
  fill: #d365ba;
  stroke: #d365ba;
}
#interactive-content #graphic svg .candidate .age-group rect.moe {
  pointer-events: none;
  display: none;
  fill: #969696;
  stroke-width: 0;
  mix-blend-mode: multiply;
}
#interactive-content #graphic svg .candidate .age-group rect.moe.visible {
  display: block;
}
