/*
Theme Name: Cape Cod Life Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */

body {
  font-family: "mr-eaves-xl-sans";
  font-size: 16px;
  line-height: 1.5em;
}

a {
  color: #3673b7;
}

a:hover {
  color: #167CEB;
  text-decoration: underline;
}

/******************************************************* Typographic Styles ********************************************/

h1 {
  font-family: "mrs-eaves-xl-serif";
}

h2 {
  font-family: "mrs-eaves-xl-serif";
}

h3 {
  font-family: "mr-eaves-xl-sans";
}

h4 {
  font-family: "mrs-eaves-xl-serif";

}

h5 {
  font-family: "mr-eaves-xl-sans";
}

h6 {
  font-family: "mr-eaves-xl-sans";
}

.special-headline {
  font-family: "mrs-eaves-xl-serif";
  font-size: 3em;
  line-height: 3em;
  color: #000;
}

.small {
  font-family: "mr-eaves-xl-sans";
  font-size: .875em;
  line-height: .875em;
  color: #182b59;
}

.uppercase {
  text-transform: uppercase;
}


.navbar-nav {
  font-family: "mr-eaves-xl-sans";
  font-size: 1.5em;
  font-weight: 700;
  text-transform: uppercase;
}

.navbar-default .center-nav> li > a {
  color: #182b59;
}

.post-content .wp-caption .wp-caption-text {
  font-size: 14px;
}

.post-meta,
.page-links {
  font-family: "mr-eaves-xl-sans";
}

/********************************************* Change width of the footer widgets **************************************/
@media (min-width: 768px) {
  .fl-page-footer-widgets .col-sm-3:first-child {
    width: 41%;
  }
  .fl-page-footer-widgets .col-sm-3:nth-child(2) {
    width: 17%;
  }
  .fl-page-footer-widgets .col-sm-3:nth-child(3) {
    width: 25%;
  }
  .fl-page-footer-widgets .col-sm-3:nth-child(4) {
    width: 17%;
  }
}

/********************************************* Utility Classes *********************************************************/
.margin-bottom-none {
  margin-bottom: 0;
}

.center-content {
  display: block;
  margin: 0 auto;
}

.display-inline {
  display: inline;
}

.display-inline-block {
  display: inline-block;
}

.display-flex {
  display: flex;
  flex-flow: row wrap;
}

.display-flex.container:before,
.display-flex.container:after,
.display-flex.row:before,
.display-flex.row:after {
   content: normal; /*IE doesn't support `initial`*/
}

.banner-image {
  padding: 0px;
}

.dark-blue-rule {
  margin:30px 0;
  border-top: 1px solid #182b59;
}

.gray-rule {
  margin:30px 0;
  border-top: 1px solid #ccc;
}


.mtn {
  margin-top: 0;
}

.page-id-35713 .fl-post-content ul li {
  list-style: none;
}

.page-id-35713 .fl-post-content ul {
  display: table;
}

.page-id-35713 .fl-post-content ul > li {
  display: table-row;
}

.page-id-35713 .fl-post-content ul > li:before {
  content: "\203a";
  display: table-cell;
  text-align: right;
  padding-right: 10px;
}

/******************************************* 5 Columns for Bootstrap ***************************************************/

.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths,
.col-sm-4-5ths {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-xs-5ths {
  width: 20%;
  float: left;
}

@media (min-width: 768px) {
  .col-sm-5ths {
    width: 20%;
    float: left;
  }
  .col-sm-4-5ths {
    width: 80%;
    float: left;
  }
}

@media (min-width: 992px) {
  .col-md-5ths {
    width: 20%;
    float: left;
  }

  .col-md-4-5ths {
    width: 80%;
    float: left;
  }
}

@media (min-width: 1200px) {
  .col-lg-5ths {
    width: 20%;
    float: left;
  }
}

/*******************************   Button Styles ***********************************************************************/
.search-form-wrapper .btn-search {
  margin-left: -5px;
  background: #1d2b58;
}

.btn-articles {
  background-color: #1d2b58;
  width: 100%;
  padding: 12px 24px;
  font-size: 1em;
  text-transform: uppercase;
}

.fl-page-bar .btn-ccl,
.btn-ccl {
  background-color: #1d2b58;
  color: #fff;
  width: 100%;
  padding: 12px 24px;
  font-size: 1em;
  text-transform: uppercase;
}

.fl-page-bar .btn-ccl:hover,
.btn-ccl:hover {
  background: #167ceb;
  color: #ffffff;
  border: 1px solid #0f5eb4;
  text-decoration: none;
}

button,
input[type=button],
input[type=submit],
.btn-articles,
.ctct-form-field-submit input{
  border-radius: 0;
}

/*******************************   Grid Styles ***********************************************************************/

.grid-sizer,
.grid-item {
  width: 50%;
}

@media (max-width: 768px){
  .grid-sizer,
  .grid-item {
    width: 100%;
  }
}


/*******************************   Header Styles ***********************************************************************/

@media (max-width: 768px){
  .fl-page-nav-toggle-icon .fl-page-header-logo {
    width: 40%;
    height: auto;
    margin: 0 auto;
  }
}

.fl-page-nav-search {
  margin-top: 5px;
}

.fl-page-bar {
  height: 60px;
  display: flex;
  align-items: center;
  border-bottom: none;
}

.fl-page-nav-wrap {
  border-top: none;
}

.fl-page-nav-container {
  border-top: 1px solid #182b59;
}

.fl-page-nav ul.sub-menu li a,
.fl-page-nav ul.sub-menu ul.sub-menu li a {
  padding: 5px 15px;
}

ul.navbar-nav li.mega-menu.fl-sub-menu-open > ul.sub-menu {
  left: 45%;
}

ul.navbar-nav li.mega-menu > ul.sub-menu {
    position: absolute !important;
    width: 50%;
    padding: 20px;
    display: table;
}

.header-button-links {
  margin: 15px 0;
  height: 25px;
}

.header-button-links .button-links-wrap {
  width: auto;
  float: right;
  margin-right: 20px;
}

.header-button-links .header-button {
  padding: 8px 16px;
  text-decoration: none;
  margin: 0 10px;
}

@media screen and (max-width: 600px) {
  .header-button-links .button-links-wrap {
    width: 100%;
    float: none;
    display: flex;
    justify-content: center;
  }
  .header-button-links .header-button {
    flex-grow: 1;
    margin: 0;
    text-align: center;
  }
}

/*******************************   Footer Styles ***********************************************************************/

.footer-row {
  padding: 30px 0;
  border-top: 1px solid #182b59;
  border-bottom: 1px solid #182b59;
  margin-left: 0px;
  margin-right: 0px
}

.fl-page-footer,
.fl-page-footer-widgets {
  border: none;
}

.fl-page-footer-widgets-container {
  border-top: 1px solid #182b59;
  border-bottom: 1px solid #182b59;
}

.footer-logo img {
  margin: 0 auto;
  max-height: 70px;
}

.offices {
  margin: 10px 0;
}

.social-icons{
  text-align: center;
}

.social-icons a {
  color: #182b59;
  padding: 0 3px;
}

.social-icons a:hover,
.social-icons a:visited {
  color: #182b59;
}

.footer-links-row {
  display: flex;
  flex-direction: row;
}

.footer-links-row .footer-links {
  flex-grow: 1;
}

.footer-links a {
  margin: 8px 0;
  display: block;
}

.footer-links h5 {
  font-size: 18px;
  color: #3673b7;
}

.footer-links .small {
  color: #3673b7;
  font-weight: 400;
}

.footer-links .small:hover {
  color: #167CEB;
  text-decoration: underline;
}

.footer-links .small i {
  color: #182b59;
}

.copyright-row {
  text-align: center;
  font-style: italic;
}

@media screen and (max-width: 768px) {
  .address,
  .footer-links {
    text-align: center;
  }

  .fl-page-footer-widgets-row aside {
    margin-bottom: 5px;
  }
}

/******************************************** Pagination fixes **********************************************************/

.custom-pagination {
  text-align: center;
}

.pagination>li>a, .pagination>li>span {
  border: none;
  padding: 6px 6px;
}

.pagination-pages {
  display: inline-block;
  position: relative;
  bottom: 30px;
}

.page-link-seperator {
  color: #000;
}

.search-pagination {
  text-align: center;
  margin-bottom: 30px;
}

/******************************************** Home page fixes **********************************************************/

.home .banner-image img {
  height: auto;
}

.search-row {
  background-color: #fff;
  position: relative;
  bottom: 50px;
}

.search-form-wrapper {
  padding: 7px;
  text-align: center;
}

.search-form-wrapper .home-search,
.search-form-wrapper .btn-search {
  border-radius: 0px;
}

.search-form-wrapper .btn-search {
  padding-left: 45px;
  padding-right: 30px
}

.search-form-wrapper .home-search {
  display: inline-block;
  width: 85%;
}

.search-form-wrapper i {
  color: #fff;
  position: relative;
  right: 100px;
}

.main-home .posts-column div[id^="post-"] {
  margin-bottom: 30px;
}


.post-meta .my_term-archive {
  padding: 10px 0;
  background-color: #182b59;
  margin-bottom: 0;
}

.main-home .posts-column div[id^="post-"] .entry-title {
  margin: 0;
  padding:  15px;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

.main-home .posts-column div[id^="post-"] .excerpt-wrapper {
  width: 100%;
  margin: 0;
  padding: 0 15px 15px;
  border: 1px solid #ccc;
  border-top: none;
}

.posts-column .featured-image,
.post .featured-image,
.uabb-blog-post-inner-wrap .uabb-post-thumbnail {
  /* border: 1px solid #ccc; */
  border-bottom: none;
}

.other-posts .featured-image {
  border: 1px solid #ccc;
}

.main-home .posts-column .entry-title {
  font-size: 28px;
}

.post-meta .my_term-archive a {
  color: #fff;
  margin-left: 10px;
}

.excerpt {
  display: inline;
}
.event-date-home {
  height: 90px;
  padding: 15px;
  background-color: #1d2b58;
  text-align: center;
  font-size: 1.1em;
  font-weight: 700;
  color: #fff;
  text-decoration: none
}

.event-date-home .day {
  font-size:2.25em;
  line-height: 1em;
}

.events-header h3 {
  margin-top: 0;
  margin-bottom: 30px;
}

.event-title-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
}

.col-sm-4 .feature-button {
  margin-bottom: 15px;
}

.col-sm-4 .button-last {
  margin-bottom: 60px;
}

@media screen and (min-width: 1920px) {
  .banner-image img {
    display: block;
    margin: 0 auto;
  }
}

@media (max-width: 768px){
  .search-row {
    bottom: 0;
  }
}

@media (max-width: 992px) {
  .single-event-block {
    margin-bottom: 1em;
  }
}

/************************************** Side Bar fixes *****************************************************************/

.feature-button * {
  display: block;
  margin: 0 auto;
}

/************************************** Publication page fixes ********************************************************/


.cover-only .fl-post-grid-text {
  display: none;
}

.articles-button-row {
  margin: 1em 0;
}

.publication-post {
  margin: 1em 0 2em 0;
}

.all-articles a {
  color:#3673b7;
}

.all-articles a:hover {
  color: #167CEB;
  text-decoration: underline;
}

.other-posts .post-title {
  margin: 0;
  padding: 10px;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

.excerpt-wrapper {
  margin: 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-top: 0;
}

.publication-main .other-posts {
  margin-bottom: 20px;
}

/************************************** Post page fixes ***************************************************************/

.meta-data-row {
  margin-bottom: 15px;
}

.page-title {
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
}

.single-best_of .fl-post-meta {
  display: none;
}

.top-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-origin: content-box;
}

@media screen and (max-width:767px) {
  .top-image {
    min-height: 80px;
  }

}

@media screen and (min-width:768px) {
  .top-image {
    min-height: 270px;
  }

}
/************************************** Archive fixes ***************************************************************/

.posts-row .post {
  margin-bottom: 60px;
}

.breadcrumbs {
  margin-bottom: 30px;
}

.posts-row .post .entry-title {
  margin: 0;
  padding: 10px;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

.archive-widget ul li {
  list-style: none;
}

.archive-widget ul {
  display: table;
}

.archive-widget ul > li {
  display: table-row;
}

.archive-widget ul > li:before {
  content: "\203a";
  display: table-cell;
  text-align: right;
  padding-right: 10px;
}

/************************************** Fixes for ads *****************************************************************/


.fl-widget .bsaProItem.bsaReset {
  margin: 0 auto !important;
  float: none;
}

.col-md-4-5ths .bsaProItems.bsaGridGutter,
.col-md-8 .bsaProItems.bsaGridGutter {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.col-md-8 .bsaProItems.bsaGridGutter {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}

.fl-sidebar-right.col-md-4 .bsa-block-300--250 .bsaProItems.bsaGridGutter,
.col-sm-4 .med-ad .bsaProItems.bsaGridGutter,
.ad-row .col-xs-12 .ad-container .bsaProItems.bsaGridGutter {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.col-md-5ths .bsaProItems.bsaGridGutter {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

@media screen and (max-width: 992px){
  .col-md-4-5ths .bsaProItems.bsaGridGutter,
  .col-md-5ths .bsaProItems.bsaGridGutter,
  .col-md-8 .bsaProItems.bsaGridGutter {
    flex-direction: column;
    align-items: center;
  }
}

.ad-row .bsaProContainer .bsaGridGutter .bsaProItem {
  margin: 10px 0;
}

.med-ad {
  margin: 60px 0;
}

.lower-ad-row {
  margin-top: 45px;
  margin-bottom: 45px;
}

.ad-first {
  margin-top: 0;
}

.search .leaderboard #bsa-block-728--90 .bsaProItem {
  margin-bottom: 30px;
}

.half-page-column-ad {
  min-height: 600px;
}

#text-23.widget .textwidget,
.small-ads .fl-widget,
.ad-space.small-ads {
  width: 180px;
  margin: 0 auto;
}

#text-23.widget .bsaProItems .bsaProItem,
.ad-space.small-ads .bsaProItems .bsaProItem {
  margin-bottom: 30px;
}

.small-ads .fl-widget .bsaProItem {
  margin-bottom: 30px !important;
}

#bsa-block-300--250 {
  min-height: 250px;
  margin: 0 auto 30px
}

.bsaProContainer-13 .bsaProAnimateThumb,
.bsaProContainer-13 .bsaProAnimateThumb img {
  height:250px !important;
}

.col-sm-4 .med-ad .bsaProContainer-13 .bsaProItems.bsaGridGutter {
  flex-direction: column;
  align-items: center;
}

.med-ad .bsaProContainer-13 .bsaProItems .bsaProItem {
  margin-bottom: 20px;
}


/************************************ Search Page tweaks ***************************************************************/

.search-result-row {
  margin-bottom: 30px;
}

.search-results .title-row {
  margin: 30px 0;
}

.search-results .search-title,
.search-results .search-result {
  display: inline;
}

.search-result {
  margin: 0 15px;
}

.search-results .ad-space {
  margin-bottom: 30px;
}
/************************************ Recipe Page fixes ***************************************************************/

.single-recipe .fl-post-header,
.single-recipe .fl-post-meta-bottom,
.recipe-archive .uabb-blog-post-inner-wrap .uabb-post-meta {
/*   display: none; */
}

.single-recipe .recipe-edition {
  padding: 0 15px;
}

.single-recipe .recipe-edition img {
  width: 100px;
  height:132px;
}

/****************************************** Mailing List fixes ********************************************************/

.ctct-form-wrapper {
  background-color: #eee;
  padding: 1em 2em;
  margin-top: 30px;
}

.ctct-form {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

.ctct-form-field-email {
  width: 50%;
  align-self: flex-end;
}

.ctct-form-field-submit {
  text-transform: uppercase;
  align-self: flex-end;
}

.ctct-form-field-email label,
.ctct-disclosure {
  display: none;
}

/****************************************** Author fixes *****************************************************************/

.author-row,
.author-post-row,
.posts-row .author,
.author-ad-row {
  margin-bottom: 30px;
}

.page-template-template-author-list .pagination {
  display: block;
  text-align: center;
  margin: 20px auto;
}



/****************************************** Widget fixes *****************************************************************/

.shop-promo .textwidget img,
.back-issues-promo .textwidget img {
  display: block;
  margin: 0 auto;
}

.col-sm-4 .widget,
.col-sm-4 .archive-widget {
  margin-top: 45px;
}

.archive-promo {
  margin: 60px 0;
}

.archive-promo .widget {
  margin-top: .8%
}
/****************************************** Events fixes *****************************************************************/
#tribe-events-pg-template {
  margin-top: 30px;
}

.fl-col-small .adv-icon-1 .uabb-icon-wrap .uabb-icon i, .fl-col-small .adv-icon-1 .uabb-icon-wrap .uabb-icon i:before {
  color: #428bca;
}

/****************************************** Form fixes *****************************************************************/

#gform_29 {
  display: flex;
  justify-content: center;
  align-items: center;
}

#gform_wrapper_29 {
  background-color: #eee;
  padding: 1em 2em;
  margin-top: 30px;
}

.fl-col-small #gform_29 {
  flex-flow: column wrap;
}

.fl-col-small #gform_wrapper_29 form.gf_simple_horizontal div.gform_body ul.top_label {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: flex-start;
}

.fl-col-small #gform_wrapper_29 form.gf_simple_horizontal div.gform_footer.top_label {
  width: 75%;
  max-width:75%;
}

/****************************************** Photographer fixes *****************************************************************/

.single-photographer .posts-row .col-sm-8 .row {
  display: flex;
  flex-flow: row wrap;
  align-items:center;
}

.single-photographer .posts-row .col-sm-8 .row .col-sm-4,
.single-photographer .posts-row .col-sm-8 .row .col-sm-8 {
  min-height:175px;
}

/* 2023 Block Image Fixes  added 8-28-23*/

figcaption {
    text-align: center;
	margin: auto;
    padding: 3px 10px 1px 10px;
     max-width: 48ch;
	white-space: initial;
}
.figcaption-left figcaption{
	  text-align: left !important
}
.margin-b-none figure{
	margin-bottom:0 !important;
}
.margin-r-none figure{
	margin-right:0 !important;
}
.flex-gallery,.wp-block-gallery{
	flex-wrap:nowrap !important;
}
.gutenbee-gallery-item{
	max-height:250px !important;
}
.image-row-equal-height img{
	height:320px !important;
	object-fit:cover !important;
}
.image-row-equal-height-landscape img{
	height:150px !important;
	object-fit:cover !important;
	width:auto;
}
.image-group-caption{
	margin-top:0;
	padding-top:15px;
	text-align:center;
	
}

.flex-gallery,.wp-block-gallery{
	flex-wrap:nowrap !important;
}
