/*

Theme Name: TALC - Child Theme

Author: Dreamabstract Ltd

Author URI: https://dreamabstract.com

Description: A child theme for Twenty Twenty-Four.

Requires at least: 6.4

Tested up to: 6.4

Requires PHP: 7.0

Version: 1.0

License: GNU General Public License v2 or later

License URI: http://www.gnu.org/licenses/gpl-2.0.html

Text Domain: twentytwentyfour-child

Template: twentytwentyfour

*/


/*body, h1, h2, h3, h4 {font-family: 'gothambook';}*/

@font-face {
    font-family: 'gothambook';
    src: url('https://agroecologylearning.org.uk/wp-content/uploads/fonts/gotham_book-webfont.woff2') format('woff2'),
         url('https://agroecologylearning.org.uk/wp-content/uploads/fonts/gotham_book-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'gothammedium';
    src: url('https://agroecologylearning.org.uk/wp-content/uploads/fonts/gotham_medium-webfont.woff2') format('woff2'),
         url('https://agroecologylearning.org.uk/wp-content/uploads/fonts/gotham_medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
wp-block-group.is-position-sticky {
    will-change: transform;
}
.wp-container-3.is-position-sticky {
  width: 100%;
  transition: top 0.3s ease;
  z-index: 1000;}
body {font-family: 'gothambook' !important;}
h1, h2, h3 {font-family: 'gothammedium' !important;}
html:not([data-scroll='0']) header > .is-position-sticky {
    padding-top: 10px !important;
	padding-bottom: 10px !important;
}
html:not([data-scroll='0']) header {background-color:var(--wp--preset--color--custom-mid-green);height:88px !important;}
html:not([data-scroll='0']) header img {width:150px !important;height:auto !important;}
:root {
    --bs-link-color: #54816a !important; /* your new colour */
}

/* Home */

.how-we-help .wp-block-media-text {min-height:285px;-webkit-border-radius: 15px;-moz-border-radius: 15px;border-radius: 15px;}
.how-we-help .wp-block-media-text__media {-webkit-border-top-left-radius: 15px !important;
-webkit-border-bottom-left-radius: 15px !important;
-moz-border-radius-topleft: 15px !important;
-moz-border-radius-bottomleft: 15px !important;
border-top-left-radius: 15px !important;
border-bottom-left-radius: 15px !important;}
/* Menu Customisation */

header .wp-block-navigation-link a:hover, .wp-block-navigation-link.current-menu-item a {color:var(--wp--preset--color--custom-tan) !important;text-decoration:none;}
	header .wp-block-navigation__responsive-container-close svg, header .wp-block-navigation__responsive-container-open svg {
	height: 60px !important;
	width: 60px !important;
}
	.wp-block-navigation__responsive-container-content .wp-block-navigation.items-justified-right {--navigation-layout-justification-setting: center !important;
  --navigation-layout-justify: center !important;
}
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
align-items: center !important;
}

button.wp-block-navigation__responsive-container-open {margin-right:30px !important;}

.mc-field-group label, .mc-logo {display:none;}
.mc-field-group { display: inline-block;width:25%;padding:15px; }
#mc_embed_signup .optionalParent { display: inline-block;width:auto !important;}
.mc-field-group input {width:100%;background-color:#fbf2e3;-webkit-border-radius: 15px;-moz-border-radius: 15px;border-radius:15px;padding:15px 5%;border:0px;color:#997066;font-size:1.2rem; }
#mc_embed_signup .clear { display: inline-block; }
#mc-embedded-subscribe {
	background-color:var(--wp--preset--color--custom-mid-green);
	border-radius:9px;
	display:inline-block;
	color:#fff;
	padding:0px 30px;
	text-decoration:none;
	border:none;
	font-size:1rem;
	height:56px;
	line-height:56px;
	width:100% !important;
}
ul.wp-block-list, ol.wp-block-list, ol.wp-block-footnotes {padding-left: 1rem;}
ol.wp-block-footnotes a {color:var(--wp--preset--color--custom-mid-green) !important;}
ul.wp-block-list li::marker, ol.wp-block-list li::marker {
  color: var(--wp--preset--color--custom-mid-green) !important;
}

footer.wp-block-template-part {margin-block-start: 0rem !important;}
footer a:hover {color:var(--wp--preset--color--custom-white) !important;text-decoration:underline;}

/* Geo Directory Customisation */

.geodir-category-list-view .card {border:3px solid var(--wp--preset--color--custom-mid-green) !important;-webkit-border-radius: 15px;-moz-border-radius: 15px;border-radius: 15px;padding:20px !important;}
h3.geodir-entry-title, h2.geodir-entry-title {line-height:0.9 !important;}
h3.geodir-entry-title a, h2.geodir-entry-title a {color:var(--wp--preset--color--custom-mid-green) !important;font-size:1.2rem;line-height:0.9rem !important;font-weight:600 !important;}
.gd-badge-meta a {color:var(--wp--preset--color--custom-brown) !important;text-align:left !important;padding:0px !important;font-weight:600 !important;}
a.geodir-all-link {
	background-color:var(--wp--preset--color--custom-mid-green) !important;
	border-radius:9px !important;
	border:0px !important;
	display:inline-block;
	color:#fff !important;
	padding:10px 15px !important;
	text-decoration:none;
}
a:hover.geodir-all-link {
	background-color:var(--wp--preset--color--custom-brown) !important;
}
.home-directory-listings h3 {margin-bottom:15px !important;}
.home-directory-listings .geodir-field-short_description {font-size:0.8rem !important;}
.home-directory-listings .geodir-field-short_description p {margin-bottom:0px !important;}
.home-directory-listings .archive-meta {display:none !important;}
.view-listing p {margin-bottom:0px !important;}
.bsui .btn {
	border: var(--bs-btn-border-width) solid var(--wp--preset--color--custom-mid-green) !important;
	background-color: var(--wp--preset--color--custom-mid-green) !important;
}
.bsui button.bg-primary {
	background-color: var(--wp--preset--color--custom-mid-green) !important;
	border:0px !important;
}
button#geodir-sort-by {color: var(--wp--preset--color--custom-white) !important;}
.geodir-more-filters {background-color:#e1f1e9 !important;fill: #e1f1e9 !important;-webkit-border-radius: 15px;-moz-border-radius: 15px;border-radius: 15px;padding-bottom:30px !important;}
.geodir-more-filters .bg-light {
	fill: #e1f1e9 !important;
	background-color:#e1f1e9 !important;
}
.bsui .text-muted.form-field-label {color: var(--wp--preset--color--custom-mid-green) !important;font-weight:600 !important;font-size:1.1rem;line-height:1;}
label.form-check-label {color: inherit !important;line-height:1;}
.bsui .form-check-input {
	border: 2px solid var(--wp--preset--color--custom-mid-green) !important;
}
.customize_filter_inner.my-3 {margin-bottom:0px !important;}
.gd-search-field-search {text-align:center !important;}
button.geodir_submit_search {width:130px !important;margin:0 auto !important;}
.geodir_submit_search .sr-only {position: inherit !important;padding: 0 0 0 15px !important;}
#gd_map_canvas_directory {-webkit-border-radius: 15px;-moz-border-radius: 15px;border-radius: 15px;}
.geodir-post-meta-container {display:inline-block !important;width:auto !important;margin-block-start: 0rem;}
.geodir-post-meta-container ul {margin:0px 15px 0px 5px;padding:0px;list-style:none;display:inline-block;}
.geodir-post-meta-container li {display:inline-block;margin-right:5px;}
.geodir-post-meta-container li:last-child {margin-right:0px;}
/* Add a comma after each list item except the last one */
.geodir-post-meta-container ul li:not(:last-child)::after {
  content: ', ';
}

/* Remove the comma after the last list item */
.geodir-post-meta-container ul li:last-child::after {
  content: none;
}
.geodir_post_meta_title {color: var(--wp--preset--color--custom-mid-green) !important;font-weight:600 !important;display:inline-block;}
#gd-single-tabs.nav-tabs .nav-link {
	background-color: var(--wp--preset--color--custom-light-green) !important;
	border-color: var(--wp--preset--color--custom-light-green) !important;
	color: var(--wp--preset--color--custom-mid-green) !important;
}
#gd-single-tabs.nav-tabs .nav-item .nav-link:hover {
	color: var(--wp--preset--color--custom-white) !important;
	background-color: var(--wp--preset--color--custom-mid-green) !important;
	border-color: var(--wp--preset--color--custom-mid-green) !important;
}
#gd-single-tabs.nav-tabs .nav-link.active, #gd-single-tabs.nav-tabs .nav-item.show .nav-link {
	color: var(--wp--preset--color--custom-white) !important;
	background-color: var(--wp--preset--color--custom-mid-green) !important;
	border-color: var(--wp--preset--color--custom-mid-green) !important;
}
.geodir-custom-field-file .geodir-cf-file-name {display:none;}
.geodir-custom-field-file .embed-has-action:hover img {
	filter: brightness(100%) !important;
}
.geodir-custom-field-file .aui-lightbox-image {pointer-events: none; cursor: pointer;}
.geodir-field-website {width:100%;}
.geodir-field-website, .geodir-field-website a {color: var(--wp--preset--color--custom-white) !important;}
a.geodir_preview_button {color: var(--wp--preset--color--custom-white) !important;background-color: var(--wp--preset--color--custom-brown) !important;
	border-color: var(--wp--preset--color--custom-brown) !important;}
.geodir-field-website:hover, a:hover.geodir_preview_button {background-color: var(--wp--preset--color--custom-brown) !important;border-color: var(--wp--preset--color--custom-brown) !important;}
.geodir-field-website a:hover {text-decoration:none;}
.geodir-images, #gd_map_canvas_post, #address_map {-webkit-border-radius: 15px;-moz-border-radius: 15px;border-radius: 15px;}
.listing-meta-block .geodir_post_meta ul {margin-left:0px !important;margin-right:0px !important;}
.wp-block-geodirectory-geodir-widget-single-taxonomies, .geodir_post_meta ul, .listing-contact-block {font-size:0.9rem;}
.geodir-field-email {  overflow-wrap: break-word;
  word-wrap: break-word;

  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;

  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;font-weight:600;}
.geodir-field-address {margin-bottom:30px;}
.geodir-field-instagram, .geodir-field-facebook, .geodir-field-twitter, .geodir-field-linkedin {font-size:1.5rem;}

#geodir_fieldset_details h3, #geodir_fieldset_your_details h3 {width:100%;background-color: var(--wp--preset--color--custom-mid-green) !important;-webkit-border-radius: 15px;-moz-border-radius: 15px;border-radius: 15px;padding:15px;color: var(--wp--preset--color--custom-white) !important;}
form#geodirectory-add-post {margin-bottom:70px !important;}

.fa-linkedin::before, .fa-facebook-square::before, .fa-square-facebook::before, .fa-x-twitter::before, .fa-instagram::before {
	color: #fff;
}

.home .gd-badge-meta {display:none !important;}

.geodir-bubble_image, .geodir-bubble-meta-top, .geodir-bubble-meta-side .geodir-field-post_title {display:none !important;}
.gd-bubble-inside {padding:15px !important;}
.geodir-post-title h4 {margin-bottom:5px !important;font-size:1.1rem !important;line-height:1.2rem !important;}
.geodir-post-title h4 a {color: var(--wp--preset--color--custom-mid-green) !important;text-decoration:none;}
.geodir-bubble-meta-side {border-top:1px solid var(--wp--preset--color--custom-mid-green) !important;padding-top:10px !important;}
.geodir-bubble-meta-side .geodir-field-address {font-size:0.8rem !important;}

.listing-intro a, .listing-form a {color:var(--wp--preset--color--custom-mid-green) !important;}
.listing-form fieldset h3 {font-size:1rem !important;color:var(--wp--preset--color--custom-mid-green) !important;}
a.geodir_preview_button {color:#fff !important;background-color:var(--wp--preset--color--custom-brown) !important;}
/* UsersWP Customisation */

.uwp-footer-links a {color:var(--wp--preset--color--custom-mid-green) !important;}

.uwp-reset-form uwp_form .btn, .uwp-login-form .btn {width:120px !important;}


.uwp-login-class h3.card-title {display:none !important;}
#uwp-profile-tabs-nav .nav-item .nav-link:not(.disabled)  {color:var(--wp--preset--color--custom-brown) !important;}
#uwp-profile-tabs-nav .nav-item.active .nav-link:not(.disabled)  {color:var(--wp--preset--color--custom-mid-green) !important;}
#uwp-profile-tabs-nav li.nav-item.active   {border-color:var(--wp--preset--color--custom-mid-green) !important;}
.uwp-profile-content {padding-bottom:30px;margin-bottom:50px;}
.uwp-list-view-select .btn {color:var(--wp--preset--color--custom-white) !important;}
.geodir-author-actions .text-secondary {
    color: var(--wp--preset--color--custom-white) !important;
}
.uwp-profile-cpt-loop h3.card-title a {color:var(--wp--preset--color--custom-mid-green) !important;}
.uwp_widget_account .navbar-light .bg-light {border-radius:15px !important;}
.uwp_widget_account li.nav-item {border:0px !important;font-size:0.9rem !important;color:var(--wp--preset--color--custom-brown) !important;}
.uwp_widget_account li.nav-item i {color:var(--wp--preset--color--custom-brown) !important;}
.uwp_widget_account .navbar-light a {color:var(--wp--preset--color--custom-brown) !important;}
.uwp_widget_account .navbar-light .card {display:none;}
/* CF7 Customisation */

.wpcf7 input::placeholder, .wpcf7-textarea::placeholder {
	color: #997066 !important;
	opacity: 1;
}
.wpcf7-text {width:100%;background-color:#e8e8e6;-webkit-border-radius: 15px;-moz-border-radius: 15px;border-radius:15px;padding:15px ;border:0px;color:#997066 !important;font-size:1.2rem;margin-bottom:15px;}
.wpcf7-textarea {height:100px;width:100%;background-color:#e8e8e6;-webkit-border-radius: 15px;-moz-border-radius: 15px;border-radius:15px;padding:15px ;border:0px;color:#997066 !important;font-size:1.2rem;margin-bottom:15px;}
.wpcf7-submit {
	background-color:var(--wp--preset--color--custom-mid-green);
	border-radius:9px;
	display:inline-block;
	color:#fff;
	padding:0px 30px;
	text-decoration:none;
	border:none;
	font-size:1rem;
	height:56px;
	line-height:56px;
}
.wpcf7-submit:hover {
	background-color:var(--wp--preset--color--custom-gold);
}
div.wpcf7-mail-sent-ok {
    border: 2px solid #fff;
	color:#fff;
}
div.wpcf7-response-output {
    margin: 20px 0px;
    padding: 0.2em 1em;
}

@media only screen and (min-width: 1024px) and (max-width: 1249px) {
	
	.how-we-help .search-directory-column, .how-we-help .create-listing-column {min-height:340px !important;}
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
	
	.home-directory-listings .row-cols-md-4 > * {
	width: 50% !important;
}
}

@media screen and (max-width: 1023px) {
  /* hamburger button */
  .wp-block-navigation__responsive-container-open  {
    display: block !important;
  }

  /* full menu */
  .wp-block-navigation__responsive-container:not(.is-menu-open.has-modal-open) {
    display: none !important;
  }
	.mc-field-group { display: block;width:100%;padding:0px 0px 15px 0px; }
	#mc_embed_signup .optionalParent { display: block;}
	#mc_embed_signup .clear { display: block; }
	#mc-embedded-subscribe {
		display:block;
	}
}

@media screen and (max-width: 767px) {
	
	header .wp-block-image img {width:150px !important;height:auto;}
.wp-container-core-social-links-is-layout-1.wp-container-core-social-links-is-layout-1 {
	justify-content: flex-start !important;
}
}