@charset "UTF-8";

.staff-directory {
  width: min(1000px, calc(100% - 48px));
  margin: 0 auto;
}

.staff-table {
  border-top: 2px solid #d8d8d8;
  border-left: 1px solid #d8d8d8;
}

.staff-head,
.staff-row {
  display: grid;
  grid-template-columns: 186px 186px 188px minmax(0, 1fr);
}

.staff-head span {
  min-height: 38px;
  padding: 8px 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #222;
  background: #f8f8f8;
  border-right: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
}

.staff-row span {
  min-height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-right: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
  font-size: 15px;
  line-height: 1.45;
  color: #151515;
  text-align: center;
}

.staff-affiliation {
  font-weight: 500;
}

/* .staff-affiliation--graduate {
  background: #fff300;
}

.staff-affiliation--policy {
  background: #f47b20;
}

.staff-affiliation--admin {
  background: #e7e7e7;
}

.staff-affiliation--innovation {
  background: #70ad47;
}

.staff-affiliation--default {
  background: #f1f1f1;
}

.staff-contact {
  background: #e7edf8;
} */

.staff-row .staff-duty {
  justify-content: flex-start !important;
  text-align: left !important;
  white-space: pre-line;
}

.staff-empty {
  margin: 42px 0 0;
  padding: 42px 16px;
  border-top: 3px solid #0b3a84;
  border-bottom: 1px solid #777;
  color: #555;
  text-align: center;
}

@media (max-width: 720px) {
  .staff-directory {
    width: calc(100% - 28px);
  }

  .staff-head {
    display: none;
  }

  .staff-row {
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #d8d8d8;
  }

  .staff-row span {
    min-height: 44px;
    font-size: 14px;
    /* border-bottom: 0; */
  }

  .staff-contact {
    grid-column: 1 / -1;
    justify-content: center;
    text-align: center;
    background: #fff;
  }

  .staff-row .staff-duty {
    grid-column: 1 / -1;
    justify-content: flex-start !important;
    text-align: left !important;
    background: #fff;
  }
}
