@font-face {
  font-family: "Questrial";
  src: url(Questrial-Regular.ttf) format("truetype");
}

body.site #crm-container {
  font-family: "Questrial", Arial, Sans-Serif;
}

body.site #crm-container div.crm-title h1,
body.site #crm-container legend {
  font-family: "Questrial", Arial, Sans-Serif !important;
  color: rgba(39, 70, 142, 1) !important;
  font-weight: 400;
}

/* section headers */
body.site #crm-container fieldset legend {
  display: block;
  width: 100%;
  margin: 20px 0 20px 0;
  padding: 0 0 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 1.7em;
}

body.site #crm-container table {
  border: none;
}

body.site #crm-container fieldset {
  border-top: none;
}


/* SECTION START - hide position main-top */
/* We don't want civicrm pages to show the homepage slider (in position main-top),
 * even when using the civicrm-provided "Live page" or "Test page" links (e.g. for
 * contribution pages and event registration forms). Because joomla will (by default?
 * in the current config?) display those as content on the "home page" layout, the
 * all modules for "home page" are included in that layout. So we'll just hide this
 * one with CSS.
 * BTW, the "right" way to diplay these pages is to create a joomla menu item for each
 * one, but that's a technical step that LBB staff may not always appreciate.
 */
body.site div.main-top {
  display: none;
}
/* SECTION END - hide position main-top */

