/* styling for the stm_staff_profile_picture admin page table column */
.wp-list-table .column-stm_staff_profile_picture {
  width: 60px;
  text-align: center;
}

/* styling for the stm_staff_inactive admin page table column */
.wp-list-table .column-stm_staff_inactive {
  width: 110px;
}

/* we need to remove the margins for our custom stm_staff_rows because the are nested in another row (builder requires wrapping a module in a row) */
.themify_builder .module_row .module_row.stm_staff_row:first-child {
  margin-top: 0;
}
.themify_builder .module_row .module_row.stm_staff_row:last-child {
  margin-bottom: 0;
}

/* add bottom margin to stm_staff columns */
.module_subrow.stm_staff_subrow > .module_column.sub_column {
  margin-bottom: 2rem;
}

/* fix height of stm_staff image */
.stm_staff_subrow .sub_column .module-image img {
  height: 320px !important;
  object-fit: cover;
}

/* remove stm_staff image caption bottom padding */
.stm_staff_subrow .sub_column .module-image .image-content {
  padding-block-end: .5rem;
}

/* add some styling to stm_staff shortcode icons (email, phone, etc.) */
.stm_staff_subrow .sub_column .module-text .dashicons {
  margin-right: 5px;
  vertical-align: sub;
}


/* hide description and slug fields from stm_staff_department admin page */
body.taxonomy-stm_staff_department .term-slug-wrap,
body.taxonomy-stm_staff_department .term-description-wrap {
  display: none;
}


/* display subrow columns in four columns on desktop and tablet landscape */
@media (min-width: 1000px) {
  .stm_staff_subrow.themify_builder_sub_row.tb_col_count_4 {
    --area: "col1 col2 col3 col4";
  }
}
/* display subrow columns in two columns on tablet protrait */
@media (min-width: 680px) and (max-width: 1000px) {
  .stm_staff_subrow.themify_builder_sub_row.tb_col_count_4 {
    --area: "col1 col2" "col3 col4";
  }
}
@media (max-width: 680px) {
  /* display subrow columns in a single column on phone */
  .stm_staff_subrow.themify_builder_sub_row.tb_col_count_4 {
    --area: "col1" "col2" "col3" "col4";
  }
  .stm_staff_subrow.themify_builder_sub_row.tb_col_count_2 {
    --area: "col1" "col2";
  }
}