/*
 * Make sure the 'Search' field at the top of the Functions and 'Rules & Constants'
 * tabs in the expression editor has consistent width, height and padding
 * so that the two tabs look the same.
 */
#functionsAutocomplete_EE, #rulesAutocomplete_EE{
  width:180px;
  height:18px;
  padding: 2px 1px;
}

/*
 * Make sure that the hierarchical components of the 'Functions' and
 * 'Rules & Constants' tabs have consistent styling so that they look
 * and act the same.
 */
#functionsAutocompleteContainer, #functionsHierarchyContainer,
#asi_hierarchy_component_rules_expression_editor_hierarchy {
  overflow:auto;
  height:377px;
  padding:3px;
}

/* Functions hierarchy needs extra padding because of overrides... */
#functionsHierarchyContainer {
  padding-left:8px;
  margin:0px;
}

/* The 'Search' field under 'Rules & Constants' needs overrides for modern browsers */
#rulesPalette .search {
  padding: 10px 0px 10px 10px !important;
  height: auto !important;
}