/**
 * ccua/civicrm#85 Contact View - Hide DoB and age.
 */
.crm-container .crm-contact-page #crm-demographic-content > div > .crm-summary-row:nth-child(3),
.crm-container .crm-contact-page #crm-demographic-content > div > .crm-summary-row:nth-child(4) {
  display: none;
}

/**
 * ccua/civicrm#79 Contact View - Hide external ID, source.
 */
.crm-container .crm-contact-page #crm-contactinfo-content > div > .crm-summary-row:nth-child(5),
.crm-container .crm-contact-page .contactCardRight .crm-summary-block > .crm-summary-row:nth-child(4) {
  display: none;
}

/**
 * ccua/civicrm#XX Contact View - Comm Prefs
 */
.crm-container .crm-contact-page #crm-communication-pref-content > div > .crm-summary-row:nth-child(3),
.crm-container .crm-contact-page #crm-communication-pref-content > div > .crm-summary-row:nth-child(5),
.crm-container .crm-contact-page #crm-communication-pref-content > div > .crm-summary-row:nth-child(6) {
  display: none;
}

/**
 * ccua/civicrm#84 Contact Edit - Contact Type
 */
.crm-container #Contact .crm-ccua-contact-type-wrapper {
  padding: 0 0 1.5em 0.5em;
}
.crm-container #Contact .crm-ccua-contact-type-wrapper > label {
  display: block;
  font-weight: bold;
}

/**
 * ccua/civicrm#94 Search Form tweaks
 * Remove "reset form" and comptact.
 */
.crm-container #Advanced .reset-advanced-search {
  display: none;
}

.crm-container #Advanced .crm-search_criteria_basic-accordion {
  box-shadow: inherit;
}
.crm-container #Advanced .crm-search_criteria_basic-accordion > .crm-accordion-header {
  display: none;
}
.crm-container #Advanced .crm-search_criteria_basic-accordion > .crm-accordion-body {
  padding-top: 10px; /* reduce padding */
  border: none;
}

/* ccua/civicrm#94 Hide Display Settings */
.crm-container #Advanced #display-settings {
  display: none;
}
