.dept-emp-list {
  /* The "show" class is added to the filtered elements */
  /* Add a dark background to the active button */
}
.dept-emp-list .dir-card-title {
  border-bottom: 2px solid #cb4900;
}
.dept-emp-list .dir-card-title:hover {
  border-bottom: 2px solid #ffffff;
}
.dept-emp-list .dir-card-name {
  border-bottom: 3px solid #cb4900;
}
.dept-emp-list .dir-card-name button {
  background-color: transparent;
  border: none;
  padding: 0;
  font-size: 1.1rem;
  font-weight: bold;
  color: #cb4900;
  text-decoration: none;
}
.dept-emp-list .dir-card-name button:hover {
  text-decoration: underline;
}
.dept-emp-list .dir-card-img {
  background-color: #f2f2f2;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.dept-emp-list .dir-card-img:focus {
  border: #003fbb solid 3px !important;
}
.dept-emp-list .dir-card-img[data-bs-toggle=modal] {
  cursor: pointer;
}
.dept-emp-list .emp_list_item .card {
  min-height: 480px;
}
.dept-emp-list .emp_list_item .card-body {
  font-size: 1rem;
}
.dept-emp-list .dir-card-job-title {
  font-size: 0.8rem;
  text-transform: uppercase;
}
.dept-emp-list .dir-card-job-title,
.dept-emp-list .dir-card-dept,
.dept-emp-list .dir-card-office,
.dept-emp-list .dir-card-phone,
.dept-emp-list .dir-card-email,
.dept-emp-list .dir-card-profile,
.dept-emp-list .dir-card-vita {
  margin-bottom: 10px;
}
.dept-emp-list .hiddenx {
  display: none;
}
.dept-emp-list .pagination-container {
  width: 100%;
  display: flex;
  align-items: center;
  bottom: 0;
  justify-content: center;
  margin: 1rem 0;
}
.dept-emp-list .pagination-number,
.dept-emp-list .pagination-button {
  background-color: transparent;
  border: none;
  margin: 0;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1.25rem;
  padding: 17px 24px;
  border: solid 0.67px #dee2e6;
  border-left: none;
  color: #cb4900;
}
.dept-emp-list .pagination-number:hover,
.dept-emp-list .pagination-button:hover {
  color: #cb4900;
  border-color: #cb4900;
  background-color: #f8f9fa;
}
.dept-emp-list .pagination-number:hover {
  background-color: #f8f9fa;
  text-decoration: underline;
  border-left-width: 0.67px;
  border-style: solid;
}
.dept-emp-list .pagination-number.active {
  color: #fff;
  background: #cb4900;
}
.dept-emp-list #prev-button {
  border-left: solid 0.67px #dee2e6;
  border-top-left-radius: 8px !important;
  border-bottom-left-radius: 8px !important;
}
.dept-emp-list #prev-button:hover {
  border-left-width: 0.67px;
  border-style: solid;
  border-left-color: #cb4900;
}
.dept-emp-list #next-button {
  border-top-right-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
}
.dept-emp-list #next-button:hover {
  border-left-width: 0.67px;
  border-style: solid;
}
.dept-emp-list .pagination-button {
  font-size: 1.5rem;
}
.dept-emp-list .pagination-button.disabled {
  background-color: #f8f9fa;
  cursor: default;
}
.dept-emp-list .modal-body h3 {
  margin-top: 20px;
}
.dept-emp-list #filter-staff-container {
  display: flex;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #646469;
  border-radius: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 4px;
}
.dept-emp-list .filterStaff {
  display: none;
  /* Hidden by default */
}
.dept-emp-list .showStaff {
  display: block;
}
.dept-emp-list .dept_filter_item {
  padding: 10px;
}
.dept-emp-list .btnStaff {
  border: none;
  outline: none;
  padding: 12px 16px;
  background-color: #f1f1f1;
  cursor: pointer;
  flex-grow: 0;
  /* Add a light grey background on mouse-over */
}
.dept-emp-list .btnStaff:hover {
  background-color: #ddd;
  color: #000000;
}
.dept-emp-list .btnStaffactive,
.dept-emp-list .btnStaffactive:hover {
  background-color: #4e4e4e;
  color: #fff;
}
.dept-emp-list .group-divider {
  margin: 0;
  opacity: 1;
  border-color: #cb4900;
  border-width: 1px;
  border-style: solid;
}
.dept-emp-list .pagination-wrapper ul.pagination {
  flex-wrap: wrap;
}

.loader-wrap {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
  padding: 6rem;
}
.loader-wrap .loader {
  width: 100px;
  padding: 25px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #cb4900;
  --_m:
    conic-gradient(#0000 10%,#000),
    linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
          mask: var(--_m);
  -webkit-mask-composite: source-out;
          mask-composite: subtract;
  animation: loader 1s infinite linear;
}
@keyframes loader {
  to {
    transform: rotate(1turn);
  }
}

#dept_modal_spot .modal {
  z-index: 1055;
  /* value from bootstrap css variables */
  position: fixed;
  max-width: initial;
  width: 100%;
  padding: 0;
}
#dept_modal_spot .modal.show {
  margin-top: 0px;
  background: transparent;
}
#dept_modal_spot .modal .hero-faculty-main {
  height: 70px;
}
@media (min-width: 992px) {
  #dept_modal_spot .modal .hero-faculty-main {
    min-height: 150px;
  }
}
#dept_modal_spot .modal .hero-faculty-main .modal-header-bg {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.52), rgba(203, 73, 0, 0.5)), url(/_files/images/phase2/hero-faculty-main-scaled.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
#dept_modal_spot .modal .hero-faculty-main .modal-header-border {
  display: block;
  width: 100%;
  height: 100%;
  background-image: none;
  background-repeat: repeat-x;
  background-position: left bottom;
}
@media (min-width: 992px) {
  #dept_modal_spot .modal .hero-faculty-main .modal-header-border {
    background-image: url(/_files/images-2022/hex-bottom-2.png);
    background-size: 30%;
  }
}
#dept_modal_spot .modal .hero-faculty-main .modal-hero-title {
  margin-bottom: 0px;
}
@media (min-width: 992px) {
  #dept_modal_spot .modal .hero-faculty-main .modal-hero-title {
    margin-bottom: 40px;
    margin-left: 20px;
  }
}
#dept_modal_spot .modal .hero-faculty-main .modal-hero-title .modal-title {
  color: #fff;
  text-shadow: 3px 3px #000;
  font-size: 1.5rem;
}
@media (min-width: 992px) {
  #dept_modal_spot .modal .hero-faculty-main .modal-hero-title .modal-title {
    font-size: 2.375rem;
  }
}
#dept_modal_spot .modal .hero-faculty-main [type=button][data-bs-dismiss=modal] {
  position: absolute;
  background-position: center left;
  line-height: 1em;
  font-weight: bold;
  padding: 0;
  font-size: 2rem;
  width: 2rem;
  opacity: 0.7;
  top: 2rem;
  right: 2rem;
}
#dept_modal_spot .modal .modal-content {
  height: 95vh;
}
#dept_modal_spot .modal .modal-content .modal-body {
  overflow-y: auto;
}
#dept_modal_spot .modal .modal-content .modal-body .dept-prof-contact a {
  color: #cb4900;
}
#dept_modal_spot .modal .modal-content .modal-body .dept-prof-contact a:hover {
  color: #4c4a4f;
}
#dept_modal_spot .modal .modal-content .modal-body .nav-tab {
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
}
@media (min-width: 992px) {
  #dept_modal_spot .modal .modal-content .modal-body .nav-tab {
    flex-direction: row;
  }
}
#dept_modal_spot .modal .modal-content .modal-body .nav-tab .nav-item {
  flex-grow: 1;
}
#dept_modal_spot .modal .modal-content .modal-body .nav-tab .nav-item .nav-link {
  margin: 0;
}
#dept_modal_spot .modal .modal-content .modal-body .dept-emp-tab .nav-link {
  height: 100%;
}
#dept_modal_spot .modal .modal-content .modal-footer {
  justify-content: center;
}
@media (min-width: 576px) {
  #dept_modal_spot .modal .modal-content .modal-footer {
    justify-content: flex-end;
  }
}
#dept_modal_spot .modal .modal-content .modal-footer [data-bs-dismiss=modal] a {
  margin: 10px;
}

#dept_filter_list_id {
  margin-bottom: 1.5rem;
}
#dept_filter_list_id.search-results .hide-on-search {
  display: none;
}

#card-results {
  margin-top: 2rem;
}

#search-container button#dir-search {
  border-top-right-radius: 0.5rem !important;
  border-bottom-right-radius: 0.5rem !important;
  color: #000;
}