/* --------------------- */
/* NATURALRES-105
/* --------------------- */
/* Hotfix for images with captions behaving badly in tables. */

table figure.image {
  margin: 0 !important;
}

table figure.image img {
  max-width: none;
}

/* ---------------------- */
/* ## PEOPLE TAGS */
/* ---------------------- */

.view-display-id-people_grid .view-header,
.view-display-id-people_grid .view-filters {
  padding: 0.5rem 1rem;
  color: #555555;
  border-left: 3px solid #f1be48;
}

.view-display-id-people_grid .view-filters {
  margin-bottom: 2rem;
}

#edit-field-people-category-tid-wrapper .views-widget {
  display: none;
}

#views-exposed-form-people-people-grid .views-exposed-form .views-exposed-widget {
  float: none;
  padding: 0;
}

#views-exposed-form-people-people-grid .views-exposed-form .views-exposed-widget .form-submit {
  margin-top: 0;
}

.people-tag {
  display: inline-block;
  margin-right: 1em;
  margin-bottom: 0.5rem;
  padding: 0.15rem 0.5rem;
  font-size: 0.9rem;
  color: #676767;
  text-decoration: none;
  background: #fff;
  border-radius: 2px;
  border: 1px solid #e2e2e2;
  transition: background 0.25s ease;
}

.people-tag_active {
  color: #ffffff;
  background: #006ba6;
}

.people-tag:hover {
  text-decoration: none;
  background: #f5f5f5;
}

/* --- Wildlife Contacts Categories /wildlife/contacts --- */

.view-id-contact_categories .views-row {
  display: flex;
  margin-bottom: 1rem;
  padding: 0;
  border: 0;
}

.view-id-contact_categories .views-row .views-field-field-contact-cat-icon {
  flex-shrink: 0;
  margin-right: 1rem;
}

.wildlife-contact-name {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.wildlife-contact-description {
  color: #676767;
}

/* ------------------- */
/* ANCHOR LINK FIX
/* ------------------- */

html {
  scroll-padding-top: 100px;
}
