/* ------------------- */
/* 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: 'Open Sans', sans-serif;
  font-weight: 400;
}

html {
  height: 100%;
  font-size: 16px; /* This is the base size the rem unit refers to */
}

body {
  font-size: 1rem;
  min-height: 100%;
  margin: 0;
  padding: 0;
  color: #333;
}

/* ------------------ */
/* 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;
}

.valign-helper {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.valigned-content {
  display: inline-block;
  vertical-align: middle;
  text-transform: uppercase;
}

.css-table {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.css-table-row {
  display: table-row;
}

.css-table-cell {
  display: table-cell;
}

.flex-center {
  justify-content: center;
  align-items: center;
}

.full-width-img {
  width: 100%;
  height: auto;
  display: block;
}

.img-width-auto {
  max-width: 100%;
  width: auto;
  height: auto;
}

.auto-container-1000w {
  position: static;
  max-width: 1000px;
  padding: 0px 15px;
  margin: 0 auto;
}

.constrain {
  width: 1000px;
  margin: 0 auto;
}

.constrain-1000w {
  position: relative;
  max-width: 1030px;
  margin: 0 auto;
}

.constrain-1200w {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.constrain-1600w {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
}

.constrain-1920w {
  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%;
}

.mobile {
  display: none;
}

.module-button {
  background-color: #EE3323;
  border-radius: 2rem;
  color: #fff !important;
  font-weight: bold;
  white-space: nowrap;
  display: inline-block;
  /*padding: 0.75rem 1rem;*/
  padding: 0.4rem .7rem;
  transition: background-color 0.2s;
  height: auto;
  width: auto;
}

.module-button:hover {
  background-color: #ff5d3c;
  text-decoration: none;
  color: #fff;
}

.mobile-only-block,
.mobile-only-inline {
  display: none;
}

.desktop-only-inline {
  display: inline-block;
}

.desktop-only-block {
  display: block;
}

/* ------------------------ */
/* 3__Header styles         */
/* ------------------------ */
#top-header {
  position: relative;
  width: 100%;
  z-index: 100;
}

#header-row-1 {
  position: relative;
  padding: 15px;
  background: #fff;
}

#header-row-1 > div.css-table-cell {
  padding-bottom: 10px;
  padding-top: 10px;
}

#header-row-2 {
  background: #116cb9; /* Old browsers */
  background: -moz-linear-gradient(top, #116cb9 0%, #27aae2 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #116cb9 0%, #27aae2 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #116cb9 0%, #27aae2 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#116cb9', endColorstr='#27aae2', GradientType=0); /* IE6-9 */
}

.header-logo {
  max-width: 100%;
  height: auto;
}

body[data-page-id="21"] .header-logo {
  max-width: 80%;
}

#header-row-1 .outer-table > .column-2 {
  width: 555px;
}

#header-row-1 .column-2 .column-1 {
  width: 270px;
  text-align: left;
}

#header-row-1 .column-2 {
  text-align: right;
}

#header-row-1 .header-row-1-inner {
  padding: 0 15px;
}

/*
#top-header .social-links > div:first-child {
margin-bottom: 10px;
}
*/

#top-header .social-links > div:last-child {
  margin-top: 10px;
}

#top-header .social-links a.label {
  color: #000 !important;
  font-size: 0.9375rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  padding: 0;
}

#top-header .social-links a.icon-wrap {
  position: relative;
  display: inline-block;
  text-align: center;
  width: 41px;
  height: 41px;
  line-height: 39px;
  font-size: 19px !important;
  margin-right: 4px;
  background: #fff;
  border: 2px solid #25A5DF;
  color: #25A5DF;
  transition: all 100ms ease;
  -webkit-transition: all 100ms ease;
  -ms-transition: all 100ms ease;
  -o-transition: all 100ms ease;
  -moz-transition: all 100ms ease;
  border-radius: 50%;
}

#top-header .social-links > div:hover a.icon-wrap {
  background: #25A5DF;
  color: #fff !important;
}

#top-header #search-box {
  text-align: right;
}

#top-header #search-box #ke_search_sword {
  position: relative;
  width: 100%;
  height: 36px;
  padding: 5px;
}

#top-header #search-box div.kesearchbox {
  position: relative;
}

#top-header #search-box div.kesearchbox .clearer {
  display: none;
}

#top-header #search-box #kesearch_submit.header-search {
  position: absolute;
  top: 6px;
  left: inherit;
  right: 7px;
  height: 24px;
  width: auto;
  border: 0 none;
  padding: 0;
}

.header-contact-phone {
  font-size: 1.40625rem;
  margin-bottom: 15px;
}

.header-contact-phone .fa {
  color: #25A5DF;
  font-size: 1.1em;
  margin-right: 13px;
}

.header-contact-email {
  font-size: 1.1rem;
}

.header-contact-email .fa {
  color: #25A5DF;
  font-size: 1.3em;
  margin-right: 13px;
}

.header-contact-email {
  margin-bottom: 15px;
}

.header-contact-phone a,
.header-contact-phone a:visited,
.header-contact-phone a:hover,
.header-contact-phone a:focus,
.header-contact-phone a:active,
.header-contact-email a,
.header-contact-email a:visited,
.header-contact-email a:hover,
.header-contact-email a:focus,
.header-contact-email a:active {
  color: #000;
  text-decoration: none;
}

.header-contact-email a:hover,
.header-contact-email a:focus,
.header-contact-email a:active {
  color: #25A5DF;
}

#top-header #header-row-1 .column-3 {
  display: none;
  width: 60px;
}

/* ------------------------ */
/* 4__Main Content          */
/* ------------------------ */
#top-hero-wrap {
  margin: 6px auto;
  height: 516px;
  position: relative;
  z-index: -1;
}

#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;
}

#top-hero-wrap .cover img {
  width: 100%;
  height: 516px;
  background-color: #444;
  object-fit: cover
}

/* START object-fit:cover Fix for IE & IE Edge */
/* Note, requires JS to write the "compat-object-fit class to appropriate container element */
.cover.compat-object-fit {
  background-size: cover;
  background-position: center center;
}

/* Hide the image if object fit is not supported in IE/Edge - opacity to 0 for the link area */
.cover.compat-object-fit img {
  opacity: 0;
}

/* END object-fit:cover Fix for IE & IE Edge */

img {
  max-width: 100%;
  height: auto;
}

hr {
  border-top: 1px solid #bbb;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  color: #25A5DF;
  letter-spacing: 1px;
  text-transform: uppercase;
}

h1 {
  font-size: 1.96875em;
}

h2 {
  font-size: 1.6875em;
  font-weight: 400;
  color: #fff;
  background-color: #000;
  padding: 10px 10px;
}

h3 {
  font-size: 1.40625em;
}

a,
a:visited,
a:hover,
a:active,
a:focus {
  color: #46ABE8;
  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: #25A5DF;
  top: 3px;
}

#site-body ol,
footer ol {
  padding-left: 22px;
}

.cols-100,
.cols-50-50,
.cols-66-33,
.cols-33-66 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.cols-50-50 img,
.cols-66-33 img,
.cols-33-66 img {
  width: 100%;
}

.cols-50-50 .column-1,
.cols-50-50 .column-2,
.cols-66-33 .column-1,
.cols-66-33 .column-2,
.cols-33-66 .column-1,
.cols-33-66 .column-2 {
  margin-bottom: 20px;
}

.cols h1:first-child,
.cols h2:first-child,
.cols h3:first-child,
.cols h4:first-child,
.cols p:first-child {
  margin-top: 0;
}

.inner-cols {
  margin-left: -15px;
  margin-right: -15px;
}

.inner-cols:first-child {
  margin-top: 3px;
}

.social-links {
  position: relative;
}

.grey-content-box {
  background-color: #f2f2f2;
  text-align: center
}

.grey-content-box .content {
  padding: 30px 80px;
}

.grey-content-box h1,
.grey-content-box h2,
.grey-content-box h3,
.grey-content-box h4,
.grey-content-box h5,
.grey-content-box h6 {
  color: #333;
  text-transform: inherit;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.4;
}

.grey-content-box h2 {
  font-size: 1.4em;
  background: none;
  padding: 0;
}

.grey-content-box .content p:last-child {
  margin-bottom: 0;
}

/***
====================================================================
Gallery cards section
====================================================================
***/

.gallery--cards {
  margin-left: -15px;
  margin-right: -15px;
  position: relative;
  text-align: left;
}

.gallery--cards .column {
  margin-bottom: 25px;
}

.gallery--cards .column .image-box img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery--cards .column .inner-box {
  position: relative;
  flex: 1 0 auto;
  flex-direction: column;
  padding-bottom: 40px;
}

.gallery--cards .column .image-box {
  position: relative;
  overflow: hidden;
}

.gallery--cards .column:hover .image-box:before {
  left: 0;
  top: 0;
}

.gallery--cards .column:hover .image-box:after {
  right: 0;
  bottom: 0;
}

.gallery--cards .column .content-box {
  flex: 1 0 auto;
  flex-direction: column;
  padding: 0 0 24px;
  text-align: center;
}

.gallery--cards .column .content-box .text {
  position: relative;
  color: #444;
  margin-bottom: 25px;
}

.gallery--cards .column h3 {
  color: #02686F;
  font-size: 1.4em;
  font-weight: 300;
  margin: 5px 0;
}

.gallery--cards .column .content-box a.link-button {
  position: absolute;
  width: 100%;
  bottom: 15px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  padding: 7px 30px;
  /*border-radius: 50px;*/
  font-size: 1.125rem;
  font-weight: 300;
  text-transform: uppercase;
  white-space: nowrap;

  background: #116cb9; /* Old browsers */
  background: -moz-linear-gradient(top, #116cb9 0%, #27aae2 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #116cb9 0%, #27aae2 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #116cb9 0%, #27aae2 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#116cb9', endColorstr='#27aae2', GradientType=0); /* IE6-9 */

}

.gallery--cards .column .content-box a.link-button,
.gallery--cards .column .content-box a.link-button:visited {
  /*background-color: #6DA3C7;*/
  color: #fff;
  text-decoration: none;
}

.gallery--cards .column .content-box a.link-button:hover,
.gallery--cards .column .content-box a.link-button:active,
.gallery--cards .column .content-box a.link-button:focus {
  background: #116cb9;
  color: #fff;
  text-decoration: none;
}

.icit-gallery-w-bluecaptionbox figcaption {
  background: #116cb9;
  background: -moz-linear-gradient(top, #116cb9 0%, #27aae2 100%);
  background: -webkit-linear-gradient(top, #116cb9 0%, #27aae2 100%);
  background: linear-gradient(to bottom, #116cb9 0%, #27aae2 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#116cb9', endColorstr='#27aae2', GradientType=0);
  padding: 5px;
  color: #fff;
}

/* ------------------------ */
/* 5__Footer Content        */
/* ------------------------ */
footer {
  padding: 40px 0 25px;
  background-color: #000;
  color: #fff;
  font-size: 1em;
}

#footer-blue-top {
  height: 11px;
  background: #25A5DF;
  margin-bottom: 5px;
  /*
  background: -moz-linear-gradient(top, #116cb9 0%, #27aae2 100%); !* FF3.6-15 *!
  background: -webkit-linear-gradient(top, #116cb9 0%, #27aae2 100%); !* Chrome10-25,Safari5.1-6 *!
  background: linear-gradient(to bottom, #116cb9 0%, #27aae2 100%); !* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ *!
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#116cb9', endColorstr='#27aae2', GradientType=0); !* IE6-9 *!
  */
}

footer * {
  line-height: 1.5;
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6 {
  color: #25A5DF;
}

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 a,
footer a:visited {
  color: #fff;
}

footer a:hover,
footer a:active,
footer a:focus {
  color: #25A5DF;
  text-decoration: none;
}

.footer-logo {
  max-width: 120px;
  margin-bottom: 10px;
}

footer .social-links a {
  margin-top: 10px;
  position: relative;
  display: inline-block;
  text-align: center;
  width: 41px;
  height: 41px;
  line-height: 39px;
  font-size: 19px !important;
  margin-right: 4px;
  background: #000;
  border: 2px solid #25A5DF;
  color: #25A5DF;
  transition: all 300ms ease;
  -webkit-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  border-radius: 50%;
}

footer .social-links a:hover {
  background: #fff;
  /*border-color: #00c1dc;*/
  color: #25A5DF !important;
}

.footer-contact-info-box .contact-info-item {
  margin-bottom: 10px;
}

.footer-contact-info-box .contact-text {
  width: 30px;
  display: block;
  float: left;
  font-size: 1.21875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  /*margin-top: 2px;*/
  position: relative;
  margin-top: -3px;
  color: #25A5DF;
}

.footer-contact-info-box .contact-value {
  margin-left: 35px;
  display: block;
  font-size: 0.9375em;
}

footer #footer-copyright {
  margin-top: 10px;
  font-size: 0.84375em;
}

footer:not(.footer-chillydog) .outer-table > .column-1 {
  width: 66%;
}

footer.footer-chillydog .outer-table > .column-1 {
  width: 40%;
}

footer .outer-table > .column-2 {
  text-align: right;
}

/* ------------------------ */
/* 6__Typo3 Overrides       */
/* ------------------------ */
.ce-gallery figure {
  display: block;
}

.ce-gallery figcaption {
  display: block;
}

/*
#top-hero-wrap .ce-outer,
#top-hero-wrap .ce-outer .ce-inner,
#top-hero-wrap .ce-outer .ce-inner .ce-column,
#top-hero-wrap .ce-outer .ce-inner .ce-column .ce-media {
width: 100%;
}
*/

/* 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;
}

.sponsor-logos-wrap .ce-gallery img {
  margin-bottom: 20px;
}

#top-hero-wrap .ce-intext.ce-right .ce-gallery,
#top-hero-wrap .ce-intext.ce-left .ce-gallery,
#top-hero-wrap .ce-above .ce-gallery {
  margin-bottom: 0;
}

/* ------------------------ */
/* 7__Bootstrap Overrides   */
/* ------------------------ */
.btn-primary {
  color: #fff;
  background-color: #ef6728;
  border-color: #ef6728;
  border-radius: 0;
}

.btn-primary:hover {
  color: #fff;
  background-color: #d85d24;
  border-color: #d85d24;
}

.btn-primary:focus,
.btn-primary.focus {
  color: #fff;
  background-color: #c75521;
  border-color: #c75521;
  outline: none;
}

.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  color: #fff;
  background-color: #c75521;
  border-color: #c75521;
}

.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: #c75521;
  border-color: #c75521;
  outline: none;
}

/* ------------------------ */
/* 8__Media Queries         */
/* ------------------------ */
/* Large Devices, Wide Screens (Bootstrap col-lg-*) */
@media only screen and (max-width: 1200px) {
  .header-logo {
    max-width: 300px;
  }
}

@media only screen and (max-width: 1020px) {
  footer .column-3 {
    width: 250px;
  }
}

/* Medium Devices, Desktops (Bootstrap col-md-*) */
@media only screen and (max-width: 992px) {
  #header-row-1 .column-2 .column-1 {
    width: 250px;
  }

  /*
  #header-row-1 .outer-table > .column-2 {
    width: 550px;
  }
  */

  body[data-page-id="21"] .header-logo {
    max-width: 90%;
  }

  .header-contact-email {
    font-size: .95rem;
  }

  .header-contact-email .fa {
    margin-right: 10px;
  }
}

@media only screen and (max-width: 979px) {
  #top-header #header-row-1 .column-3 {
    display: table-cell;
  }

  footer:not(.footer-chillydog) .outer-table,
  footer:not(.footer-chillydog) .outer-table > .css-table-cell {
    display: block;
    width: 100%;
  }

  footer:not(.footer-chillydog) .outer-table > .column-2 {
    margin-top: 20px;
    padding-top: 20px;
    text-align: left;
    border-top: 1px solid #fff;
  }
}

@media only screen and (max-width: 939px) {
  #header-row-1 {
    background-color: #fff;
  }

  #header-row-1 .outer-table > .column-2 {
    width: auto;
    padding-left: 15px;
  }

  #header-row-1 .column-2 .column-1 {
    display: none;
  }

  body[data-page-id="21"] .header-logo {
    max-width: 95%;
  }

  footer .footer__col1 {
    text-align: left;
  }

  footer .footer__col3 {
    text-align: right;
  }
}

@media only screen and (max-width: 909px) {
  #top-header {
    border-bottom: 6px solid #25A5DF;
  }

  /*footer .css-table,*/

}

/* Small Devices, Tablets (Bootstrap col-sm-*) */
@media only screen and (max-width: 767px) {
  #top-hero-wrap,
  #top-hero-wrap .cover img {
    height: 400px;
  }

  .gallery--cards .column {
    margin-bottom: 15px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .gallery--cards .column .content-box a.link-button {
    font-size: .9rem;
  }

  .gallery--cards .column .content-box {
    padding: 0 0 14px;
  }

  .footer-logo {
    margin-top: 25px;
    max-width: 100px;
  }

  footer .social-links {
    margin-bottom: 30px;
  }
}

@media only screen and (max-width: 700px) {
  footer.footer-chillydog .outer-table,
  footer.footer-chillydog .outer-table > .css-table-cell {
    display: block;
    width: 100%;
  }

  footer.footer-chillydog .outer-table > .column-2 {
    margin-top: 20px;
    padding-top: 20px;
    text-align: left;
    border-top: 1px solid #fff;
  }
}

@media only screen and (max-width: 660px) {
  #header-row-1 {
    padding: 10px 15px 7px;
  }

  .header-logo {
    max-width: 260px;
  }

  #header-row-1 .column-1,
  #header-row-1 .column-2 {
    display: block;
  }

  #header-row-1 .column-2 {
    text-align: left;
  }

  #top-header .social-links {
    margin-top: 25px;
    float: right;
  }

  #header-row-1 .outer-table > .column-2 {
    padding-left: 0;
    margin-top: 15px;
  }

  #top-header #header-row-1 .outer-table .column-3 {
    display: none;
  }

  .header-contact-phone {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .header-contact-phone {
    margin-bottom: 10px;
  }

  .header-contact-email {
    font-size: 1.4rem;
  }

  #site-body > .cols {
    margin-top: 20px;
  }

  .grey-content-box .content {
    padding: 30px 60px;
  }

  footer .outer-table .inner-table,
  footer .outer-table .inner-table > .css-table-cell {
    display: block;
    width: 100%;
  }
}

@media only screen and (max-width: 590px) {
  #header-row-1 > div {
    vertical-align: middle;
  }
}

@media only screen and (max-width: 565px) {
  #header-row-1 .auto-container-1000w {
    padding-left: 10px;
    padding-right: 10px;
  }

  .header-logo {
    max-width: 220px;
  }
}

@media only screen and (min-width: 1px) {
  .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) {
  body {
    font-size: .9em;
  }

  .desktop-only-block,
  .desktop-only-inline {
    display: none;
  }

  .mobile-only-inline {
    display: inline-block;
  }

  .mobile-only-block {
    display: block;
  }

  .header-contact-phone.mobile-only-block {
    text-align: left;
  }

  #top-hero-wrap,
  #top-hero-wrap .cover img {
    height: 280px;
  }

  .grey-content-box .content {
    padding: 30px;
  }
}

@media only screen and (max-width: 450px) {
  body[data-page-id="21"] .header-logo {
    max-width: 100%;
  }
}

@media only screen and (max-width: 420px) {
  #top-header .social-links {
    margin-top: 15px;
  }

  .header-contact-email {
    font-size: 1.2rem;
  }
}

@media only screen and (max-width: 360px) {
  #top-header .social-links {
    margin-top: 15px;
  }

  .header-contact-email {
    font-size: 1rem;
  }
}

/* Custom, iPhone Retina */
@media only screen and (max-width: 320px) {

}