/* ------------------- */
/* STYLESHEET SECTIONS */
/* ------------------- */
/*  1__CSS Resets
    2__Layout helpers
    3__Header
    4__Main content
    5__Footer
    6__Typo3 overrides
   7__Bootstrap overrides
    8__Media queries
*/

/* ------------------------ */
/* 1__CSS Resets            */
/* ------------------------ */
/* Limited CSS reset */
/* See normalize-4.1.1.css */

html, body, button, input, select, textarea,
.pure-g [class *= "pure-u"] {
  font-family: 'Catamaran', sans-serif;
  font-weight: 400;
}

html {
  height: 100%;
  font-size: 17px; /* This is the base size the rem unit refers to */
}

body {
  font-size: 17px;
  min-height: 100%;
  margin: 0;
  padding: 0;
  color: #000;
}

/* ------------------ */
/* 2__Layout helpers  */
/* ------------------ */
.clear {
  clear: both;
}

.clearfix {
  zoom: 1;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

.halign-l {
  text-align: left;
}

.halign-r {
  text-align: right;
}

.halign-c {
  text-align: center;
}

.valign-t {
  vertical-align: top;
}

.valign-m {
  vertical-align: middle;
}

.valign-b {
  vertical-align: bottom;
}

.css-table {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.css-table-cell {
  display: table-cell;
}

.full-width-img {
  width: 100%;
  height: auto;
  display: block;
}

.img-width-auto {
  max-width: 100%;
  width: auto;
  height: auto;
}

.constrain {
  width: 1000px;
  margin: 0 auto;
}

.constrain-1230w {
  max-width: 1230px;
  margin: 0 auto;
}

.constrain-1920w {
  width: 1920px;
  margin: 0 auto;
}

#content-wrap {
  max-width: 1920px;
  margin: 0 auto;
}

/* ----------------------------- */
/* Bootstrap full height columns */
/* ----------------------------- */
/* Full height Bootstrap row */
/* Requires the following HTML structure
            <div class="row">
               <div class="bs-row-full-height">
                <div class="col-xs-6 bs-col-full-height">
                  <div class="bs-col-inside">
                    Your content in here
                  </div>
                </div>
              </div>
            </div>
*/
.bs-row-full-height {
  display: table;
  width: 100%;
  height: 100%;
  table-layout: fixed;
}

/* Full height Bootstrap column */
.bs-col-full-height {
  display: table-cell;
  float: none;
  height: 100%;
}

/* Column internal container for full height Bootstrap column */
.bs-col-inside {
  margin-top: 1px;
  margin-bottom: 1px;
}

/* Responsive container for 16:9 video clips (eg Youtube). The video iframe should be a child of a div with a class of
  "video-container-16-9". If creating such a container is not possible because you don't have access to the HTML eg in
  a CMS content element, you can call the ICIT responsifyYoutubeClips() JavaScript function to do it programmatically.
*/
.video-container-16-9 {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.video-container-16-9 iframe,
.video-container-16-9 object,
.video-container-16-9 embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Responsive container for embedded Google Maps. The Youtube iframe should be a child of a div with a class of
  "gmap-container". If creating such a container is not possible because you don't have access to the HTML eg in
  a CMS content element, you can call the ICIT responsifyGoogleMaps() JavaScript function to do it programmatically.
  NOTE: The aspect ratio doesn't have to be 16:9. You could make it 4:3 by setting padding-bottom: 75.6%
*/
.gmap-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.gmap-container iframe, .gmap-container object, .gmap-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ------------------------ */
/* 3__Header styles         */
/* ------------------------ */
header {
  /*padding: 15px;*/
  padding: 0 15px 15px;
  background-color: #58b0db;
  color: #fff;
  height: 156px;
}

/*
#header-outer {
  padding: 15px;
  background-color: rgba(255,255,255,.7);
}
*/

#header-inner {
  position: relative;
}

#header-inner > .css-table {
  height: 126px;
}

#header__col1 {
  position: relative;
  width: 368px;
}

#header-logo {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 368px;
  width: 100%;
  height: auto;
  z-index: 1;
}

#header__col2 {
  padding-top: 15px;
  text-align: right;
}

.header-cta {
  padding-bottom: 30px;
  font-size: 1.151em;
  font-weight: 700;
}

.header-cta .tel-number {
  font-size: 1.4em;
  white-space: nowrap;
}

.header-cta .mobile-only {
  display: none;
}

.header-cta .mobile-only a,
.header-cta .mobile-only a:visited,
.header-cta .mobile-only a:hover,
.header-cta .mobile-only a:active,
.header-cta .mobile-only a:focus {
  color: #fff;
  text-decoration: none;
}

#menu {
  display: inline-block;
  border-top: 2px solid rgba(255, 255, 255, .6);
}

/* ------------------------ */
/* 4__Main Content          */
/* ------------------------ */
#masthead {
  position: relative;
  margin-top: -45px;
  z-index: 10;
}

#masthead .masthead-header,
#masthead h2 {
  padding: 30px 15px;
  text-align: center;
}

#masthead h2 {
  margin: 0;
  font-size: 1.67em;
  font-weight: 700;
  color: #fff;
}

#masthead .col1 h2 {
  background-color: #b3d27e;
}

#masthead .col2 h2 {
  background-color: #8bc53f;
}

#masthead img {
  width: 100%;
  height: auto;
}

#masthead .masthead-content {
  padding: 20px;
}

#masthead table td {
  vertical-align: top;
}

#masthead table td h3 {
  font-size: 1.3em;
}

#top-hero-wrap {
  height: 556px;
  width: 100%;
  max-width: 100%;
}

#top-hero-wrap .cover {
  position: absolute;
  /* width: 100%; */
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  background-size: cover !important;
  /*overflow: hidden;*/
  max-width: 100%;
}

#top-hero-wrap .cover img {
  width: 100%;
  height: 556px;
  background-color: #444;
  object-fit: cover;
  /*object-position: center 100%;*/
  /*overflow: hidden;*/
  max-width: 100%;
}

/* START object-fit:cover Fix for IE & IE Edge */
/* Note, requires JS to write the "compat-object-fit class to appropriate container element */
/*#top-hero-wrap .cover.compat-object-fit {*/
.cover.compat-object-fit {
  background-size: cover !important;;
  background-position: center center !important;;
}

/* Hide the image if object fit is not supported in IE/Edge - opacity to 0 for the link area */
/*#top-hero-wrap .cover.compat-object-fit img {*/
.cover.compat-object-fit img {
  opacity: 0 !important;
}

/* END object-fit:cover Fix for IE & IE Edge */

#site-body {
  padding: 30px 0;
}

#site-body img {
  max-width: 100%;
  height: auto;
}

hr {
  border-top: 1px solid #ddd;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: #58b0db;
}

h1,
h2 {
  font-size: 1.67em;
}

h3 {
  font-size: 1.4em;
}

a,
a:visited,
a:hover,
a:active,
a:focus {
  color: #2492c9;
  text-decoration: none;
}

a:hover,
a:active,
a:focus {
  text-decoration: underline;
}

#site-body ul,
footer ul {
  list-style-type: none;
  padding-left: 27px;
}

ol li {
  padding-left: 3px;
}

#site-body ul li,
footer ul li {
  list-style-position: inside;
  text-indent: -6px;
  margin-bottom: .3em;
}

#site-body ul li:before,
footer ul li:before {
  display: inline-block;
  position: relative;
  content: '\2022';
  margin-left: -8px;
  margin-right: 11px;
  font-size: 1.6em;
  line-height: .5em;
  color: #8FBF76;
  top: 3px;
}

#site-body ol,
footer ol {
  padding-left: 22px;
}

.two-col-layout-66-33 {
  margin-bottom: 40px;
}

#site-body .lg-image-w-text-overlay {
  margin: 0 0 40px;
  position: relative;
  height: 437px;
  text-align: left;
}

#site-body .lg-image-w-text-overlay .cover {
  position: absolute;
  width: 100%;
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  background-size: cover !important;
}

#site-body .lg-image-w-text-overlay .cover img {
  width: 100%;
  height: 437px;
  /*background-color: #444;*/
  object-fit: cover;
  object-position: center 100%;
}

#site-body .lg-image-w-text-overlay .text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  color: #fff;
}

#site-body .lg-image-w-text-overlay .text-overlay .inner {
  max-width: 372px;
}

#site-body .lg-image-w-text-overlay h1,
#site-body .lg-image-w-text-overlay h2,
#site-body .lg-image-w-text-overlay h3,
#site-body .lg-image-w-text-overlay h4,
#site-body .lg-image-w-text-overlay h5,
#site-body .lg-image-w-text-overlay h6 {
  color: #fff;
}

#site-body .lg-image-w-text-overlay h2 {
  font-size: 1.67em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

#site-body .lg-image-w-text-overlay h3 {
  font-size: 2.49em;
  font-weight: 300;
  margin-bottom: 10px;
  text-transform: none;
}

#site-body .lg-image-w-text-overlay p {
  font-size: 1.38em;
  margin: 10px 0 15px;
}

#site-body .lg-image-w-text-overlay .text-overlay .inner a {
  color: #2492c9;
  /*background-color: #fff;*/
  background: url(../images/link_bg.png) left top/100% 100%;
  padding: 6px 15px;
  font-size: 1em;
  font-weight: 700;
}

#site-body .lg-image-w-text-overlay .text-overlay .inner a:hover,
#site-body .lg-image-w-text-overlay .text-overlay .inner a:active,
#site-body .lg-image-w-text-overlay .text-overlay .inner a:focus {
  text-decoration: none;
}

#site-body .lg-image-w-text-overlay__bottom {
  margin: 40px 0 -100px !important;
  height: 337px;
}

#site-body .lg-image-w-text-overlay__bottom .cover img {
  height: 337px;
}

#site-body .lg-image-w-text-overlay__bottom .text-overlay .inner a {
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #8bc342;
}

.one-col-layout .header {
  text-align: center;
  font-size: 1.67em;
}

.two-col-layout > .row {
  margin-bottom: 10px;
}

/* ------------------------ */
/* 5__Footer Content        */
/* ------------------------ */
footer {
  /*padding: 20px 0;*/
  /*background-color: #f2f2f2;*/
  font-size: .85em;
}

footer .footer-content-wrap {
  position: relative;
}

footer .footer-content-wrap__row1 {
  background: url(../images/footer_bg.png) bottom center;
  height: 164px;
}

footer .footer-content-wrap__row2 {
  padding-top: 15px;
  padding-bottom: 25px;
  background: url(../images/footer_bg_1px.jpg);
  color: #fff;
}

footer h1:first-child,
footer h2:first-child,
footer h3:first-child,
footer h4:first-child,
footer h5:first-child,
footer h6:first-child,
footer p:first-child {
  margin-top: 0;
}

footer .footer-content {
  display: flex;
  justify-content: space-between;
  padding-left: 15px;
  padding-right: 15px;
}

footer .footer-content .col1,
footer .footer-content .col2,
footer .footer-content .col3 {
  /*display: inline-block;*/
  /*float: left;*/
  font-size: 1.33em;
  font-weight: 700;
}

footer .footer-content .col1 .css-table,
footer .footer-content .col2 .css-table,
footer .footer-content .col3 .css-table {
  width: auto;
}

footer .mobile-only {
  display: none;
}

footer a,
footer a:visited,
footer a:hover,
footer a:active,
footer a:focus {
  color: #fff;
  text-decoration: none;
}

footer .mobile-only a,
footer .mobile-only a:visited,
footer .mobile-only a:hover,
footer .mobile-only a:active,
footer .mobile-only a:focus {
  color: #fff;
  text-decoration: none;
}

footer .footer-icon {
  padding-right: 15px;
}

/* ------------------------ */
/* 6__Typo3 Overrides       */
/* ------------------------ */
.ce-gallery figure {
  display: block;
}

.ce-gallery figcaption {
  display: block;
}

/* This fixes issues caused by Typo3 fluid layouts for our top hero image */
#top-hero-wrap .ce-gallery .ce-outer,
#top-hero-wrap .ce-gallery .ce-inner {
  width: 100%;
}

/*
#top-hero-wrap .ce-gallery,
#top-hero-wrap .ce-gallery .ce-column {
  float: none;
}
*/

/*
#top-hero-wrap .ce-gallery img {
  max-width: inherit;
  width: auto;
  height: 100%;
}
*/

/*
#top-hero-wrap .ce-intext.ce-right .ce-gallery {
  margin-left: 0;
  margin-bottom: 0;
}
*/

/*
#top-hero-wrap > div[id^="c"],
#top-hero-wrap .ce-textpic,
#top-hero-wrap .ce-gallery,
#top-hero-wrap .ce-outer,
#top-hero-wrap .ce-inner,
#top-hero-wrap .ce-row,
#top-hero-wrap .ce-column,
#top-hero-wrap .ce-media {
  height: 100%;
}
*/

/* Typo3 overrides for correct image height in #top-hero-wrap once inside of a flexslider */
/*
#top-hero-wrap .flexslider {
  margin-bottom: 0;
  border: none;
}
*/

/*
#top-hero-wrap > div {
  height: 100%;
}
#top-hero-wrap > div .tx-ws-flexslider {
  height: 100%;
}
#top-hero-wrap > div .tx-ws-flexslider .flexslider {
  height: 100%;
}
#top-hero-wrap > div .tx-ws-flexslider .flexslider ul.slides {
  height: 100%;
}

#top-hero-wrap > div .tx-ws-flexslider .flexslider ul.slides > li {
  height: 100%;
}

#top-hero-wrap > div .tx-ws-flexslider .flexslider ul.slides > li > div {
  height: 100%;
}

#top-hero-wrap > div .flexslider .slides img {
  width: inherit;
}
*/

/* Typo3 overrides - fixes for IE 11 */
.ce-gallery,
.ce-column {
  max-width: 100%;
  width: 100% /* this is optional, but will allow the column to go full width in mobile view */
}

.ce-gallery img {
  max-width: 100%;
  height: auto;
}

/* Additional rules when implementing image in a .cover class */
/*
#top-hero-wrap .cover > div {
  height: 100%;
}

#top-hero-wrap .cover .ce-outer {
  width: 100%;
}

#top-hero-wrap .cover .ce-inner {
  width: 100%;
}

#top-hero-wrap .cover .ce-gallery img {
  height: auto;
}
*/

/* ------------------------ */
/* 7__Bootstrap Overrides   */
/* ------------------------ */
.btn-primary {
  color: #fff;
  background-color: #2492c9;
  border-color: #93b53c;
}

.btn-primary:hover {
  color: #fff;
  background-color: #93b53c;
  border-color: #7a9732;
}

.btn-primary:focus,
.btn-primary.focus {
  color: #fff;
  background-color: #7a9732;
  border-color: #6c862c;
  outline: none;
}

.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  color: #fff;
  background-color: #7a9732;
  border-color: #6c862c;
}

.btn-primary:active:hover, .btn-primary.active:hover, .open > .dropdown-toggle.btn-primary:hover, .btn-primary:active:focus, .btn-primary.active:focus, .open > .dropdown-toggle.btn-primary:focus, .btn-primary:active.focus, .btn-primary.active.focus, .open > .dropdown-toggle.btn-primary.focus {
  color: #fff;
  background-color: #6c862c;
  border-color: #5a6f24;
  outline: none;
}

/* ------------------------ */
/* 8__Media Queries         */
/* ------------------------ */
@media only screen and (max-width: 1920px) {
  .constrain-1920w {
    width: 100%;
  }
}

/* Large Devices, Wide Screens (Bootstrap col-lg-*) */
@media only screen and (max-width: 1200px) {
  /*
  #top-hero-wrap {
    height: 400px;
  }
  */
}

@media only screen and (max-width: 1000px) {
  #header__col2 {
    padding-top: 60px;
  }
}

/* Medium Devices, Desktops (Bootstrap col-md-*) */
@media only screen and (max-width: 992px) {
  /*
  #top-hero-wrap {
    height: 310px;
  }
  */
  footer {
    font-size: .9em;
  }

  footer .footer-content {
    display: block;
  }

  footer .footer-content .col1,
  footer .footer-content .col2,
  footer .footer-content .col3 {
    margin-bottom: 15px;
  }

  footer .footer-content .col1 .css-table,
  footer .footer-content .col2 .css-table,
  footer .footer-content .col3 .css-table {
    display: block;
  }

  footer .footer-icon {
    width: 40px;
    padding-right: 5px;
  }

  .footer-icon img {
    width: 70%;
  }
}

@media only screen and (max-width: 850px) {
  #masthead .masthead-header {
    padding: 20px 15px;
  }

  #masthead .masthead-header h2 {
    font-size: 1.35em;
  }

}

@media only screen and (max-width: 800px) {
  /*
  #header__col1 {
    !*width: 50%;*!
  }
  */
  header {
    height: auto;
    /*padding: 15px 15px 0 15px;*/
  }

  #header__col1,
  #header__col2 {
    display: block;
    width: auto;
  }

  #header__col1 {
    padding-right: 65px;
  }

  #header__col2 {
    padding-top: 15px;
    text-align: left;
  }

  #header-logo {
    position: relative;
    margin-left: -5px;
    margin-top: -8px;
  }

  .header-cta {
    padding-bottom: 0;
  }

  .header-cta .desktop-only,
  footer .desktop-only {
    display: none;
  }

  .header-cta .mobile-only,
  footer .mobile-only {
    display: inline;
  }

  #menu {
    display: block;
    border: none;
  }
}

/* Small Devices, Tablets (Bootstrap col-sm-*) */
@media only screen and (max-width: 768px) {
  body {
    font-size: .85em;
  }

  #top-hero-wrap,
  #top-hero-wrap .cover img {
    height: 400px;
  }

  #masthead .css-table,
  #masthead .col1,
  #masthead .col2 {
    display: block;
    width: 100%;
  }

  #masthead .masthead-content {
    padding: 15px;
  }

  /*
  #top-hero-wrap {
    height: 260px;
  }
  */
  #site-body .lg-image-w-text-overlay {
    font-size: .9em;
  }

  #site-body .lg-image-w-text-overlay,
  #site-body .lg-image-w-text-overlay .cover img {
    height: 320px;
  }

}

@media only screen and (min-width: 481px) {
  .flex-row.row {
    display: flex;
    flex-wrap: wrap;
  }

  .flex-row.row > [class*='col-'] {
    display: flex;
    flex-direction: column;
  }

  .flex-row.row:after,
  .flex-row.row:before {
    display: flex;
  }
}

/* Extra Small Devices, Phones (Bootstrap col-xs-*) */
@media only screen and (max-width: 480px) {
  #masthead .masthead-header h2 {
    font-size: 1.15em;
  }

  #masthead .masthead-content {
    padding: 15px 0;
  }

  /*
  #top-hero-wrap {
    height: 150px;
  }
  */
  footer {
    font-size: .7em;
  }

  footer .footer-icon {
    display: block;
    margin-bottom: 5px;
  }
}

/* Custom, iPhone Retina */
@media only screen and (max-width: 320px) {

}