/*
 Theme Name:   Astra Child
 Template:     astra
 Version:      1.0.0
 Description:  FOF Golf child theme for Astra
 Author:       Ezone Interactive
*/

/* You can add custom styles below */
/* Register Page Styles */
.dynamic-form-cover {
    
    opacity: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.dynamic-form-cover.fade-out {
    opacity: 0;
}

#caps-warning {
  display:none!important;
    font-size: 14px; /* Reset font size */
    width: auto;
    height: auto;
    max-width: 24px; /* Optional: Cap the maximum size */
    max-height: 24px;
}   

  /* Style each step */
  ul.forminator-pagination li {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 5px;
    background-color: #f3f3f3;
    font-weight: bold;
    cursor: pointer;
}

/* Active step style */
ul.forminator-pagination li.forminator-current_page {
    background-color: #0073aa; /* Change to your primary color */
    color: white;
}

/* Adjust step numbers */
ul.forminator-pagination li span {
    margin-right: 5px;
}

/* Buddypress profile styling */
.buddypress .site-content .ast-container {
    display: inherit !important;
  }
  
  .widget_bp_core_login_widget {background:white;padding:30px;}
  
  .widget_bp_core_login_widget #bp-login-widget-submit, .bp-login-widget-register-link a {background:#035910;filter:none!important;}
  .widget_bp_core_login_widget #bp-login-widget-submit:hover, .bp-login-widget-register-link a:hover {background:#035910;color:#E3F123;}
  
  
  .bp-user #item-header-avatar {
      display: flex;
      justify-content: center;
  }
  #item-header-avatar {
      border-radius:50%!important;
  }
  
  
  

  body {height:100%;margin:0;}
  body, .ast-separate-container {background:#EDF6EE;}
.site {
  display: flex!important;
  flex-direction: column;
  min-height: 100vh;
}

.site-content {
  flex: 1;
}

.home-page p {text-align:justify!important;}

.widget .wp-block-heading{color:#035910;}

#bp-messages-send , #profile-group-edit-submit{background:#035910;color:#fff;}

#delete-account-button {background:#dd0a0a;color:#fff;}

.category-news p {text-align:justify;}

.category-news .post-content {padding-left:0;}
.category-news .post-thumb {padding-right:10px;}
.category-news .entry-title  a {color:#035910;}
.category-news #primary {padding-top:0;}
@media screen and (max-width:980px){.category-news main {padding:0 10px;}
	.category-news .custom-banner-inner {padding-left:10px;}
	 .my-account #primary, .single-course #primary {padding-top:0;}
	.thread-from {margin:10px;}
	.bp-messages-content .preview-thread-title, .bp-messages-content .single-thread-title {font-size:12px;}
	.messages-title {padding-left:5px!important;}
	
	
	#mobfriendshipbutton {width:100%;text-align:center;}
}
.thread-item {padding-left:20px!important;}
.thread-from img {border-radius:50%;width:40px;height:40px;}

#message-threads li.selected .thread-subject .subject {color:#035910;}

#notifications-user-list {padding-top:0;}

.homedetails {text-align:center;}
.homedetails summary {font-size:36px;font-weight:bold;font-family:'Montserrat',sans-serif;color:#035910;}
@media screen and (max-width:980px){.homedetails summary {font-size:24px;}
	.custom-banner-inner {padding:0 15px!important;}
	.course-friends {padding:0 8px;}
	.custom-banner-title {font-size:2rem!important;}
}

.fof-button {background:#035910!important;color:#fff!important;border-radius:40px!important;padding:5px 20px;}
.fof-button:hover {color:#E3F123!important;}

.course-network-summary h2 {margin:0px!important;}
.course-network-summary h2 a{color:#035910;font-size:0.9em;}



/* Main Search */
.custom-header-search {background:#ddebdc;
	padding: 1em;
  border-bottom: 1px solid #ddd;
}

.custom-header-search input[type="search"] {
  padding: 0.5em;
  width: 60%;
  max-width: 400px;
  margin-right: 0.5em;
}

.custom-header-search form {margin:0 auto;}
@media screen and (min-width:980px){
.custom-header-search form {width:40%;}
	#mobfriendshipbutton {display:none;}
}
@media screen and (max-width:980px){
.custom-header-search form {width:90%;}
}

.equipment-list li {margin:10px 0;}
.equiptitle {font-weight:bold;}

#friend-list img {border-radius:50%;width:100px;height:100px;}

.friends-meta button , #requestcoursebutton {background:#035910!important;color:#fff!important;border-radius:20px!important;}

.friends-meta button:hover, #requestcoursebutton:hover {color:#E3F123!important;}

.profile-home-course ul, .profile-other-courses ul {list-style:none;margin-left:0;}

#requestcourse {margin-top:50px;}
#requestcourse a {padding:5px 10px}

.bp-custom-friend-search {
    margin-left: auto;
    padding-left: 1rem;
	display:inline-block!important;
	width:300px;
}
@media screen and (max-width:980px){
.bp-custom-friend-search p {text-align:left;}
.bp-custom-friend-search a {text-decoration:none!important;}

  #bp-mobile-menu-toggle {
    display: block;
  }
  #member-secondary-nav {
    display: none;
		width:100%;
  }
	.friends #member-secondary-nav {display:block!important;}
	.friends .buddypress-wrap .bp-navs li.current a {background:none;}
	.friends .bp-custom-friend-search {padding-top:30px!important;background:#fff!important;color:#000!important;text-align:left!important;font-size:10px!important;}
	.friends .bp-custom-friend-search a {color:#035910!important;}

	
  /* Style the whole menu */

  #member-secondary-nav li {
    padding: 0.3em 1em;
    text-align: center;
    font-size: 1.1em;
    color: #fff;
    cursor: pointer;
		display:block!important;
		width:100%;
  }

  #member-secondary-nav li:nth-child(odd) {
    background-color: #427e4b;
  }

  #member-secondary-nav li:nth-child(even) {
    background-color: #035910;
  }

  #member-secondary-nav li a {
    color: #fff;
    text-decoration: none;
    display: block;
    width: 100%;
  }

  #member-secondary-nav li a:hover {
    opacity: 0.9;
		background:none!important;
		border-bottom:0px;
  }
	.buddypress-wrap .pronav li.current a {background:none!important;}
  /* Optional: make the toggle button match the style */
  #bp-mobile-menu-toggle {
    display: block;
    width: 100%;
    padding: 1em;
    background-color: #035910;
    color: #fff;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
  }
	.bp-subnavs {margin-top:1px!important;}

  #bp-mobile-menu-toggle:hover {
    background-color: #427e4b;
  }
}




#country-filter-form {margin-bottom:15px;}
#country-select {padding:8px 8px;width:250px;}


.bp-custom-friend-search form {border:0px!important;}

.bp-custom-friend-search .selectize-dropdown {width:283px!important;}

.bp-custom-friend-search .selectize-dropdown-content > .optgroup {width:100%;}

.buddypress-wrap .bp-subnavs {overflow:visible!important;}
.bp-custom-friend-search form {
    display: flex;
    align-items: center;
    gap: 6px;
}

#friend-search {
    padding: 0 2px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.members-list img {width:40px!important;border-radius:50%;}

.members-list .item-avatar {margin-right:2%!important;}

/* Style logged in widget */
.widget_bp_core_login_widget .bp-login-widget-user-links {margin-left:60px;}
.homebanner .widget_bp_core_login_widget {opacity:0.9;}

/* Hide secondary nav for logged out users */
.ast-below-header-wrap {
    display: none;
}

body.logged-in .ast-below-header-wrap {
    display: block;
}

/* Hide Member Type Text on Profile */
.bp-member-type-list {display:none!important;}

#buddypress #item-header-cover-image #item-header-avatar img.avatar {width:200px;height:200px;}

#notifications-user-list {margin-top:40px;}

.subnav-filters {display:none;}
#notifications-user-list .bp-pagination {padding-left:15px;}
.bulk-select-check {text-align:center;}

.buddypress-wrap .bp-feedback.help .bp-icon, .buddypress-wrap .bp-feedback.info .bp-icon {background-color:#035910;}

/* Search Form Styling */
.custom-search-wrapper input[type="text"],
.custom-search-wrapper input[type="search"] {
  display: inline-block!important;
  padding: 6px;
  border: 1px solid #ccc;
  width: 150px;
}

.custom-search-wrapper form {
  margin-right: 10px;
}

.custom-search-wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
}

.custom-search-wrapper .search-form {
  display: flex;
  align-items: center;
}

.ast-header-search form.search-form .search-field, .ast-header-search .ast-dropdown-active.ast-search-menu-icon.slide-search input.search-field {width:500px;}

.site-header-section-left .ast-search-menu-icon.slide-search .search-form {padding-left:3em;}

.selectize-dropdown {
  width: 600px !important;
  left: 0 !important;
	min-height:400px;
	border:1px solid #000!important;
}
@media screen and (max-width:980px){
.selectize-dropdown {width:250px!important;}
	.selectize-dropdown-content > .optgroup {width:100%!important;}
	.buddypress-wrap:not(.bp-single-vert-nav) .bp-navs li {background:#fff;}
	.bp-two-column-layout #item-body {padding:10px 15px;}
	#member-primary-nav {flex-wrap:wrap;overflow-x:hidden;box-sizing:border-box;width:100%;gap:1rem;margin-left:0;margin-bottom:0;}
	.main-navs {margin:0 10px;}
	.buddypress-wrap .bp-navs li.current a {background:#fff;}
}

.selectize-dropdown-content .highlight {
  padding: 0;
  margin: 0;
  font-weight: bold;
  white-space: nowrap!important;
	display:inline!important;
}



/* Force ast-below-header-wrap to display */
@media screen and (max-width: 768px) {
    .ast-below-header-wrap {
        display: block !important; /* Make sure it displays */
    }
}


.selectize-dropdown-content {max-height:400px;}

.selectize-input::after {display:none;
}
.selectize-dropdown-content > .optgroup {
  width: 50%;
  float: left;
  box-sizing: border-box;
  padding: 0 10px;
}

@media (max-width: 768px) {
  .selectize-dropdown > .optgroup {
    width: 100%;
    float: none;
  }
}

.custom-optgroup-header {
  font-weight: bold;
  padding: 6px 0;
  border-bottom: 1px solid #ccc;
}


.search-form {height:35px;}
.search-form input[type=search] {padding:0 5px;}
.search-form input:focus {border-style:none;}

.ast-search-menu-icon.slide-search .search-form {opacity:1;visibility:visible;}

#bp-login-widget-form .login-submit, #bp-login-widget-form .bp-login-widget-register-link {display:inline-block;}

.courses-content {margin-bottom:20px}

.course-network-summary .course-summary-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
	margin-bottom:10px;
}

.course-network-summary p, .suggestecoursecon p {
    font-size: 1em;
    margin: 0;
}

.course-network-summary .network-icons, .suggested-course .network-icons {
    display: flex;
    align-items: center;
    gap: 5px;
}
.suggested-course h2 {margin:0 10px 0 0!important;align-items:center;display:flex;}
.suggested-course h2 a {font-size:0.5em;}
.suggested-course {display:flex;}

.course-network-summary .friend-avatar img, .suggested-course .friend-avatars img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 50%;
}

.course-network-summary .more-friends,
.course-network-summary .fof-indicator {
    font-weight: bold;
    cursor: default;
}

.course-network-summary .friend-avatars {
    display: flex;
    align-items: center;
    gap: 5px;
}

@media screen and (min-width: 46.8em) {
    .buddypress-wrap.bp-dir-hori-nav:not(.bp-vertical-navs) nav:not(.tabbed-links)
	{border:0!important;border-top:0px!important;}}

.bp_members h3 {font-size:2em;text-decoration:underline;}

#home-course-list, #course-list {list-style:none;margin-left:0;}

.removehomecourse, .removecourse {margin-left:10px;color:#fff;background:#000;border-radius:10px;padding:0 10px;}

#add-home-course-membership .selectize-control, #add-course-membership .selectize-control {width:30%;display:inline-block;}
#home-membership-type, #membership-type {padding:6px 5px;}

#add-home-course-btn, #add-course-btn {background:#035910;color:#fff;border-radius:30px;padding:10px 15px;}

.bp_members #item-body {padding-bottom:100px;}

.fof-badge {
    width: 24px;
    height: 24px;
    background: #6c757d;
    color: #fff;
    border-radius: 50%!important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: default;
}


.friend-avatars {
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.friend-avatars:hover {
    transform: translateY(-3px);
}


.friend-avatars img,
.friend-avatars .avatar-more {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff; /* add a white border for nicer stacking */
    margin-left: -20px; /* THIS creates the slight overlap */
    background: #ccc; /* fallback for the +X circle */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8em;
}

/* Make the first avatar not overlap */
.friend-avatars img:first-child,
.friend-avatars .avatar-more:first-child {
    margin-left: 0;
}


.avatar-more {
    width: 32px;
    height: 32px;
    background: #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}


/* CPT Styling for courses */
.coursebanner {width:100vw;margin-left:calc(-50vw + 50%);height:300px;display:flex;align-items:flex-end;justify-content:flex-start;}
.coursebanner h1 {color:#fff;}
.coursetitle {display:block;}

.custom-banner-inner a {color:#fff;}

.course-fof-list, .course-friend-list {list-style:none;margin-left:0;}

.course-fof-list img, .course-friend-list img {border-radius:50%;margin-right:10px;width:24px;height:24px;}

.course-friends h2 {margin-bottom:10px;}

.coursebanner .ast-container {
    max-width: 1200px; /* Or your site width */
    margin-left: 0;
    margin-right: auto;
    padding-left: 5.6em;
    padding-right: 20px;
}

.course-friend-list li {display:flex;}

.flag {margin-right:0px;}

.course-members {margin-top:50px;}

.single-course #primary, .post-type-archive #primary  {margin-top:0;}

.course-fof-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.friend-with-mutuals {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.friend-info {
    display: flex;
    align-items: center;
   
}

.friend-avatar img {
    border-radius: 50%;
}

.friend-details {
    margin-left: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.friend-name {
    font-weight: bold;
    text-decoration: none;
    color: inherit;
}

.mutual-text {
    font-size: 0.9em;
    color: #555;
}


.mutual-count {
    margin: 0;
    font-size: 0.9em;
    color: #666;
}

.suggest-round-button {
    display: inline-block;
    background-color: #035910; /* Nice green */
    color: #fff;
    padding: 6px 8px;
    margin-left: 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
	font-size:12px;
}

.suggest-round-button:hover {
    background-color: #218838; /* Darker green on hover */
    transform: translateY(-2px);
    text-decoration: none;
    color: #fff;
}

.course-friends-with-mutuals li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}


/* Suggest Round Modal Styling */
.suggest-round-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.suggest-round-modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 6px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.suggest-round-close {
  position: absolute;
  top: 10px; right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}



.xprofile {background-color:#EDF6EE;}

.bp-user .bp_members {background:#EDF6EE!important;}

#item-body {background:#fff;padding:10px 40px;}





.homebanner .widget_bp_core_login_widget {MARGIN-bottom:50px;}

/* Register Page Styling */
@media only screen and (max-width:980px) {.forminator-file-upload{display:flex;flex-direction:column;} })

/* Center the avatar in the header cover image area */
#item-header-cover-image {
  position: relative;
}

#item-header-avatar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

}
#item-header-avatar img {border-radius:50%;border:1px solid #035910!important;}

/* Let the cover image break out of the theme container */
#header-cover-image {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  left: 0;
	height:300px!important;
}

/* Make the avatar overlap the cover image */
#item-header-avatar {
  position: absolute;

  left: 50%;
  transform: translate(-50%, -50%); /* Center the avatar */
  z-index: 10; /* Make sure it's on top of the cover */
}

@media only screen and (min-width:980px){
	#item-header-cover-image {min-height:100px!important;}
	#item-header-avatar {top:-135%;}
}
@media only screen and (max-width:980px){
	#item-header-avatar {top:-63%;}
}

/* Shadow on profile content */
#item-body, .sidebar-widget, #object-nav {box-shadow:2px 2px 5px #9f9797;}

.xprofile .site-content, .xprofile .bp_members, .bp-user .site-content, .bp-user .bp_members {padding-top:0!important;}
.xprofile #primary, .bp-user #primary {margin-top:0px;}

/* Put content on top of the cover image, at the bottom */
#item-header-content {
  position: absolute;
  top: 65px;
  left: 0;
	right:0;
  width: 100%;
  padding: 2rem 1rem;
  z-index: 5;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.8), transparent); /* optional: soft fade for readability */
	margin-left:0!important;
background:none!important;display:flex;flex-direction:column;
}

.toprow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.covername,
#countrydiv {
  flex: 0 1 auto; /* don’t stretch, shrink as needed */
  max-width: 50%; /* prevent overly large content */
  white-space: nowrap; /* optional: avoid line breaks inside */
}

.covername {
  display: inline-block;
}

@media screen and (max-width:980px){.toprow{flex-direction:column;justify-content:left!important;}
	.covername, #countrydiv {max-width:100%;width:100%;font-size:0.7em;text-align:center!important;}
	#countrydiv h2 {margin-top:10px!important;}
}

#countrydiv {
  text-align: right;
}


.my-network, .my-friends, .notifications, .my-messages, .settings {background:#EDF6EE;}

/* style navigation */
#member-primary-nav {
  display: flex!important;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
  list-style: none;
  background: #ffffff;
  border-radius: 6px;
}

#member-primary-nav li {
  text-align: center;
  display:flex;
  align-items:center;
  margin-top:0;
}

#member-primary-nav li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #035910;
  font-weight: 500;
}

#member-primary-nav .current a,
#member-primary-nav .selected a {
  border-bottom: 2px solid #035910; /* your green color */
  padding-bottom: 4px; /* creates some spacing */
}

#member-primary-nav a {
  transition: border-bottom 0.2s ease;
}

.single {background:#fff;}
hr {color:#035910;margin:15px 0;}

#member-primary-nav li a::before {
	 font-family: 'Font Awesome 6 Free';
  font-weight: 900; 
  margin-bottom: 5px;
	display:block;
}

/* Hide secondary nav for anyone other than profile owner */
body:not(.my-account) #member-secondary-nav, body:not(.my-account) .bp-subnavs {
  display: none!important;
}

#bp-browse-button , .avatar-webcam-capture, .avatar-webcam-save , #bp-delete-avatar, #bp-delete-cover-image {color:#fff!important;background:#035910!important;}

#friends-personal-li a::before, #friends-footer-li a::before {
  content: '\f500'; 
}
#notifications-personal-li a::before, #notifications-footer-li a::before {
  content: '\f0f3'; 
}
#xprofile-personal-li a::before, #profile-footer-li a::before {
  content: '\f007'; 
}
#messages-personal-li a::before, #messages-footer-li a::before, #bp_better_messages_tab-personal-li a::before {
  content: '\f27a'; 
}
#my-golfing-world-personal-li a::before, #home-footer-li a::before {
  content: '\e065'; 
}

#search-footer-li a::before {
    content: "\f002"; 
}


#settings-personal-li a::before {
  content: '\f013'; 
}

.gwtoday {list-style:none;margin-left:0;padding-left:0;}
.gwtoday li {margin:10px 0;}

.gwtoday li:before {
  font-family: 'FontAwesome';
  margin-right:0.5rem;
  display: inline-block;
    width: 1.5em;     
    text-align: center;
}
/*
.gwfriends::before {
  content: '\f500'; 
  color:#035910;
}*/
/*
.gwfofs::before {
  content: '\f2b5'; 
  color:#e3f123;
} */

 .userbadge {width:20px;height:20px;background-image:url(/wp-content/uploads/avatars/274/1769100330-bpthumb.png);background-size:cover;border-radius:50%;}
 .gwfofs, .gwfriends {display:flex;gap:5px;color:#035910;}
 .gwfofs .fof-badge {width:20px;height:20px;}
.gwconnections::before {
  content: '\f450'; 
  color:#035910;
}
.gwtopcourses::before {
  content: '\f005'; 
  color:#e3f123;
}

.gwopportunities::before {
  font-family: 'FontAwesome';
  content: '\f09c'; 
  color:#035910;
  margin-right:0.2rem;
  display:inline-block;
    width: 1.5em;     
    text-align: center;
}

#mygolfingworld h3 {font-size:1.5em;margin-bottom:10px;}
#mygolfingworld .course-network-summary .friend-avatars {gap:8px;}
#mygolfingworld .course-network-summary .friend-avatars img {width: 24px;height:24px;}
#mygolfingworld .course-network-summary h2 {font-size:1em;}


.buddypress-wrap .bp-navs li:not(.selected) a:hover {background:#fff;font-weight:bold;}
h3.edit {display:none;}

.buddypress-wrap .profile.edit .editfield {background: none!important;border:0px!important;padding-left:0;}
.buddypress-wrap .profile.edit .editfield>fieldset {padding-left:0;}

.buddypress-wrap #pass-strength-result {padding:0!important;border-width:0!important;}
#notification-select {text-indent:8px;min-width:150px;}

.count {position:absolute;top:0;right:0;}
.bp-navs ul li .count, .footer-nav ul li .count {background:#eb2a1c;color:#ffffff;border:0px;padding:3px 7px;font-weight:bold;border-radius:50%;}
.bp-navs ul li .count {background:#eb2a1c;color:#fff;border:0px;padding:0px 7px;font-weight:bold;}
.footer-nav ul li .count {top:-8px;right:-8px;height:20px;font-size:10px;display:flex;align-items:center;justify-content: center;}
#member-primary-nav li a {position:relative;}
/* hide home link */
#front-personal-li {
  display: none!important;
}
.top-courses .course-name {display:flex;gap:8px;align-items: center;}

/* Hide notifications and messages nav items 
#member-primary-nav #notifications-personal-li,
#member-primary-nav #messages-personal-li {
   display: none !important; 
}

#combined-inbox-personal-li a::before {display:block;font-family:'Font Awesome 6 Free'; content:'\f0f3';}
*/
/* two column profile layout */
.bp-two-column-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  margin-top: 1rem;
	 box-sizing: border-box;
    max-width: 100%;
    overflow-x: hidden;
}

.bp-left-content {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
}

.bp-right-sidebar {
  background: #EDF6EE;
  border-radius: 8px;
  padding: 1.5rem 0 1.5rem 1.5rem;
}

.sidebar-widget h3 {
  margin-top: 0;
  font-size: 1.2rem;
}
/* Make it Responsive */
@media (max-width: 768px) {
  .bp-two-column-layout {
    grid-template-columns: 1fr;
		 gap: 1rem;
        padding: 0 1rem;
		 max-width: 100%;
    box-sizing: border-box; 
    word-break: break-word; 
  }

  .bp-right-sidebar {
    margin-top: 2rem;
		padding:0;
  }
	#member-secondary-nav {flex-direction:column;}
	#buddypress.buddypress-wrap .bp-navs ul.bp-priority-subnav-nav-items>li {line-height:2em;}
	.buddypress-wrap .bp-subnavs li.current a {color:#035910;}
	.buddypress-wrap .bp-subnavs li.selected a:hover {background:#fff;color:#035910;}
}

/* sidebar styling */
.sidebar-widget {
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
 
}

.sidebar-widget h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.friend-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.friend-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.6rem;
}

.friend-item img {
  border-radius: 50%;
  margin-right: 0.6rem;
}

.friend-name {
  font-size: 0.95rem;
}

.sidebar-widget h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
	text-decoration:none;
}

.sidebar-widget h3 i {
  font-size: 1rem;
  color: #035910;
}

.see-all {
  margin-top: 1rem;
  text-align: right;
}

.see-all a {
  font-size: 0.9rem;
  color: #0073aa;
  text-decoration: none;
}

.see-all a:hover {
  text-decoration: underline;
}

.courses-section ul {list-style:none;margin-left:0;}

/* Underline profile headings */
.sidebar-widget h3 {
  position: relative;
  font-size: 1.1rem;
  margin-bottom: 1.5rem; /* extra space for the line */
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-widget h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 100%;
  height: 2px;
  background-color: #035910; 
  border-radius: 2px;
}
.see-all a {color:#035910;}

/* Style header top buttons */
#item-header-content button, #item-header-content a, #mobfriendshipbutton a {background:#035910;color:#fff;padding:5px 10px;border-radius:15px;}
#item-header-content button:hover, #item-header-content a:hover , #mobfriendshipbutton a:hover {color:#E3F123;}

/* Profile page main section styling */
.profile-section {
    margin-bottom: 2rem;
}

.profile-section h3 {
	position:relative;
	display:flex;
	align-items:center;
	gap:0.5rem;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #035910;
}

.profile-section h3::after {
	 content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 100%;
  height: 2px;
  background-color: #035910; 
  border-radius: 2px;
	
}

.handicap-circle {
    display: inline-block;
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 50%!important;
    text-align: center;
    line-height: 60px;
    font-weight: bold;
    font-size: 1.2rem;
    color: #035910;
	border: 2px solid #035910;
}

.equipment-list {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem;
	margin-left:0;
}

.edit-equipment-button {border:none!important;font-size:12px!important;color:#035910!important;vertical-align:top;}
.eqnone {font-size:14px!important;padding-left:0!important;}
.youuse {margin-top:10px;margin-bottom:15px;}
.community-stats {margin-bottom:10px;}

.equipment-select    { border-radius: 16px!important;
    padding: 2px 10px!important;
    border: 1px solid #035910!important;width:130px}
    .equipment-select option {width:110px;}
.update-equip, .update-ball   {  
	background: #035910!important;
    color: #fff!important;
    padding: 9px;
	margin-left: 10px!important;}
.update-equipment-button {margin-right:5px;padding:0px 10px;border-radius:14px!important;}
.cancel-equipment-button {padding:5px 10px!important;border:none;color:#fff!important;background:#c78b1d!important;border-radius:14px!important;}



/* Style Courses Archive Template */
.custom-banner {
    background-image: url('/wp-content/uploads/2025/04/contactbanner.jpg'); /* Replace with your desired image URL */
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
	left:0;
	width:100vw;
	margin-left:calc(-50vw + 50%);
	margin-bottom:20px;
	height:300px;
	display:flex;
	align-items:flex-end;
}

.single-course article {padding:0!important;}

.custom-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.1); /* dark overlay */
    z-index: 1;
}

.custom-banner .ast-container {width:100%;}

.custom-banner-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
 
}

.custom-banner-title {
    font-size: 3rem;
    margin: 0;
	color:#fff;
}



.friend-status-label {
    font-size: 0.9em;
    color: #555;
    margin-top: 5px;
}

/* Selectize Styling */


.selectize-dropdown {background-color:#fff!important;}

/* Make group headings bold and more prominent */
.selectize-dropdown .selectize-optgroup-header {
  font-weight: bold;
  font-size: 18px;
  padding: 15px 10px 14px 10px;
  background-color: #fff;
  border-bottom: 1px solid #E3F123;
  color: #035910;
}

/* Spacing and styling for each item */
.selectize-dropdown .selectize-item {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
	color:#035910;
}

/* Optional: spacing between groups */
.selectize-dropdown .optgroup {
 /* margin-bottom: 10px; */
}

/* Hover effect */
.selectize-dropdown .selectize-item:hover {
  background-color: #EDF6EE;
}

.selectize-item img {border-radius:50%;}

.selectize-item .name {
  font-weight: 900;
}

.selectize-item .meta {
  font-size: 12px;
  color: #666;
}

.equipment-profile ul {list-style:none;margin-left:0;}

/* equipment styling */
.equip-edit-form {
    display: none;
    margin-top: 10px;
}
.edit-equip-button {
    background: none;
    border: none;
	border-width:0px!important;
    cursor: pointer;
    margin-left: 10px;
    vertical-align: middle;
    padding: 0!important;
}

.edit-equip-button .fa-pen-to-square {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.edit-equip-button:hover .fa-pen-to-square {
    transform: scale(1.2);
}
.equipment-list select, #ball-edit-form select {padding:5px!important;}

.other-input {padding-top:4px!important;padding-bottom:3px!important;margin-left:10px;}

#ball-model-other {margin-left:0px!important;}

.ball-model-select {margin-left:10px}



.update-equip:hover {color:#E3F123;}
#ball-model-form select {margin-left:0;}
#forminator-module-2672 .forminator-row {width:30%;display:inline-block;margin-right:2px}
#forminator-module-2672 span {font-size:1rem!important;}
#forminator-module-2672 span:before{font-size:0.6rem;font-weight:800;}

.location img {border-radius:0px;width:18px;height:13px;}

/* News Section */
.category-news .custom-banner {background-image:url(/wp-content/themes/astra-child/images/news-banner-1920x300.webp);}
.category-news #primary {margin-top:0;}
.single-post article, .single-post aside {padding-top:0px!important;}
.single-post .post-navigation {display:none!important;}

/* Invite a Friend Page */
#email-preview {margin-top:0px!important;}

@media screen and (max-width:980px){#email-preview{display:none;}}

/* Show/Hide Comments */
.hidden-comment {
  display:none;
}

.activity-comment-count{
  cursor:pointer;
  font-size:14px;
  color:#555;
  margin-bottom:6px;
}

.activity-comment-count:hover{
  text-decoration:underline;
}


.activity-item {
    position: relative;
    flex-direction: column;
}

.activity-header {
  display:flex;
  align-items:center;
}

.activity-announcement{
    display:inline-block;
    font-size:12px;
    font-weight:600;
    color:#b45309;
    background:#fff7ed;
    border:1px solid #fed7aa;
    padding:3px 8px;
    border-radius:6px;
    margin-bottom:4px;
}

.bp-notification-item.broadcast_post a::before{
content:"📣 ";
margin-right:4px;
}

.activity-avatar, .comment-avatar {margin-right:10px;}
.comment-avatar img {border-radius:50%;}
.comment-content {margin-top:10px;}
.activity-comments-list {margin-left:20px!important;margin-bottom:10px!important;}

#activity-post-btn {float:right;}
.activity-body {border-top:1px solid;min-height:80px;padding:10px 0;}
.activity-comments {margin:10px 0!important;}
.activity-comment-input {width:100%;margin-bottom:10px;}

.fofbutton {background-color:#035910!important;color:#fff!important;}

.comment-header {display:flex;align-items: center;position:relative;}
.activity-footer {margin-top:10px;}

/* Delete Post */
.activity-menu{

position:absolute;
top:5px;
right:5px;

}
.activity-menu-dropdown {font-size:12px!important;}
.activity-delete-btn {color:#dd0a0a!important;}

.activity-menu-toggle{

background:none;
border:none!important;
font-size:22px;
cursor:pointer;
color:#888;

}

.activity-menu-dropdown{

display:none;
position:absolute;
right:0;
top:30px;

background:white;
border:none;
border-radius:6px;

box-shadow:0 3px 8px rgba(0,0,0,0.1);

}

.activity-menu-dropdown button{

display:block;
padding:8px 14px;
border:none;
background:none;
cursor:pointer;
width:100%;
text-align:left;

}

.activity-menu-dropdown button:hover{

background:#f5f5f5;

}

/* Video embed css */
.activity-youtube{

position:relative;
cursor:pointer;
max-width:600px;
margin-top:10px;

}

.activity-youtube img{

width:100%;
border-radius:8px;
display:block;

}

.play-button{

position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);

font-size:50px;
color:white;
text-shadow:0 2px 6px rgba(0,0,0,0.6);

}

.activity-youtube iframe{

width:100%;
aspect-ratio:16/9;
border-radius:8px;

}

.activity-youtube::after{

content:"Unmute for sound";
position:absolute;
bottom:30px;
right:10px;

background:rgba(0,0,0,.6);
color:white;
padding:4px 8px;
border-radius:4px;
font-size:12px;

}

/* Title cards */
.activity-youtube{

position:relative;
cursor:pointer;
max-width:600px;
margin-top:10px;

}

.activity-youtube img{

width:100%;
border-radius:8px;
display:block;

}

.play-button{

position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);

font-size:50px;
color:white;
text-shadow:0 3px 10px rgba(0,0,0,.6);

}

.youtube-title{

position:absolute;
bottom:0;
left:0;
right:0;

background:linear-gradient(transparent, rgba(0,0,0,.85));
color:white;

padding:18px 12px 8px;
font-size:14px;
font-weight:500;

border-radius:0 0 8px 8px;

}

/* hide settings from main nav */
#buddypress #nav-settings,
#buddypress li#settings-personal-li {
    display: none !important;
}

/* Hide Profile Cover Image for Owners */
.hide-cover-image #header-cover-image,
.hide-cover-image .profile-cover-image,
.hide-cover-image #cover-image-container {
    display: none !important;
}

#object-nav {
    display: flex;
    align-items: center;
    gap: 15px;
    background:#fff;
}

#object-nav li, #object-nav .selected a {border-bottom:none!important;}
#object-nav a, #object-nav a::before {padding-bottom:0!important;margin-bottom:0!important;}

#member-primary-nav {flex:1;}

#member-primary-nav li a {display:flex;margin:5px 0;}

#member-nav-avatar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0; /* stops it squishing when nav items are many */
    padding:0 10px;
}

#member-nav-avatar img {
    border-radius: 50%;
    width: 70px;
    height: 70px;
}



#member-nav-avatar .member-nav-name {
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
}

/* Activity Post Image Upload */
#activity-image-upload {
    display: none; /* hide the native input */
}

#image-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #035910;
    padding: 6px 0px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

#image-upload-label:hover {
    color: #000;
    background: #f0f0f0;
}

/* mobile styling */


@media (max-width: 768px) {
  
  #member-primary-nav {flex-wrap:nowrap;overflow-x:visible;box-sizing:border-box;width:100%;gap:1.5rem!important;}
  #member-nav-avatar img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}
  .bp-navs ul li .count {display:flex!important;justify-content: center;align-items: center;height:15px;width:10px;}
 .fofcoursesnav ul {display:flex;justify-content:center;}
    #member-primary-nav li a {
        font-size: 0;
        line-height: 0; /* removes the empty space left by collapsed text */
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%; /* fill the li height */
    }
    
    #member-primary-nav li a::before {
        font-size: 22px;
        line-height: 1; /* restore normal line height for icon */
        display: block;
    }

    /* Profile Menu on mobile */
     .bp-user.my-profile #member-secondary-nav {

    overflow: hidden !important;
    transition: max-height 0.3s ease;
}

.bp-user.my-profile #member-secondary-nav.active {
    max-height: 500px;
}

  #bp-mobile-menu-toggle .arrow::after {
  content: "▾";
}

#bp-mobile-menu-toggle.active .arrow::after {
  content: "▴";
}
.editfield, .editfield label {
  margin-bottom:0!important;
  padding-bottom:0!important;
   margin-top:0!important;
  padding-top:0!important;
}
fieldset legend {padding:0!important;margin-bottom:0!important;}


}

/* Member nav at bottom of screen on all pages on mobile */
/* hide footer nav on desktop — not needed there */
.footer-nav-wrapper {
    display: none;
}

@media (max-width: 768px) {

    /* show footer nav fixed at bottom on mobile */
    .footer-nav-wrapper {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        background: #fff;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }

  /* Hide user nav on mobile for logged in user */
 
    .my-own-profile #object-nav:not(.footer-nav) {
        display: none !important;
    }


    /* on BP pages the footer nav isn't rendered by our function 
       so we need to move the existing nav to the footer position */
       /*
    .bp-user #object-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        background: #fff;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        margin-left:0;
    }
*/
    #buddypress div#item-header-cover-image h2 a, #buddypress div#item-header-cover-image h2
{margin:0!important;}
 .single-headers .item-meta {margin:0;}
 .bp-two-column-layout {margin-top:0;}
 #cover-image-container {margin-bottom:0!important;}
 #buddypress div#item-header-cover-image h2 a, #buddypress div#item-header-cover-image h2 {font-size:170%;}
 #countrydiv {font-size:0.6em;}
 #item-header-content {padding-bottom:0!important;}
 .single-headers {margin-bottom:0;}

 /* Hide search bar on mobile */

    .custom-header-search {
        display: none !important;
    
}
}

/* Invite on whatsapp styling */
@media screen and (min-width:980px){#headshare {display:none;}

}

#headshare {padding:10px 0;max-width:300px;}

#headshare a {margin-right:0!important;display:inline-flex!important;align-items:center;padding:0 20px;background-color:#fff!important;color:#035910!important;}
#headshare a:hover {color:#035910;}

#headshare i {margin-right:5px;}


@media screen and (max-width:1200px){
  #headshare {margin:0 auto;margin-top:10px;}
	}
  @media (max-width: 768px) {

    #mobile-search-trigger {
        background: none;
        border: none;
        color: inherit;
        cursor: pointer;
        padding: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #mobile-search-panel {
        position: fixed;
        bottom: -100%; /* hidden below screen */
        left: 0;
        width: 100%;
        background: #fff;
        padding: 15px;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
        z-index: 9998; /* just below the nav */
        transition: bottom 0.3s ease;
        box-sizing: border-box;
    }

    #mobile-search-panel.open {
        bottom: 60px; /* sits just above the nav bar — adjust to match your nav height */
    }

}

/* hide search panel on desktop */
@media (min-width: 769px) {
    #mobile-search-panel,
    #mobile-search-trigger {
        display: none;
    }
}
.searchicon:before {    font-family: 'FontAwesome';
    content: '\f002';font-size:1.3em;margin-right:10px;}

   #mobile-search-panel .selectize-dropdown {
    position: fixed !important;
    bottom: 126px; /* height of your search bar */
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important; /* this is the key */
    
    margin: 0;
}


/* Statistics Page Styling */
#stats h2 {font-size:40px;margin:0 0 20px;}
.community-golf-bag p {margin:0!important;}
.community-golf-bag h3 {margin: 0!important;}
.community-golf-bag h4 {margin-bottom:0!important;font-size:25px;text-decoration: underline;}
.community-golf-bag h5 {margin-bottom:0!important;font-size:16px;font-style:italic;}
.top-brand {margin:5px 0 0;}

.golf-bag-item {margin-bottom:50px;}

/* stats graphs */
.equipment-breakdown {
    margin-top: 15px;
}

.equipment-breakdown summary {
    cursor: pointer;
    font-weight: 600;
}

.equipment-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.equipment-bars {
    margin-top: 15px;
}

.equipment-bar-row {
    margin-bottom: 12px;
}

.equipment-bar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    font-size: 14px;
}

.equipment-bar-track {
  flex:1;
    height: 16px;
    background: #e5e5e5;
    border-radius: 999px;
    overflow: hidden;
}

.equipment-percentage {
    font-weight: 600;
    min-width: 40px;
    text-align: right;
}

.equipment-count {
    font-size: 12px;
    opacity: 0.7;
    min-width: 35px;
    text-align: right;
}

.equipment-bar-fill {
    height: 100%;
       width: 0;
    background: #035910;
    border-radius: 999px;
    transition: width 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.updateequip {margin-top:50px;}


@media screen and (min-width:980px){
  .golf-bag-grid {display:flex;flex-wrap:wrap;gap:40px;}
.golf-bag-item {flex:0 0 calc(50% - 20px);}
}



.add-friend-btn {width:100px!important;padding:5px!important;margin:10px 0!important;}


.members-list img {width:30px!important;border-radius:50%;}
.members-list h2 a {font-size:0.5em;color:#035910!important;}
.members-list .item-avatar {margin-right:2%!important;}

.external-link-icon {
    font-size: 0.8em;
    margin-left: 3px;
    vertical-align: text-top;
}


#activity-post-box {border:1px solid #035910;padding:5px 10px;margin-bottom:20px;}
.registration {background:#fff;}

#playedlist {margin-bottom:30px;}

.icon-zero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 16px;
    font-weight: 200;
}

.course-badge {position:absolute;right:-3px;color:#fff;padding:2px 6px;font-size:10px;font-weight:bold;border-radius:12px;}

.new-opportunity-badge {
    background-color: #eb2a1c;
    top: -3px;
}
.best-connected-badge {
    background-color: #d59e11;
    top: -3px;
}
.best-connected-below {
    top: 30px;
}

/* Played Courses Grid Cards */
.played-courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom:0px;
}



.played-courses-list {
  display: flex;
  flex-direction: column;
}

.played-course-list-item {
  border: 1px solid #035910;
  display:flex;
  align-items: center;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 12px;
  position:relative;
}

.played-course-list-item .played-course-flag-title {
  white-space: nowrap;
  overflow: hidden;
}


.played-course-flag-title {
  margin:0;
}
.played-course-flag-title h4 {
  font-size:1.5em;
}

.coursedeets {
  display:flex;
  width:100%;
  height:50px;
  margin-bottom:20px;
}

.played-course-card {
  border-radius: 12px!important;
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border:1px solid #035910;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position:relative;
    min-height:190px;
}

.played-course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.played-course-image {
    height: 100px;
    overflow: hidden;
    border-top-left-radius:12px!important;
    border-top-right-radius:12px!important;
}

.played-course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.played-course-content {
    padding: 10px 5px;
}

.played-course-content h4 {font-size:1em;margin:0px!important;}

.played-course-flag-title {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}
.played-course-content .flag {
    width: 32px;
    height: auto;
}

.played-course-content h3 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.2;
}

.played-course-status {
    font-size: 14px;
    font-weight: 600;
    position:absolute;
    bottom:3px;
    left:5px;
}

@media (max-width: 768px) {

    .played-courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

}

@media (max-width: 480px) {

    .played-courses-grid {
        grid-template-columns: 1fr;
    }

}
/* End Played Courses Grid Cards */

/* Favourite Course Button Styling */
.course-favourite-toggle {
    background: none!important;
    border: none;
    padding: 0;
    cursor: pointer;
}

.course-favourite-toggle:hover {
  background:none!important;
  fill: #e83e8c;
}

.icon-heart {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.course-favourite-toggle.is-favourited {
    color: #e83e8c;
}

.course-favourite-toggle.is-favourited .icon-heart {
    fill: #e83e8c;
}

.course-card-favourite {
  position:absolute;
  bottom:0;
  right:0;
}
.course-card-favourite button {border-width:0px!important;}

#moreops    { border: 1px solid;
    padding: 0px 15px 15px 15px;
    margin: 0 10px 40px;
}

#favecount {font-size:20px;text-align:right;margin:10px 0;}
#favecount .icon-heart {width:15px;height:15px;}
#favewarning {border:1px solid red;padding:15px;}
#favewarning p {margin:0px!important;}


#favourite-message {
  text-align: center;
    position: fixed;
    bottom: 30px;
    left: 50%;
transform: translateX(-50%);
    max-width: 400px;
    padding: 15px 20px;
    background: #fdf0f5;
    border: 1px solid #e83e8c;
    border-radius: 5px;
    color: #333;
    z-index: 99999;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

#favourite-message a {
    color: #e83e8c;
    font-weight: 600;
}

.course-network-list {margin-left:15px;}
.friend-av-count, .fof-av-count {font-size:0.9em;color:#035910;font-style:italic;}
.iconandlink {display:flex;align-items:center;gap:5px;align-items:center;margin-bottom:10px;}
.iconandlink .icon-heart {fill:#e83e8c;width:25px;height:25px;}
.iconandlink img {width:25px;height:25px;}
.iconandlink p {margin:0px;}
.sectiondiv {margin-top:30px;margin-bottom:30px;}
.top100-summary {display:flex;align-items:center;margin-bottom:10px;border:1px solid #035910;padding:5px;}
.toplistcon p {margin-bottom:0px;}
.course-progress {margin-bottom:0!important;display:flex;align-items:center;gap:5px;}
.course-progress h3 {margin-bottom:0.5rem!important;}
.played-course-content .network-icons {display:flex;align-items:center;gap:5px;}
.played-course-content .network-icons p {margin:0px!important;font-size:0.8em;font-weight:bold;font-style:italic;color:#035910;}
.played-course-content .network-icons img {width:25px;height:25px;border-radius:50%;}





.progress-bar {
  height: 12px;
  background: #eee;
  border-radius: 6px;
  overflow: hidden;
  width: 100%;
  max-width: 400px;
  margin-bottom:0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2ecc71, #27ae60);
  transition: width 0.3s ease;
}


.fof-sent-friend-requests .item-list {
  list-style:none;
  margin:0;
}

.sent-friend-request {
  border: 1px solid #035910;
  padding:10px;
  margin-bottom:10px;
}

.sent-friend-request, .sent-friend-request .item {
  display:flex;
  gap:10px;
  align-items:center;
  width:100%;
}

.sent-friend-request .item-meta {
  margin-left:auto;
}
.sent-friend-request .item-meta a {color:red;}
.sent-friend-request img {
  width:30px;
  height:30px;
  border-radius:50%;
}

#tabback {margin:10px;}
#members-list .user-update {display:none;}

/* Equipment Progress Bar */
.equipment-progress {
    width: 100%;
    height: 12px;
    background: #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
    padding-left: 5px;
}

.equipment-progress-bar {
    height: 100%;
    background: #035910;
    border-radius: 6px;
    transition: width 0.3s ease;
}
.right {float:right;}
#mygolfbag p {margin-bottom:0.8em;}

body.role-non-admin #wpadminbar {
    display: none !important;
}

body.role-non-admin {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

html {
    margin-top: 0 !important;
}

.course-network-list .new-opportunity-badge {
  color:#fff;
  padding:0 5px;
  font-size:12px;
  font-style:italic;
  line-height:1.5em;
}

/* Profile Subnav menu toggle on mobile */ 
/* Hide the toggle on desktop */
.fof-profile-menu-toggle {
    display: none;
}

@media (max-width: 1080px) {

    /* Position the three-dot button */
    #subnav:has(#member-secondary-nav) {
        position: relative;
    }

    .fof-profile-menu-toggle {
        display: block;
        margin-left: auto;
        padding: 0 12px!important;
        border: none!important;
        background: transparent!important;
        color: inherit!important;
        font-size: 25px!important;
        line-height: 1!important;
        cursor: pointer;
    }

    /* Hide the links until the button is pressed */
    #member-secondary-nav {
        display: none !important;
        position: absolute;
        top: 100%;
        right: 0;
        z-index: 999;
        min-width: 190px;
        margin: 0;
        padding: 8px 0;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        border-radius: 4px;
    }

    /* Show the links when open */
    #member-secondary-nav.fof-profile-menu-open {
        display: block !important;
    }

    #member-secondary-nav li {
        display: block;
        width: 100%;
    }

    #member-secondary-nav li a {
        display: block;
        padding: 10px 16px;
        white-space: nowrap;
    }
.single-headers img.avatar {margin:0!important;}
.single-headers #item-header-content {padding-left:0!important;}
.buddypress-wrap .profile {margin-top:0!important;}

#buddypress div#item-header #item-header-cover-image #item-header-content {float:none;margin-top:0px!important;}

}