@charset "utf-8";

/* Header layout */
header {
  background-color: #333; /* Dark gray for UI branding */
  color: #fff; /* White text for contrast */
  	padding-top:.5rem; /* Increased padding for more margin spacing */
	padding-bottom:1.0rem; /* Increased padding for more margin spacing */
	padding-right:1.5rem; /* Increased padding for more margin spacing */
	padding-left:1.5rem; /* Increased padding for more margin spacing */
  text-align: left; /* Ensure header text is left-aligned */
}

header img {
    display: block;              /* removes the bottom space completely */
    vertical-align: top;         /* alternative if you prefer inline-block */
    margin: 0;                   /* overrides any default margin */
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4f46e5;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid #e0e7ff;
  border-radius: 6px;
  background-color: #f8faff;
  transition: all 0.2s ease;
}

.download-btn:hover {
  background-color: #e0e7ff;
  border-color: #4f46e5;
  color: #3730a3;
}
/* Box-sizing reset for consistent sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Remove default list styles */
ul, ol {
  list-style: none;
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Base HTML elements */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  min-height: 100%;
  margin: 0;
  text-align: left; /* Ensure body text is left-aligned */
}

/* Links */
a {
  text-decoration: none;
  color: #0000FF; /* UI gold for branding */
  transition: color 0.3s ease, background-color 0.3s ease;
}

a:hover {
  color: #D4A017; /* Darker gold on hover */
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem; /* Increased for better spacing */
  text-align: left;
}

h1 { font-size: 2.5rem; color: #FFD700; }
h2 { font-size: 1.75rem; color: #FFD700; }
h3 { font-size: 1.75rem; color: #333; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 0.75rem; /* Reduced for tighter paragraph spacing */
  text-align: left;
}

/* Container for centered content */
.container {
  width: 100%; /* Changed to 100% to prevent narrowing */
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
  display: -webkit-box;           /* Fallback for older WebKit */
  display: -webkit-flex;         /* Transitional WebKit */
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  text-align: left;
  min-height: 100vh; /* Prevent vertical collapse on short content */
}

.links {
  margin-bottom: .5rem; /* Increased spacing between faculty profiles */
  	padding-top: .5rem; 
	padding-left: 2rem;
	padding-right: 2rem;
	padding-bottom: .5rem;
  width: 100%; /* Ensure sections take full container width */
  text-align: left; /* Ensure section text is left-aligned */
}

.faculty {
  	margin-bottom: 1rem; 
  	padding-top: .25rem; 
	padding-left: 2rem;
	padding-right: 2rem;
	padding-bottom: .5rem;
  	width: 100%; /* Ensure sections take full container width */
  text-align: left; /* Ensure section text is left-aligned */
}

/* Lists (e.g., courses, publications) */
ul, ol {
  margin-bottom: .5rem; /* Spacing for lists */
  text-align: left; /* Align lists left for readability */
  padding-left: 1.5rem; /* Add indentation for list items */
}

li {
  margin-bottom: 0.5rem; /* Spacing between list items */
}

/* Table styling for grants */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

th, td {
  border: 1px solid #575757; /* Light gray border for table cells */
  padding: 0.75rem;
  text-align: left;
}

th {
  background-color: #f8f8f8; /* Light gray background for headers */
  font-weight: 700;
}

/* Ensure compatibility for older browsers */
@-moz-document url-prefix() {
  .container {
    display: block;
    text-align: left;
  }
}

.list1 li {
  padding-left: 20px; /* Adjust the value as needed */
}

/* Fix for older Safari versions */
@media not all and (min-resolution:.001dpcm) {
  .container {
    display: block;
    text-align: left;
  }
}

/* Ensure Font Awesome is loaded */
.atom-bullets {
  list-style: none;
  padding-left: 30px; /* Space for custom bullets */
  margin: 0; /* Remove default margins */
}
.atom-bullets li {
  position: relative;
  margin-bottom: 12px; /* Consistent spacing between items */
}
.atom-bullets li::before {
  content: "\f111"; /* Font Awesome solid circle icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: -20px; /* Adjusted for better alignment */
  top: 6px; /* Vertically centered */
  color: #2ecc71; /* Green color for visibility */
  font-size: 0.6em; /* Small circle */
}
.atom-bullets li::after {
  content: "";
  position: absolute;
  left: -22px; /* Slightly offset from ::before */
  top: 4px; /* Align with ::before */
  width: 12px; /* Smaller for a cleaner look */
  height: 12px;
  border: 1px solid #2ecc71; /* Matching green border */
  border-radius: 50%;
  transform: rotate(45deg); /* Rotated for visual effect */
}

.test-tube-bullets {
  list-style: none;
  padding-left: 25px;
}
.test-tube-bullets li {
  position: relative;
  margin-bottom: 10px;
}
.test-tube-bullets li::before {
  content: "\f0c3"; /* Font Awesome test tube icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: -20px;
  color: #3498db;
  font-size: 1em;
}

footer {
    background-color: #f8f8f8; /* Light gray background for contrast */
    padding: 20px; /* Padding for spacing */
    text-align: center; /* Center-align text */
    font-size: 14px; /* Font size for readability */
    color: #333; /* Dark text color for contrast */
    border-top: 1px solid #ddd; /* Top border for separation */
    margin-top: 20px; /* Space above the footer */
    line-height: 1.2; /* Reduced line height for tighter text lines */
}

/* Styling for specific elements within the footer */
footer h2 {
    font-size: 18px; /* Larger font for the "Contact" heading */
    margin-bottom: 10px; /* Space below the heading */
    color: #005566; /* UI brand color (based on University of Idaho) */
    line-height: 1; /* Slightly reduced line height for heading */
}

footer p {
    margin: 2px 0; /* Reduced margin for tighter spacing between paragraphs */
    line-height: 1.2; /* Reduced line height for paragraph text */
}

footer a {
    color: #005566; /* Link color matching UI branding */
    text-decoration: none; /* Remove underline from links */
}

footer a:hover {
    text-decoration: underline; /* Underline on hover for links */
}