html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.nist-nav-links a {
  color: #333;
  text-decoration: none;
}

  .nist-nav-links a:hover {
    text-decoration: underline;
  }

.nist-footer-detailed {
  padding: 20px 0;
  font-size: 0.9rem;
}

.site-title {
  font-family: Rockwell, Consolas, "Courier New", Courier, monospace;
  font-size: 1.8rem;
}

  .site-title a {
    color: #333;
  }

/* Navigation Styles */
#menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

  #menu li {
    margin-right: 15px;
  }

    #menu li:last-child {
      margin-right: 0;
    }

/* Login Section */
#login {
  margin-bottom: 10px;
}

.user-info {
  text-align: right;
  margin-bottom: 10px;
}

.login-links {
  text-align: right;
  margin-bottom: 10px;
}

/* Taxonomy Tree Styles */
.taxonomy-tree {
  margin-bottom: 20px;
}

.taxonomy-node {
  margin-bottom: 5px;
}

.taxonomy-children {
  margin-left: 20px;
}

/* Card Styles */
.card {
  margin-bottom: 20px;
}

/* Table Styles */
.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Form Styles */
.form-group {
  margin-bottom: 1rem;
}

/* Pagination Styles */
.pagination-container {
  margin-top: 20px;
  text-align: center;
}

/* Featured section styling */
.featured {
  background-color: #f1f1f1;
}

.audit-table {
  display: grid;
  grid-template-columns: 200px 150px 1fr 150px;
  border: 1px solid #dee2e6;
}

.audit-header {
  display: contents;
}

  .audit-header .audit-cell {
    background-color: #f8f9fa;
    font-weight: bold;
    border-bottom: 2px solid #dee2e6;
  }

.audit-row {
  display: contents;
}

  .audit-row:nth-child(even) .audit-cell {
    background-color: #f8f9fa;
  }

  .audit-row:hover .audit-cell {
    background-color: #e9ecef;
  }

.audit-cell {
  padding: 12px;
  border-right: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  align-items: center;
}

  .audit-cell:last-child {
    border-right: none;
  }

  .audit-cell a {
    text-decoration: none;
    color: inherit;
  }

    .audit-cell a:hover {
      text-decoration: underline;
    }

.nist-footer {
  margin-top: 0 !important;
}

.nist-header__logo-link {
  font-size: 0;
}

/* Multi-select checkbox containers */
.agency-multiselect {
  max-height: 120px;
  overflow-y: auto;
}

/* Home page improvements */
.home-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 4px solid #0d6efd;
  border-radius: 8px;
}

  .home-hero h1 {
    color: #0d6efd;
    font-weight: 600;
  }

  .home-hero .lead {
    font-size: 1.1rem;
    color: #212529;
  }

.symposium-info {
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #198754;
}

.contact-info {
  background-color: #d1e7dd;
  border-radius: 8px;
  border-left: 4px solid #198754;
  padding: 1.5rem !important; /* Smaller padding */
}

  .contact-info h4 {
    font-size: 1.1rem; /* Smaller heading */
    margin-bottom: 0.75rem !important;
  }

  .contact-info p {
    font-size: 0.9rem; /* Smaller text */
  }


.search-card, .resources-card {
  transition: transform 0.2s ease-in-out;
  border: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

  .search-card:hover, .resources-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  }

.disclaimer-section {
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #dc3545;
}

/* Broken Link Styles */
.broken-link-badge {
  display: inline-block;
  background-color: #dc3545;
  color: white;
  font-size: 0.75em;
  font-weight: 500;
  padding: 0.25em 0.5em;
  border-radius: 0.375rem;
  margin-left: 0.5em;
  text-transform: lowercase;
}


