.civicrm-profile-view .action-link,
div.breadcrumb {
  display:none;
}

/*service provider directory*/
service-provider-directory .pagination {
 display: none!important;
}

.af-field-type-select .select2-container {
  width: auto!important;
}

.af-field-type-text .crm-af-field {
  margin-bottom: 15px!important;
}

.crm-search-display-list img {
  max-width: 50%;
}

.directory-phone {
  margin-bottom: 15px;
}

.directory-category {
  margin-bottom: 15px
}

/*Consultants directory*/
.page-id-20390 .crm-search-display-grid-container img {
  height: 150px;
  width: 150px;
  border-radius: 100px;
  object-fit: cover;
}

.civicrm-consultantProfile h1.crm-page-title {
  display: none;
}

.civicrm-consultantProfile .cdb,
.civicrm-consultantProfile #bootstrap-theme h1,
.civicrm-consultantProfile .crm-search-col-type-image {
  text-align: center;
}

.page-id-20390 #bootstrap-theme h2 {
 margin-bottom: 0px;
 padding-bottom: 0px;
}

.civicrm-consultantProfile #bootstrap-theme h1,
.page-id-20390 #bootstrap-theme h2 a {
  font-family: "calluna", serif;
  color: #34495e;
}

.page-id-20390 .crm-search-display-grid-layout-3 > div {
 height: inherit;
 text-align: center;
}

.cdb {
 font-family: "museo-sans", sans-serif;
 font-size: 22px;
 font-style: italic;
 color: #2c3e50;
 padding-bottom: 5px;
}

@media only screen and (max-width: 810px) {

  .crm-search-display-grid-layout-3 {
    grid-template-columns: none!important;
  }

}

.page-id-20390 .crm-search-display-grid-container {
  align-items: start;
}

.page-id-20390 .crm-search-display-grid-container .crm-search-col-type-field[title="Consultant Directory: About"] {
  max-height: 150px;
  overflow: hidden;
}
