body {
  background-color: #fff;
  color: #2a2a2a;
  font-size: 16px;
}

p {
  font-size: 1rem;
  line-height: 1.8;
  color: black;
}
a {
  text-decoration: none;
  border-bottom: 1px solid #EC7E6B;
  color: black;
}
a:visited,
a:hover {
  color: #2a2a2a;
}

.jackson {
  color: #0C4B4A;
}

.reception {
  color: #f47862;
  /*color: #fbe4df;*/
}

blockquote {
  padding: 0 1rem;
}

blockquote p {
  margin: 0;
}
.story__text .exchange {
  /*background-color: #EC7E6B;*/
  /*border-radius: 3px;*/
  margin-top: 3rem;
  margin-bottom: 3rem;
}
.story__text .exchange p {
  text-align: center;
  margin: 0;
  margin-bottom: 0.25rem;
}
.intro {
  margin: 5rem auto;
  margin-bottom: 3rem;
}
.intro__hed {
  max-width: 55rem;
  margin: 0 auto;
  font-size: 4rem;
  margin-bottom: 2rem;
  text-align: center;
  margin-top: 9rem;
  line-height: 1;
}
.intro__byline {
  font-size: 0.85rem;
  text-align: center;
  margin-bottom: 1rem;
}
.intro__dek {
  font-size: 1.2rem;
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 4rem;
}
/* STORY */
main {
  padding: 0 0.75rem;
}

.subhed {
  margin-top: 5rem;
  font-weight: bold;
  margin: 0 auto;
  padding: 1rem;
  font-size: 1.3rem;
  font-family: 'Atlas Grotesk Web';
  font-weight: 500;
  max-width: 40rem;
  color: rgba(0,0,0,.9);
  padding: 0px;
  margin-top: 5rem;
}

.story__text {
  max-width: 40rem;
  margin: 2rem auto;
}

.story__text p {
  margin-bottom: 1.5rem;
}

.btn {
  padding: 0.5rem 1rem;
  line-height: 1;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: #ddd;
  border: 2px solid #aaa;
  opacity: 0.75;
  font-size: .75rem;
  color: black;
  background-color: white;
  border: 1px solid rgba(127, 125, 156, 0.54);
  cursor: pointer;
}

.btn.is-active {
  background-color: #888;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 4px inset;
  background-color: #ddd;
  cursor: pointer;
}

.chart {
  max-width: 60rem;
  margin: 0 auto;
  position: relative;
  margin-bottom: 0rem;
}

.chart path {
  shape-rendering: crispEdges;
}

.chart text {
  fill: #040404;
  font-family: 'Atlas Grotesk Web', Arial, sans-serif;
}

.chart__hed {
  font-weight: bold;
  text-align: center;
  margin-top: 6rem;
  margin-bottom: 1rem;
  padding: 1rem;
  margin: 0;
  font-size: 1.8rem;
  font-weight: 100;
  max-width: 100%;
  font-family: 'Canela Web';
  margin-top: 4rem;
}

/* SMULT */
.chart__smult {margin-top: 2rem;}

.bar--women {
  fill: #0C4B4A;
}

.bar--men {
  fill: #EC7E6B;
}

.genre__title {
  font-size: 12px;
  font-weight: bold;
}

.decade text {
  font-size: 12px;
  fill: #888;
}

.decade .decade__percent {
  visibility: hidden;
  font-size: 10px;
}

.decade .decade__percent--men {
  /*fill: #EC7E6B;*/
  fill: #f47862;
}

.decade .decade__percent--women {
  fill: #0C4B4A;
}

.decade__percent.is-visible {
  visibility: visible;
}

.chart__key {
  height: 100%;
  overflow: hidden;
}
.chart__key li {
  width: 50%;
  float: left;
  padding: 0 20px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chart__key .key--men {
  text-align: right;
  color: #EC7E6B;
}

.chart__key .key--women {
  color: #0C4B4A;
}

/* GENDER */
.chart__gender {margin-bottom: 0rem;}

.chart .tooltip {
  position: absolute;
  pointer-events: none;
  background-color: rgba(255,255,255,0.9);
  border-radius: 3px;
  border: 1px solid #ddd;
  color: #333;
  padding: 0.25rem 0.5rem;
  visibility: hidden;
}

.chart .tooltip p {
  font-size: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  margin: 0;
  margin-bottom: 0.25rem;
  line-height: 1.25;
  border-bottom: 1px dotted #ccc;
}
.chart__gender .tooltip p {
  width: 6rem;
}

.chart__genre .tooltip p {
  width: 9rem;
  padding: 0 0.25rem;
}

.chart__genre .tooltip .selected {
  color: #fff;
  font-weight: bold;
}

.chart p.tooltip--year {
  border-bottom: none;
  margin-bottom: 0.25rem;
  font-weight: bold;
}

.tooltip span {
  font-weight: bold;
}

.chart__gender .tooltip--male span {
  color: #EC7E6B;
}

.chart__gender .tooltip--female span {
  color: #0C4B4A;
}


.chart__gender .fifty-percent-line {
  fill: none;
  stroke: #fff;
  stroke-opacity: 0.6;
  stroke-width: 1px;
  stroke-dasharray: 4px 4px;
}

.chart__gender .fifty-percent-label {
  fill: #fff;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.vertical {
  fill: #ddd;
  fill-opacity: 0.5;
  pointer-events: none;
  visibility: hidden;
}

.chart__gender text {
  font-size: 12px;
}

.chart__gender text.area__label {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.chart__gender .axis path {
  display: none;
}

.chart .axis--x line {
  stroke-opacity: 0.2;
}

.chart__mfa .label {
  font-weight: bold;
  text-transform: uppercase;
}

.chart__mfa .title {
  font-size: 12px;
  font-weight: bold;
}

.chart__mfa .axis path {
    display: none;
}

.chart__mfa rect {
  fill-opacity: .8;
}


.chart__mfa text {
  font-size: .7rem;
  font-weight: 500;
}

.chart__mfa .axis--y line {
    stroke-dasharray: 4px 4px;
    stroke-opacity: 0.2;
    shape-rendering: crispEdges;
}

.chart__mfa .axis--y .tick:nth-child(2) {
  display: none;
}

.chart__gender .axis--y line {
    stroke-dasharray: 4px 4px;
    stroke-opacity: 0.2;
}

.chart .axis--y .tick:nth-child(2) {
  display: none;
}

.chart__gender .axis text {
    font-size: .7rem;
    font-weight: 500;
}

.chart__gender .interaction {
  fill-opacity: 0;
}






/* GENRE */
.chart__genre {

}

.chart__genre text {
  font-size: 12px;
}

.chart__genre .axis path {
  display:  none;
}

.chart__genre .axis text {
    font-size: .7rem;
    font-weight: 500;
}

.chart__genre .area {
  stroke: none;
  -webkit-transition: fill-opacity 200ms;
  transition: fill-opacity 200ms;
}

.chart__genre .area.is-inactive {
  stroke: none;
  fill-opacity: 0.85;
}

.chart__genre .area.is-active {
  stroke: none;
  fill-opacity: 1;
}

.chart__genre .line-nineties {
  fill: none;
  stroke: #fff;
  stroke-opacity: 0.6;
  stroke-width: 1px;
  stroke-dasharray: 4px 4px;
  pointer-events: none;
}

.legend-container.is-hidden {
  display: none;
}

.legend-container text {
  padding: 1rem;
  font-size: 11px;
}

.toggle {
  margin: 1rem auto;
  text-align: center;
  margin-top: 0px;
}

.toggle li {
  display: inline-block;
}

.chart__tables .btn {
  width: auto;
  padding: 0.5rem 0.25rem;
}

.chart__tables .toggle li {
  /* margin: 0.1rem; */
}

.chart__genre .mobile-legend {
  display: block;
  height: 100%;
  overflow: hidden;
  margin-bottom: 1rem;
}

.chart__genre .mobile-legend li {
  float: left;
  padding: 0.25rem;
  line-height: 1;
  margin-right: 0.2rem;
  margin-bottom: 0.2rem;
  font-size: 11px;
  border-radius: 3px;
}


.notice li {
  list-style-type: circle;
  margin-left: 1rem;
  font-size: .9rem;
  margin-bottom: 1rem;
  font-family: 'Atlas Grotesk Web';
  font-weight: 400;
  color: black;
}

p.no-margin {
  margin-bottom: 0;
}


/* TABLES */
.chart__tables {
  max-width: 40rem;
  margin: 0 auto;
}

.tables__container {
  min-height: 360px;
  margin-top: 3rem;
}

.chart__tables table {
  width: 100%;
  margin: 1rem auto;
  border-collapse: collapse;
  border-spacing: 0;
  display: none;
}

.chart__tables caption {
  margin-bottom: 0.5rem;
  /*text-align:  center;*/
  width: 100%;
  display: none;
}

.chart__tables table.is-active {
  display: table;
}

.chart__tables thead {
  border-bottom: 2px solid #ddd;
  font-size: 10px;
}

.chart__tables tbody {
  font-size: 12px;
}

.chart__tables tr {
  border-bottom: 1px solid #ddd;
  color: #222;
}
.chart__tables tr.highlight {
  background-color: #dcf1f0 !important;
}
.chart__tables zebra tr:nth-child(even) {
  background-color: #f6f6f6;
}
.chart__tables th {
  font-weight: bold;
  padding: 0.35em;
  /*display: table-cell;*/
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.chart__tables td {
  padding: 0.35em;
  /*display: table-cell;*/
}
.chart__tables .highlight td {
  font-weight: bold;
}
.chart__tables th.is-number, td.is-number {
  text-align: right;
}

.is-hidden {
  display: none;
}

.chart__mfa .chart__hed{
  margin-bottom: 1rem;
}



.notice{margin-top: 2rem;margin-bottom: 3rem;}
.gender__toggle{margin-top: 2rem;}

.methodology {
  border-top: 1px solid #ccc;
  padding-top: 0.5rem;
}

.label--y{
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
}

.front-curve{
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
}

.back-curve{
  border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
}
text.label--no-data{letter-spacing: 1px;}

.chart__mfa .bar{fill-opacity: 1;}
.degrees-g .bar{
  fill: #484848;
}

p.note{
  font-family: 'Atlas Grotesk Web';
  font-size: .75rem;
  font-weight: 500;
  margin-bottom: 1rem;
  margin-top: 1rem;
  color: #1b1b1b;
}
.methodology-section{
  border-bottom: 1px solid #ccc;
}

@media only screen and (min-width: 700px) {
  .chart__genre .mobile-legend {
    display: none;
  }
}

@media only screen and (min-width: 25em) {
  .hack {
    display: none;
  }
}
@media only screen and (min-width: 40em) {
  .hack {
    display: none;
  }
  .chart__tables thead {
    font-size: 12px;
  }

  .chart__tables tbody {
    font-size: 14px;
  }
  .chart__tables tbody td:first-child, .chart__tables thead td:first-child {
    width: 11rem;
  }

  .chart__tables tbody td:nth-child(2), .chart__tables thead td:nth-child(2) {
    width: 6rem;
  }

  .chart__tables tbody td:nth-child(3), .chart__tables thead td:nth-child(3) {
    width: 10rem;
  }

  .chart__tables .toggle li {
    /* margin: 0.2rem; */
  }

  .chart__tables .btn {
    padding: 0.5rem 0.25rem;
    width: 3rem;
  }
}

.legendCells {
  cursor: pointer;
}

@media only screen and (min-width: 50em) {
  .hack {
    display: none;
  }
  .intro__hed {
    font-size: 8rem;
  }
}
@media only screen and (min-width: 60em) {
  .hack {
    display: none;
  }
}

@media only screen and (max-width: 500px) {
  .chart__genre text.label--y{font-size: 9px;letter-spacing: 0px;}
  .chart__genre .axis text{
    font-size: 9px;
  }
  .chart__smult{
    margin-bottom: 0px;
  }
  text.label--no-data{
    letter-spacing: 0px;
    font-size: 10px;
  }
  .intro__hed{
    margin-top: 0px;
    margin-bottom: 0px;
  }
  .intro__dek{
    font-size: 1rem;
    margin-top: 1rem;
  }
}
