/* General
----------------------------------------------------------------------------- */

/* Needed so text doesn't appear half-hidden when using angles */
.wpd-lb {
  position: relative;
  z-index: 1;
}

/* Typography
----------------------------------------------------------------------------- */

.wpd-lb li {
  margin-bottom: 5px;
}

.wpd-lb h2 {
  margin-bottom: 28px;
}

.wpd-lb .dark {
  color: #fff;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wpd-lb .dark h1,
.wpd-lb .dark h2,
.wpd-lb .dark h3,
.wpd-lb .dark h4,
.wpd-lb .dark h5,
.wpd-lb .dark h6,
.wpd-lb .dark .h1,
.wpd-lb .dark .h2,
.wpd-lb .dark .h3,
.wpd-lb .dark .h4,
.wpd-lb .dark .h5,
.wpd-lb .dark .h6 {
  color: #fff;
}

/* Content Section
----------------------------------------------------------------------------- */

.wpd-lb .first {
  clear: both;
  margin-left: 0 !important;
}

.wpd-lb .column-section {
  overflow: hidden;
  padding: 100px 0;
}

.wpd-lb .triple-column .one-third {
  margin-left: 0;
  width: 100%;
}

.wpd-lb .double-column .one-half.first,
.wpd-lb .triple-column .one-third:nth-of-type(1),
.wpd-lb .triple-column .one-third:nth-of-type(2) {
  margin-bottom: 40px;
}

.wpd-lb .triple-column .one-third:nth-of-type(1) .button,
.wpd-lb .triple-column .one-third:nth-of-type(2) .button {
  margin-bottom: 50px;
}

/* Small Column w/ Image
----------------------------------------------------------------------------- */

.wpd-lb .bleed {
  line-height: 0;
}

.wpd-lb .bleed-content h2,
.wpd-lb .bleed-content p ~ ul {
  margin-bottom: 20px;
}

.wpd-lb .bleed-content h2 + p + ol {
  margin-top: 20px;
}

/* Image
----------------------------------------------------------------------------- */

/* Added to full width images and full wrap images */
.wpd-lb .cs-image {
  line-height: 0;
  margin-bottom: -1px;
  text-align: center;
}

/* Side By Side Images
----------------------------------------------------------------------------- */

.wpd-lb .dbl-img .one-half {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 157px;
  margin-left: 0;
}

/* Parallax Image
----------------------------------------------------------------------------- */

.wpd-lb .parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 550px;
  width: 100%;
}

/* Content and Image Section
----------------------------------------------------------------------------- */

.wpd-lb .cis .image-bg {
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 400px;
}

/*.wpd-lb .no-top-padding .cis .cis-content {
  padding: 80px 5% 80px 5%;
}*/
.wpd-lb .cis .cis-content {
  padding: 80px 5% 80px 5%;
}

/* Testimonials
----------------------------------------------------------------------------- */

.wpd-lb .testimonial .quote::before,
.wpd-lb .long-testimonial .quote::before {
  color: #bcbcbc;
  content: '\f122';
  font-family: 'dashicons';
  font-size: 445%;
  font-weight: normal;
  line-height: 80px;
}

.wpd-lb .testimonial .client,
.wpd-lb .long-testimonial .client {
  margin-top: 28px;
}

.wpd-lb .testimonial .client,
.wpd-lb .testimonial .client-title,
.wpd-lb .long-testimonial .client,
.wpd-lb .long-testimonial .client-title {
  font-size: 90%;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 22px;
  text-transform: uppercase;
}

.wpd-lb .testimonial {
  font-weight: 700;
}

.wpd-lb .testimonial .quote {
  font-size: 135%;
  line-height: 32px;
}

.wpd-lb .dark .testimonial .quote,
.wpd-lb .dark .testimonial .client,
.wpd-lb .dark .testimonial .client-title {
  color: #fff;
}

.wpd-lb .long-testimonial {
  overflow: hidden;
}

.wpd-lb .long-testimonial strong {
  font-size: 135%;
  font-weight: 700;
  line-height: 32px;
}

.wpd-lb .dark .long-testimonial {
  color: #aaa;
}

.wpd-lb .dark .long-testimonial .quote::before {
  color: gray;
}

.wpd-lb .dark .long-testimonial strong,
.wpd-lb .dark .long-testimonial .client,
.wpd-lb .dark .long-testimonial .client-title {
  color: #fff;
}

/* CTA
----------------------------------------------------------------------------- */

.wpd-lb .call-to-action {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  padding: 100px 0;
  text-align: center;
}

.wpd-lb .call-to-action .btw {
  font-size: 80%;
  font-style: italic;
}

/* Adjustments
----------------------------------------------------------------------------- */

/* Centers the Content section headline when checkbox is selected */
.wpd-lb .centered h2 {
  margin: 0 auto 28px;
  text-align: center;
}

.wpd-lb .no-bottom-padding {
  padding-bottom: 0;
}

.wpd-lb .no-bottom-padding .bleed-content {
  padding-bottom: 100px;
}

.wpd-lb .no-top-padding {
  padding-top: 0;
}

.wpd-lb .no-top-padding .bleed-content {
  padding-top: 100px;
}

/* Hack Library
----------------------------------------------------------------------------- */

/* Overrides the 80% width limit on single-column Content sections */
.wpd-lb .max-width .single-column {
  max-width: 100%;
}

/* Overrides wrap max-width to be full width of site */
.wpd-lb .full-width .wrap,
.wpd-lb .full-width .single-column {
  max-width: 100%;
}

/* Available for supporting copy columns */
.wpd-lb .smaller-columns .one-half,
.wpd-lb .smaller-columns .one-third,
.wpd-lb .smaller-columns .one-fourth {
  font-size: 90%;
}

/* Media Queries
----------------------------------------------------------------------------- */

.wpd-lb .mobile {
  display: none;
}

@media (max-width: 767px) {

  .wpd-lb .hidden-mobile {
    display: none !important;
  }

}

@media (min-width: 768px) {

  .wpd-lb .wrap + h2,
  .wpd-lb .single-column {
    max-width: 80%;
  }

  .wpd-lb .half {
    float: left;
    width: 50%;
  }

  .wpd-lb .double-column .one-half.first,
  .wpd-lb .triple-column .one-third:nth-of-type(1),
  .wpd-lb .triple-column .one-third:nth-of-type(2) {
    margin-bottom: 0;
  }

  .wpd-lb .dbl-img .one-half {
    height: 336px;
    width: 50%;
  }

  .wpd-lb .bleed {
    float: right;
    line-height: 0;
    margin-right: -100px !important;
  }

}

@media (min-width: 768px) and (max-width: 1023px) {

  .wpd-lb .hidden-tablet {
    display: none !important;
  }

}

@media (min-width: 1024px) {

  .wpd-lb .hidden-desktop {
    display: none !important;
  }

  /* Part of Hack Library; When mobile body copy should be left-aligned and desktop centered */
  .wpd-lb .center-desktop h2 {
    margin: 0 auto 28px;
    text-align: center;
  }

  .wpd-lb .center-desktop .single-column {
    margin: 0 auto;
    text-align: center;
  }

  /* Part of Hack Library; Apply padding to text in a double-column Content section
  when an image is added to the opposite column  */
  .wpd-lb .no-bottom-padding.bleed-content .double-column .one-half {
    padding-bottom: 60px;
  }

  .wpd-lb .no-top-padding.bleed-content .double-column .one-half {
    padding-top: 100px;
  }

  .wpd-lb .no-bottom-padding.bleed-content .double-column .one-half img {
    margin-bottom: -70px;
  }

  .wpd-lb .no-top-padding.bleed-content .double-column .one-half img {
    margin-top: -100px;
  }
  /* End Hack */

  .wpd-lb .first.one-third,
  .wpd-lb .first.one-half {
    margin-left: 0;
  }

  .wpd-lb .triple-column .one-third {
    margin-left: 2.564102564102564%;
    width: 31.623931623931625%
  }

  .wpd-lb .dbl-img .one-half {
    height: 650px;
  }

  .wpd-lb .call-to-action p {
    margin: 0 auto 28px;
    max-width: 80%;
  }

  .wpd-lb .call-to-action h2 {
    margin: 0 auto 28px;
  }

  .wpd-lb .no-top-padding .cis .first .cis-content {
    padding: 80px 10% 80px 15%;
  }

  .wpd-lb .cis .one-half {
    margin-left: 0;
    width: 50%;
  }

  .wpd-lb .cis .first .cis-content {
    padding: 0 10% 0 15%;
  }

  .wpd-lb .cis .cis-content {
    padding: 0 15% 0 10%;
  }

  .wpd-lb .no-top-padding .cis .cis-content {
    padding: 80px 15% 80px 10%;
  }

}
