/* cmsms stylesheet: WebReports modified: Wednesday, August 13, 2025 10:41:44 AM */
/* General Layout */
.web-report-page {
  padding: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

.web-report-section {
  margin-bottom: 3rem;
}

.web-report-card:last-child {
  margin-bottom: 0;
}

/* Navigation Bar */
.web-report-nav ul {
  display: flex;
  flex-wrap: wrap; /* allows wrapping on smaller screens */
  list-style: none;
  padding: 0;
  margin: 1rem auto;
  background-color: #e6f2f2;
  border-radius: 25px;
  overflow: hidden;
  justify-content: space-between;
  width: 90%;
}


.web-report-nav li a {
  color: #006163;
  padding: 0.75rem 1.5rem;
  display: block;
  text-decoration: none;
}

.web-report-nav li.active a {
  background-color: #004d4d;
  color: #fff;
  font-weight: bold;
  border-radius: 25px;
  padding: 0.75rem 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.web-report-nav li a i {
  margin-right: 0.25rem;
  font-size: 1rem;
  vertical-align: middle;
}

@media (max-width: 780px) {
  .web-report-nav ul {
    flex-direction: column;
    align-items: stretch;
    border-radius: 12px;
  }

  .web-report-nav li a {
    text-align: center;
    padding: 0.75rem;
    border-radius: 0; /* remove pill shape for stacked layout */
    border-bottom: 1px solid #d0eaea;
  }

  .web-report-nav li:last-child a {
    border-bottom: none;
  }

  .web-report-nav li.active a {
    border-radius: 0;
    font-weight: bold;
    background-color: #004d4d;
    color: #fff;
  }
}




/* Search */
.web-report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

#web-reportSearch {
  padding: 0.5rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 300px;
}


/* Intro */
.intro-block {
  background-color: #fdfdfd;
  border: 1px solid #ddd;
  padding: 1.75rem;
  border-radius: 8px;
  max-width: 720px;
  margin: 0 auto 2rem auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.intro-block h2, .intro-block h3 {
  margin-top: 0;
  color: #006163;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.intro-block h3 {
  margin-top: 1.5rem;
  font-size: 1.15rem;
}

.intro-block p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0.75rem 0;
  color: #333;
}

.intro-block ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.intro-block li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #333;
}


/* Section Heading */
.web-report-section h2 {
  margin-top: 2.5rem;
  border-bottom: 2px solid #006163;
  padding-bottom: 0.5rem;
}

/* Grid of Cards */
.web-report-grid {
  display: block;
}

/* Individual Report Card */
.web-report-card {
  width: 100%;
  margin-bottom: 2rem;
  padding: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


.web-report-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #006163;
}


.web-report-card p {
  font-size: 1rem;
  color: #333;
}


.web-report-card details {
  margin-top: 1rem;
}

.web-report-card summary {
  cursor: pointer;
  font-weight: bold;
}

/* Action Buttons */
.web-report-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}


.web-report-actions .btn {
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  font-size: 0.9rem;
}


.web-report-actions-small .btn {
  font-size: 0.75rem;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  gap: 0.5em; /* spacing between icon and text */
}


.btn.run {
  background-color: #006163;
  color: white;
}

.btn.preview {
  background-color: #e0e0e0;
  color: #333;
}

.btn.sql {
  background-color: #444;
  color: white;
}

/* SQL Query Box */
.sql-box {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #f3f3f3;
  border: 1px dashed #bbb;
  font-family: monospace;
  font-size: 0.95rem;
  border-radius: 8px;
}

.sql-box pre {
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 1rem;
  overflow-x: auto;
  white-space: pre-wrap;
}




.jump-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
  background-color: #f5f5f5;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  font-size: 0.85rem;
  align-items: start !important;
}

.jump-category {
  flex: 1;
  min-width: 220px;
}

.jump-category h4 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  color: #006163;
}

.jump-category ul {
  list-style: none;
  padding-left: 0;
}

.jump-category ul li {
  margin-bottom: 0.25rem;
}





.jump-category a {
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
  padding: 0.2rem 0.4rem;
  display: inline-block;
  border-radius: 5px;
  transition: background-color 0.2s ease;
  font-size: 0.85rem;

}



.jump-category a:hover {
  background-color: #e0f4f4;
  color: #006163;
}

.web-report-card details dl {
  margin-top: 1rem;
}

.web-report-card details dt {
  font-weight: bold;
  margin-top: 1rem;
  color: #006163;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.25rem;
}

.web-report-card details dd {
  margin-left: 1rem;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #333;
}

.btn i {
  margin-right: 0.5em;
}

.web-report-actions .btn {
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.web-report-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* cmsms stylesheet: PLC Primary CSS modified: Monday, October 6, 2025 2:53:06 PM */
/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background-color: #006163;
  color: white;
  padding: 8px 16px;
  z-index: 100;
  text-decoration: none;
  font-weight: bold;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

/* Container with max width */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}


/* Header & Nav */
.site-header {
  background-color: #fff;
  border-bottom: 5px solid #006163;
  padding: 1rem 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
    position: relative;
    top: 0;
    width: 100%;
    z-index: 1;
}




.logo {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.logo img {
  height: 48px;
}

.logo p {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: #006163;
}

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #006163;
  cursor: pointer;
  display: none;
}


.nav-item {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  padding: 0.5rem 1rem;
  display: block;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.nav-links > .nav-item > a:hover,
.nav-links > .nav-item > a:focus {
  background-color: #006163;
  color:white;
  border-radius: 4px;
  outline: none;
}

/* Dropdown Styling */
.dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 1rem;
  width: 480px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

/* Show dropdown on hover or focus */
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Two-column layout */
.menu-columns {
  display: flex;
  gap: 2rem;
}

.column {
  flex: 1;
}

.column h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #006163;
}

.column ul {
  list-style: none;
  padding: 0;
}

.column li {
  margin-bottom: 0.5rem;
}

.column a {
  color: #006163;
  text-decoration: none;
  padding: 8px;
  display: block;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.column a:hover,
.column a:focus {
  background-color: #f5f5f5;
  outline: none;
}

/* Single-column dropdown */
.single-column {
  width: 240px;
}

.single-column .menu-columns {
  display: block;
}



/* Responsive groundwork */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    display: none;
    background-color: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  gap: 0.5rem;
  }

  .nav-toggle {
    display: block;
  }


  .navbar.active .nav-links {
    display: flex;
    padding-bottom: .5rem;
  }

  .dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
  display:none;
  padding: 1rem;
  background: #fff;
  border-top: 1px solid #ddd;
  }

  .nav-item > a {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    background: #e6f2f2;
    border-radius: 4px;
  }

  .dropdown .column a {
    font-size: 0.9rem;
    padding: 0.5rem;
  }

}

/* Footer */
.site-footer {
  background-color: #fff;
  border-top: 1px solid #ddd;
  padding: 1rem 0;
  text-align: center;
  margin-top: 2rem;
}


/*Home Page Cards Carousel */
.hero-section {
  background-color: #e9ecef;
  padding: 3rem 1.5rem;
  border-radius: 12px;
  text-align: center;
}

/* Grid Container */
.gridWrapper {
  display: grid;
  grid-template-areas:
    "one two two three"
    "one two two three"
    "one five six three"
    "four five six three"
    "four five six three";
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  grid-auto-rows: minmax(60px, auto);
}

/* Grid Items */
.gridWrapper > div {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s, transform 0.3s;
  border: 1px solid #ccc;
}

.gridWrapper > div:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.overlayText {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 14px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}


.gridOne {
  grid-column: 1 / 2;
  grid-row: 1 / 4;
  background-image: url('/uploads/images/HomeCourses.png');
  grid-area: one;
}

.gridTwo {
  grid-column: 2 / 4;
  grid-row: 1 / 3;
  background-image: url('/uploads/images/HomeHelpdesk.png');
  grid-area: two;
}

.gridThree {
  grid-column: 4 / 5;
  grid-row: 1 / 6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background-color: #f4f4f4;
  border-radius: 10px;
  grid-area: three;
}

.gridWrapper > div.gridThree:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(0px);
}



.search-section {
  background-color: transparent;
  padding: 0;
  max-width: 100%;
  width: 100%;
  text-align: center;
}

.search-section h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #002f30;
  font-weight: 600;
}

/* Search Form Container */
.search-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* Input, Select, and Button styling */
.form-group {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
}

.search-form input[type="text"],
.search-form select,
.search-form input[type="submit"] {
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
}

.search-form input[type="submit"] {
  background-color: #006163;
  color: white;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.search-form input[type="submit"]:hover {
  background-color: #002f30;
  transform: translateY(-2px);
}


.gridFour {
  grid-column: 1 / 2;
  grid-row: 4 / 6;
  background-image: url('/uploads/images/HomeDataprojects.png');
  grid-area: four;
}

.gridFive {
  grid-column: 2 / 3;
  grid-row: 3 / 6;
  background-image: url('/uploads/images/HomeStaffLinks.png');
  grid-area: five;
}

.gridSix {
  grid-column: 3 / 4;
  grid-row: 3 / 6;
  background-image: url('/uploads/images/HomeWebreports.jpg');
  grid-area: six;
}


.card-link {
  display: flex;
  align-items: flex-end; /* or center, depending on layout */
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  position: absolute;
  top: 0;
  left: 0;
}

.card-link:hover {
  cursor: pointer;
}

/* Responsive Layout */
@media (max-width: 1024px) {
  .gridWrapper {
    grid-template-areas:
    "three three three"
    "one two two"
    "one two two"
    "one five six"
    "four five six"
    "four five six";

    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gridWrapper {
    grid-template-areas:
      "three"
      "one"
      "two"
      "four"
      "five"
      "six";
    grid-template-columns: 1fr;
  }
}

/* Home Page About Section */
.aboutSection {
  /* margin: 50px 60px;  (removing) */
  padding: 30px;
  background-color: #f9f9f9;
  border-left: 6px solid #006163;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

.aboutSection h2 {
  margin-top: 0;
  font-size: 2rem;
  color: #2a4e6c;
}

.aboutSection p {
  line-height: 1.6;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.aboutSection ul {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.aboutSection ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.aboutSection ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: #006163;
  font-size: 1.2rem;
}

/* Home Page Organization cards */
.orgCardGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin-top: 40px;
  text-align: center;
}

.orgCard {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  color: inherit;
}

.orgCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.orgCard img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 10px;
}

.orgCard span {
  font-size: 0.95rem;
  font-weight: 500;
}


/* Styles applied to all Content Pages */

.page-container {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 1rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.section {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.section h2 {
  font-size: 2rem;
  color: #006163;
  margin-bottom: 1rem;
}

.section h3 {
  font-size: 1.4rem;
  color: #444;
  margin-top: 1.5rem;
}

.section h3:nth-of-type(n + 2) {
  margin-top: 2.5rem;
}

.section b {
  font-size: 1.2rem;
  color: #222;
}

.section p,
.section br {
  font-size: 1rem;
  color: #555;
}

.section a {
  color: #006163;
  font-weight: bold;
  text-decoration: none;
}

.section a:hover {
  text-decoration: underline;
}

.section ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 4px solid #006163;
  background-color: #f9fcfc;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 97, 99, 0.1);
}

.section ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: #333;
  border-bottom: 1px solid #e0eaea;
}


@media screen and (max-width: 768px) {
  .section ul li {
      display: inherit;
  }
}

.section ul li:last-child {
  border-bottom: none;
}

.section ul li::before {
  content: "▸"; 
  color: #006163;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.section li:hover {
  background-color: #e6f2f2;
}

.section ol li {
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: #333;
  border-bottom: 1px solid #e0eaea;
  margin-left: 28px;
}

/*Resources column - appears on most content pages */
.resources .resource-section {
  align-self:start;
  min-height:200px;
  background: #eef5f5;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.resources ul {
  list-style-type: none;
  padding: 0;
  margin:0;
}

.resources li {
  display: inline-block;
  width:100%;
  margin-right: 1rem;
}

.resources a {
  text-decoration: none;
  color: #006163;
  /* font-weight: bold; */
}

.resources a:hover {
  text-decoration: underline;
}

.resources .resource-section {
  margin-bottom: 2rem;
}

.resources h3:nth-of-type(n+2) {
  margin-top: 20px; /* Adjust space before each h3 */
}

.resource-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #f7f7f7;
  border: 1px solid #ddd;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s, transform 0.3s;
}

.resource-card:hover {
  background-color: #e6f2f2;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.resource-card i {
  font-size: 1.5rem;
  color: #006163;
}

.resource-card strong {
  font-size: 1rem;
  color: #333;
}

.resource-card span {
  font-size: 0.9rem;
  color: #006163;
  text-decoration: none;
}


a.resource-card:link,
a.resource-card:visited,
a.resource-card:hover,
a.resource-card:active {
  text-decoration: none;
}

.resource-card .resource-card-string {
font-size: .7em;
color:#333;
font-style:italic;
line-height: .8em;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.resource-grid-wider {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

}

/* Responsive */
@media screen and (max-width: 768px) {
  .page-container {
    grid-template-columns: 1fr; /* Single column layout */
    margin: 1rem 0rem auto;
  }
  
  .resources {
    order: 2; /* Ensure resources come AFTER main content */
    width: 99%;
  }
  
  .main-content {
    order: 1; /* Main content stays at the top */
  }
  
  .section {
    padding: 1.5rem;
    max-width: 99%;
  }

  .main-content {
    order: 1; /* Main content stays on top */
  }

  .resources {
    order: 2; /* Resources in between */
  }

  .page-container {
    display: flex;
    flex-direction: column;
  }

}



/* About Page - Library Info*/
.library-link {
  color: #006163;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
}

.library-link:hover {
  text-decoration: underline;
}

.library-layout {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}

.library-tabs {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tab {
  background-color: #f9fcfc;
  border: none;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-height:3.5em;
  border-left: 3px solid #006163;
}

.tab:hover {
  background-color: #d0d0d0;
}

.tab.active {
  background-color: #006163;
  color: #fff;
}

.library-info {
  flex: 1;
  background-color: #fff;
  padding: 1rem 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.library-details {
  display: none;
}

.library-details.active {
  display: block;
}

.library-details h3 {
  margin-top:0;
}

.library-details p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  color: #333;
}

/* Responsive Layout */
@media screen and (max-width: 768px) {
  .library-layout {
    flex-direction: column;
  }

  .library-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
  }

  .tab {
    flex: 1 1 45%;
    text-align: center;
    font-size: 0.9rem;
    padding: 0.5rem;
  }

  .library-info {
    padding: 1rem;
  }

  .library-details p {
    font-size: 0.9rem;
  }
}



/*About Page - Map */
.map-container {
  max-width: 100%;
  margin: 2rem auto;
  text-align: center;
}

.map-container iframe {
  width: 100%;
  height: 480px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 768px) {
  .map-container iframe {
    height: 320px;
  }

  .map-container {
    order: 3; /* Push the map to the bottom */
    margin: 2rem 1rem auto;
  }

}


/* Our Team - Calendly Booking Link */
.calendly a {
  display: inline-block;
  background: #006163;
  color: #fff;
  padding: 0.75rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1rem;
  transition: background 0.3s ease;
}

.calendly a:hover {
  background: #002f30;
}

@media screen and (max-width: 768px) {
 
  .calendly a {
    display: block;
    text-align: center;
  }
}


/* Site Visit Request */

.training-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.card {
  width: 48%;
  height: 480px;
  perspective: 1000px;
}

@media screen and (max-width: 1030px) {
  .card {
  width: 99%;
  }
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.8s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.card-front {
  background: #fff;
  padding: 1rem;
  text-align: center;
}

.card-front img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 5px;
}

.card-front h3 {
  margin-top: 0.75rem;
  font-size: 1.2rem;
  color: #006163;
}

.card-front ul {
  list-style: disc;
  padding-left: 1.2rem;
  text-align: left;
  margin-top: 0.5rem;
}

.card-back {
  background-color: #006163;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotateY(180deg);
  padding: 1rem;
  font-size: 1rem;
}

.card-back-content p, .card-back-content h3 {
    color: white;
}

.card:hover .card-front {
  transform: rotateY(180deg);
}

.card:hover .card-back {
  transform: rotateY(0deg);
}

.card {
  position: relative;
  transform-style: preserve-3d;
}

.request-link {
  text-align: center;
  margin-top: 2rem;
}

.request-link a {
  text-decoration: none;
  background-color: #006163;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.request-link a:hover {
  background-color: #002f30;
}


/* Committee Pages */

.year-picker {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.year-tab {
  background-color: #e0f0f0;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  color: #005d5d;
}

.year-tab.active {
  background-color: #006163;
  color: #fff;
}

.year-content.hidden {
  display: none;
}

.agenda-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.agenda-table th, .agenda-table td {
  border: 1px solid #ccc;
  padding: 0.75rem;
  text-align: left;
  font-size: 0.95rem;
}

.agenda-table th {
  background-color: #eef6f6;
  color: #005d5d;
  font-weight: 600;
}

.calendar-icon {
  margin-left: 0.5rem;
  color: #006163;
  font-size: 1.1rem;
  text-decoration: none;
}

.calendar-icon:hover {
  color: #009999;
}

/* responsive tables for mobile */
@media (max-width: 768px) {
  .agenda-table thead {
    display: none;
  }

  .agenda-table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0rem 0.5rem;
  }

  .agenda-table td {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border: none;
    border-bottom: 1px solid #eee;
  }


  .agenda-table td:last-child {
    border-bottom: none;
  }

.agenda-table td:nth-last-child(-n+2) {
    display: inline-flex;
    padding: .5em 1em;
    border-bottom: 0px;
  }
}


/*Courses */
.course-access {
padding:4px;
}

.course-access td {
  padding:10px;
  vertical-align: middle;
}

.course-access .course-buttons {
padding-bottom: 0em;
}

.courses-container {
  max-width: 1200px;
  margin: 1rem auto;
  text-align: center;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.course-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-image {
  width: 100%;
  height: 150px; /* Adjust height as needed */
  object-fit: cover; /* Ensures consistent aspect ratio */
  border-radius: 8px 8px 0 0; /* Removes margin & padding */
}

.course-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #006163;
}

.course-card h3 {
  font-size: 1.2rem;
  margin: 1rem 0;
  color: #006163;
}

.course-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: auto;
  padding-bottom: 1rem;
}

.btn {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.course-buttons .preview {
  background: #ccc;
  color: #333;
}

.course-buttons .enroll {
  background: #006163;
  color: #fff;
}

.preview:hover {
  background: #bbb;
}

.enroll:hover {
  background: #002f30;
}


@media screen and (max-width: 768px) {
  .course-image {
    height: 120px; /* Slightly smaller on mobile */
  }
}



/*Recorded Workshops */
.video-container {
  max-width: 900px;
  margin: 2rem auto;
  text-align: center;
}

.video-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem auto 1rem;
  border-bottom: 2px solid #ccc;
  max-width: 900px;
}

.tab-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #006163;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.tab-button:hover {
  color: #002f30;
}

.tab-button:hover .tab-icon {
  transform: translateY(-2px);
  color: #002f30;
}

.tab-button.active {
  color: #002f30;
}

.tab-button.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 4px;
  background-color: #002f30;
  border-radius: 2px;
}

.tab-icon  {
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.3s ease;
}

.video-card {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.jump-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  margin: 1rem 0 2rem;
  font-size: 0.95rem;
}

.jump-menu a {
  color: #006163;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.jump-menu a:hover,
.jump-menu a:focus {
  background-color: #e6f2f2;
  color: #002f30;
  outline: none;
}

.jump-menu .divider {
  color: #999;
  pointer-events: none;
  user-select: none;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


/*Data Projects */

.data-post {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 2rem;
  flex-wrap: wrap;
}

.post-thumb {
  width: 240px;
  max-height: 160px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.post-content {
  flex: 1;
}

.post-content h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.post-date {
  font-size: 0.9rem;
  color: #555;
  font-style: italic;
  margin-bottom: 1rem;
}

.post-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #222;
}



/* Committees - Mailing List Table */
.mailing-list-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Segoe UI", sans-serif;
  font-size: 14px;
  margin-top: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.mailing-list-table thead {
  background-color: #f5f5f5;
  text-align: left;
}

.mailing-list-table th,
.mailing-list-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #ddd;
}

.mailing-list-table tbody tr:hover {
  background-color: #eef6ff;
}

.mailing-list-table a {
  color: #0066cc;
  text-decoration: none;
}

.mailing-list-table a:hover {
  text-decoration: underline;
}

/* responsive mailing-list table */
@media (max-width: 768px) {
  .mailing-list-table thead {
    display: none;
  }

  .mailing-list-table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0rem 0.5rem;
  }

  .mailing-list-table td {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border: none;
    border-bottom: 1px solid #eee;
  }

  .mailing-list-table td:first-child {
    font-weight:700;
  }


}


/* Committees - Members List */
.members-list {
  list-style: none;
  padding-left: 0;
}

.members-list li {
  padding: 0.8rem 0;
  font-size: 1rem;
  border-bottom: 1px solid #ccc;
  line-height:1.4em;
}

.members-list li:last-child {
  border-bottom: none;
}

.job-title {
  font-style: italic;
  color: #444;
}

.library-name {
  font-weight: bold;
  color: #333;
}

.members-list a {
  color: #006163;
  text-decoration: none;
  font-weight: bold;
}

.members-list a:hover {
  text-decoration: underline;
}


/*Committees - Reports */
.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.report-grid-wider {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

}

.report-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #f7f7f7;
  border: 1px solid #ddd;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s, transform 0.3s;
}

.report-card:hover {
  background-color: #e6f2f2;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.report-card i {
  font-size: 1.5rem;
  color: #006163;
}

.report-card strong {
  font-size: 1rem;
  color: #333;
}

.report-card span {
  font-size: 0.9rem;
  color: #006163;
  text-decoration: none;
}

a.report-card:link,
a.report-card:visited,
a.report-card:hover,
a.report-card:active {
  text-decoration: none;
}

.report-card .report-card-string {
  font-size: .7em;
  color:#333;
  font-style:italic;
  line-height: .8em;
}
