/***********************************************
Basics
************************************************/
/*Remove first h1*/
#banner,
#js-essay-toolbar,
.content h1,
.date,
.entry-header h1,
.social {
  display: none;
}

#js-gender-traits #white-footer {
  opacity: 0;
  position: fixed;
  bottom: 0;
  background: white;
  width: 100%;
  height: 85px;
  z-index: -1;
}

#js-gender-traits #bg-dark,
#js-gender-traits #bg-highlight {
  z-index: -2;
  height: 100vh;
  width: 100vw;
  position: sticky;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: black;
  top: 0;
  left: 0;
  transition: opacity 0.25s ease;
}

@media only screen and (min-height: 1201px) {
  #js-gender-traits #bg-dark {
    background-image: url('//assets.pewresearch.org/interactives/socialtrends/2018/gender-traits/lettering-illo-1500px.jpg');
  }
}

@media only screen and (max-height: 1200px) {
  #js-gender-traits #bg-dark {
    background-image: url('//assets.pewresearch.org/interactives/socialtrends/2018/gender-traits/lettering-illo-1200px.jpg');
  }
}

@media only screen and (max-height: 900px) {
  #js-gender-traits #bg-dark {
    background-image: url('//assets.pewresearch.org/interactives/socialtrends/2018/gender-traits/lettering-illo-900px.jpg');
  }
}

@media only screen and (max-height: 600px) {
  #js-gender-traits #bg-dark {
    background-image: url('//assets.pewresearch.org/interactives/socialtrends/2018/gender-traits/lettering-illo-600px.jpg');
  }
}

#js-gender-traits #bg-highlight {
  opacity: 0;
}
@media only screen and (min-height: 1201px) {
  #js-gender-traits #bg-highlight {
    background-image: url('//assets.pewresearch.org/interactives/socialtrends/2018/gender-traits/lettering-highlight-1500px.jpg');
  }
}
@media only screen and (max-height: 1200px) {
  #js-gender-traits #bg-highlight {
    background-image: url('//assets.pewresearch.org/interactives/socialtrends/2018/gender-traits/lettering-highlight-1200px.jpg');
  }
}
@media only screen and (max-height: 900px) {
  #js-gender-traits #bg-highlight {
    background-image: url('//assets.pewresearch.org/interactives/socialtrends/2018/gender-traits/lettering-highlight-900px.jpg');
  }
}
@media only screen and (max-height: 600px) {
  #js-gender-traits #bg-highlight {
    background-image: url('//assets.pewresearch.org/interactives/socialtrends/2018/gender-traits/lettering-highlight-600px.jpg');
  }
}

#js-gender-traits #dark-overlay {
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.7);
  position: fixed;
  height: 100vh;
  width: 100%;
  z-index: -1;
  top: 0;
  right: 0;
  transition: opacity 0.75s ease;
}

#js-gender-traits #content-container {
  position: relative;
  display: block;
  font-size: inherit;
  height: auto;
  width: 100%;
  margin: 0 auto;
  /***********************************************
        Story header
        ************************************************/
  /***********************************************
        blurbs
        ************************************************/
  /***********************************************
        Dot plot
        ************************************************/
}
#js-gender-traits #content-container a {
  color: #d3a932;
}
#js-gender-traits #content-container #hed-container {
  position: relative;
  z-index: 1;
  width: 90%;
  margin-top: -175vh;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
}
#js-gender-traits #content-container #hed-container #headline {
  display: block;
  color: white;
  font-family: 'franklin-gothic-urw', Verdana, Geneva, sans-serif;
  font-size: 70px;
  line-height: 70px;
  margin-bottom: 60px;
  text-align: center;
  font-weight: 300;
  line-height: 45px;
  margin-top: 0;
}
@media only screen and (max-width: 900px) {
  #js-gender-traits #content-container #hed-container #headline {
    margin-bottom: 40px;
    line-height: 80px;
  }
}
@media only screen and (max-width: 480px) {
  #js-gender-traits #content-container #hed-container #headline {
    font-size: 40px;
    margin-bottom: 20px;
    line-height: 50px;
  }
}
#js-gender-traits #content-container #hed-container #headline .small-break {
  display: none;
}
@media only screen and (max-width: 900px) {
  #js-gender-traits #content-container #hed-container #headline .small-break {
    display: inline;
  }
}
#js-gender-traits #content-container #hed-container #headline .caring,
#js-gender-traits #content-container #hed-container #headline .strong {
  font-family: 'Just Me Again Down Here', 'franklin-gothic-urw', Verdana, Geneva,
    sans-serif;
  text-transform: none;
  font-size: 100px;
  background-repeat: no-repeat;
  background-size: 100% 8px;
  background-position: 0 85%;
}
@media only screen and (max-width: 768px) {
  #js-gender-traits #content-container #hed-container #headline .caring,
  #js-gender-traits #content-container #hed-container #headline .strong {
    line-height: 80px;
    margin-bottom: 10px;
    padding-top: 20px;
  }
}
@media only screen and (max-width: 480px) {
  #js-gender-traits #content-container #hed-container #headline .caring,
  #js-gender-traits #content-container #hed-container #headline .strong {
    background-size: 100% 4px;
    font-size: 55px;
    line-height: 35px;
    margin-bottom: 10px;
    padding-top: 20px;
  }
}
#js-gender-traits #content-container #hed-container #headline .strong {
  background-image: linear-gradient(120deg, #377668 0%, #377668 100%);
}
@media only screen and (max-width: 768px) {
  #js-gender-traits #content-container #hed-container #headline .strong {
    margin-left: -40px;
  }
}
@media only screen and (max-width: 480px) {
  #js-gender-traits #content-container #hed-container #headline .strong {
    font-size: 55px;
    margin-left: -35px;
  }
}
#js-gender-traits #content-container #hed-container #headline .caring {
  background-image: linear-gradient(120deg, #d3a932 0%, #d3a932 100%);
}
@media only screen and (max-width: 768px) {
  #js-gender-traits #content-container #hed-container #headline .caring {
    margin-left: 35px;
  }
}
#js-gender-traits #content-container #hed-container #subhead {
  font-family: 'franklin-gothic-urw', Verdana, Geneva, sans-serif;
  font-weight: 100;
  line-height: 35px;
  font-size: 30px;
  font-style: normal;
  margin-left: auto;
  margin-right: auto;
  color: #bfbfbf;
  margin-bottom: 30px;
  max-width: 500px;
}
@media only screen and (max-width: 480px) {
  #js-gender-traits #content-container #hed-container #subhead {
    font-size: 20px;
    line-height: 25px;
    margin-bottom: 20px;
    max-width: 350px;
  }
}
#js-gender-traits #content-container #hed-container .byline {
  font-family: 'franklin-gothic-urw', Verdana, Geneva, sans-serif;
  font-size: 1.4em;
  color: #b3b2b2;
  text-transform: none;
  margin-bottom: 5px;
}
@media only screen and (max-width: 480px) {
  #js-gender-traits #content-container #hed-container .byline {
    font-size: 12px;
    line-height: 14px;
    margin: 0 auto 10px;
  }
}
#js-gender-traits #content-container #hed-container .custom-byline {
  color: #d3a932;
}
#js-gender-traits #content-container .blurbs-container {
  width: 90%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0 auto;
  max-width: 800px;
}
#js-gender-traits #content-container .blurb {
  max-width: 41em;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 2px 2px 2px 2px;
  -o-box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
  border-radius: 5px;
  width: auto;
  display: inline-block;
  margin-top: 50vh;
  margin-bottom: 50vh;
  z-index: 99;
}
#js-gender-traits #content-container .blurb p {
  font-size: 2em;
  margin-bottom: 0;
  line-height: 1.6em;
}
@media only screen and (max-width: 480px) {
  #js-gender-traits #content-container .blurb p {
    font-size: 1.8em;
    line-height: 1.4em;
  }
}
#js-gender-traits #content-container .blurb .intro-word {
  font-size: 25px;
  font-family: 'Just Me Again Down Here';
}
#js-gender-traits #content-container .blurb .men,
#js-gender-traits #content-container .blurb .women {
  font-family: 'franklin-gothic-urw', Verdana, Geneva, sans-serif;
  font-weight: 600;
}
#js-gender-traits #content-container .blurb .women {
  color: #d3a932;
}
#js-gender-traits #content-container .blurb .men {
  color: #377668;
}
#js-gender-traits #content-container .blurb.fade {
  opacity: 0;
  transition: opacity 0.25s ease;
}
#js-gender-traits #content-container #show-chart {
  opacity: 0;
  margin-top: 10vh !important;
  margin-bottom: 10vh !important;
}
#js-gender-traits #content-container #pseudo-blurb {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  position: absolute;
  top: 0;
  background: none;
  box-shadow: none;
}
#js-gender-traits #content-container #chart-container {
  height: 100%;
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  z-index: 1;
  opacity: 0;
  top: auto;
  bottom: 0;
  position: fixed;
  left: 0;
  right: 0;
  overflow: visible;
  display: none;
}
@media only screen and (max-width: 480px) {
  #js-gender-traits #content-container #chart-container {
    width: 85%;
  }
}
#js-gender-traits #content-container #chart-note {
  text-align: center;
  font-family: 'franklin-gothic-urw', Verdana, Geneva, sans-serif;
  font-size: 16px;
  color: #999;
  margin: 10px 0 0;
}
@media only screen and (max-width: 480px) {
  #js-gender-traits #content-container #chart-note {
    font-size: 15px;
  }
}
#js-gender-traits #content-container #labels-container {
  width: 85%;
  display: flex;
  height: 40px;
  padding: 1em;
  opacity: 0;
  margin: 0 auto;
  justify-content: space-between;
}
#js-gender-traits #content-container .label {
  display: inline-block;
  width: 100%;
  font-size: 1.8em;
  color: #999;
  font-family: 'franklin-gothic-urw', Verdana, Geneva, sans-serif;
  text-transform: uppercase;
  font-weight: 500;
}
@media only screen and (max-width: 480px) {
  #js-gender-traits #content-container .label {
    font-size: 1.5em;
  }
}
#js-gender-traits #content-container #label-neg {
  text-align: left;
}
#js-gender-traits #content-container #label-pos {
  text-align: right;
}
#js-gender-traits #content-container #rules-container {
  opacity: 0;
  position: absolute;
  height: 100%;
  width: 85%;
  display: flex;
  font-family: 'franklin-gothic-urw', Verdana, Geneva, sans-serif;
  color: #999;
  left: 0;
  right: 0;
  margin: 0 auto;
}
#js-gender-traits #content-container #rules-container .rule {
  height: 100%;
  width: 25%;
  display: inline-block;
}
#js-gender-traits #content-container #rules-container .rule-neg {
  border-left: 0.5px solid #e6e5e5;
}
#js-gender-traits #content-container #rules-container .rule-center {
  border-right: 1.5px solid #e6e5e5;
}
#js-gender-traits #content-container #rules-container .rule-pos {
  border-right: 0.5px solid #e6e5e5;
}
#js-gender-traits #content-container #rules-container span {
  position: absolute;
  margin-left: -15px;
  background: white;
  font-size: 1.4em;
  padding-right: 10%;
  overflow: visible;
}
#js-gender-traits #content-container svg {
  width: 100%;
  position: absolute !important;
  overflow: visible;
  height: 100%;
  width: 85%;
  margin: 0 auto;
  left: 0;
  right: 0;
}
#js-gender-traits #content-container svg .female-dot,
#js-gender-traits #content-container svg .male-dot {
  opacity: 0;
  transition: fill 0.25s ease;
  border-radius: 50%;
  position: absolute;
}
#js-gender-traits #content-container svg .male-dot {
  fill: #387668;
}
#js-gender-traits #content-container svg .male-dot.faded {
  fill: #eaf5f3;
}
#js-gender-traits #content-container svg .female-dot {
  fill: #d3a932;
}
#js-gender-traits #content-container svg .female-dot.faded {
  fill: #fcf8ef;
}
#js-gender-traits #content-container svg .female-dot,
#js-gender-traits #content-container svg .line,
#js-gender-traits #content-container svg .male-dot,
#js-gender-traits #content-container svg .word-and-marker {
  transition: opacity 0.25s ease;
}
#js-gender-traits #content-container svg .female-dot,
#js-gender-traits #content-container svg .male-dot,
#js-gender-traits #content-container svg .word-and-marker {
  transition: fill 0.25s ease;
}
#js-gender-traits #content-container svg .word-and-marker {
  text-transform: uppercase;
  text-anchor: middle;
  font-family: 'franklin-gothic-urw', Verdana, Geneva, sans-serif;
  font-size: 1.4em;
  padding: 4px 5px;
  border-radius: 2px;
  fill: #444;
  font-weight: 500;
}
#js-gender-traits #content-container svg .word-and-marker.faded {
  fill: #dddddd;
}
@media only screen and (max-width: 480px) {
  #js-gender-traits #content-container svg .word-and-marker {
    font-size: 1.2em;
  }
}
#js-gender-traits #content-container svg .marker {
  font-size: 20px;
  opacity: 0;
  fill: #666;
}
#js-gender-traits #content-container svg .line {
  stroke: #b3b2b2;
  stroke-width: 2.3;
  transition: stroke 0.25s ease;
}
#js-gender-traits #content-container svg .line.faded {
  stroke: #e6e5e5;
}
#js-gender-traits #content-container svg .pseudo-overflow {
  height: 100px;
  width: 100px;
  fill: none;
  left: -1000;
}
#js-gender-traits #content-container #gradient {
  opacity: 0;
  position: absolute;
  height: 100%;
  width: 20%;
  margin: 0 auto;
  left: 0;
  right: 0;
  top: 15px;
  z-index: -1;
  -webkit-background: repeating-linear-gradient(
    -55deg,
    #e0e0e0,
    #e0e0e0 1px,
    white 1px,
    white 10px
  );
  -o-background: repeating-linear-gradient(
    -55deg,
    #e0e0e0,
    #e0e0e0 1px,
    white 1px,
    white 10px
  );
  background: repeating-linear-gradient(
    -55deg,
    #e0e0e0,
    #e0e0e0 1px,
    white 1px,
    white 10px
  );
}
/* #js-gender-traits #content-container #promo-report {
  background: none;
  color: white;
  font-family: 'abril-text', Georgia, 'Times New Roman', Times, serif;
  font-style: italic;
  max-width: 55rem;
  width: 90%;
  box-shadow: none;
  padding: 0;
} */
#js-gender-traits #content-container #promo-report a {
  color: #d3a932;
}
#js-gender-traits #content-container #chart-background {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-color: white;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 0;
  transition: opacity 0.25s ease;
}
