/*
TEMPLATE STYLES FOR STANDALONE
don't change these. instead, override them in index.html
*/
body,html {
  font-family: "TiemposTextWeb-Regular","Georgia";
  font-size:14px;
  margin: 0;
  padding: 0;
}
a img, img {
  border:0;
  outline:0;
}
.clearboth {
  clear: both;
  height:0;
}
.container {
  max-width:1410px;
  margin:0 auto;
  overflow: hidden;
  position: relative;
}

#inner-content {
  max-width:1160px;
  margin:60px auto;
  overflow: hidden;
  position: relative;
}
#infographic {
  padding:0 10px 0 10px;
  min-height: 500px;
  position: relative;
  display: block;
}

ul, ol, dl, dt, dd {
  list-style: none;
  margin: 0px;
  padding: 0px;
}

li {
  display: list-item;
  text-align: -webkit-match-parent;
}

.tophat {
  height: 1.875rem;
  padding: 0px 1em;
  position: relative;
  background-color: #1d252e;
  border-bottom: 2px solid #444444;
  color: rgb(38, 38, 38);
  font-family: "TiemposTextWeb-Regular", Georgia, serif;
}

.tophat__links {
  margin: 0px 10px 0 45px;
}

.tophat .tophat__links li {
  position: relative;
  float: left;
}

.tophat .tophat__links a {
  font-size: 0.75rem;
}

.tophat .tophat__top-link {
  color: rgb(119, 121, 126);
  display: block;
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: bold;
  text-decoration: none;
  line-height: 1.875rem;
  margin-right: 1.3em;
  cursor: pointer;
  transition: color 0.3s ease;
  -webkit-transition: color 0.3s ease;
  text-shadow: none;
}

.tophat .tophat__top-link:hover {
  color: #FB5623
}
#header {
  width:100%;
  height:69px;
  border-bottom: 1px solid #d0d0d0;
  overflow: hidden;
}

#header-logo{
  background: url(../img/logo.svg) no-repeat;
  background-position: center 6px;
  background-size: 180px;
  float: left;
  height: 42px;
  position: relative;
  text-decoration: none;
  width: 180px;
  margin-top: 10px;
}
#header-logo-mobile {
  background: url(../img/logo.svg) no-repeat;
  background-position: center 6px;
  background-size: 180px;
  height: 42px;
  position: relative;
  text-decoration: none;
  width: 180px;
  margin-top: 10px;
  text-align: center;
  display: none;
  margin: auto;
  margin-top: 20px;
}
#header-message a {
  float: left;
  font-family: "HaasTextBold",Arial,Helvetica;
  font-weight: bold;
  font-size: 16px;
  margin-top: 25px;
  margin-left: 20px;
  color:#000;
  text-decoration: none;
  transition: color 0.3s ease;
  -webkit-transition: color 0.3s ease;
}
#header-message a:hover {
  color:#37169b;
}

#header-icon-fb {
  float: right;
  margin-right: 10px;
  margin-top: 10px;
  cursor:pointer;
}
#header-rule {
  height:1px;
  width:100%;
  border-top: 1px solid #eaeaea;
}

/* changes for full-width header */
#full-header {
  background-color: #fff;
  width:100%;
  height:60px;
  border-bottom:1px solid #c1c1c1;

}
#header-logo {
  margin-left: 60px;
  float: left;
}
#header-icon-twitter {
  float: right;
  margin-right: 45px;
  margin-top: 10px;
  cursor:pointer;
}
/**/

.article-title, .video-title, .cta-text {
  font-family: "HaasDisplayBold","Helvetica";
  font-size: 52px;
  color:#262626;
  max-width: 900px;
  text-align: center;
  margin:0 auto;
  padding:0 10px 0 10px;
}
.nav-header, .module-header, .quote {
  font-family: "TiemposHeadlineWeb-Bold","Georgia";
}
.dek, .byline-name, .module-description {
  font-family: "TiemposTextWeb-Regular","Georgia";
  font-size: 20px;
  color:#767676;
  max-width: 1024px;
  max-width: 80%;
  text-align: center;
  margin:0 auto;
  padding:0 10px 0 10px;
}
.byline-by, .timestamp {
  font-size: 12px;
  margin:10px 0 10px 0;
  color:#626262;
  text-align: center;
}
.timestamp{
  width: auto;
  margin: 10px auto 20px auto;
  font-size: 14px;
}
.timestamp a{
  text-decoration: none;
  color:#626262;
}
.timestamp img{
  margin-left: 2px;
  margin-top: 2px;
  opacity: 0.5;
  vertical-align: sub;
}

.article-section-header, .curiosity-index-tag, .video-timestamp {
  font-family: "HaasText","Georgia";
}
#footer {
  position: relative;
  border-top:1px solid #ddd;
  width:100%;
  color:#999;
  font-family: "HaasText","Georgia";
  margin-top: 32px;
  font-size: 12px;
}
.source{
  margin: 2px 20px 4px;
  float: left;
}
.left{
  float: left;
}
.right{
  float: right;
}
sup {
  position: relative;
  top: 0.25em;
  font-size: 80%;
  line-height: 0;
}

/* buttons */
#graphic-button-container {
  max-width:300px;
  height: 40px;
  margin: 30px auto 0px auto;
  text-transform: capitalize;
  opacity: 0;
  -webkit-transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  -ms-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
}
.graphic-button {
  float: left;
  width: 100px;
  height: 18px;
  text-align: center;
  padding: 10px 8px 10px 10px;
  overflow: hidden;
  border: solid;
  border-color: white;
  border-width: 2px;
  margin-left: -1px;
  padding: 10px;
  font-family: "HaasText",Arial,sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #767676;
  transition: .3s all;
  -webkit-transition: .3s all;
  -moz-transition: .3s all;
  background-color: #ddd;
  cursor: pointer;
}
.graphic-button:hover {
  background-color: #262626;
  color:#fff;
}
.graphic-button-active {
  background-color: #262626;
  color:#fff;
}
#graphic-button-container div:first-child {
  -webkit-border-top-left-radius: 7px;
  -webkit-border-bottom-left-radius: 7px;
  -moz-border-radius-topleft: 7px;
  -moz-border-radius-bottomleft: 7px;
  border-top-left-radius: 7px;
  border-bottom-left-radius: 7px;
}
#graphic-button-container div:nth-child(2) {
  -webkit-border-top-right-radius: 7px;
  -webkit-border-bottom-right-radius: 7px;
  -moz-border-radius-topright: 7px;
  -moz-border-radius-bottomright: 7px;
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
}
#graphic-button-container.disabled .graphic-button-active,
#graphic-button-container.disabled .graphic-button:hover {
  background-color: #ddd;
  color: #767676;
  cursor: initial;
}
#refreshbtn {
  font-family: "HaasText",Arial,sans-serif;
  font-size: 15px;
  font-weight: 500;
  display: none;
  z-index: 10;
  cursor: pointer;
  width: 38px;
  height: 38px;
  right: -52px;
  top: -3px;
  background: url(../img/reset-bttn-default.png) no-repeat 0px 0px;
  float: left;
  color: #767676;
  margin: 2px 0 0 10px;
  opacity: 1;
  -webkit-transition: opacity .15s ease-in-out;
  -moz-transition: opacity .15s ease-in-out;
  -o-transition: opacity .15s ease-in-out;
  -ms-transition: opacity .15s ease-in-out;
  transition: opacity .15s ease-in-out;
}
#refreshbtn:hover {
  background: url(../img/reset-bttn-default.png) no-repeat -38px 0px;
  color: #262626;
}
#refreshbtn p {
  margin: 5px 0 0 44px;
  width: 90px;
  line-height: 2em;
}
#graphic-button-container.disabled #refreshbtn {
  background: url(../img/reset-bttn-default.png) no-repeat 0px 0px;
  cursor: initial;
}
#graphic-button-container.disabled #refreshbtn p {
  opacity: 0;
}
/* tooltip */
div.tooltip {
  font-family:"Arial","Helvetica";
  position: absolute;
  top:-1000px;
  width: 220px;
  min-height:50px;
  padding: 10px;
  font-size: 14px;
  background: rgba(255, 255, 255, .98);
  border: 1px solid lightgray;
  box-shadow: 1px 1px 10px lightgray;
  color:#767676;
  pointer-events: none;
  text-align: center;
}
.tooltip:after, .tooltip:before {
  top: 100%;
  left: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  z-index: 100;
}
.tooltip:after {
  border-color: rgba(255, 255, 255, 0);
  border-top-color: #fff;
  border-width: 12px;
  margin-left: -12px;
}
.tooltip:before {
  border-color: rgba(102, 102, 102, 0);
  border-top-color: lightgray;
  border-width: 13px;
  margin-left: -13px;
}
.tooltip-hidden{
  -webkit-transition: opacity .3s ease;
  -moz-transition: opacity .3s ease;
  -o-transition: opacity .3s ease;
  transition: opacity .3s ease;
  -moz-opacity: 0;
  -khtml-opacity: 0;
  -webkit-opacity: 0;
  opacity: 0;
  -ms-filter: ~"progid:DXImageTransform.Microsoft.Alpha(opacity=@{0})";
  filter: ~"alpha(opacity=@{0})";
}

.tooltip .tt-mon {
  /*margin-bottom: 10px;*/
}
.tooltip .tt-year {
  margin: 5px 0;
  font-size: 28px;
  line-height: 28px;
}
.axis.tt-year, .axis.tt-value{
  text-align: left;
}
.axis.max-year-label {
  text-align: center;
  color: rgb(234, 28, 32);
  opacity: 0;
  -webkit-transition: opacity 1.5s ease-in-out;
  -moz-transition: opacity 1.5s ease-in-out;
  -o-transition: opacity 1.5s ease-in-out;
  -ms-transition: opacity 1.5s ease-in-out;
  transition: opacity 1.5s ease-in-out;
  font-size: 16px;
  font-weight: bold;
}
.axis.max-year-label.show {
  -webkit-transition: opacity .15s ease-in-out;
  -moz-transition: opacity .15s ease-in-out;
  -o-transition: opacity .15s ease-in-out;
  -ms-transition: opacity .15s ease-in-out;
  transition: opacity .15s ease-in-out;
}

.tooltip .tt-ry, .tooltip .tt-rm {
  font-size: 14px;
}

/*
Ad
*/
.bannerbox {
  width: 100%;
  height: 112px;
  position: relative;
  background-color: #eee;
  z-index: 1000;
}
.bannerbox .bannerad {
  width: 728px;
  height: 90px;
  background-color: #fff;
  margin: 0 auto;
  top: 10px;
  position: relative;
}

/*
App
*/
#inner-content{
  overflow: visible;
  margin-top: 30px;
}

svg {
  font: 11px "HaasDisplay-regular",Helvetica;
}

.axis path,
.axis line {
  fill: none;
  stroke: #aaa;
  shape-rendering: crispEdges;
}

.axis{
  font-family: "HaasDisplay-regular","Helvetica";
  font-size:14px;
  fill:rgb(103,109,107);
}
.axis--y path {
  display: none;
}

.voronoi path {
  fill: none;
  pointer-events: all;
}

.voronoi--show path {
  stroke: red;
  stroke-opacity: .2;
}
.century-avg path{
  stroke: #999;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-width: 2px;
}
.gray-line{
  fill: none;
  stroke: #aaa;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-width: 1px;
  -webkit-transition: opacity .15s ease-in-out;
  -moz-transition: opacity .15s ease-in-out;
  -o-transition: opacity .15s ease-in-out;
  -ms-transition: opacity .15s ease-in-out;
  transition: opacity .15s ease-in-out;
}

.color-line{
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-width: 1px;
  -webkit-transition: opacity .15s ease-in-out;
  -moz-transition: opacity .15s ease-in-out;
  -o-transition: opacity .15s ease-in-out;
  -ms-transition: opacity .15s ease-in-out;
  transition: opacity .15s ease-in-out;
}
.color-line.record, .color-line.century{
   stroke-width: 2px;
}
.color-line.record.highlighted-path{
   stroke-width: 3px;
}
.gray-line.highlighted-path{
   stroke-width: 2px;
}
.color-line.record.max{
  stroke-width: 3px;
}

.avg-line{
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-width: 3px;
  -webkit-transition: opacity .15s ease-in-out;
  -moz-transition: opacity .15s ease-in-out;
  -o-transition: opacity .15s ease-in-out;
  -ms-transition: opacity .15s ease-in-out;
  transition: opacity .15s ease-in-out;
  /*stroke-dasharray: '2,5';*/
}

.avg-label{
  opacity: 1;
  color: #767676;
  background-color: transparent;
  position: absolute;
  width: 90px;
  text-align: center;
}
#year{
  background-color: transparent;
  opacity: .9;
  font-size: 3em;
  color:rgb(103,109,107);
  -webkit-transition: top .25s ease-in-out;
  -moz-transition: top .25s ease-in-out;
  -o-transition: top .25s ease-in-out;
  -ms-transition: top .25s ease-in-out;
  transition: top .25s ease-in-out;
}
.tt-header{
  font-family: "HaasDisplay-regular","Helvetica";
  font-weight: 500;
  display: 'block';
  opacity: 1;
  width: 'auto';
  height: 'auto';
  position: 'absolute';
  background: 'transperant';
  -webkit-transition: top .25s ease-in-out;
  -moz-transition: top .25s ease-in-out;
  -o-transition: top .25s ease-in-out;
  -ms-transition: top .25s ease-in-out;
  transition: top .25s ease-in-out;
  -webkit-transition: left .5s ease-in-out;
  -moz-transition: left .5s ease-in-out;
  -o-transition: left .5s ease-in-out;
  -ms-transition: left .5s ease-in-out;
  transition: left .5s ease-in-out;
}
.tt-header.label{
  font-size: .8em;
}
.record-year{
  font-family: "HaasTextBold",Arial,Helvetica;
  text-transform: capitalize;
  color: rgb(234, 28, 32);
  display: block;
  font-size: .5em;
  width: 160px;
  height: auto;
  position: absolute;
  text-align:center;
  -webkit-transition: opacity .15s ease-in-out;
  -moz-transition: opacity .15s ease-in-out;
  -o-transition: opacity .15s ease-in-out;
  -ms-transition: opacity .15s ease-in-out;
  transition: opacity .15s ease-in-out;
}


.tt-value{
  -webkit-transition: top .25s ease-in-out;
  -moz-transition: top .25s ease-in-out;
  -o-transition: top .25s ease-in-out;
  -ms-transition: top .25s ease-in-out;
  transition: top .25s ease-in-out;
}

.moving-line{
  fill:none;
}

#chart{
  position: relative;
  top: -50px;
  z-index: 1;
  background-color: #fff;
  height: auto;
  padding-bottom: 75px;
}

#chart svg{
  /*opacity: 0;*/
  -webkit-transition: opacity .25s ease-in-out;
  -moz-transition: opacity .25s ease-in-out;
  -o-transition: opacity .25s ease-in-out;
  -ms-transition: opacity .25s ease-in-out;
  transition: opacity .25s ease-in-out;
}

.overlay {
 /*fill: none;*/
 pointer-events: all;
}
.tooltip, #overlay{
  pointer-events:none;
}

.dek a {
  font-family: "HaasTextBold",Arial,Helvetica;
  color:#262626;
  text-decoration: none;
}

.dek a:hover{
  color:#767676;
  cursor: pointer;
}


.scroll{
  position: relative;
  cursor: initial;
  font-family: "HaasTextBold",Arial,Helvetica;
  color:#262626;
  background: url(../img/scroll_buttons.png) no-repeat 0px -40px;
  font-size: 18px;
  line-height: 40px;
  font-weight: bold;
  max-width: 300px;
  margin: 0px auto;
  text-transform: capitalize;
  margin-bottom: 4px;
  top: -47px;
  z-index: 1;
  opacity: 1;
  -webkit-transition: opacity .15s ease-in-out;
  -moz-transition: opacity .15s ease-in-out;
  -o-transition: opacity .15s ease-in-out;
  -ms-transition: opacity .15s ease-in-out;
  transition: opacity .15s ease-in-out;
}

/*.scroll:hover{
  cursor: initial;
  color:#767676;
  background: url(../img/scroll_buttons.png) no-repeat 0px -0px;
}*/
.scroll p{
  margin-left: 50px
}

.sticky-share img{
  width: 36px;
}
.sticky-share.gscroll-fixed{
  display: block;
  position: fixed;
  top: -5px;
  right: -25px;
  z-index: 2;
  width: 75px;
}
.sticky-share.gscroll-fixed #header-icon-fb{
  margin-right: 45px;
}
.sticky-share.gscroll-fixed #header-icon-twitter{
  margin-right: 45px;
}

/*
responsive
*/
#infographic-tablet {
  display: none;
}
#infographic-mobile {
  display: none;
}
#infographic-mobile p {
  color: #767676;
}
img.infographic {
  width: 100%;
}


/* Break points now match bloomberg.com/politics/ break points and illustrator start up document*/
/* FULL SIZE container at 1160px*/
@media only screen and (min-width: 980px) and (max-width: 1160px) {
/*  #infographic {
    display: block;
  }
  #infographic-tablet {
    display: none;
  }
  #infographic-mobile {
    display: none;
  }*/
  #year{
    font-size: 2.8em;
  }
}

/* Break points now match bloomberg.com/politics/ break points and illustrator start up document*/
/* TABLET SIZE container at 980px*/
@media only screen and (max-width: 979px)  {
/*  #infographic {
    display: none;
  }
  #infographic-tablet {
    display: block;
  }
  #infographic-mobile {
    display: none;
  }*/
  #inner-content{
    margin-left: 20px;
    margin-right: 20px;
  }
  .tophat__links {
    margin-left: 10px;
  }
  #header-logo {
    margin-left: 24px;
    margin-right: 24px;
  }
  #header-icon-twitter {
    margin-right: 24px;
  }
  #year{
    font-size: 2.5em;
  }
}

@media only screen and (max-width: 800px)  {
  .tt-header, .tt-header.label{
    font-size: .8em;
  }
  .axis.max-year-label {
    font-size: 14px;
    font-weight: bold;
    width:45px;
    margin-left: 6%;
  }
  .axis.tt-year, .axis.tt-value{
    margin-left: 2%;
  }
}

/* Break points now match bloomberg.com/politics/ break points and illustrator start up document*/
/* MOBILE SIZE container at 680px*/
@media only screen and (max-width: 680px)  {
  #header-message {
    display: none;
  }
  #header-divider-right {
    display: none;
  }
/*  #header-icon-twitter {
    display: none;
  }
  #header-icon-fb {
    display: none;
  }*/
  #header-rule {
    display: none;
  }
  #header-logo {
    display: none;
  }
  #header-logo-mobile {
    display: block;
  }

  .sticky-share {
    margin-top: -40px;
  }
  .sticky-share.gscroll-fixed {
    margin-top: 25px;
  }
  .sticky-share img{
    width: 26px;
  }
/*  #infographic {
    display: none;
  }
  #infographic-tablet {
    display: none;
  }
  #infographic-mobile {
    display: block;
  }*/
  .right,.left {
    float: none;
    padding: 0;
    margin: 0;
  }
  .tophat__links {
    margin-left: 5px;
  }
  #infographic {
    padding: 0
  }
  .tt-header, .tt-header.label{
    font-size: .75em;
  }

}


/* MOBILE window less than 568px wide */
@media only screen and (max-width: 568px)  {
  #inner-content {
    margin-top: 30px;
    margin-left: 10px;
    margin-right: 10px;
  }
  .article-title, .video-title, .cta-text {
    font-size: 34px;
    line-height: 38px;
  }
  .dek, .byline-name, .module-description {
    font-size: 16px;
    line-height: 20px;
    max-width: 90%;
  }

  .tt-header.label{
    font-size: .4em;
  }
  .axis{
    font-size: 10px;
  }
  .avg-label{
    font-size: 10px;
    width: 50px;
  }
  #refreshbtn p {
    width: 60px;
    line-height: 1em;
  }
  .bannerbox{
    display: none;
  }
}

@media only screen and (max-width: 430px)  {
  .tt-header, .tt-header.label{
    font-size: .6em;
  }
  .scroll p {
    font-size: 14px;
  }
}

/* MOBILE window less than 370px wide */
@media only screen and (max-width: 375px)  {
  .tophat .tophat__top-link {
    margin-right: 1.2em;
  }
  .tophat .tophat__links a {
    font-size: 0.65rem;
  }

  #graphic-button-container{
    max-width: 270px;
  }

  #refreshbtn{
    margin: 10px 30%;
  }
  .timestamp {
    width: 90%;
  }
  .scroll {
    float: left;
  }
}
