/*! 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;
}

body {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #7c7c7c;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  color: #2d2d2d;
  font-weight: 700;
}

p:last-of-type {
  margin-bottom: 0;
}

.btn {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
  padding: 14px 22px;
  width: 300px;
  max-width: 100%;
}

.btn.btn-style-1 {
  background-color: #f36e54;
  color: #fff;
}

.btn.btn-style-1:hover {
  background-color: #DE492E;
}

.btn.btn-style-2 {
  background-color: #268da5;
  color: #fff;
}

.btn.btn-style-2:hover {
  background-color: #067C98;
}

.btn.btn-style-3 {
  background-color: #f6926f;
  color: #fff;
}

.btn.btn-style-3:hover {
  background-color: #D56A45;
}

.form-control {
  border: 1px solid #e2e2e2;
  background-color: #fff;
  border-radius: 5px;
  padding: 14px 20px;
  height: 50px;
}

.section-header {
  color: #2d2d2d;
  font-weight: 700;
  font-size: 36px;
}

.section-header.with-divider {
  position: relative;
  padding-top: 40px;
}

.section-header.with-divider:before {
  content: url(../img/divider.png);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  width: 486px;
  max-width: 100%;
  overflow: hidden;
}

ul.check-list {
  list-style-type: none;
  padding-left: 0;
}

ul.check-list li {
  position: relative;
  padding-left: 40px;
}

ul.check-list li:before {
  content: url(../img/check.png);
  position: absolute;
  left: 0;
  top: 0;
}

ul.check-list li {
  position: relative;
  padding-left: 40px;
  min-height: 30px;
  margin-bottom: 20px;
}

ul.check-list li:last-of-type {
  margin-bottom: 0;
}

header#main-header .top-header {
  background-color: #268DA5;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
}

header#main-header .top-header * {
  color: #fff;
  text-shadow: rgba(0,0,0,0.2) 2px 2px 2px;
  text-transform: uppercase;
  font-size: 18px;
}

header#main-header .logo-container img {
  max-height: 80px;
}

header#main-header .mid-header {
  position: relative;
  margin-top: 43px;
  background-color: #fff;
  box-shadow: rgba(0,0,0,0.1) 0 0 15px;
}

header#main-header .mid-header .logo-container {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}

header#main-header .mid-header .logo-container a {
  display: block;
}

header#main-header .mid-header .header-cta-container {
  font-size: 18px;
}

#headline-section {
  position: relative;
  background-image: url(../img/headline-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
}

#headline-section > .container {
  position: relative;
  z-index: 1;
}

#headline-section * {
  color: #fff;
  text-shadow: rgba(0,0,0,0.2) 2px 2px 2px;
}

#headline-section .btn-container .btn {
  text-shadow: none;
}

#headline-section .headline-text .line-1 {
  font-size: 49px;
  font-weight: 700;
  margin-bottom: 25px;
}

#headline-section .headline-text .line-2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
}

#headline-section .headline-text .line-3 {
  font-size: 24px;
  margin-bottom: 0;
  font-weight: 400;
}

#headline-section .headline-text .btn-container {
  display: flex;
  width: 630px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 45px;
  margin-bottom: 45px;
  max-width: 100%;
}

#headline-section .headline-text .btn-container .btn-1-container {
  padding-right: 15px;
}

#headline-section .headline-text .btn-container .btn-2-container {
  padding-left: 15px;
}

#headline-section .headline-text .line-4 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

#why-choose-us-section {
  background-color: #fff;
}

#why-choose-us-section .text-content ul.check-list {
  margin-bottom: 25px;
  padding-right: 280px;
}

#why-choose-us-section ul.check-list li {
  font-weight: 700;
  line-height: 1.7;
}

#why-choose-us-section .text-content {
  position: relative;
}

#why-choose-us-section .text-content img.family-image {
  position: absolute;
  bottom: 0;
  right: 0;
}

#testimonial-form-section {
  background-image: url(../img/form-testimonial-bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

#testimonial-form-section > .container {
  position: relative;
  z-index: 1;
}

#testimonial-form-section * {
  color: #fff;
}

.testimonials-content .testimonial-entry {
  margin-bottom: 20px;
}

.testimonials-content .testimonial-entry:last-of-type {
  margin-bottom: 0;
}

.testimonials-content .testimonial-entry .testimonial-desc {
  margin-bottom: 10px;
  font-style: italic;
  font-size: 14px;
}

.testimonials-content .testimonial-entry .testimonial-meta {
  display: flex;
}

.testimonials-content .testimonial-entry .testimonial-meta .author-img {
  padding-right: 10px;
}

.testimonials-content .testimonial-entry .testimonial-meta .author-desc .name {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.testimonials-content .testimonial-entry .testimonial-meta .author-desc {
  padding-right: 30px;
}

.testimonials-content .testimonial-entry .testimonial-meta .author-desc .city {
  font-size: 14px;
}

#testimonial-form-section .form-container {
  background-color: #268da5;
}

#testimonial-form-section .form-container form .form-control {
  color: #7c7c7c;
}

#testimonial-form-section .contact-form {
  width: 300px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#about-section {
  background-color: #fff;
}

#about-section .text-box {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

#about-section .text-box .img-container {
  max-width: 398px;
  flex: 0 0 398px;
  -ms-flex: 0 0 398px;

}

#about-section .text-box .img-container .img-content {
  border: 1px solid #ccc;
  padding: 16px;
}

#about-section .text-box .text-container {
  max-width: calc(100% - 398px);
  flex: 0 0 calc(100% - 398px);
  -ms-flex: 0 0 calc(100% - 398px);
  padding-left: 17px;
  font-size: 18px;
  line-height: 1.4;
}

#contact-section {
  background-color: #efefef;
}

#contact-section .text-content .cta-desc {
  font-size: 18px;
  width: 580px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

#contact-section .cta-btn-container .or {
  width: 60px;
  display: inline-block;
  text-align: center;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 700;
}

#contact-section .cta-btn-container {
  width: 660px;
  max-width: 100%;
  display: flex;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 45px;
}

#contact-section .map-container {
  box-shadow: rgba(0,0,0,0.15) 0 0 10px;
  -webkit-box-shadow: rgba(0,0,0,0.15) 0 0 10px;
  -moz-box-shadow: rgba(0,0,0,0.15) 0 0 10px;
  -o-box-shadow: rgba(0,0,0,0.15) 0 0 10px;
  height: 306px;
  position: relative;
  background-color: #fff;
}

#contact-section .map-container span {
  text-transform: uppercase;
  font-weight: bold;
  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%);
}

#contact-section .schedule-list .schedule-entry {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  position: relative;
  min-height: 30px;
  margin-bottom: 10px;
  color: #2d2d2d;
  padding-left: 40px;
}

#contact-section .schedule-list .schedule-entry:last-of-type {
  margin-bottom: 0;
}

#contact-section .schedule-list .schedule-entry:before {
  content: url(../img/clock.png);
  position: absolute;
  left: 0;
  top: 0;
  max-width: 30px;
  flex: 0 0 30px;
  -ms-flex: 0 0 30px;
  height: 30px;
}

#contact-section .schedule-list .schedule-entry .date {
  font-weight: 700;
  max-width: 140px;
  flex: 0 0 140px;
  -ms-flex: 0 0 140px;
  line-height: 28px;
}

#contact-section .schedule-list .schedule-entry .time {
  max-width: calc(100% - 180px);
  flex: 0 0 calc(100% - 180px);
  -ms-flex: 0 0 calc(100% - 180px);
}

#cta-section {
  background-image: url(../img/cta-bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

#cta-section > .container {
  position: relative;
  z-index: 1;
}

footer#footer-main {
  background-color: #268da5;
}

footer#footer-main * {
  color: #fff;
}

footer#footer-main .footer-cta {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

footer#footer-main .footer-cta .cta-text {
  max-width: calc(100% - 300px);
  flex: 0 0 calc(100% - 300px);
  -ms-flex: 0 0 calc(100% - 300px);
}

footer#footer-main .footer-cta .cta-text h3 {
  margin: 11px 0;
  font-size: 24px;
}

footer#footer-main .footer-cta .btn-container {
  max-width: 300px;
  flex: 0 0 300px;
  -ms-flex: 0 0 300px;
}

footer#footer-main .disclaimer {
  text-transform: uppercase;
  font-size: 9px;
}

/* ==========================================================================
   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: 990px;
  }
}

@media (max-width: 1199px) {
  header#main-header .top-header * {
      font-size: 16px;
  }

  header#main-header .mid-header .header-cta-container {
      font-size: 16px;
  }
}

@media (max-width: 991px) {
  header#main-header .mid-header {
      margin-top: 64px;
  }

  #headline-section .headline-text .line-1 {
      font-size: 42px;
  }

  #headline-section .headline-text .line-2 {
      font-size: 20px;
  }

  #headline-section .headline-text .line-3 {
      font-size: 18px;
  }

  #headline-section .headline-text .btn-container {
      margin-top: 30px;
      margin-bottom: 30px;
      width: 530px;
  }

  #headline-section .headline-text .line-4 {
      font-size: 22px;
  }

  .section-header {
      font-size: 30px;
  }

  .btn {
      font-size: 16px;
      width: 250px;
      padding: 11px 16px;
  }

  .form-control {
      height: 40px;
      padding: 11px 16px;
  }

  #about-section .text-box .img-container {
      max-width: 100%;
      flex: 0 0 100%;
      -ms-flex: 0 0 100%;
  }

  #about-section .text-box .img-container .img-content {
      width: 400px;
      max-width: 100%;
      margin-left: auto;
      margin-right: auto;
  }

  #about-section .text-box .text-container {
      max-width: 100%;
      flex: 0 0 100%;
      -ms-flex: 0 0 100%;
      text-align: center;
      margin-top: 10px;
      padding-left: 0;
  }

  #contact-section .cta-btn-container {
    width: 560px;
  }

  #contact-section .schedule {
      max-width: 100%;
      flex: 0 0 100%;
      -ms-flex: 0 0 100%;
  }

  #contact-section .schedule .schedule-container {
      width: 360px;
      max-width: 100%;
      margin-left: auto;
      margin-right: auto;
  }

  #contact-section .map {
      max-width: 100%;
      flex: 0 0 100%;
      -ms-flex: 0 0 100%;
      margin-top: 30px;
  }

  footer#footer-main .footer-cta .cta-text {
      max-width: 100%;
      flex: 0 0 100%;
      -ms-flex: 0 0 100%;
      text-align: center;
  }

  footer#footer-main .footer-cta .btn-container {
      max-width: 100%;
      flex: 0 0 100%;
      -ms-flex: 0 0 100%;
      text-align: center;
      margin-top: 5px;
      margin-bottom: 5px;
  }

  #cta-section {
      padding-top: 1.5rem!important;
      padding-bottom: 1.5rem!important;
  }
}

@media (max-width: 767px) {
  header#main-header .top-header * {
      font-size: 14px;
  }

  header#main-header .mid-header .logo-container {
      text-align: center;
  }

  header#main-header .logo-container img {
      max-height: 65px;
  }

  header#main-header .mid-header .header-cta-container {
      width: 100%;
      text-align: center!important;
      margin-top: 10px;
  }

  header#main-header .mid-header {
      margin-top: 58px;
  }

  #headline-section .headline-text .line-1 {
      font-size: 36px;
      margin-bottom: 15px;
  }

  #headline-section .headline-text .btn-container {
      display: block;
      margin-top: 20px;
      margin-bottom: 20px;
  }

  #headline-section .headline-text .btn-container .btn-1-container {
      padding-right: 0;
      text-align: center;
      margin-bottom: 15px;
  }

  #headline-section .headline-text .btn-container .btn-2-container {
      text-align: center;
      padding-left: 0;
  }

  #headline-section .headline-text .line-2 {
      font-size: 18px;
      margin-bottom: 20px;
  }

  #headline-section .headline-text .line-3 {
      font-size: 16px;
  }

  #headline-section .headline-text .line-4 {
      font-size: 18px;
  }

  .section-header {
      font-size: 26px;
  }

  #why-choose-us-section .text-content ul.check-list {
      padding-right: 0;
  }

  #why-choose-us-section .text-content img.family-image {
      position: relative;
      display: block;
      margin-left: auto;
      margin-right: auto;
  }

  #why-choose-us-section .text-content {
      padding-bottom: 0!important;
  }

  #testimonial-form-section .form-container {
      margin-bottom: 40px;
  }

  #testimonial-form-section .contact-form button[type="submit"] {
      width: 100%;
  }

  #testimonial-form-section .form-container .btn-container .btn {
      width: 300px;
  }

  #contact-section .cta-btn-container .or {
      display: none;
  }

  #contact-section .cta-btn-container .btn.btn-style-1 {
      margin-bottom: 20px;
  }

  #about-section .text-box .text-container {
      font-size: 16px;
  }

  #contact-section .text-content .cta-desc {
      font-size: 16px;
      margin-bottom: 20px;
  }

  #contact-section .cta-btn-container {
      display: block;
      width: 250px;
      margin-bottom: 30px;
  }

  #contact-section .schedule h4 {
      font-size: 20px;
      margin-bottom: 15px;
  }

  #contact-section .map {
      margin-top: 10px;
  }

  footer#footer-main .footer-cta .cta-text h3 {
      font-size: 20px;
  }

  #thank-you-section .thank-you-content h2 {
      font-size: 28px;
  }
}

@media (max-wdth: 575px) {
  #headline-section .headline-text .line-1 {
      font-size: 30px;
  }

  header#main-header .logo-container img {
      max-height: 55px;
  }

  #headline-section .headline-text .line-2 {
      font-size: 16px;
  }

  #headline-section .headline-text .line-4 {
      font-size: 16px;
  }

  .section-header {
      font-size: 24px;
  }

  .section-header.with-divider {
      padding-top: 35px;
  }

  #testimonial-form-section .form-container {
      margin-bottom: 0;
  }
}

@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;
  }
}

