/* Author: Chloe Focke
 * Created: 2025-10-07
 */

/* hide second option to create a new membership in the "new membership" display, therefore use only price sets */
/* customer do not want to use contributions yet, there we do not need the price sets, therefore we need the normal membership choice
.page-civicrm-contact form#Membership .crm-membership-form-block .crm-membership-form-block-membership_type_id #totalAmountORPriceSet,
.page-civicrm-contact form#Membership .crm-membership-form-block .crm-membership-form-block-membership_type_id #mem_type_id #membership_type_id_1{
	display: none;
} 
*/

/* this leads to wrong displays, because header and content get wrong orders
.page-civicrm-contact #memberships tr.crm-membership-join_date,
.page-civicrm-contact #memberships th.crm-membership-join_date,
.page-civicrm-contact #inactive-memberships tr.crm-membership-join_date,
.page-civicrm-contact #inactive-memberships th.crm-membership-join_date{
	display: none;
}
*/

/* Overrides fixes.css as the actions-ribbon has one element less after */
.page-civicrm-contact .crm-actions-ribbon ul#actions:has(.crm-contact-summary-edit-layout) {
	grid-template-columns: min-content min-content auto min-content min-content;
}

/* Hides Contact edit layout */
.page-civicrm-contact #actions .crm-contact-summary-edit-layout {
	display: none;
}
