/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * 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:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
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
   ========================================================================== */

img {
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

.btn {
  font-weight: bold;
  font-size: 18px;
  line-height: 1;
  padding: 16px 20px;
  padding-left: 70px;
  border-radius: 0;
  width: 300px;
  max-width: 100%;
  font-family: 'Source Sans Pro', sans-serif;
  text-transform: uppercase;
  position: relative;
  border: 0;
}

.btn:before {
  content: "\f0c1";
  position: absolute;
  width: 50px;
  height: 50px;
  top: 0;
  left: 0;
  font: normal normal normal 14px/1 FontAwesome;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 20px;
  line-height: 50px;
  text-align: center;
}

.btn:before, .btn.btn-style-1:before {
  background-color: #13999f;
}

.btn:before, .btn.btn-style-2:before {
  background-color: #bb1f00;
}

.btn.phone-btn:before {
  content: "\f095";
}

.btn.email-btn:before {
  content: "\f003";
}

.btn, .btn.btn-style-1 {
  background-color: #00C2CB;
  color: #ffff;
}

.btn:hover, .btn.btn-style-1:hover {
  background-color: #008A90;
  color: #fff;
}

.btn.btn-style-2 {
  background-color: #eb4200;
  color: #fff;
}

.btn.btn-style-2:hover {
  background-color: #BC3600;
  color: #fff;
}

a {
  text-decoration: none;
  color: #384258;
}

a:hover {
  text-decoration: underline;
  color: #384258;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

h1, .h1 {
  font-size: 40px;
}

h2, .h2 {
  font-size: 36px;
}

h3, .h3 {
  font-size: 32px;
}

h4, .h4 {
  font-size: 28px;
}

h5, .h5 {
  font-size: 24px;
}

h6, .h6 {
  font-size: 18px;
}

.section > .container {
  padding-top: 40px;
  padding-bottom: 40px;
}

#offer-banner-section > .container, 
#headline-section > .container, 
#accreditation-section > .container, 
#about-section > .container, 
.cta-banner-section > .container {
padding-top: 0;
padding-bottom: 0;
}

.form-control {
  border: 0;
  background-color: #e2e2e2;
  padding: 7px 12px;
  height: auto;
  border-radius: 0;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  color: #777;
  font-size: 15px;
  margin-bottom: 5px;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #2a2a2a;
}

p:last-of-type {
  margin-bottom: 0;
}

a, input[type=button], input[type=submit], button, .btn {
  transition: all .4s ease;
  -webkit-transition: all .4s ease;
  -moz-transition: all .4s ease;
  -o-transition: all .4s ease;
}

ol, ul, dl {
  margin-bottom: 0;
}

ul li, ol li {
  margin-bottom: 5px;
}

ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

audio, canvas, iframe, img, svg, video {
  border: 0;
  background-color: transparent;
}

header#main-header {
  background-color: #efefef;
}

header#main-header .mid-header {
  padding-top: 30px;
  padding-bottom: 30px;
}

header#main-header .header-cta-container p {
  margin-bottom: 15px;
}

header#main-header .header-cta-container {
  font-size: 18px;
}

#offer-banner-section {
  background-color: #545454;
}

#offer-banner-section * {
  color: #fff;
  text-transform: uppercase;
}

#offer-banner-section .cta-header {
  font-size: 18px;
  margin: 0;
}

#headline-section {
  background-image: url(../img/image-header-gray.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

#headline-section:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(212,241,242,0.76);
}

#headline-section > .container {
  position: relative;
  z-index: 1;
}

#headline-section .headline-text ul.services-list {
  padding-bottom: 15px;
}

#headline-section .headline-text ul.services-list li {
  font-size: 20px;
}

#headline-section .headline-text .header-text {
  font-size: 72px;
  line-height: 1;
  margin-bottom: 15px!important;
}

#headline-section .headline-text {
  font-size: 26px;
  text-shadow: rgba(0,0,0,0.15) 2px 2px 2px;
  font-weight: 600;
}

#headline-section .headline-form {
  background-color: #fff;
  margin-top: 20px;
}

#headline-section .headline-form .form-text {
  margin: 0;
  background-color: #545454;
  padding: 20px 25px;
}

#headline-section .headline-form .form-text * {
  color: #fff;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 18px;
}

#headline-section .headline-form .form-text .form-header {
  margin: 0;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

#headline-section .headline-form .contact-form {
  padding: 30px;
}

#headline-section .headline-form .contact-form form#contact-form button {
  width: 100%;
}

#about-section .about-img-col {
  max-width: 303px;
  flex: 0 0 303px;
  -ms-flex: 0 0 303px;
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: -3rem;
}

#about-section .about-text-col {
  max-width: calc(100% - 303px);
  flex: 0 0 calc(100% - 303px);
  -ms-flex: 0 0 calc(100% - 303px);
  padding-left: 15px;
  padding-right: 15px;
}

#about-section .about-text-col h3 {
  font-size: 24px;
}

#about-section .about-text-col * {
  font-size: 18px;
}

#about-section .about-text-col h3 {
  font-size: 24px;
  margin-bottom: 30px;
}


#accreditation-section {
  background-color: #13999F;
}

#accreditation-section * {
  color: #fff;
}

#accreditation-section .accreditation-entry {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

#accreditation-section .accreditation-entry .icon-container {
  max-width: 50px;
  flex: 0 0 50px;
  -ms-flex: 0 0 50px;
}

#accreditation-section .accreditation-entry .icon-container i.fa {
  font-size: 40px;
}

#accreditation-section .accreditation-entry .desc-container {
  max-width: calc(100% - 50px);
  flex: 0 0 calc(100% - 50px);
  -ms-flex: 0 0 calc(100% - 50px);
}

#accreditation-section .accreditation-entry .desc-container h3 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 18px;
  margin-top: 6px;
  margin-bottom: 10px;
}

#accreditation-section .accreditation-entry .desc-container p {
  font-size: 14px;
  line-height: 1.7;
}

#about-section .video-content {
  position: relative;
  height: 100%;
}

#divider-section {
  background-image: url(../img/plumbing-toola.jpg);
  height: 250px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

#divider-section:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(17,17,17,0.5);
}

#services-section .section-header {
  font-size: 18px;
  width: 910px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.service-entry {
  margin-bottom: 30px;
}

.service-entry .service-img img {
  width: 100%;
}

.service-entry .service-title {
  background-color: #13999F;
  padding: 10px 15px;
  text-align: center;
}

.service-entry .service-title * {
  color: #fff;
  font-size: 18px;
  margin: 0;
}

.cta-banner-section, .cta-banner-section.cta-banner-section-1 {
  background-color: #13999F;
  font-size: 18px;
}

.cta-banner-section *, .cta-banner-section.cta-banner-section-1 * {
  color: #fff;
}

.cta-banner-section.cta-banner-section-2 {
  background-color: #2A2A2A;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  padding-top: 15px;
  padding-bottom: 15px;
  border-top: 1px solid #242424;
}

.cta-banner-section .or-text {
  width: 65px;
  display: inline-block;
}

#testimonials-section .testimonials-row .col-md-6 {
  margin-bottom: 30px;
}

.testimonial-entry {
  padding: 25px 30px;
  border: 1px solid #e2e2e2;
  background-color: #fafafa;
  position: relative;
  height: 100%;
}

.testimonial-entry .testimonial-details {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.testimonial-entry .testimonial-details .star-container img {
  width: 140px;
}

.testimonial-entry .testimonial-details .star-container {
  max-width: 140px;
  flex: 0 0 140px;
  -ms-flex: 0 0 140px;
}

.testimonial-entry .testimonial-details .author-name {
  max-width: calc(100% - 140px);
  flex: 0 0 calc(100% - 140px);
  -ms-flex: 0 0 calc(100% - 140px);
}

.testimonial-entry .testimonial-details .author-name * {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: bold;
  display: block;
  margin-top: 7px;
}

.testimonial-entry .testimonial-par * {
  font-style: italic;
  color: #888;
}

.wcu-entry {
  text-align: center;
  background-color: #fafafa;
  border: 1px solid #e2e2e2;
  padding: 20px 25px;
  position: relative;
  height: 100%;
}

.wcu-entry .wcu-img {
  margin-bottom: 15px;
}

.wcu-entry .wcu-img img {
  height: 65px;
  width: auto;
}

#map-section {
  height: 500px;
  background-color: #e2e2e2;
  position: relative;
}

#map-section .container-fluid, #map-section .container-fluid .row {
  position: relative;
  height: 100%;
}

#map-section .content {
  position: relative;
  height: 100%;
}

#map-section .content p {
  font-size: 36px;
  color: #888;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}

footer#main-footer {
  margin-bottom: 80px;
}

footer#main-footer * {
  color: #fff;
}

footer#main-footer .footer-top {
  background-color: #545454;
}

footer#main-footer .footer-top .address-content, footer#main-footer .footer-top .calendar-content {
  background-color: #676767;
  padding: 25px 30px;
  position: relative;
  height: 100%;
}

footer#main-footer .footer-bottom {
  background-color: #2A2A2A;
}

footer#main-footer .footer-bottom * {
  font-size: 12px;
}

ul.footer-menu {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

ul.footer-menu li {
  display: inline-block;
  padding-right: 10px;
  border-right: 1px solid #fff;
  margin-right: 10px;
}

ul.footer-menu li:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

ul.footer-menu li a {
  text-decoration: underline;
}

#form-section {
  background-color: #f2f2f2;
  display: none;
}

#form-section .form-content {
  background-color: #fff;
  width: 360px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#form-section .form-content .form-text {
  margin: 0;
  padding: 25px 30px;
  background-color: #545454;
}

#form-section .form-content .form-text * {
  margin: 0;
  color: #fff;
  font-size: 18px;
  width: 270px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#form-section .form-content .contact-form {
  padding: 30px;
}

#form-section .form-content .contact-form .btn {
  width: 100%;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  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 (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }

  #about-section .container {
      max-width: 1050px;
  }
}

@media (max-width: 1199px) {
  #headline-section .col-md-8 {
      max-width: 100%;
      flex: 0 0 100%;
      -ms-flex: 0 0 100%;
  }

  #headline-section .col-md-4 {
      display: none;
  }

  #form-section {
      display: block;
  }

  #headline-section .headline-text * {
      text-align: center!important;
  }

  #headline-section .headline-text .header-text {
      font-size: 48px;
  }

  #accreditation-section .col-md-3 {
      max-width: 50%;
      flex: 0 0 50%;
      -ms-flex: 0 0 50%;
      margin-bottom: 30px;
  }

  #about-section .col-md-5, #about-section .col-md-7 {
      max-width: 100%;
      flex: 0 0 100%;
      -ms-flex: 0 0 100%;
  }

  #about-section .video-content {
      height: 383px;
      margin-bottom: 20px;
  }

  #services-section .col-md-4 {
      max-width: 50%;
      flex: 0 0 50%;
      -ms-flex: 0 0 50%;
  }

  #headline-section .headline-text ul.services-list {
      width: 335px;
      max-width: 100%;
      margin-left: auto;
      margin-right: auto;
  }

  #headline-section .headline-text ul.services-list li {
      text-align: left!important;
  }

  #about-section {
      position: relative;
  }

  #about-section .about-img-col {
      position: absolute;
      bottom: 0px;
      margin-bottom: 0;
  }

  #about-section .about-text-col {
      margin-left: 303px;
  }
}

@media (max-width: 991px) {
  #headline-section .headline-text .header-text {
      font-size: 36px;
  }

  #headline-section .headline-text {
      font-size: 22px;
  }

  #testimonials-section .testimonials-row .col-md-6 {
      max-width: 100%;
      flex: 0 0 100%;
      -ms-flex: 0 0 100%;
  }

  #testimonials-section .testimonials-row .col-md-6:last-of-type {
      margin-bottom: 0;
  }

  #divider-section {
      height: 150px;
  }

  #wcu-section .col-md-4 {
      max-width: 100%;
      flex: 0 0 100%;
      -ms-flex: 0 0 100%;
      margin-bottom: 30px;
  }

  #wcu-section .col-md-4:last-of-type {
      margin-bottom: 0;
  }

  .wcu-entry,
  .testimonial-entry {
      width: 360px;
      max-width: 100%;
      margin-left: auto;
      margin-right: auto;
  }

  #about-section .about-text-col {
      margin-left: 0;
      max-width: 100%;
      flex: 0 0 100%;
      -ms-flex: 0 0 100%;
      margin-bottom: 360px;
  }

  #about-section .about-img-col {
      max-width: 290px;
      flex: 0 0 290px;
      -ms-flex: 0 0 290px;
      left: 50%;
      transform: translateX(-50%);
      -webkit-transform: translateX(-50%);
      -moz-transform: translateX(-50%);
      -o-transform: translateX(-50%);
  }

  footer#main-footer .footer-bottom .col-md-6 {
      max-width: 100%;
      flex: 0 0 100%;
      -ms-flex: 0 0 100%;
      text-align: center;
  }

  footer#main-footer .footer-bottom .footer-menu-content {
      margin-bottom: 10px;
  }

  footer#main-footer .footer-bottom .copyright-content * {
      text-align: center!important;
  }
}

@media (max-width: 767px) {
  header#main-header .mid-header {
      text-align: center;
  }

  header#main-header .mid-header .header-cta-container {
      display: none;
  }

  #headline-section .headline-text .header-text {
      font-size: 30px;
  }

  #headline-section .headline-text {
      font-size: 18px;
  }

  #accreditation-section .col-md-3 {
      max-width: 100%;
      flex: 0 0 100%;
      -ms-flex: 0 0 100%;
  }

  #about-section .video-content {
      width: 300px;
      max-width: 100%;
      margin-left: auto;
      margin-right: auto;
      height: 164px;
  }

  #about-section .text-content {
      width: 300px;
      max-width: 100%;
      margin-left: auto;
      margin-right: auto;
  }

  body {
      font-size: 14px;
  }

  #offer-banner-section .cta-header {
      font-size: 16px;
  }

  h1, .h1 {
      font-size: 32px;
  }

  h2, .h2 {
      font-size: 28px;
  }

  .h3, .h3 {
      font-size: 24px;
  }

  h4, .h4 {
      font-size: 20px;
  }

  h5, .h5 {
      font-size: 16px;
  }

  h6, .h6 {
      font-size: 14px;
  }

  #services-section .section-header {
      font-size: 16px;
  }

  #services-section .col-md-4 {
      max-width: 100%;
      flex: 0 0 100%;
      -ms-flex: 0 0 100%;
  }

  .service-entry {
      width: 300px;
      max-width: 100%;
      margin-left: auto;
      margin-right: auto;
  }

  #services-section .col-md-4:last-of-type .service-entry {
      margin-bottom: 0;
  }
  .service-entry .service-title * {
      font-size: 16px;
  }

  footer#main-footer .footer-top .address-content, footer#main-footer .footer-top .calendar-content {
      width: 300px;
      max-width: 100%;
      margin-left: auto;
      margin-right: auto;
  }

  footer#main-footer .footer-top .col-md-6 {
      margin-bottom: 30px;
  }

  footer#main-footer .footer-top .col-md-6:last-of-type {
      margin-bottom: 0;
  }

  #map-section {
      height: 300px;
  }

  .cta-banner-section .or-text {
      display: none;
  }

  .cta-banner-section.cta-banner-section-2 .btn.email-btn {
      margin-bottom: 15px;
  }

  footer#main-footer {
      margin-bottom: 145px;
  }

  footer#main-footer .footer-bottom * {
      text-align: center!important;
  }

  .footer-menu-content {
      margin-bottom: 10px;
  }

  #accreditation-section .accreditation-entry {
      width: 300px;
      max-width: 100%;
      margin-left: auto;
      margin-right: auto;
  }

  #accreditation-section .col-md-3:last-of-type {
    margin-bottom: 0;
  } 

  .section > .container {
    padding-top: 0;
    padding-bottom: 0;
  }
}

@media (max-width: 575px) {
  .btn:before {
    display: none;
  }

  .btn {
      padding-left: 20px;
  }
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    -webkit-box-shadow: none !important;
    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 {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

