/* override some default styles */
#content {
  padding: 0;
  margin: 0;
}
.wrapper {
    width: 100%;
    min-width: 800px; /* TODO: at some point, limit how small viewport can go */
    max-width: 100%;
}
.article {
  display: block;
}
.titles {
  display: none;
}



/* HEADER/FOOTER */

#header {
  width: 96%;
  padding-left: 2%;
  padding-right: 2%;
  height: 40px;
  background-color: #336E45;
  position: relative;
  overflow: hidden;
  border: none !important;
}

#header .wrapper {
  position: relative;
}

#header h4 {
  font-family: "ff-meta-serif-web-1","ff-meta-serif-web-2","Georgia",serif;
  float: left;
  font-size: 16px;
  padding: 3px 0 3px 10px;
  color: #eee;
  position: relative;
  border-left: 1px solid #DDD;
  margin: 7px 0 0 10px;
}

#header h4 a, #header h4 a:hover {
  color: #eee;
  text-decoration: none;
  font-weight: normal;
}

#header h4 .icon {
  padding: 0 3px 0 2px;
  position: relative;
  top: 1px;
}

#header h5 {
  height: 40px;
  text-align: left;
  width: 120px;
  float: left;
  margin: 0px;
}

#header h5 a {
  height: 45px;
  width: 120px;
  display: inline-block;
  background: url("https://projects.propublica.org/cerp/assets/propublica-logo-light.min.svg") 0 -20px no-repeat;
}

#header .donate {
  float: right;
}

#header .donate h2 {
  background: #BA0909;
  background: -webkit-gradient(linear, left top, left bottom, from(#750101), to(#BA0909));
  background: -moz-linear-gradient(top, #750101, #ba0909);
  background: -ms-linear-gradient(top, #750101, #ba0909);
  width: 75px;
  text-align: center;
  display: block;
  font-size: 17px;
  line-height: 30px;
  border-bottom: 4px solid #BA0909;
  text-shadow: #7B3039 1px 1px 2px;
  text-transform: uppercase;
  cursor: pointer !important;
  font-weight: bold;
  font-family: "Helvetica Neue","Arial",sans-serif;
  padding: 4px 8px 3px 8px;
  margin: 0px;
}

#header .donate h2 a {
  text-decoration: none;
  color: #FFF;
}

#header #banner-share {
  float: right;
  margin: 10px 4px 0 0;
}

#header #banner-share li {
  width: 30px;
  height: 30px;
  margin-right: .5em;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
}

#header #banner-share li a {
  height: 30px;
  width: 30px;
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
  text-indent: 100%;
  overflow: hidden;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

#header #banner-share li.comment {
  border: none;
}

#header #banner-share .facebook a {
  background: url("https://static.propublica.org/assets/sprites-smaller-white.min.svg?20130417") 0 0 no-repeat;
}

#header #banner-share .facebook a:hover {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

#header #banner-share .twitter a {
  background: url("https://static.propublica.org/assets/sprites-smaller-white.min.svg?20130417") 3px -50px no-repeat;
}

#header #banner-share .twitter a:hover {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}


#footer ul {
  float: left;
  border-left: 1px solid #d3d3d3;
  padding: 0 40px 0 14px;
}

#footer ul li {
  margin: 0 0 10px 0;
}

#footer {
  background-color: #336E45;
  border-top: 1px solid #285E39;
  height: 160px;
  clear: both;
  color: #ccc;
  font-family: "Helvetica Neue","Arial",sans-serif;
  font-size: 14px;
  overflow-x: hidden;
}

#footer, #footer a, #footer-logo p {
  color: #eee;
}

#footer-logo-image {
  background: url("//static.propublica.org/logos/propublica-words-white.svg?201412161945") 0 0 repeat-x;
  background-size: 135px 20px; }

#footer .wrapper {
  height: auto;
  padding: 30px 0 0 40px;
  margin-bottom: 0;
}






/* Banner */
#splash_header {
    width: 100%;
    position: relative;
  }
#splash_img, #mobile_splash_img {
  width: 100%;
}
#content h1#splash_title, #content h2#splash_title2 {
  position: absolute;
  width: 90%;
  left:5%;

  color: white;
  text-shadow: 2px 2px 5px #555;
  font-family: 'Sentinel A', 'Sentinel B';
  text-align:center;
  display: block;
  font-weight: bold;

  text-rendering: geometricPrecision;
}
#content h1#splash_title {
  top: 75.5%;
  font-size: 64px;
  letter-spacing: 1px;
}
#content h2#splash_title2 {
  top: 89%;
  font-size: 32px;
  font-style: italic;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
#mobile_splash_img {
  display: none;
}




/* MOBILE (< 394px) */
@media (max-width:393px){
  /* Hide series title below a certain size (so share btns stay) */
  #header h4 {
    display: none
  }
}
/* MOBILE (<= 480px) */
@media (max-width:480px){
  #splash_img {
    display: none;
  }
  #mobile_splash_img {
    display: block;
  }
  #content h1#splash_title, #content h2#splash_title2 {
    color: #000;
    width: 100%;
    left: 0;
    top: 0;
    display: block;
    position: relative;
    text-shadow: none;
  }
  #content h1#splash_title {
    font-size: 34px;
    margin-top: 18px;
  }
  #content h2#splash_title2 {
    font-size: 20px;
    margin-top: 12px;
    margin-bottom: 18px;
  }

  #header {
    width: 98%;
    padding-right: 0;
  }
  #header .wrapper {
    margin: 0;
    width: 100%;
    min-width: 0;
    max-width: 100% !important;
  }
 #content .wrapper, #content  #splash_header, #content #mobile_splash_img {
    padding: 0;
    width: 100% !important;
    max-width: 100% !important;
  }
  html body, #content, #content .wrapper {
    overflow: visible;
  }

  #chartTickers {
    position: absolute;
    margin: 0;
    top: 145px;
    left: 0;
    width: 210px;
  }
  #chartCanvas {
    position: relative;
    margin-bottom: 58px;
  }
  #chartContainer {
    height: 170px;
    padding-bottom: 0;
  }
  .chart_source, .chart_note {
    position: relative;
    margin-top: 1em;
    margin-bottom: 1em;
  }
  #timelineHed {
    margin-top: 1em;
  }
}
/* OVERRIDE */
/* SOME MOBILE (375-480px) */
@media (min-width:320px) and (max-width:480px) {
  #mobile_splash_img {
    z-index: -1;
  }
  #content h1#splash_title {
    width: 96%;
    left: 2%;
    top: 6%;
    position: absolute;
    z-index: 2;

    font-size: 40px;
    color: #fff;
    text-shadow: 2px 2px 5px #555;
  }
  #content h2#splash_title2 {
    position: absolute;
    width: 100%;
    left: 0;
    top: 66%;

    font-size: 26px;
    color: #fff;
    text-shadow: 2px 2px 5px #555;
  }
}

@media (min-width:900px) and (max-width:1019px){
  #content h1#splash_title {
    font-size: 60px;
    top: 73%;
  }
  #content h2#splash_title2 {
    top: 88%;
    font-size: 29px;
  }
}
@media (min-width:820px) and (max-width:899px){
  #content h1#splash_title {
    font-size: 44px;
    top: 74%;
  }
  #content h2#splash_title2 {
    top: 86%;
    font-size: 26px;
  }
}
@media (min-width: 481px) and (max-width:819px){
  #content h1#splash_title {
    font-size: 40px;
    top: 73.5%;
  }
  #content h2#splash_title2 {
    top: 85.5%;
    font-size: 26px;
  }
}
@media (min-width: 320px) and (max-width:374px){
  #content h1#splash_title {
    font-size: 36px;
    top: 5%;
  }
  #content h2#splash_title2 {
    top: 65%;
    font-size: 20px;
  }
}



/* Body */
#byline-container, .article p, .intro{
  font-size: 17px;
  line-height: 1.35em;
  margin-bottom: 1.4em;
  font-family: "Georgia",serif;
  color: #333;
}
.article .intro p:first-child {
  font-size: 1.35em;
}
#byline-container {
  font-size: 16px;
  font-style: italic;
  color: #666;
}
.intro{
  position:relative;
}


.real-wrapper, #byline-container, .intro {
  width: 768px;
  margin: 30px auto 0 auto;
}
.main_content {
  width: 100%;
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.3),
only screen and (-o-min-device-pixel-ratio: 13/10),
only screen and (min-resolution: 120dpi) {
  body {
  	-webkit-font-smoothing: antialiased;
	  -moz-osx-font-smoothing: grayscale;
  }
}

 .tickerHed{
    display:inline;
    color:black;
    font-size:large;
  }
  .tickerHedVS{
    display:block;
    margin-left:11%;
    font-size:small;
    margin-top: 2%;
    margin-bottom: 2%;
  }




.callout {
  text-align: left;
  font-size: 13px;
  line-height: 1.5em;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: normal;
  color: #444;
  padding: 10px 0 10px 10px;
  background: #F0F0F0;
  border-radius: 3px;

  display: block;
  width: 175px;

  float: right;
  margin: 0 1em;
}



#source {
  padding: 20px 0 0;
  margin: 40px 0 30px;
  border-top: 1px solid #DDD;
}

#source h5 {
  font-family: 'Sentinel A', 'Sentinel B';
  color: #969494;
  font-weight: normal;
  padding: 0 0 4px;
}

#source p {
  line-height: 18px;
  color: #585858;
  font-family: 'Sentinel A', 'Sentinel B';
  font-size: 14px;
}

/* more mobile */
@media (max-width:480px) {
  .timeline_entry_date {
    width: 100%;
    float: none;
    display: block;
  }
  .timeline_entry_sidebar {
    width: 100%;
    float: none;
  }
  .timeline_post {
    margin-left: 0;
  }
  #stickyChartTickers {
    width:22%;
    margin-left: 0.5em;
  }
  #stickyChartCanvas {
    margin-left: 29%;
    width: 70%;
    height: 100%;
  }
  #stickyChartTickers, .tickerHed {
    font-size: 15px;
  }
  #richardson_pic{
    margin-top:0;
  }
  .tickerHedVS {
    opacity: 0; /* this is stupid, but i want the whitespace between the first stuff and the second, so this is better than display none */
  }

  .callout {
    text-align: center;
    font-size: 11px;
    line-height: 1.5em;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-style: normal;
    color: #444;
    padding: 5px 0;
    background: #F0F0F0;
  
    display: block;
    width: 100%;
  
    margin: 0 auto 17px auto;
  }
}
