/* 
Theme Name: WWOOF Hello
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/
/* BUDDYPRESS PROFILE PAGE */

/* --- BuddyPress Member Header Buttons --- */
.buddypress .buddypress-wrap .member-header-actions .generic-button {
  display: inline-block;
  margin: 0 6px 8px 0;
}

.buddypress .buddypress-wrap .member-header-actions .generic-button a {
  display: inline-block;
  background-color: var(--e-global-color-accent); /* deep red */
  color: #fff;
  padding: 8px 16px;
  border-radius: 3px;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size:15px;
  letter-spacing: 0.6px;
}

/* Hover / Focus states */
.buddypress .buddypress-wrap .member-header-actions .generic-button a:hover,
.buddypress .buddypress-wrap .member-header-actions .generic-button a:focus {
  background-color: var(--e-global-color-4961530); /* darker red */
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

/* Optional: make all buttons the same height/alignment */
.buddypress .buddypress-wrap .member-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* Optional: add spacing from surrounding content */
.buddypress .buddypress-wrap .member-header-actions.action {
  margin-top: 10px;
}

/* -----------------------------   HEADER & NAV BAR ON PROFILES ------------------------------------- */

/* Buddypress Nav bar background color and padding 
.bp-navs ul {
	background: #00805d24; 
	padding-left: 10px;
} */
/* Buddypress Nav Bar make background full width */
#buddypress.buddypress-wrap .bp-navs ul.bp-priority-object-nav-nav-items, #buddypress.buddypress-wrap .bp-navs ul.bp-priority-subnav-nav-items {
	display: block;
}
/* Profile Header - Cover image on Profiles - make image deeper */
#buddypress #header-cover-image {height:335px;}

/* Profile Cover Image top margin */
#buddypress #item-header-cover-image {
	margin-top:20px;
}

/* Profile Header - move buttons & avatar down */
#buddypress #item-header-cover-image #item-header-avatar {
	margin-top:260px;
}

/* Profile header text content - expiry date etc */
@media (min-width: 1024px) { /*DESKTOP ONLY*/

    #buddypress div#item-header #item-header-cover-image #item-header-content {
	    margin-top: -90px;
    }

}

/* Profile page - remove margins from BP H4 headings in BOXES */
body.buddypress .buddypress-wrap h3, body.buddypress .buddypress-wrap h4 {
	margin-top:0px!important;
	margin-bottom:0px!important;
}

/* meta data under Profile Buttons in header */
.pmpro_bp_show_level_on_bp_profile {
	font-size:14px;
	color: #800000;
}
.gw-member-since {
	font-size:14px;
}
.gw-expiry-date {
	font-size:14px;
}
.single-headers .item-meta {
	margin:6px 0 5px;
}
/*  css for RED BUTTONS TEST on PROFILE TAB NAVS  */

#buddypress.buddypress-wrap .bp-navs ul.bp-priority-object-nav-nav-items li a, #buddypress.buddypress-wrap .bp-navs ul.bp-priority-object-nav-nav-items li span, #buddypress.buddypress-wrap .bp-navs ul.bp-priority-subnav-nav-items li a, #buddypress.buddypress-wrap .bp-navs ul.bp-priority-subnav-nav-items li span {
	background-color: #A52425; /* red background*/
    color: white;
    font-size: 15px;
    font-weight: 500;
    padding: 5px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	margin-bottom:10px;
}
#buddypress.buddypress-wrap .bp-navs ul.bp-priority-object-nav-nav-items li a:hover, 
#buddypress.buddypress-wrap .bp-navs ul.bp-priority-object-nav-nav-items li span:hover, 
#buddypress.buddypress-wrap .bp-navs ul.bp-priority-subnav-nav-items li a:hover, 
#buddypress.buddypress-wrap .bp-navs ul.bp-priority-subnav-nav-items li span:hover {
    background-color: #528A36; /* Green color on hover */
}
#buddypress.buddypress-wrap .bp-navs ul.bp-priority-object-nav-nav-items li a:active, 
#buddypress.buddypress-wrap .bp-navs ul.bp-priority-object-nav-nav-items li span:active, 
#buddypress.buddypress-wrap .bp-navs ul.bp-priority-subnav-nav-items li a:active, 
#buddypress.buddypress-wrap .bp-navs ul.bp-priority-subnav-nav-items li span:active,
#buddypress.buddypress-wrap .bp-navs ul.bp-priority-object-nav-nav-items li.selected a, 
#buddypress.buddypress-wrap .bp-navs ul.bp-priority-object-nav-nav-items li.selected span, 
#buddypress.buddypress-wrap .bp-navs ul.bp-priority-subnav-nav-items li.selected a, 
#buddypress.buddypress-wrap .bp-navs ul.bp-priority-subnav-nav-items li.selected span,
#buddypress.buddypress-wrap .bp-navs ul.bp-priority-object-nav-nav-items li.current a, 
#buddypress.buddypress-wrap .bp-navs ul.bp-priority-object-nav-nav-items li.current span, 
#buddypress.buddypress-wrap .bp-navs ul.bp-priority-subnav-nav-items li.current a, 
#buddypress.buddypress-wrap .bp-navs ul.bp-priority-subnav-nav-items li.current span {
    background-color: #cd9901; /* yellow color for active state */
}
/* deals with the notification count number appearing */
#buddypress.buddypress-wrap .bp-navs ul li .count {
	margin-top:-7px!important;
	margin-bottom:-5px!important;
	font-size:12px!important;
	box-shadow:none!important;
}
/* this removes the old bpress current border around their old buttons */
.buddypress-wrap .tabbed-links ol li.current, .buddypress-wrap .tabbed-links ul li.current {
	border-width:0px;
}

/*  END RED BUTTONS ON PROFILES */

/*   REMOVE MAIN NAV BAR ON ALL PROFILES   */
/* 
CODE THAT HANDLES SUB NAV IS IN Module Hide BuddyPress Profile Navigation
*/
.main-navs {
	display:none;
} 
/* this hides just the first nav bar 
#member-primary-nav {
  display:none;  
} */

/*  VIEW PROFILE button when viewing Mediapress gallery   */
.gw-wwoofau-mpp-profile-button {
	background:#a52425!important;
	color:#ffffff!important;
	padding: 10px 10px!important;
}
/* CHECKBOX BACKGROUNDS ON FRONT PROFILE PAGES */
/* Badge Style */
.gwmultioption.xfg-badge {
	padding: 0.4rem 0.75rem;
	background: linear-gradient(135deg, #a19c9c 0%, #a19c9c 100%);
	color: #ffffff;
	border-radius: 20px;
	font-weight: 500;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gwmultioption.xfg-badge:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Alternative color schemes for badges */
.field-type-checkbox .gwmultioption.xfg-badge:nth-child(4n+1) {
	background: linear-gradient(135deg, #a19c9c 0%, #a19c9c 100%);
}

.field-type-checkbox .gwmultioption.xfg-badge:nth-child(4n+2) {
	background: linear-gradient(135deg, #a19c9c 0%, #a19c9c 100%);
}

.field-type-checkbox .gwmultioption.xfg-badge:nth-child(4n+3) {
	background: linear-gradient(135deg, #a19c9c 0%, #a19c9c 100%);
}

.field-type-checkbox .gwmultioption.xfg-badge:nth-child(4n+4) {
	background: linear-gradient(135deg, #a19c9c 0%, #a19c9c 100%);
}
/*  NOTE - PROBS ADD THIS WITH ABOVE CSS INTO PLUGINS CSS  */
.gw-xfield-label {
	padding-bottom:6px;
}

/* ---------------------------------JAMES - Fix the broken profiles, this is set incorrectly in theme.css, overirding with media queries to fix mobile  */
@media(min-width: 1024px) {
.alignwide {
    margin-inline: -80px!important;
}
}
@media(max-width: 1023px)
{
.alignwide {
margin-inline:0px!important;
}
}

/*  --------------- rounded corners on Profile templates - override bbpress nouveau ------------- */
body #buddypress div {
	border-radius: 6px;
}

/*fix single xprofile checkbox fields going wierd full width. USED ON PROFILE PAGE do you wanna show on search or not - now deleted */
.gw-xprofile-radio-label input, .gw-xprofile-checkbox-label input {
max-width: 20px;
}

/*This fixes x profile fields on the profile incase someone does a really long line of text with no spaces/linebreaks*/
.gw-xfield-value {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* Adjust cover image height on small screens*/
@media(max-width: 767px)
{
/* margin top is how far down the avatar is from top of cover image */
	#buddypress #item-header-cover-image #item-header-avatar {
    margin-top: 130px;
}
#buddypress #header-cover-image {
    height: 185px;
}
}
/*  END OF PROFILE PAGES */



/* -------------------------------------------------------------------- FORUMS ------------------------ */

/* margin at top of all forum pages */
#bbpress-forums {
	margin-top:30px;
}

/* ---------------------------------------- GEO SEARCH PAGE   ---------------------------- */


/* Hide the compact/card view toggle*/
div.list-controls > div.view-controls
{
display:none;
}

/* ---------------------------- PMPRO PAGES -------------------------------- */
.pmpro_card_actions {display:none;}


/*Hide the Delete thread button in buddypress messages -- James*/
.message-action-delete.bp-tooltip.bp-icons {
display:none!important;
}



