#crm-ccuacrm-findmp-nav {
  margin: 0 0 30px;
  padding: 0;
  width: 100%;
}
#crm-ccuacrm-findmp-nav li {
  display: inline-block;
  float: none;
  margin: 0;
  width: 33%;
  cursor: pointer;
}
#crm-ccuacrm-findmp-jurisdiction-filter {
  clear: both;
  margin: 0 0 30px;
  text-align: center;
}
#crm-ccuacrm-findmp-jurisdiction-filter li {
  display: inline-block;
  margin: 0 0 0 -3px;
  width: 16.6%;
}


#crm-ccuacrm-findmp-nav li,
#crm-ccuacrm-findmp-jurisdiction-filter li {
  border: 1px solid #428bca;
  margin-top: 0;
  padding: 25px 0;
  border-radius: 0;
  background: #FFF;

  color: #428bca;
  font-size: 20px;
  font-weight: 700;
  font-family: "Effra",Helvetica,Arial,sans-serif;
  line-height: 1em;

  text-transform: uppercase;
  text-align: center;
}
#crm-ccuacrm-findmp-jurisdiction-filter li {
  padding: 15px 5px;
  font-size: 16px;
  cursor: pointer;
}
#crm-ccuacrm-findmp-nav li.active,
#crm-ccuacrm-findmp-jurisdiction-filter li.active {
  color: #fff;
  background: #428bca;
}

.crm-ccuacrm-findmp-container .pageIntro p {
  text-align: center;
}

.crm-ccuacrm-findmp-container .tab-search {
  display: flex;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  max-width: 450px;
}
.crm-ccuacrm-findmp-container #byName .tab-search {
  max-width: 550px;
}

.crm-ccuacrm-findmp-container .btn {
  padding: 15px 15px;
  height: auto;
  font-family: "Effra",Helvetica,Arial,sans-serif;
  font-size: 16px;
  width: 40%;
}
.crm-ccuacrm-findmp-container .btn-blue {
  background: #00B1DA;
  padding: 0.5em;
  color: #FFF;
  border-radius: 0;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}
.crm-ccuacrm-findmp-container .btn-grey{
  background-color: #b3b1b1 !important;
  border: 0px;
}
.btn-orange{
  background-color: #f37021 !important;
  border: 0px;
}

.crm-ccuacrm-align-center {
  text-align: center;
}

/* To avoid wobbling, used 14px-increments */
.fa-spin {
  height: 14px;
}
.fa-spin.fa-2x {
  height: 28px;
}

/**
 * Find by CU Name
 */
/* Align with the submit button */
#byCu .select2-container,
#byName .select2-container {
  width: 100% !important;
}
#byCu .select2-container .select2-choice,
#byName .select2-container .select2-choice {
  height: 25px;
  padding-top: 6px;
}
#byName .select2-container .select2-choice {
  text-align: center;
  min-width: 300px !important; /* not required ? */
}

.map-api-initialize {
  position: absolute;
  z-index: 20;
  top: 10px;
  right: 180px;
  font-size: 28px;
  color: #b3b1b1;
}
#map-canvas {
  height: 500px;
  width: 100%;
}

#mp-flag {
  display: inline-block;
  width: 65px;
  height: 24px;
  float: left;
  background-size: contain;
  background-repeat: no-repeat;
  // nb: the background-image is set by AngularJS in the html
}

.mp-card #mp-name {
  background-color: #fff;
  font-weight: bold;
  font-size: 21px; /* arbitrary, to fit with the flag size and padding */
  padding-bottom: 0.5em;
}

.mp-card #mp-subheader-wrapper,
.mp-card #mp-emailAddress {
  padding-left: 67px; /* align with portrait */
}

.mp-card #mp-emailAddress {
  margin: 0;
  font-family: "Effra",Helvetica,Arial,sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1em;
  padding-bottom: 1em;
}

#mp-portrait {
  margin: 0 0 15px;
  max-height: 300px;
  padding-top: 100%;
  width: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  display: block;
  background-size: contain;
}

#mp-bio,
#mp-notes > p {
  padding-top: 1em;
  padding-left: 12px;
}

/* Fix inline edit submit/cancel buttons */
#mp-bio button[type=submit] {
  text-align: center;
}
#mp-bio button[type=cancel] {
  margin-left: 30px;
}

/* branches */
#riding-info .localBranch {
  padding: 0.5em 0;
}

#bio,
.content-buttons {
  padding-top: 30px;
}
.crm-container .content-button {
  display: block;
  width: 100%;
}
.crm-container .content-button .btn {
  display: block;
  color: #FFF !important;
  border-radius: 0;
  padding: 0.7em 1em;
  width: 100%;

  font-size: 18px;
  font-family: "Effra",Helvetica,Arial,sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}


/**
 * Find CU by Name
 */
.ccuacrm-riding-branch-row {
  border-top: 1px solid #ddd;
  padding: 1em 0;
}

/**
 * MP Notes
 */
#mp-notes > table {
  margin-top: 2em;
}

/**
 * Table formatting for data in popups (meeting information)
 */
.crm-container-snippet .crm-info-panel table {
  width: 100%;
}
.crm-container-snippet .crm-info-panel td {
  padding: 0.25em 0;
}
.crm-container-snippet .crm-info-panel > tbody > tr {
  border-bottom: 1px solid #eee;
}

.crm-container-snippet .crm-info-panel label,
.crm-container-snippet .crm-info-panel .label {
  vertical-align: text-top !important;
  color: #333 !important;
  font-size: 15px !important;
  width: 400px;
  display: table-cell;
  text-align: left;
  font-weight: normal;
}

.crm-container-snippet .crm-info-panel .html-adjust,
.crm-container-snippet .crm-info-panel .view-value {
  text-align: left;
}

.crm-container-snippet .crm-accordion-header {
  text-align: left;
  padding: 0.5em 0.5em;
  margin: 0.5em 0;
  font-weight: normal;
  background: #eee;
}

.crm-container-snippet #GrassrootsActivity .crm-activity-form-block-source_contact_id {
  display: table-row !important;
}
