@charset "UTF-8";
/* CSS Document */

    @font-face {
      font-family: 'National';
      src: url('fonts/National-Light.otf');
      font-weight: 200;
      font-style: normal;
    }
    @font-face {
      font-family: 'National';
      src: url('fonts/National-Thin.otf');
      font-weight: 100;
      font-style: normal;
    }
    @font-face {
      font-family: 'National';
      src: url('fonts/National-Regular.otf');
      font-weight: 300;
      font-style: normal;
    }
    @font-face {
      font-family: 'National';
      src: url('fonts/National-Black.otf');
      font-weight: 900;
      font-style: normal;
    }
    @font-face {
      font-family: 'National';
      src: url('fonts/National-Bold.otf');
      font-weight: 700;
      font-style: normal;
    }
    @font-face {
      font-family: 'Tiempos';
      src: url('fonts/TiemposText-Regular.woff');
      font-weight: 300;
      font-style: normal;
    }
/*body*/
body {
    font-family: 'National','Tiempos', Arial, Helvetica, sans-serif;
    margin: 0;
    width:100%;
    padding: 0;
    color: #333;
    background-color: #fff;
}
section {
  width:100%;
}

section.main-graphics{
    width:100%;
    margin:0;
    padding:0px 0 0px 0;
}

div.masthead{
    position:relative;
    margin-top:0px;
}
.masthead {
  padding:0;
  width:100%;
}
line{
    stroke:#102039;
}
.text-tab{
    font-family: 'Tiempos';
}

/*footer*/
#sourceline {
   font-family:'Tiempos';
   font-size: 8px;
   margin-top: 20px;
   min-height: 100px!important;
}

.footnote{
    color: black;
    margin:0;
}

.source{
    color: black;
    margin:0;
}

.credit{
    color: #3D3D3D;
    float: left!important;
    text-align: left!important;
}
.barPos {
  fill: #000e54;
  pointer-events: none;
}
.bar {
  fill:#ff4a49;
  pointer-events: none;
}

/*.bar:hover {
  fill: #999999;
}*/
.neutral {
  fill: grey !important;
  pointer-events: none;
}

.axis {
  font-family: 'National';
  font-size: 10px !important;
  font-weight:200;
}

.yus {
  fill:#FFBE03;
}


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

p {
  margin-left:10px;
}
#chart {
  width: 100%;
  height:530px;
  position: relative;
}
.d3-tip { 
    display: block;
    z-index: 10;
    max-width: 350px;
    width:300px;
    opacity:1;
    color: #333333;
    background-color: white;
    border: 1px solid black!important;
    position: absolute;     
    text-align: left;    
    padding: 5px;
    font-size: 10px; 
    font-family:Tiempos;        
    pointer-events: none;     
}
.d3-tip p {
  font-family:National;
  font-weight:700;
  font-size:14px;
  margin-bottom:7px;
  padding:0px;
  text-align:center !important;
}
.d3-tip h3 {
  font-family:Tiempos;
  font-weight:300;
  font-size:12px;
  margin:0px;
  padding:0px;
  text-align:center !important;
}

span{
  font-family:PublicoTextBold;   
}
/* Creates a small triangle extender for the tooltip */
.d3-tip:after {
  box-sizing: border-box;
  display: inline;
  font-size: 10px;
  width: 100%;
  line-height: 1;
  color: rgba(0, 0, 0, 0.8);
  position: absolute;
  text-align: center;
}

.d3-tip.n:after {
  margin: -1px 0 0 0;
  top: 100%;
  left: 0;
}

/* Top Graphic Flag */
.flag{
  color:black;
  background-color:#ffcf31;
  font-family:'National';
  font-size: 16px;
  font-weight:100;
  height:30px;
  padding:4px 10px 0px 5px;
  display:flex;
  justify-content: space-between;
  width:100%;
}
.flag-logo {
  height:30px;
  width:100%;
  max-width:415px;
  opacity: .7;
  background: url("assets/logo.png");
  background-repeat: no-repeat;
  background-size: 140px;
}
/* Total */
.total {
  justify-content: center;
}
/* Container for full interactive */
#main-content {
  max-width:500px;
  min-width:200px;
  padding:0 3% 0 0;
  position:relative;
}
/* Header */
.header{
    font-family: 'National';
    font-size: 40px;
    margin-bottom:0;
    text-align: left;
    line-height: 40px;
    margin-top: 20px;
}
/* Description */
.dek{
font-family: 'Tiempos';
font-size:16px;
text-align: left;
margin-top: 5px!important;
display: inline-block;
line-height: 25px;
margin-bottom: 8px!important;
width:100%;
}
/* Optional for middle filler */
.dek.second {
  padding-left:0px !important;
}
.top-bar-wrapper {
  display:flex;
  justify-content: space-between;
  padding-right:5px;
  width:100%;
}
.top-bar {
  text-align: center;
  line-height: 20px;
  color:white;
  font-size:12px;
  height:20px;
  width:50%;
  float:left;
}
#top-bar-left {
  background-color:#ff4a49;
  margin-left:40px;
}
#top-bar-right {
  background-color:#000e54
}
/* Chart or visualization */
#viz{
  width:100%;
  padding:0 10px;
}
#legend {
  font-family:'National';
  font-size:12px;
  padding-left:4%;
}
circle {
stroke-width:0px;
stroke:none;
pointer-events: none;
}
/* X Axis */
/* Make invisible for this graphic */
.x path {
  stroke:none !important;
}
/* Footer */
/*#sourceline {
font-family:'Tiempos';
font-size: 12px;
margin-top: 0px;
margin-left:10px;
min-height: 100px!important;
}*/
.label {
font-family:'National';
font-size:12px;
font-weight:700;
}
#footer{
border-top:2px solid black;
color: black;
font-family:'Tiempos';
font-size: 10px;
text-align:right;
width:100%;
}
.axis text {
font-weight:300;
font-family:'National';
text-transform:uppercase;
}
.source{
font-style:italic;
}
.credit{
font-style:italic;
}
text {
pointer-events: none;
}
.two {
  margin-top:0px !important;
}

@media only screen and ( min-width: 530px ) {
  #main-content {
    padding: 0 5% 0 4%;
  }
}
@media screen and ( max-width: 380px ) {
  #legend {
    font-size:10px !important;
  }
  .header {
    font-size:26px;
    line-height:26px;
  }
  .dek {
    font-size:12px;
    line-height:18px;
  }
  #viz {
    width:100%;
    padding:0;
  }
  .top-bar-wrapper {
    padding-right:5px;
    width:95%;
  }
  .top-bar {
    font-size:10px;
    height:15px;
    line-height:17px;
  }
  #top-bar-left {
    margin-left:30px;
  }
}