/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Apr 20 2026 | 01:48:13 */
/* Only apply floating TOC on Rocky’s Song Archive page */
body.page-id-245 #floating-toc {
  position: fixed;
  top: 100px;
  left: 20px;
  width: 300px;
  max-height: 80vh;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #ccc;
  font-size: 14px;
  font-family: "Segoe UI", sans-serif;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 9999;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Slight fade until hover */
body.page-id-245 #floating-toc {
  opacity: 0.85;
}
body.page-id-245 #floating-toc:hover {
  opacity: 1;
}

/* Search bar styling */
body.page-id-245 #toc-search {
  width: 100%;
  padding: 8px;
  margin-bottom: 12px;
  border: 1px solid #aaa;
  border-radius: 6px;
  font-size: 14px;
}

/* Toggle button */
body.page-id-245 #toc-toggle {
  position: fixed;
  top: 60px;
  left: 20px;
  background: #28a745;
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  z-index: 10000;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}
body.page-id-245 #toc-toggle:hover {
  transform: scale(1.05);
}

/* Hidden state for collapsible TOC */
body.page-id-245 #floating-toc.hidden {
  transform: translateX(-300px);
  opacity: 0;
  pointer-events: none;
}

/* Make LuckyWP TOC behave nicely inside the floating box */
body.page-id-245 #floating-toc .lwptoc,
body.page-id-245 #floating-toc .lwptoc_i {
  position: static !important;
  width: 100% !important;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
}

/* Optional: don’t push body content anymore */
body {
  margin-left: 0;
}
