/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
 background: #b3d4fc;
 text-shadow: none;
}
::selection {
  background: #b3d4fc;
  text-shadow: none;
}
/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio, canvas, img, svg, video {
  vertical-align: middle;
}
/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}
/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}
/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
  font-family: Roboto, sans-serif;
  background: #eee;
}
body {
  max-width: 75em;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 2em #666;
}
#steHeader, h1, h2, h3, #steFooter .nav, .button {
  font-family: Michroma, sans-serif;
}
h1, h2, h3 {
  text-align: center;
  color: #249;
}
#steHeader {
  border-top: 1em solid #249;
}
.wrap {
  padding: .5em;
  position: relative;
}
#steHeader .wrap {
  text-align: center;
  margin-top: -1em;
  display: table;
  width: 100%;
  box-sizing: border-box;
  z-index: 200;
}
#steHeader h1 {
  font-size: 1em;
  margin: 0;
}
#steHeader h1 img, .cycle-slideshow img {
  width: 100%;
  height: auto;
}
#steHeader h1 img {
  margin: auto;
  padding: .5em;
  box-sizing: border-box;
  border: 1px solid #bbb;
  transition: background-color .4s
}
#steHeader a, #steFooter .nav a {
  transition: background-color .4s;
  background: #fff;
  display: block;
}
#steHeader a:hover, #steFooter .nav a:hover {
  background-color: #eee;
}
#steHeader nav ul, ul.cycle-slideshow {
  margin: 0;
  padding: 0;
}
#steFooter .nav ul {
  padding: 0;
  text-align: center;
}
#steHeader nav li, #steFooter .nav li {
  display: inline-block;
}
#steHeader nav a, #steFooter .nav a {
  color: #833;
  text-decoration: none;
  padding: .25em .5em;
}
#intro {
  background: #833;
  text-align: center;
}
#intro .wrap {
  margin-top: -6%;
  z-index: 200;
  padding: 0;
  padding-bottom: 1%;
}
#intro .col {
  margin: 2%;
  background: #fff;
  padding: 2%;
}
#intro h3 {
  color: #833;
  margin: .5em 0;
  text-align: center;
}
.button a {
  display: block;
  background: #249;
  color: #fff;
  padding: .25em;
  text-decoration: none;
  transition: background-color .4s;
}
p.button {
  margin: 0;
}
.button a:hover {
  text-decoration: none;
  background-color: #79e;
}
#products, #testimonials, #contact {
  border-top: 1em solid #833;
}
#products {
  text-align: center;
}
#products .col {
  position: relative;
  max-width: 360px;
  margin: .5em 2em;
  display: inline-block;
  box-sizing: border-box;
}
#products-pager .col, #testimonial-pager .col {
  cursor: pointer;
  opacity: .6;
  transition: opacity .4s
}
#products-pager .col:hover, #testimonial-pager .col:hover {
  opacity: .8;
}
#products-pager .col.cycle-pager-active, #testimonial-pager .col.cycle-pager-active {
  opacity: 1;
}
.quarters {
  text-align: center;
  margin: 1em 0;
}
#products-pager .col, .quarters .col {
  width: 44%;
  margin: .5em;
  font-size: .8em;
}
#products img {
  width: 100%;
  height: auto;
}
#products .col .text, #slideshow .cycle-slideshow span {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: rgba(0,0,0,.6);
  color: #fff;
  font-weight: bold;
  box-sizing: border-box;
  text-align: center;
  left: 0;
}
#products .col .text p, #testimonials .col .text p {
  margin: 0;
  padding: .5em;
}
#products .col .text p.button, #testimonials .col .text p.button {
 padding: 0;
}
#testimonials {
  text-align: center;
}
#testimonials .col {
  position: relative;
  max-width: 360px;
  margin: .5em 1em;
  display: inline-block;
  box-sizing: border-box;
}
#testimonials img {
  width: 100%;
  height: auto;
}
#testimonials .col .text, #slideshow .cycle-slideshow span {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: rgba(0,0,0,.6);
  color: #fff;
  font-weight: bold;
  box-sizing: border-box;
  text-align: center;
  left: 0;
}
#slideshow {
  position: relative;
}
#slideshow .cycle-slideshow span {
  padding: .5em;
}
#slideshow .prev, #slideshow .next {
  color: #833;
  position: absolute;
  top: 45%;
  z-index: 200;
  left: 5%;
  font-size: 3em;
  line-height: 1;
  cursor: pointer;
  text-shadow: 0 0 4px #000;
  transition: color .4s;
}
#slideshow .prev:hover, #slideshow .next:hover {
  color: #fff;
}
#slideshow .next {
  right: 5%;
  left: auto;
}
#steFooter {
  border-top: 1px solid #ccc;
}
#steFooter .colophon {
  background: #249;
  color: #fff;
}
#steFooter .colophon a {
  color: #fff;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers: h5bp.com/u
 */

.hidden {
  display: none !important;
  visibility: hidden;
}
/*
 * Hide only visually, but have it available for screen readers: h5bp.com/v
 */

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}
/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}
/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before, .clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}
.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 30em) {
#steHeader h1, #steHeader nav {
  display: table-cell;
  vertical-align: top;
}
#steHeader h1 {
  width: 40%;
}
#steHeader nav ul {
  margin-top: .5em;
}
#products .col {
  display: inline-block;
  width: 30%;
  margin: .25em;
}
#testimonials .col {
  display: inline-block;
  width: 29%;
  margin: .5em;
}
#products-pager .col, .quarters .col {
  width: 33%;
}
}

@media only screen and (min-width: 40em) {
#steHeader h1 {
  position: relative;
  top: -9px;
}
#steHeader .wrap {
  margin-bottom: -2.5em;
}
#products, #testimonials, #contact {
  margin-top: 2.5em;
}
#intro .col {
  display: inline-block;
  width: 17%;
  vertical-align: middle;
  margin: 1%;
  padding: 1%;
}
#slideshow .prev, #slideshow .next {
  font-size: 4em;
}
#products-pager .col, .quarters .col {
  width: 21%;
}
}

@media only screen and (min-width: 50em) {
#steHeader nav {
  padding: 1%;
}
#steHeader .wrap {
  margin-bottom: -3em;
}
#products, #testimonials, #contact {
  margin-top: 3em;
}
#products .col {
  width: 17%;
}
#testimonials .col {
  width: 23%;
  margin: 1 1.5em;
}
#steFooter .colophon .wrap {
  background-image: url(../img/logo-white.svg);
  background-repeat: no-repeat;
  background-position: 98% center;
  background-size: 40%;
}
#products-pager .col, .quarters .col {
  font-size: 1em;
}
}

@media only screen and (min-width: 60em) {
#steHeader h1 {
  width: 30%;
}
#steHeader .wrap {
  margin-bottom: -4em;
}
#products, #testimonials, #contact {
  margin-top: 4em;
}
#slideshow .prev, #slideshow .next {
  font-size: 5em;
}
}

@media only screen and (min-width: 70em) {
#steHeader h1 {
  left: 3%;
}
#steHeader .wrap {
  margin-bottom: -5em;
}
#products, #testimonials, #contact {
  margin-top: 5em;
}
}

@media print, (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
/* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request: h5bp.com/r
   ========================================================================== */

@media print {
*, *:before, *:after {
  background: transparent !important;
  color: #000 !important; /* Black prints faster: h5bp.com/s */
  box-shadow: none !important;
  text-shadow: none !important;
}
a, a:visited {
  text-decoration: underline;
}
a[href]:after {
  content: " (" attr(href) ")";
}
abbr[title]:after {
  content: " (" attr(title) ")";
}
/*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

a[href^="#"]:after, a[href^="javascript:"]:after {
  content: "";
}
pre, blockquote {
  border: 1px solid #999;
  page-break-inside: avoid;
}
thead {
  display: table-header-group; /* h5bp.com/t */
}
tr, img {
  page-break-inside: avoid;
}
img {
  max-width: 100% !important;
}
p, h2, h3 {
  orphans: 3;
  widows: 3;
}
h2, h3 {
  page-break-after: avoid;
}
}
