/* What the whiteblack theme's JavaScript did on page load, done in CSS for the static site.
   Installed as /css/static.css by wordpress_to_static_html's add_static_css.py. */

/* Revolution Slider: each slider is display:none until its script lays it out. Show it,
   stack the slides with only the first one visible, and let captions sit where
   bin/static_rev_slider.py put them. The slider's own <style> block keeps its size. */
.rev_slider { display: block !important; position: relative; overflow: hidden; }
.rev_slider > ul { margin: 0; padding: 0; list-style: none; }
.rev_slider > ul > li { position: absolute; left: 0; top: 0; width: 100%; visibility: hidden; }
.rev_slider > ul > li:first-child { visibility: visible; z-index: 20; }
.rev_slider > ul > li > img { display: block; width: 100%; height: auto; }
.rev_slider .tp-caption { position: absolute; z-index: 1; }
.rev_slider .tp-bannertimer { display: none; }

/* Below its full 1005px width the script resized each slider to keep the image's
   proportions (the inner banner is 331 x 77 on a phone, not the 310 x 72 its <style>
   block fixes). Let the first slide's image set the height there. */
@media only screen and (max-width: 1004px) {
  .rev_slider, .rev_slider_wrapper { width: 100% !important; height: auto !important; }
  .rev_slider > ul > li:first-child { position: relative; }
}
