/**
 * Theme Name:       Mai Homestead
 * Theme URI:        https://bizbudding.com/mai-theme/
 * Description:      Mai Homestead child theme for the Genesis Framework.
 * Author:           BizBudding
 * Author URI:       https://bizbudding.com/
 * Version:          2.0.0
 * Text Domain:      mai-homestead
 * Template:         genesis
 * Template Version: 3.4.0
 * License:          GPL-2.0-or-later
 * License URI:      http://www.gnu.org/licenses/gpl-2.0.html
 */

/* GEO DIRECTORY CUSTOMIZATIONS */

/* CARD ITEMS ON ARCHIVE PAGES */

.card .card-footer .geodir_post_meta_title {
	font-weight:bold;
}
.card .gd-badge-meta a {
	background-color:rgba(219,142,12,0.9) !important; /* ORANGE */
}

.card .geodir-entry-title a, .card .gd-read-more  {
	font-weight:bold;
	color:#db8e0c;
}
.card .geodir-entry-title a:hover, .card .gd-read-more:hover {
	color:#76a835;
}
.bsui .card-footer {
 border-top: 0; 
}
.card .gd-read-more {
 display: block;
	padding: 5px 0 0 0;
}

.bsui h1, .bsui .h1, .bsui h2, .bsui .h2, .bsui h3, .bsui .h3, .bsui h4, .bsui .h4, .bsui h5, .bsui .h5, .bsui h6, .bsui .h6 {
	color: #76a835;
	font-weight: var(--heading-font-weight,unset);
  font-family: var(--heading-font-family,unset);
}
.bsui a {
	color:var(--link-color,var(--color-link));
}
.gd-sidebar-custom-colors .bg-light {
  background-color:  #f3f2e5!important;
}
.gd-sidebar-custom-colors .text-muted {
  color: #313b0f!important;
	font-weight: normal;
}

.mai-columns .gd-search-column .gd-sidebar-custom-colors .geodir-filter-container {
  font-size: .8em; 
}
/* GD SEARCH RESULTS PAGE - hide grid view selection */
.search-results .geodir-loop-actions-container .gd-list-view-select {
	display:none;
} 

.bsui .btn-primary {
  --bs-btn-color: #000!important;
  --bs-btn-bg: /*#3993d5;*/ #ef9f19;
  --bs-btn-border-color: /*#3993d5;*/ #ef9f19;
  --bs-btn-hover-color: #000!important;
  --bs-btn-hover-bg: /*#57a3db;*/ #db8e0c;
  --bs-btn-hover-border-color: /*#4d9ed9;*/ #ef9f19;
  --bs-btn-focus-shadow-rgb: /*219,142,12;*/ 0;
  --bs-btn-active-color: #000 !important;
  --bs-btn-active-bg: /*#61a9dd;*/ #db8e0c;
  --bs-btn-active-border-color: #4d9ed9;
  --bs-btn-active-shadow: 0;
  --bs-btn-disabled-color: #000;
  --bs-btn-disabled-bg: #3993d5;
  --bs-btn-disabled-border-color: #3993d5;
}
.gd-sidebar-custom-colors .bg-primary, .geodir-more-filters .btn-primary {
  --bs-bg-opacity: 1;
  background-color: none !important;
}
.bsui .btn-primary {
  color: #000;
}
.geodir-filter-cat .bg-primary {
	background-color: #ef9f19;
}
.gd-sidebar-custom-colors .bg-primary, .geodir-more-filters .btn-primary {
  fill: /*#3993d5*/ #ef9f19;!important;
}
.bsui .btn-primary:hover, .bsui .btn-primary:focus, .bsui .btn-primary:active, .bsui .btn-primary.active, .bsui .btn-primary.show {
  color: #000 !important;
  box-shadow: 0 0 0 0 ;
}
/* days badge, to match on the single listing */
.card-footer .geodir-field-days {
	background-color: #5dbcd2;
  color: #ffffff;
	--bs-badge-padding-x: .75em;
  --bs-badge-padding-y: .4375em;
  --bs-badge-font-size: 84%;
  --bs-badge-font-weight: normal;
  --bs-badge-color: #fff;
  --bs-badge-border-radius: .375rem;
  display: inline-block;
  padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
  font-size: var(--bs-badge-font-size);
  font-weight: var(--bs-badge-font-weight);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: var(--bs-badge-border-radius);
}

.card .wp-block-geodirectory-geodir-widget-post-images img {
	border-radius: .75rem .75rem 0 0;
}
/* INDIVIDUAL CARDS cont'd */

.bsui .card {
  --bs-card-border-width: 1px;
  --bs-card-border-color: /*#f3f2e5*/ #e2e1d5  /*#000000*/;
  --bs-card-border-top: none;
  	border-top: none;
	--bs-card-border-radius: 0 0 .75rem .75rem;
}

.bsui .p-2:first-child {
  padding: .5rem .5rem .1rem .5rem !important;
}
.bsui .p-2:last-child {
  padding: .1rem .5rem .5rem .5rem !important;
}
.bsui .card h2 {
margin-bottom: .5rem;
}


.bsui .carousel-indicators {
	display:none;
}


/* SINGLE GD DETAILS PAGE TABS AND TITLES */
.tab-pane .geodir_post_meta_title {
	color:#76a835;
	font-weight:bold;
}
.tab-pane {
	border:none;
}
.bsui .nav-tabs .nav-link {
  /*background-color: #f5f4f8; */
  color: #db8e0c;
}
.bsui .nav-tabs .nav-link.active {
	color:#76a835;
}
.tab-pane .fieldset-farm-details {
	display:none;
}

.tab-content .geodir-field-free_experiences, .tab-content .geodir-field-phone {
	padding-top: 1em;
}
/* LOGO ON SINGLE DETAILS PAGE */
.farm-logo .carousel-item img {
	width: 220px !important;
	height: auto !important;
	margin: 15px 10px 10px 0 !important;
}


/* SIDEBAR FOR ARCHIVES - TO KEEP IT HIGH ON MOBILE AND NOT DROP TO BOTTOM */
.content-sidebar-wrap {
	display: flex;
	flex-direction: column;
}
.content-sidebar-wrap .sidebar {
	order: 1; 
}
.content-sidebar-wrap .content {
	order: 2; 
}

/* NEWS ITEMS */
.news-boxes .wp-block-ub-styled-box {
	padding: 20px 20px 10px 20px;
	line-height:1.3;
	height: 100%;
	text-align:center;
	font-size: 1rem;
}
.news-boxes .wp-block-ub-styled-box a {
	color: #FFFFFF;
	font-weight:bold;
	font-size: 1.3rem;
}
.iframe-container {
  display: flex;
  justify-content: center;
  /* Remove align-items property */
 /* height: 100vh; */
	padding-bottom: 1.5em;
}