/* Variables */
/* Fonts and Effects */
.transition,
.btn,
a {
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.text-legibility {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* General Layout */
body {
  background-color: #ffffff;
  font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body .btn {
  padding: 0.5em 2em;
  text-transform: uppercase;
  font-size: 0.8em;
  font-weight: 700;
  font-family: "Quattrocento Sans", Georgia, serif;
}
body > header,
body > section,
body > footer,
body > nav {
  clear: both;
  text-align: center;
  position: relative;
}
body > header h1,
body > section h1,
body > footer h1,
body > nav h1,
body > header h2,
body > section h2,
body > footer h2,
body > nav h2 {
  text-align: center;
  color: #2980b9;
  font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body > header h1,
body > section h1,
body > footer h1,
body > nav h1 {
  font-size: 3.5em;
  margin: 0.75em 0px 2em;
}
body > header h1.white,
body > section h1.white,
body > footer h1.white,
body > nav h1.white {
  color: #ffffff;
  position: relative;
}
body > header h2,
body > section h2,
body > footer h2,
body > nav h2 {
  font-size: 1.4em;
  font-family: "Quattrocento Sans", Georgia, serif;
  color: #58595b;
}
body > header > .wrapper,
body > section > .wrapper,
body > footer > .wrapper,
body > nav > .wrapper {
  max-width: 1200px;
  min-width: 300px;
  margin: 0 auto;
}
body > header > .overlay,
body > section > .overlay,
body > footer > .overlay,
body > nav > .overlay {
  position: absolute;
  z-index: 0;
  top: 0px;
  left: 0px;
  bottom: 0px;
  right: 0px;
  background: rgba(0, 0, 0, 0.4);
}
body > header,
body > section,
body > footer {
  padding: 5em 0 6em;
  overflow: hidden;
}
body > header {
  background: #fff url(../assets/graphics/jeremy_cover-lg.webp) no-repeat top center;
  border-bottom: solid 1px #ccc;
  padding: 8em 0px 6em;
  background-size: cover;
  min-height: 700px;
}
body > header figure h1 {
  color: #1a1a1a;
  font-family: "Quattrocento Sans", Georgia, serif;
  font-size: 5em;
  text-align: left;
  line-height: 1em;
  margin: 0.5em auto 0.25em;
  letter-spacing: -0.02em;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body > header figure h2 {
  font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-align: left;
  margin: 0px auto 1.5em;
  padding-left: 5px;
  font-size: 1.5em;
  font-weight: 300;
  color: #555;
  line-height: 1.5em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body > header figure h2 a {
  text-decoration: none;
  border-bottom: 1px dashed #3498db;
  font-weight: bold;
}
body > header figure h2 a .glyphicon {
  top: 3px;
}
body > header figure h2 a:hover,
body > header figure h2 a:focus {
  color: #5faee3;
  text-decoration: none;
  border-bottom: 1px dashed #2980b9;
}
body > header figure h2 a.more-info span.glyphicon:before {
  font-size: 0.6em;
  position: relative;
  top: -3px;
}
body > header figure img {
  max-width: 100%;
  margin: 50px auto 0px;
  display: block;
}
body .sub-nav.wrapper {
  position: sticky;
  top: 0px;
  z-index: 5;
}
body .sub-nav.wrapper nav.sub-nav {
  background: #dbe5e8;
  margin-bottom: 0em;
  position: relative;
  width: 100%;
}
body .sub-nav.wrapper nav.sub-nav ul.wrapper {
  max-width: 767px;
  margin: 0 auto;
  padding: 0;
  list-style-type: none;
}
body .sub-nav.wrapper nav.sub-nav ul.wrapper li a {
  line-height: 65px;
  display: block;
  float: left;
  width: 20%;
  font-family: "Quattrocento Sans", Georgia, serif;
  font-size: 1.2em;
  text-decoration: none;
  text-align: center;
  border-bottom: solid 4px transparent;
  font-weight: 700;
}
body .sub-nav.wrapper nav.sub-nav ul.wrapper li.active a {
  border-bottom-color: #3498db;
  background-position: center bottom;
}
body > section figure h1 {
  font-size: 1.5em;
}
body > section figure figcaption {
  padding-bottom: 1.5em;
  font-size: 1.3em;
  font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body > section#consultation {
  background: #f1f1f1 radial-gradient(circle farthest-corner at right bottom, #81a3c0 0, #497192 50%, #16222C 100%);
  border-top: solid 1px #ccc;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body > section#consultation h1 {
  color: #ffffff;
}
body > section#consultation figure {
  margin-bottom: 2em;
  color: #ffffff;
}
body > section#consultation figure h2 {
  font-weight: 700;
  color: #ffffff;
}
@media (max-width: 992px) and (min-width: 768px) {
  body > section#consultation figure:nth-child(2n) {
    clear: both;
  }
}
body > section#experience {
  background: #ffffff;
  margin: 0 auto;
  padding-bottom: 8em;
}
body > section#experience h1 {
  margin-bottom: 0px;
}
body > section#experience h2 {
  font-weight: 300;
  margin-bottom: 3em;
  line-height: 1.6;
}
body > section#experience figure img {
  max-width: 100%;
  height: auto;
}
body > section#webcakes {
  padding: 10em 0px 8em;
  background-image: url(../assets/backgrounds/bg_webcakes.webp);
  background-position: top center;
  background-size: cover;
  position: relative;
  text-align: left;
  color: #ffffff;
}
body > section#webcakes:before {
  position: absolute;
  content: '';
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(27, 27, 27, 0.8);
}
body > section#webcakes > .wrapper {
  position: relative;
}
body > section#webcakes h1 {
  color: #ffffff;
  font-weight: 700;
  margin: 0em;
  font-size: 4em;
  text-transform: uppercase;
}
body > section#webcakes hr.h1-divider {
  width: 70px;
  border-width: 5px;
  border-color: #fff;
  margin: 2em 0;
  text-align: left;
}
body > section#webcakes blockquote {
  margin-bottom: 4em;
  border-left-width: 0px;
}
body > section#webcakes blockquote .quote.quote-block {
  position: relative;
  line-height: 1.5em;
  text-align: center;
  color: #ffffff;
}
body > section#webcakes blockquote .quote.quote-left {
  position: absolute;
  top: 0em;
  left: -0.4em;
  font-size: 4em;
}
body > section#webcakes blockquote .quote.quote-right {
  position: absolute;
  bottom: -0.5em;
  right: -0.3em;
  font-size: 4em;
}
body > section#webcakes blockquote .quote.quote-author {
  font-size: 1.2em;
  color: #ffffff;
}
body > section#webcakes blockquote .quote.quote-company {
  font-size: 1.2em;
}
body > section#webcakes figure h1 {
  text-align: left;
}
body > section#webcakes figure h2 {
  font-family: "Quattrocento Sans", Georgia, serif;
  text-align: left;
  font-size: 1.4em;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.55em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body > section#webcakes figure h2 a {
  text-decoration: none;
}
body > section#webcakes figure h2 a .glyphicon {
  top: -1px;
}
body > section#webcakes figure h2 a .glyphicon:before {
  font-size: 0.6em;
}
body > section#webcakes figure h2 a:hover {
  text-decoration: none;
}
body > section#webcakes figure img {
  margin-top: -3em;
}
body > section#webcakes figcaption,
body > section#webcakes p {
  text-align: left;
  word-spacing: -0.02em;
  line-height: 1.6em;
  font-size: 1.2em;
  color: #666;
}
body > section#contact figure.information h2 {
  font-size: 3em;
  text-transform: none;
  color: #2e7e99;
  margin-bottom: 0.5em;
}
body > section#contact figure.information h3 {
  font-size: 1.2em;
  margin-top: 0;
  margin-bottom: 3em;
  text-transform: uppercase;
}
body > section#contact figure.information h4 {
  text-transform: uppercase;
  text-align: left;
  font-size: 1em;
}
body > section#contact figure.information address {
  font-size: 1.1em;
  text-align: left;
}
body > section#contact figure.information hr {
  margin-bottom: 3em;
}
body > section#contact figure.information #map-canvas {
  height: 300px;
  margin-top: 1em;
}
body > section#contact h1 {
  margin-bottom: 0em;
}
body > section#contact h2 {
  margin-bottom: 1em;
  font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body > section#contact h2#notice {
  line-height: 1.6;
}
body > section#contact figure.contact h1 {
  font-size: 3.5em;
  margin-top: 0.4em;
}
body > section#contact figure.contact form {
  font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body > section#contact figure.contact form input[type='text'],
body > section#contact figure.contact form input[type='email'],
body > section#contact figure.contact form textarea {
  font-size: 1.4em;
  padding: 0.5em 1em;
  margin: 1.5em 0px;
  height: auto;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 0px;
}
body > section#contact figure.contact form input[type='text']:hover,
body > section#contact figure.contact form input[type='email']:hover,
body > section#contact figure.contact form textarea:hover,
body > section#contact figure.contact form input[type='text']:focus,
body > section#contact figure.contact form input[type='email']:focus,
body > section#contact figure.contact form textarea:focus {
  background: #ffffff;
}
body > section#contact figure.contact form textarea {
  height: 6.5em;
}
body > section#contact figure.contact form label {
  text-align: left;
  display: block;
  margin: -1.5em 0px 0.5em;
  padding: 0px;
  color: #333;
  text-shadow: 0px 0px 20px #ffffff;
  font-size: 1.2em;
}
body > section#contact figure.contact form #submit {
  font-size: 1.2em;
}
body > section#contact figure.contact form #submit.complete {
  background-color: #ccc;
  color: #3498db;
}
body > footer {
  background: #333 url('../assets/backgrounds/bg_footer.webp') repeat;
  color: #ddd;
}
body > footer nav {
  margin: 20px 0px;
}
body > footer nav a {
  color: #ddd;
  font-size: 1.3em;
  margin: 0px 10px;
}
body > footer nav a:hover {
  text-decoration: none;
  color: #ffffff;
}
body > footer div.footer-copyright {
  margin: 20px auto 5px;
}
/* Media Queries */
@media only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2), only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
  body > header {
    background-image: url(../assets/graphics/jeremy_cover-lg@2x.webp);
  }
}
@media (max-width: 991px) {
  .hidden-xs-justified {
    display: none!important;
  }
  img {
    max-width: 100%;
  }
  body > header {
    padding-top: 1em;
    background-image: none;
  }
  body > header .header {
    text-align: center;
    padding: 0px 0.5em;
  }
  body > section {
    padding-left: 1em;
    padding-right: 1em;
  }
  body div.sub-nav {
    display: none;
  }
  body div.sub-nav ul.wrapper li a {
    width: 100%;
    border-bottom: solid 1px #ccc;
    padding-left: 1em;
    text-align: center;
  }
  body div.sub-nav ul.wrapper li.active a {
    padding-bottom: 0px;
    margin-bottom: 0px;
    background: none;
  }
  body div.sub-nav.wrapper {
    height: auto !important;
  }
  body div.sub-nav.wrapper nav.sub-nav.affix {
    position: static;
  }
}
/* ==========================================================================
   Helper classes (Taken from html5boilerplate main.css)
   ========================================================================== */
/*
 * Image replacement
 */
.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  /* IE 6/7 fallback */
  *text-indent: -9999px;
}
.ir:before {
  content: '';
  display: block;
  width: 0;
  height: 150%;
}
/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */
.hidden {
  display: none !important;
  visibility: hidden;
}
/*
 * Hide only visually, but have it available for screenreaders: 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 screenreaders, 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;
}
/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.clearfix {
  *zoom: 1;
}
