.dataTables_length {
  text-align: left;
}

#directory-list thead th {
  color: var(--primary-color);
  background-color: var(--white);
}

#directory-list {
  background-color: var(--white);
  text-align: left;
  padding-top: 16px;
}

#directory-list thead tr td,
#directory-list thead th {
  border: none;
}

#directory-list td > a {
  padding-bottom: 5px;
}

.dataTables_wrapper .dataTables_filter input {
  width: 70% !important;
  border-radius: 0;
}

table.dataTable thead > tr > th.sorting:after,
table.dataTable thead > tr > th.sorting_asc:after,
table.dataTable thead > tr > th.sorting:before,
table.dataTable thead > tr > th.sorting_asc:before {
  font-size: 14px;
  padding-bottom: 6px;
}

.dataTables_length,
.directory-list_filter {
  padding-bottom: 16px;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
  margin-top: 30px !important;
  justify-content: center;
}

.faculty-intro {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
  gap: 8px;

  > * {
    line-height: 1;
    margin-bottom: 0;
  }
}

.faculty-headshot {
  text-align: center;
  margin-bottom: 40px;
}

.faculty-headshot img {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.19),
    0 6px 6px rgba(0, 0, 0, 0.23);
}

// .faculty-box {
//   margin: 30px 0;
// }

.faculty-box-info {
  margin-bottom: 10px;
}

.faculty-box-info .faculty-box-title {
  font-weight: bold;
  margin-right: 6px;
  display: block;
}

.disclaimer {
  border-top: 2px solid var(--secondary-green);
  margin: 20px auto 50px;
  padding: 10px 0;
}

@media only screen and (max-width: 992px) {
  /* Force table to not be like tables anymore */
  #directory-list table,
  #directory-list thead,
  #directory-list tbody,
  #directory-list th,
  #directory-list td,
  #directory-list tr {
    display: block;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  #directory-list thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  #directory-list tr {
    border: 1px solid #ccc;
    padding: 10px;
  }

  #directory-list td {
    border: none;
    position: relative;
    white-space: normal;
    text-align: left;
    padding: 0;
    margin-bottom: 5px;
  }

  #directory-list td > a {
    padding-bottom: 0;
  }

  #directory-list td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
  }

  .table.directory tfoot {
    display: none;
  }

  .dataTables_wrapper .dataTables_info {
    white-space: normal !important;
  }

  /* Label the data */
  #directory-list td:before {
    content: attr(data-title);
  }
}

/* responsive */
/* XL Screens */
@media (min-width: 1400px) {
}

/* Landscape tablets and medium desktops: LG */
@media (min-width: 992px) and (max-width: 1199px) {
}

/* Small desktops and smaller: MD */
@media only screen and (max-width: 992px) {
}

/* Only portrait tablets and small desktops: MD */
@media only screen and (min-width: 768px) and (max-width: 992px) {
}

/* Landscape phones and portrait tablets: SM */
@media only screen and (max-width: 767px) {
  div.dataTables_wrapper div.dataTables_length,
  div.dataTables_wrapper div.dataTables_filter,
  div.dataTables_wrapper div.dataTables_info,
  div.dataTables_wrapper div.dataTables_paginate {
    text-align: left !important;
  }

  div.table-responsive
    > div.dataTables_wrapper
    > div.row
    > div[class^="col-"]:first-child {
    padding-left: 15px !important;
  }

  div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: center !important;
  }
}

/* Portrait phones and smaller: XS */
@media only screen and (max-width: 480px) {
}
