/*
Theme Name: Sciences 2022
Author: eric.ackerman@sdsu.edu, pbirajdar2@sdsu.edu, pjadhav@sdsu.edu, cnainani@sdsu.edu, pkulkarni2@sdsu.edu, ssaoji@sdsu.edu, jlee28@sdsu.edu, schepa@sdsu.edu, abhor@sdsu.edu, hdittakavi@sdsu.edu, ksaxena@sdsu.edu, ssujay@sdsu.edu, ssolase.sdsu.edu, slwhite@sdsu.edu
Author URI: https://sciences.sdsu.edu
Description: College of Sciences Customizations. Distribution is Prohibited.
Version: 06.01.03
Updated: 2026-06-24 1501
*/


/* News */
.blog--full {
  padding-left: 50px;
  padding-right: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ==== Previous Students Table ==== */
#previous-members-section {
  margin-top: 4rem;
}

#previous-members-section h2 {
  margin-bottom: 1rem;
}

.previous-members-table {
  width: 100%;
  border-collapse: collapse;
}

.previous-members-table th,
.previous-members-table td {
  border: 1px solid #d9d9d9;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.previous-members-table th {
  background: #f3f3f3;
}

/* ===== Whitespace Before Prefooter ===== */
.main {
  margin-bottom: 4em;
}

/* ===== Faculty Research Figures + Images ===== */
.faculty__content figure img {
  margin: 0 auto;
}

.faculty__content figure {
  margin-bottom: 3em;
}

/* ===== Override for APA-Formatted Citations ===== */
ul.ea-profile-activities {
  font-family: proxima-nova, Helvetica, Arial, sans-serif;
  text-align: left;
  list-style: none;
  margin-left: 0;
  text-indent: -0.5in;
  padding-left: 0.5in;
}

ul.ea-profile-activities > li.ea-profile-activity {
  margin-bottom: 10px;
}

/* ===== Team / People Layout ===== */
.team {
  margin: 0px;
  background-color: white;
}

.person {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  column-gap: 50px;
  row-gap: 20px;
  margin-bottom: 40px;
}

.personPhoto {
  background-color: lightgray;
  width: 250px;
  height: 250px;
}

/* ===== Footer Logos ===== */
.footerLogos {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0px;
  width: 100%;
  margin: 80px auto 80px;
  padding: 0px;
  align-items: center;
}

.logoCenter {
  align-self: center;
  background-color: lightgray;
  width: 240px;
  height: 90px;
}

/* ===== Stats Layout ===== */
.stats-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3em;
  max-width: 1180px;
  margin: 0 auto;
  padding-bottom: 50px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1180px;
  align-items: flex-end;
  gap: 1em;
}

.stat-total {
  flex: 1;
  text-align: left;
}

.stat-number {
  font-size: 50px;
  font-weight: bold;
  color: #000;
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 18px;
  font-weight: bold;
  color: #666;
  display: block;
  margin-top: 5px;
}

.sub-stat-container {
  display: flex;
  justify-content: space-between;
  flex: 2;
  text-align: right;
  gap: 1em;
}

.stat-item {
  text-align: right;
  flex: 1;
}

.sub-stat-number {
  font-size: 30px;
  font-weight: bold;
  color: #000;
  display: block;
}

.sub-stat-label {
  font-size: 16px;
  font-weight: bold;
  color: #666;
  display: block;
}

.wsy {
  max-width: 1180px !important;
  margin: 0 auto;
  padding-left: 50px;
  padding-right: 50px;
}

/* ===== Contact Layout ===== */
.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 50px 80px 50px;
}

.hide {
  display: none !important;
}
@media (min-width: 782px) {
  .contact-info,
  .office-hours {
    flex-basis: 0;
    flex-grow: 1 !important;
    margin-top: 75px;
  }
}

.contact-container iframe {
  margin-bottom: 5px;
}

.contact-info h2,
.office-hours h2 {
  margin-bottom: 5px;
}

.office-hours {
  text-align: left;
  max-width: 300px;
}

/* ===== Spinner / Loading ===== */
.spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #a6192e;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
  margin-left: 10px;
}

.loading-text {
  margin-top: 10px;
  font-size: 18px;
  color: #a6192e;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ===== Theme Overrides ===== */
.gen3col {
  padding-top: 0px !important;
}

.news-home {
  padding: 0px 0 5px 0 !important;
  margin-bottom: 3em !important;
}

.news-home__header {
  margin: 0 0 30px !important;
}

.news-home .item {
  margin: 0 0 30px !important;
}

.news-home .item__content {
  padding: 0px 40px 20px 0 !important;
}

.news-home .item__title {
  font-weight: 450 !important;
}

.news-home__header h2 {
  font-size: 50px !important;
}

.item:after {
  display: None !important;
}

.gen3col h3 {
  font-weight: 600 !important;
}

.arts-culture__inner {
  background: None !important;
}

.arts-culture__content {
  padding: 0 0 8em 0 !important;
}

.news-homepage.news-homepage-category-three {
  margin: 0 !important;
}

.category-header h2 {
  display: none !important;
}

section.news-homepage.news-homepage-category-three
  > div.container
  > a.cta.cta--button.more-from.hidden {
  display: none;
}

.bio-section {
  margin-bottom: 4em !important;
}

.events3up__header {
  margin: 0 0 2em;
}

/* ===== Responsive Overrides ===== */

@media only screen and (max-width: 900px) {
  .footerLogos {
    display: flex;
    flex-flow: column;
    row-gap: 30px;
    margin: 10px auto;
    align-items: center;
  }
}

@media only screen and (max-width: 800px) {
  .person {
    flex-flow: column;
    align-items: start;
    padding: 0 21%;
  }

  .personPhoto {
    background-color: lightgray;
    width: 250px;
    height: 250px;
    align-self: center;
  }
}

@media (max-width: 768px) {
  .stat-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sub-stat-container {
    flex-direction: row;
    justify-content: center;
    gap: 9em;
  }

  .stat-total {
    text-align: center;
  }

  .stat-item {
    text-align: center;
  }
}

/* By default the text container would be narrow, but .sciences-wysiwyg-wide makes the text wide when needed */

@media (min-width: 700px) {
  .container:has(> .sciences-wysiwyg-wide),
  .container:has(> .dm-profile-contents) {
    max-width: 1180px;
    margin: 0 auto;
  }
}

@media (max-width: 500px) {
  .sub-stat-container {
    gap: 4em;
  }
}

/* The below code breaks text into columns */

.sciences-wysiwyg-columns {
  display: block;
  width: 100%;
  margin: 0 0 3em 0;

  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;

  -webkit-column-gap: 2em;
  -moz-column-gap: 2em;
  column-gap: 1.5rem;
}

.sciences-wysiwyg-columns figure {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 0 1em 0;

  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}
/* About Sciences  */

.sciences-overview-banner {
	background-repeat: no-repeat;
	background-size: cover;
	height: 108px;
	width: auto;
	background-position: center;
	opacity: 0.95;
	margin: 8em 0 1em 0;
	border-radius: 1px;
	}

/* ===== Styles - Sanjana -  Templates (Smartsheet Forms) ===== */

#templateSheetData table {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  display: none;
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

#templateSheetData th,
#templateSheetData td {
  height: 2.5em;
  text-align: left;
  position: relative;
  font-size: 16px;
}

#templateSheetData td {
  padding: 1em;
}

#templateSheetData th {
  background-color: #333;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  border: none;
  padding: 7px 10px;
  transition: 0.5s;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
}

#templateSheetData th:hover {
  background-color: #444;
}

#templateSheetData th::after {
  content: "";
  position: absolute;
  margin-left: 10px;
  border: 5px solid transparent;
  border-top: 7px solid #fff;
  margin-top: 5px;
}

#templateSheetData th.sorted-asc::after {
  border-bottom: 7px solid #fff;
  border-top: none;
}

#templateSheetData th.sorted-desc::after {
  border-top: 7px solid #fff;
  border-bottom: none;
}

#templateSheetData tr:nth-child(even) {
  background-color: #f8f8f8 !important;
}

#templateSheetData tr:nth-child(odd) {
  background-color: #ffffff !important;
}

#templateSheetData tr:hover {
  background-color: #eaeaea;
}

#templateSheetData tbody > tr {
  vertical-align: top !important;
}

#templateSheetData thead,
#templateSheetData tr {
  border: none;
}
.form-container {
  display: flex;
  gap: 50px;
  justify-content: left; /* Centers the form fields if needed */
  margin-bottom: 50px;
}

.form-group {
  flex: 1;
  max-width: 20%; /* Sets maximum width for each form field */
}

.form-container label {
  display: block;
  margin-bottom: 3px;
  font-size: 18px;
  font-weight: bold;
}

.form-group input {
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 5px 0;
  font-size: 0.8rem;
  outline: none;
  color: #333;
  width: 100%; /* Ensures the input takes full width within the form-group */
}



/* table td:first-child {
  font-weight: bold;
  white-space: nowrap;
}

table tr td:nth-child(3) {
  white-space: nowrap;
} */

#templateSheetData table td:first-child,
#sheetData table td:first-child {
  font-weight: bold;
  white-space: nowrap;
}

#templateSheetData table tr td:nth-child(3),
#sheetData table tr td:nth-child(3) {
  white-space: nowrap;
}



/* ===== Styles - Sanjana -  Templates END ===== */


/* ===== Styles - Sanjana - Chemistry Giving START ===== */
.form-group:has(#departmentFilter) {
  display: none !important;
}

.search-wrap {
  margin: 0 20px 24px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.search-wrap label {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}

.search-wrap input {
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 8px 0;
  font-size: 16px;
  outline: none;
  color: #333;
  width: 100%;
  max-width: 320px;
  background: transparent;
}

.search-wrap input::placeholder {
  color: #b0b0b0;
}

#sheetData {
  padding: 0 20px;
}
#sheetData th::after {
  content: "";
  position: absolute;
  margin-left: 10px;
  border: 5px solid transparent;
  border-top: 7px solid #fff;
  margin-top: 5px;
}
#sheetData .fund-card {
  padding: 36px 32px;
  margin: 0;
  box-shadow: none;
  border-top: none;
}

#sheetData .fund-card:first-child {
  border-top: 30px solid #333;
}

#sheetData .fund-card:nth-child(odd) {
  background-color: #ffffff;
}

#sheetData .fund-card:nth-child(even) {
  background-color: #f5f5f5;
}

.lab-heading {
  font-size: 30px;
  margin: 0 0 12px 0 !important;
  font-weight: 600 !important;
  line-height: 1.2;
  color: #b01c2e;
  text-decoration: none;
}

.lab-heading a:hover {
  text-decoration: underline;
}

.fund-description {
  margin: 0 0 18px 0;
  font-size: 18px;
  line-height: 1.6;
  color: #222;
}

.fund-criteria {
  font-size: 17px;
  line-height: 1.5;
  color: #222;
  margin-bottom: 14px;
}

.fund-link a {
  color: #007367;
  font-weight: 600;
  text-decoration: none;
}

.fund-link a:hover {
  text-decoration: underline;
}

/*  Consolidated and improved form-container styles */
.form-container {
  display: flex;
  gap: 50px;
  justify-content: left;
  margin-bottom: 50px;
  padding: 0 40px; /*  Adds extra horizontal spacing */
  flex-wrap: wrap; /* Allows wrapping on small screens */
}

/*  Updated form-group styles */
.form-group {
  flex: 1;
  max-width: 20%;
}

/*  Label spacing */
.form-container label {
  display: block;
  margin-bottom: 3px;
  font-size: 18px;
  font-weight: bold;
  padding-left: 4px; /*  Small left indent */
}

/*  Input styling with short underline */
.form-group input {
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 5px 0;
  font-size: 0.8rem;
  outline: none;
  color: #333;
  width: auto;
  min-width: 100px;
  max-width: 150px;
  display: block;
  margin-left: 4px; /*  Aligns with label indent */
}

/*  Mobile view: stack inputs vertically */
@media (max-width: 768px) {
  .form-container {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px; /* Slightly smaller padding for mobile */
  }

  .form-group {
    max-width: 100%;
  }
}
/* ===== Styles - Sanjana - Chemistry Giving END ===== */

/* ===== Styles - Sanjana - Dean's List - sheetData table ===== */
#sheetData table {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  display: none;
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  overflow-x: auto;
}

#sheetData th,
#sheetData td {
  height: 2.5em;
  text-align: left;
  position: relative;
  font-size: 16px;
  white-space: normal;
}

/* deans-list uses padding: 1em; templates uses padding: 2em !important — override per-page if needed */
#sheetData td {
  padding: 1em;
}

#sheetData th {
  background-color: #333;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  border: none;
  padding: 7px 10px;
  transition: 0.5s;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
}

#sheetData th:hover {
  background-color: #444;
}

#sheetData th::after {
  content: "";
  position: absolute;
  margin-left: 10px;
  border: 5px solid transparent;
  border-top: 7px solid #fff;
  margin-top: 5px;
}

#sheetData th.sorted-asc::after {
  border-bottom: 7px solid #fff;
  border-top: none;
}

#sheetData th.sorted-desc::after {
  border-top: 7px solid #fff;
  border-bottom: none;
}

#sheetData tr:nth-child(even) {
  background-color: #f8f8f8 !important;
}

#sheetData tr:nth-child(odd) {
  background-color: #ffffff !important;
}

#sheetData tr:hover {
  background-color: #eaeaea;
}

#sheetData tbody > tr {
  vertical-align: top !important;
}

#sheetData thead,
#sheetData tr {
  border: none;
}
/* ===== Styles - Sanjana - Dean's List - sheetData table END ===== */

/* ===== Sukanya Styles ====*/
/* ==== Shared Sciences Directory ==== */
.sciences-directory-page-layout {
  background-color: #ffffff;
}

.sciences-directory-form-group input::placeholder {
  color: #b0b0b0;
}

.sciences-directory-form-container {
  display: flex;
  gap: 50px;
  justify-content: left;
  margin-bottom: 50px;
  padding: 0 40px;
  flex-wrap: wrap;
}

.sciences-directory-form-group {
  flex: 1;
  max-width: 20%;
}

.sciences-directory-form-container label {
  display: block;
  margin-bottom: 3px;
  font-size: 18px;
  font-weight: 700;
  padding-left: 4px;
}

.sciences-directory-form-group input {
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 5px 0;
  outline: none;
  color: #333;
  width: auto;
  min-width: 100px;
  max-width: 150px;
  display: block;
  margin-left: 4px;
}

.sciences-directory-form-group select {
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 5px 0;
  outline: none;
  color: #333;
  width: auto;
  min-width: 150px;
  max-width: 200px;
  display: block;
  margin-left: 4px;
  background: transparent;
}

@media (max-width: 768px) {
  .sciences-directory-form-container {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
  }

  .sciences-directory-form-group {
    max-width: 100%;
  }
}

/* ==== Doctoral Students ==== */
.sciences-directory-page-layout #sciences-directory-students-sheet-data table {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  display: none;
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  table-layout: auto;
}

.sciences-directory-page-layout #sciences-directory-students-sheet-data th,
.sciences-directory-page-layout #sciences-directory-students-sheet-data td {
  height: 2.5em;
  text-align: left;
  position: relative;
  font-size: 16px;
  white-space: nowrap;
}

.sciences-directory-page-layout
  #sciences-directory-students-sheet-data
  td:nth-child(4),
.sciences-directory-page-layout
  #sciences-directory-students-sheet-data
  th:nth-child(4) {
  white-space: normal;
}

.sciences-directory-page-layout #sciences-directory-students-sheet-data td {
  padding: 1em !important;
}

.sciences-directory-page-layout #sciences-directory-students-sheet-data th {
  background-color: #333;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  border: none;
  padding: 7px 10px;
  transition: 0.5s;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
  position: relative;
}

.sciences-directory-page-layout
  #sciences-directory-students-sheet-data
  th:hover {
  background-color: #444;
}

.sciences-directory-page-layout
  #sciences-directory-students-sheet-data
  th::after {
  content: "";
  position: absolute;
  margin-left: 10px;
  border: 5px solid transparent;
  border-top: 7px solid #fff;
  margin-top: 5px;
}

.sciences-directory-page-layout
  #sciences-directory-students-sheet-data
  th.sorted-asc::after {
  border-bottom: 7px solid #fff;
  border-top: none;
}

.sciences-directory-page-layout
  #sciences-directory-students-sheet-data
  th.sorted-desc::after {
  border-top: 7px solid #fff;
  border-bottom: none;
}

.sciences-directory-page-layout
  #sciences-directory-students-sheet-data
  tr:nth-child(even) {
  background-color: #f8f8f8 !important;
}

.sciences-directory-page-layout
  #sciences-directory-students-sheet-data
  tr:nth-child(odd) {
  background-color: #ffffff !important;
}

.sciences-directory-page-layout
  #sciences-directory-students-sheet-data
  tr:hover {
  background-color: #eaeaea;
}

.sciences-directory-page-layout
  #sciences-directory-students-sheet-data
  tbody
  > tr {
  vertical-align: top !important;
}

.sciences-directory-page-layout #sciences-directory-students-sheet-data thead,
.sciences-directory-page-layout #sciences-directory-students-sheet-data tr {
  border: none;
}

.sciences-directory-page-layout
  #sciences-directory-students-sheet-data
  td:first-child {
  font-weight: 700 !important;
}

@media (max-width: 768px) {
  .sciences-directory-page-layout #sciences-directory-students-sheet-data {
    width: 100%;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .sciences-directory-page-layout
    #sciences-directory-students-sheet-data
    table {
    width: 100%;
    min-width: 700px;
    table-layout: auto;
  }

  .sciences-directory-page-layout #sciences-directory-students-sheet-data th,
  .sciences-directory-page-layout #sciences-directory-students-sheet-data td {
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }
}

@media (max-width: 600px) {
  .sciences-directory-page-layout #sciences-directory-students-sheet-data th,
  .sciences-directory-page-layout #sciences-directory-students-sheet-data td {
    font-size: 14px;
  }

  .sciences-directory-page-layout #sciences-directory-students-sheet-data td {
    padding: 0.6em !important;
  }
}

/* ==== Research Labs ==== */
.sciences-directory-lab-form-group:has(#departmentFilter) {
  display: none !important;
}

.sciences-directory-labs-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 3em;
}

.sciences-directory-sheet-data-wrap {
  padding: 0 20px;
}

#sciences-directory-lab-sheet-data table {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  display: none;
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  overflow-x: auto;
}

#sciences-directory-lab-sheet-data th,
#sciences-directory-lab-sheet-data td {
  height: 2.5em;
  text-align: left;
  position: relative;
  font-size: 16px;
  white-space: normal;
}

#sciences-directory-lab-sheet-data td {
  padding: 2em !important;
  font-weight: 300;
  line-height: 1.5;
}

#sciences-directory-lab-sheet-data th {
  background-color: #333;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  border: none;
  padding: 7px 10px;
  transition: 0.5s;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
}

#sciences-directory-lab-sheet-data tr:nth-child(even) {
  background-color: #f8f8f8 !important;
}

#sciences-directory-lab-sheet-data tr:nth-child(odd) {
  background-color: #ffffff !important;
}

#sciences-directory-lab-sheet-data tr:hover {
  background-color: #eaeaea;
}

#sciences-directory-lab-sheet-data tbody > tr {
  vertical-align: top !important;
}

#sciences-directory-lab-sheet-data thead,
#sciences-directory-lab-sheet-data tr {
  border: none;
}

#sciences-directory-lab-sheet-data h2.lab-heading {
  margin: 0 !important;
  font-size: 30px !important;
  font-weight: 600 !important;
  line-height: normal !important;
  color: #000 !important;
}

#sciences-directory-lab-sheet-data h2.lab-heading > a,
#sciences-directory-lab-sheet-data h2.lab-heading > a.lab-heading-link {
  color: #a6192e !important;
  text-decoration: none !important;
  font: inherit !important;
  letter-spacing: inherit !important;
}

#sciences-directory-lab-sheet-data h2.lab-heading > a:hover,
#sciences-directory-lab-sheet-data h2.lab-heading > a.lab-heading-link:hover {
  color: #a6192e !important;
}

#sciences-directory-lab-sheet-data .lab-heading {
  margin: 0 !important;
  font-weight: 600 !important;
  color: #000 !important;
}

#sciences-directory-lab-sheet-data .lab-heading-link,
#sciences-directory-lab-sheet-data .lab-heading > a {
  color: #a6192e !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}

#sciences-directory-lab-sheet-data .lab-heading-link:hover,
#sciences-directory-lab-sheet-data .lab-heading > a:hover {
  color: #a6192e !important;
}

.sciences-directory-page-layout .lab-research {
  margin: 0 0 10px 0;
}

.sciences-directory-page-layout .lab-meta {
  padding-bottom: 20px;
}

.sciences-directory-page-layout .lab-meta p {
  margin: 0;
}

.sciences-directory-page-layout .lab-mentor {
  color: #000;
}

.sciences-directory-page-layout .lab-accepting-students {
  color: #007367;
  font-weight: 600;
  margin: 0;
}

#sciences-directory-lab-sheet-data .lab-research {
  margin: 0 !important;
}

#sciences-directory-lab-sheet-data .lab-meta {
  margin-top: 40px !important;
  padding-bottom: 60px;
}

#sciences-directory-lab-sheet-data .lab-meta p {
  margin: 0 !important;
}

#sciences-directory-lab-sheet-data .lab-accepting-students {
  margin-top: 0 !important;
}

#sciences-directory-lab-sheet-data .lab-heading {
  margin: 0 !important;
  font-weight: 600 !important;
}

#sciences-directory-lab-sheet-data .lab-heading-link,
#sciences-directory-lab-sheet-data .lab-heading a {
  color: #a6192e !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}

#sciences-directory-lab-sheet-data .lab-heading-link:hover,
#sciences-directory-lab-sheet-data .lab-heading a:hover {
  color: #a6192e !important;
}
#sciences-directory-lab-sheet-data th {
  position: relative; /* needed for ::after positioning */
}

/* ==== Funding Directory ==== */
.sciences-directory-funding-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 3em;
}

.sciences-directory-fund-search-wrap {
  margin: 0 20px 24px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.sciences-directory-fund-search-wrap label {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.sciences-directory-fund-search-wrap input {
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 8px 0;
  font-size: 16px;
  outline: none;
  color: #333;
  width: 100%;
  max-width: 320px;
  background: transparent;
}

.sciences-directory-fund-search-wrap input::placeholder {
  color: #b0b0b0;
}

#sciences-directory-fund-sheet-data {
  padding: 0 20px;
}

#sciences-directory-fund-sheet-data .fund-card {
  padding: 36px 32px;
  margin: 0;
  box-shadow: none;
  border-top: none;
}

#sciences-directory-fund-sheet-data .fund-card:first-child {
  border-top: 2em solid #333;  /* SSEA Hack */
}

#sciences-directory-fund-sheet-data .fund-card:nth-child(odd) {
  background-color: #ffffff;
}

#sciences-directory-fund-sheet-data .fund-card:nth-child(even) {
  background-color: #f5f5f5;
}

#sciences-directory-fund-sheet-data .lab-heading {
  font-size: 30px;
  margin: 0 0 12px 0 !important;
  font-weight: 600 !important;
  line-height: 1.2;
  color: #b01c2e;
}

#sciences-directory-fund-sheet-data .lab-heading a {
  color: #b01c2e;
  text-decoration: none;
}

#sciences-directory-fund-sheet-data .lab-heading a:hover {
  text-decoration: underline;
}

#sciences-directory-fund-sheet-data .fund-description {
  margin: 0 0 18px 0;
  font-size: 18px;
  line-height: 1.6;
  color: #222;
}

#sciences-directory-fund-sheet-data .fund-criteria {
  font-size: 17px;
  line-height: 1.5;
  color: #222;
  margin-bottom: 14px;
}

#sciences-directory-fund-sheet-data .fund-link a {
  color: #007367;
  font-weight: 600;
  text-decoration: none;
}

#sciences-directory-fund-sheet-data .fund-link a:hover {
  text-decoration: underline;
}

/* Dean's Office */
.faculty-list .heading-table-filter {
  background-color: #fff !important;
}

.faculty-list .heading-table .toolbar {
  background-color: #fff !important;
  color: #000 !important;
}

.faculty-list .heading-table .toolbar:before {
  display: none !important;
}

.faculty-list .heading-table input[type="search"] {
  border: 1px solid #000 !important;
  color: #000 !important;
}

.hero__college::after,
.hero__college::before {
  background-color: #fff;
}

/*===== Khushi Styles =====*/
.last-updated-table {
  font-size:0.65em;
  color:#010101;
  margin-bottom:10px;
  font-style: italic;
}

/*===== Sciences Table css =====*/
.sci-list {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.sci-list #sciSheetData {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.sci-list #sciSheetData table {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.sci-list #sciSheetData th,
.sci-list #sciSheetData td {
  height: 2.5em;
  text-align: left;
  position: relative;
  font-size: 16px;
}

.sci-list #sciSheetData td {
  padding: 1em;
}

.sci-list #sciSheetData th {
  background-color: #333 !important;
  color: #fff !important;
  font-weight: bold;
  cursor: pointer;
  border: none;
  padding: 7px 10px;
  transition: 0.5s;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
}

.sci-list #sciSheetData th:hover {
  background-color: #444 !important;
}

.sci-list #sciSheetData th::after {
  content: "";
  position: absolute;
  margin-left: 10px;
  border: 5px solid transparent;
  border-top: 7px solid #fff;
  margin-top: 5px;
}

.sci-list #sciSheetData th.sorted-asc::after {
  border-bottom: 7px solid #fff;
  border-top: none;
}

.sci-list #sciSheetData th.sorted-desc::after {
  border-top: 7px solid #fff;
  border-bottom: none;
}

.sci-list #sciSheetData tr:nth-child(even) {
  background-color: #f8f8f8 !important;
}

.sci-list #sciSheetData tr:nth-child(odd) {
  background-color: #ffffff !important;
}

.sci-list #sciSheetData tr:hover {
  background-color: #eaeaea !important;
}

.sci-list #sciSheetData tbody > tr {
  vertical-align: top !important;
}

.sci-list #sciSheetData thead,
.sci-list #sciSheetData tr {
  border: none !important;
}

.sci-list #sciSheetData table td:first-child {
  font-weight: bold;
}

/*===== Sciences Filters =====*/
.sci-filters {
  display: flex;
  gap: 50px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.sci-filters.hide {
  display: none !important;
}

.sci-filter-group {
  flex: 1;
  max-width: 30%;
}

.sci-filter-group label {
  display: block;
  margin-bottom: 3px;
  font-size: 18px;
  font-weight: bold;
}

.sci-filter-group input,
.sci-filter-group select {
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 5px 0;
  font-size: 0.8rem;
  outline: none;
  color: #333;
  width: 100%;
  max-width: 300px;
  background: white;
}

/*===== Sciences Mobile Fix =====*/
@media (max-width: 768px) {
  .sci-filters {
    flex-direction: column;
    gap: 20px;
  }

  .sci-filter-group {
    max-width: 100%;
  }

  .sci-list #sciSheetData table {
    min-width: 550px;
  }

  .sci-list #sciSheetData th,
  .sci-list #sciSheetData td {
    white-space: nowrap;
    font-size: 13px;
    padding: 0.6em;
  }
}
/*===== Sciences Mobile Fix END =====*/

.about-sciences-stats h2 {
  font-weight: 600;
}