/*
Theme Name: Halstead Community Foundation
Theme URI: http://flinthillsdesign.com/
Author: Flint Hills Design
Author URI: http://flinthillsdesign.com/
Description: Theme for Halstead Community Foundation, derived from the CKCF theme.
Version: 1.0
*/
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: normal;
  src: url(https://fonts.gstatic.com/s/opensans/v34/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk8ZkWVAexQ.ttf) format('truetype');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVc.ttf) format('truetype');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: normal;
  src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4gaVc.ttf) format('truetype');
}
img {
  max-width: 100%;
  height: auto;
}
hr {
  border-top: 1px solid #999999;
}
.topbar {
  margin: 0 0;
  border-top: 6px solid #2F4461;
}
.topbar .top-menu-container {
  margin: 0;
  float: right;
}
.topbar .top-menu-container .nav-pills {
  float: right;
}
.topbar .top-menu-container a {
  padding: 5px 15px 8px;
  background-color: #2F4461;
  border-radius: 0;
  color: white;
}
.topbar .top-menu-container a:hover {
  color: #eeeeee;
  background-color: #273850;
}
@media (min-width: 768px) {
  .topbar {
    border-top: none;
  }
}
.topbar .search-form {
  display: inline;
  float: right;
  margin-left: 15px;
}
.topbar .search-form .input-group {
  width: 272px;
}
.topbar .search-form .input-group .search-field {
  border-radius: 0;
  border-right: none;
  border-left: none;
  border-top: none;
}
.topbar .search-form .input-group .search-submit {
  border-radius: 0;
  background-color: #2F4461;
  color: white;
  border: 1px solid #2F4461;
}
.callout {
  background-color: rgba(78, 111, 151, 0.2);
  border: 1px solid #4e6f97;
  padding: 5px 15px 10px;
  margin-bottom: 2rem;
}
.site-branding {
  margin-top: 20px;
}
@media (min-width: 1200px) {
  .site-branding {
    margin-top: 0;
  }
}
.navbar-default {
  border-right: none;
  border-left: none;
  clear: right;
}
@media (min-width: 768px) {
  .navbar-default {
    margin-top: 20px;
  }
}
.top-menu-container + .navbar-default {
  margin-top: 0;
}
.navbar-nav {
  margin: 0;
}
@media (min-width: 768px) and (max-width: 992px) {
  .navbar-nav {
    float: right;
    margin: 0 -44px;
  }
}
@media (min-width: 768px) {
  body {
    background-color: #4E6F97;
  }
}
.navbar-default .navbar-nav li.current-page-ancestor {
  background-color: #577ba8;
}
.navbar-default .navbar-nav li.current-page-ancestor > a {
  color: white;
}
.navbar-default .navbar-nav li.current-page-ancestor > a:hover {
  color: white;
}
@media (max-width: 767px) {
  .navbar-default .navbar-nav li > a {
    white-space: normal;
  }
}
.nav li a {
  padding: 15px 13px;
}
.site {
  border-bottom: 1px solid #2F4461;
  border-bottom: 8px solid #8EA451;
}
@media (min-width: 768px) {
  .site {
    background-color: white;
    margin-top: 20px;
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
    padding-bottom: 0;
  }
}
.site .page-footer {
  background-color: #2F4461;
  padding: 20px 0;
  color: white;
  text-align: center;
}
@media (min-width: 768px) {
  .site .page-footer {
    display: block;
    text-align: left;
    margin: 60px -15px 0;
    padding: 20px 0;
    font-family: Georgia, "Times New Roman", Times, serif;
  }
}
.site .page-footer .seal {
  display: block;
  margin: 30px auto 0;
  width: 125px;
}
@media (min-width: 768px) {
  .site .page-footer .seal {
    margin: 10px auto;
  }
}
.site .page-footer .address-phone {
  padding-left: 0;
}
@media (min-width: 768px) {
  .site .page-footer .address-phone {
    padding-left: 50px;
  }
}
.site .page-footer .social-media {
  clear: both;
  padding-left: 0;
}
@media (min-width: 768px) {
  .site .page-footer .social-media {
    height: 128px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .site .page-footer .social-media a {
    display: inline-block;
    width: 216px;
  }
}
.site .page-footer .social-media .social-icon {
  display: block;
  margin: 30px auto 0;
  width: 40px;
}
@media (min-width: 768px) {
  .site .page-footer .social-media .social-icon {
    float: left;
    margin-top: 15px;
  }
}
@media (min-width: 768px) {
  .site .page-footer .social-media p {
    padding-top: 30px;
    font-size: 16px;
    font-style: italic;
  }
}
.site .page-footer a {
  color: white;
}
.entry-footer {
  margin-top: 15px;
  margin-bottom: 15px;
}
.post-navigation {
  margin-top: 30px;
}
@media (min-width: 768px) {
  .post-navigation .nav-next {
    text-align: right;
  }
}
.site-footer {
  text-align: center;
  background-color: #4E6F97;
  padding: 15px 0;
  color: white;
}
@media (min-width: 768px) {
  .site-footer {
    background-color: transparent;
    margin-bottom: 30px;
    margin-top: 10px;
    padding: 0;
  }
}
.site-footer a {
  color: white;
}
.site-footer .site-contact-info {
  font-family: Georgia, "Times New Roman", Times, serif;
}
.site-footer .site-info {
  color: #2F4461;
}
.site-footer .site-info a {
  color: #2F4461;
}
.home .homepage-heading + .center-line {
  display: none;
}
@media (min-width: 768px) {
  .home .homepage-heading {
    float: right;
    padding: 0 15px;
    position: relative;
    background-color: white;
    z-index: 1;
    margin-right: 150px;
  }
  .home .homepage-heading + .center-line {
    border-color: #333;
    margin: 0;
    position: relative;
    top: -25px;
    clear: both;
    display: block;
  }
}
.home .homepage-links {
  padding-bottom: 10px;
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  .home .homepage-links {
    border-bottom: 1px solid #ddd6cc;
  }
}
.home .homepage-links .nav {
  border-top: 1px solid #eeeeee;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .home .homepage-links .nav {
    border: none;
    flex-direction: row;
    justify-content: space-between;
  }
}
.home .homepage-links .nav li {
  width: 100%;
  border-bottom: 1px solid #eeeeee;
}
@media (min-width: 768px) {
  .home .homepage-links .nav li {
    width: 25%;
    border: none;
  }
}
.home .homepage-links h3 {
  font-family: Georgia, "Times New Roman", Times, serif;
  margin-bottom: 5px;
}
.home .homepage-links h3 a {
  color: #333333;
}
.home .homepage-links h3 a:hover {
  color: #4E6F97;
  text-decoration: none;
}
.home .homepage-links h3 a:after {
  content: attr(title);
  display: block;
  font-family: Georgia, "Times New Roman", Times, serif;
  margin-top: 5px;
  font-size: 16px;
  padding-left: 30px;
  font-style: italic;
  color: #555555;
}
.home .post h5 {
  border-bottom: 4px solid #4E6F97;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 200;
  padding-bottom: 4px;
  margin-bottom: 6px;
  font-size: 18px;
  margin-top: 15px;
}
.home .post.category-events h5 {
  border-color: #8EA451;
}
.home .post.category-events h5 a {
  color: #8EA451;
}
.home .post h2 {
  font-size: 16px;
}
.home .post h2 a {
  color: black;
}
.item-list .item-title {
  clear: both;
}
.item-list h4 {
  color: #555555;
  line-height: 1.5;
}
.item-list .post-divider {
  width: 100px;
  float: left;
}
#cf-heading {
  font-size: 31px;
}
@media (min-width: 768px) {
  #secondary {
    border-left: 1px solid #ddd6cc;
    padding-left: 15px;
  }
}
.widget .widget-title {
  font-family: Georgia, "Times New Roman", Times, serif;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 6px;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: bold;
}
.widget.widget_search {
  margin-top: 50px;
}
.widget ul {
  list-style: none;
  padding-left: 15px;
}
.widget ul li.current_page_item > a {
  font-weight: bold;
}
.widget ul a {
  line-height: 2em;
}
.widget > ul {
  padding: 0;
}
.slide-content.fhd-slider-content {
  transition: opacity 0.2s ease-in-out;
}
.slide-content.fhd-slider-content:hover {
  opacity: 0.8;
}
.fhd-slider.grace .fhd-slider-nav {
  top: 50% !important;
  transform: translateY(-65%);
}
.fhd-slider .fhd-slider-text {
  display: none;
}

.fhd-slider.grace .fhd-slider-text {
  display: flex;
  align-items: flex-end;
  color: white !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100%;
  height: auto;
  padding: 2rem;
  background: linear-gradient(rgba(0,0,0,0) 70%, rgba(0,0,0,0.75));
}
.fhd-slider.grace .fhd-slider-text h1 {
  display: none;
}
.n-newton {
  display: flex;
  justify-content: space-around;
}
.n-newton .buttons {
  padding: 15px;
  width: 30%;
}
.n-newton a:hover {
  text-decoration: none;
}
.n-newton h3 {
  text-align: center;
}
.n-newton span {
  text-align: center;
  font-size: 15px;
  color: #999999;
  font-style: italic;
}
.btn.btn-primary {
  margin: 2rem 0;
}
/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}
.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}
.aligncenter {
  clear: both;
  display: block;
  margin: 0 auto;
}
/*--------------------------------------------------------------
Print Styles
--------------------------------------------------------------*/
.print-function {
  border-bottom: 1px solid #e2e2e2;
}
.print-function a {
  padding-bottom: 8px;
  display: inline-block;
  margin-top: 15px;
}
.print-function img {
  width: 2rem;
  margin-right: 0.5rem;
}
@media print {
  body {
    font-family: Georgia, "Times New Roman", Times, serif;
  }
  .topbar,
  .widget-area,
  .site-header,
  .page-footer,
  .site-footer,
  .print-function {
    display: none !important;
  }
  .site {
    border-bottom: none;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p {
    text-align: left !important;
  }
  a {
    text-align: left !important;
  }
  a::after {
    display: block;
  }
  img {
    display: block !important;
    float: none !important;
  }
  blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    font-size: 17.5px;
    border-top: none;
    border-right: none;
    border-bottom: none;
    border-left: 5px solid #eeeeee;
  }
  .container,
  .row,
  .col-sm-7,
  .col-sm-offset-1 {
    width: 100%;
    margin: 0;
    padding: 0 !important;
  }
  a.btn {
    border: none;
    padding: 0;
    font-weight: bold;
  }
}

.gallery.gallery-columns-3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2rem;
  row-gap: 2rem;
}

.gallery.gallery-columns-3 .gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  transition: opacity 0.2s ease-in-out;
}

.gallery.gallery-columns-3 .gallery-item a:hover img {
  opacity: 0.75;
}

@media (min-width: 768px) {
  .gallery.gallery-columns-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
}
