/*
 Theme Name: CIB Astra Child
 Author: CIB (Jobst)
 Template: astra
 Author URI: https://www.cibapp.net/
 Description: Campaign/Cause-in-a-Box (CIB) is a community-operated, not-for-profit toolkit helping local groups organise, collaborate & take action without needing consultants or commercial services.
 Version: 1.0.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: astra-cib
 Template: astra
*/


/* various searchkit and afform forms */
.af-admin-edit-form-link {
  display: none;
}

.crm-search-display-list ul {
 list-style-type: none;
 padding: 0;
 margin: 0;
}
.crm-search-display-pager ul {
 list-style-type: none;
 padding: 0;
 margin: 0;
 margin-top: 20px;
}
.crm-search-display-pager li {
 display: inline-block;
 margin-right: 10px;
}
.crm-contact-relationship-selector-user .action-item,
.crm-ajax-table .action-item,
.dataTable .action-item {
 display:block;
}
.crm-contact-relationship-selector-user .action-item {
  pointer-events: none; /* Disables mouse clicks and taps */
  cursor: default;     /* Changes the cursor from a hand to the default arrow */
  color: #222;         /* Optional: styles the link to look disabled */
  text-decoration: none; /* Optional: removes the underline */
  opacity: 0.6;        /* Optional: dims the link for visual feedback */
}
.crm-contact-relationship-selector-user .crm-tooltip-wrapper {
       display:none;
}
.post-273 .breadcrumb,
.post-273 .crm-summary-contactname-block,
.post-273 .crm-actions-ribbon {
       display:none;
}

/*
.crm-contact-relationship-selector-user a {
  pointer-events: none; /* Disables mouse clicks and taps */
  cursor: default;     /* Changes the cursor from a hand to the default arrow */
  color: #222;         /* Optional: styles the link to look disabled */
  text-decoration: none; /* Optional: removes the underline */
  opacity: 0.6;        /* Optional: dims the link for visual feedback */
}
   .crm-summary-contactname-block {
       display:none;
   }
*/

/* force civi containers full width */
.crm-container {
 margin-bottom:80px!important;
}
.crm-container ul.crm-checkbox-list {
 border:none;
 width:100%;
}

/* Force the my-account navigation to be horizontal and hide default sidebars */
.woocommerce-account .woocommerce-MyAccount-navigation {
 float: none !important;
 width: 100% !important;
 margin-bottom: 30px !important;
 display: block !important;
}
.main-nav {
 display: flex !important;
 flex-direction: row;
 list-style: none !important;
 margin: 0 !important;
 padding: 0 !important;
 background: #e5e5e5;
 border: 1px solid #eee;
}
.nav-item {
 position: relative;
 border-right: 1px solid #eee;
}
.nav-item a {
 padding: 10px 20px;
 display: block;
 text-decoration: none;
 color: #333;
}
.nav-item a:hover {
 display: block;
 text-decoration: underline!important;
 color: #555;
}
/* horizontal menu dropdown logic */
.sub-nav {
 display: none;
 position: absolute;
 top: 100%;
 left: 0;
 background: #efefef;
 min-width: 200px;
 box-shadow: 0 10px 20px rgba(0,0,0,0.3);
 z-index: 99;
 list-style: none;
 padding: 0;
 border:1px solid #bbbbbb!important;
}
.nav-item:hover .sub-nav {
 display: block;
 background:#e5e5e5;
}
.sub-nav li a {
 padding: 10px 20px;
 border-bottom: 1px solid #f0f0f0;
}
/* Fix the content area to take full width to go UNDERNEAATH the nav menu */
.woocommerce-account .woocommerce-MyAccount-content {
 float: none !important;
 width: 100% !important;
}
