/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Apr 20 2026 | 01:40:57 */
/**********************************************
 * SONG LIBRARY TOC
 * FLOATING TOC CONTAINER
 * - Fixed position
 * - Full-height scroll
 * - Always above footer
 **********************************************/
#song-floating-toc {
  position: fixed;
  top: 130px;              /* distance from top of screen */
  left: 25px;              /* distance from left edge */
  width: 320px;            /* TOC width */
  height: calc(100vh - 150px); /* full height minus header space */
  overflow-y: auto;        /* scroll inside TOC */
  background: rgba(255, 255, 255, 0.92); /* slightly more opaque */
  border: 1px solid #ccc;
  padding: 15px 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 999999 !important; /* ensures TOC floats above footer/header */
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Force footer behind TOC */
footer, .site-footer {
  z-index: 1 !important;
  position: relative !important;
}

/**********************************************
 * Bangla and English Title Styling
 **********************************************/
/* Bangla line */
#song-floating-toc .song-bangla {
  display: block !important;
  font-style: regular !important;
  font-family: 'Kalam', cursive !important;
  font-size: 14px !important;
  font-weight: regular !important;
  color: #0c17f0 !important;
  text-align: left !important;
  line-height: 1.1 !important;
  padding-bottom: 8px;
}

/* English transliteration line */
#song-floating-toc .song-english em {
  font-family: 'lato', cursive !important;
  font-size: 25px !important;
  color: #555 !important;
  font-style: italic !important;
  text-align: right !important;
  display: block !important;
}

/**********************************************
 * COLLAPSED TOC STATE (TOGGLE)
 **********************************************/
#song-floating-toc.song-hidden {
  transform: translateX(-320px); /* slide left */
  opacity: 0;
  pointer-events: none;
}

/**********************************************
 * AJAX CONTENT STYLING
 **********************************************/
#song-content h2 {
  font-size: 32px;         /* title size */
  padding-top: 20px;
  padding-bottom: 10px;
  margin-bottom: 8px;
  color: #ffffff !important;
  line-height: 1.2;
  background: #103d15; 
}

#song-content p {
  font-size: 20px;
  line-height: 1.5;
}

/**********************************************
 * TOC SONG LINKS
 **********************************************/
#song-floating-toc a.song-link {
  display: block;
  margin-bottom: 6px;      /* spacing between items */
  padding: 1px 0;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  color: #0073aa;
}

#song-floating-toc a.song-link:hover {
  text-decoration: underline;
  color: #005077;
}

/**********************************************
 * SEARCH BOX HEADER (STICKY)
 **********************************************/
#song-toc-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  padding-bottom: 8px;
  padding-top: 5px;
  z-index: 2;
}

/**********************************************
 * SEARCH BOX
 **********************************************/
#song-toc-search {
  width: 100%;
  padding: 6px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #e63322;
  border: 2px solid #ccc;
  border-radius: 4px;
}

/**********************************************
 * TOGGLE BUTTON
 **********************************************/
#song-toc-toggle {
  position: fixed;
  top: 95px;
  left: 25px;
  background: #129e10;
  color: #fff;
  padding: 6px 22px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  z-index: 100000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/**********************************************
 * RESPONSIVE FIXES
 **********************************************/
#song-content {
  margin-left: 340px;
  width: calc(100% - 360px);
  max-width: none;
  padding: 20px;
  overflow-wrap: break-word;
}

@media screen and (max-width: 900px) {
  #song-floating-toc {
    position: static;
    width: 100%;
    height: auto;
    max-height: none;
    box-shadow: none;
    border: none;
  }

  #song-toc-toggle {
    position: static;
    margin-bottom: 10px;
  }

  #song-content {
    margin-left: 0;
    width: 100%;
    padding: 16px;
  }
}
