/* ============================================
   MUSIC CATALOG - Plain
   ============================================ */

/* --- CURSOR --- */
* {
  cursor: url('../images/site/cursor.cur'), auto;
}

a, button, input[type="submit"], select {
  cursor: url('../images/site/cursor.cur'), pointer;
}

body {
  margin: 0;
  padding: 20px;
  background: #ffffff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.75em;
  color: #111111;
  cursor: url('../images/site/cursor.cur'), auto;
}

a {
  color: #111111;
  text-decoration: underline;
}

a:hover {
  color: #ffffff;
  background: #D00000;
}

a:active,
a:focus {
  outline: 0;
}

a img {
  border-width: 0;
}

img {
  max-width: 100%;
}

.clear {
  clear: both;
}

/* --- LAYOUT --- */
#container {
  width: 770px;
}

#left {
  float: left;
  width: 200px;
  position: sticky;
  top: 20px;
}

#left a.site-title {
  text-transform: uppercase;
  font-size: 2em;
  line-height: 1em;
  color: #111111;
  text-decoration: none;
  display: block;
}

#left a.site-title:hover {
  color: #111111;
  background: none;
  text-decoration: none;
}

#left .space {
  width: 100%;
  height: 20px;
}

#left .space.small {
  width: 100%;
  height: 10px;
}

#left .sidebar-desc {
  margin-bottom: 10px;
  line-height: 1.6;
}

#left nav a {
  display: inline;
}

#left nav .nav-item {
  margin-bottom: 2px;
}

#left .sidebar-search {
  margin-top: 5px;
}

#left .sidebar-search input[type="text"] {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1em;
  border: 1px solid #111;
  padding: 2px 4px;
  width: 120px;
  background: #fff;
  color: #111;
}

#left .sidebar-search input[type="submit"] {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1em;
  border: 1px solid #111;
  padding: 2px 6px;
  background: #fff;
  color: #111;
  cursor: pointer;
}

#left .sidebar-search input[type="submit"]:hover {
  background: #D00000;
  color: #fff;
  border-color: #D00000;
}

#left .sidebar-stats {
  color: #9C9C9C;
  line-height: 1.6;
}

#right {
  width: 500px;
  float: right;
}

/* --- PAGE HEADING --- */
#right .page-heading {
  font-weight: normal;
  font-size: 1.5em;
  margin: 0 0 20px 0;
}

/* --- SONGS TABLE --- */
.songs-controls {
  margin: 0 0 15px 0;
}

.songs-controls .search-box {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1em;
  border: 1px solid #111;
  padding: 2px 4px;
  width: 200px;
  background: #fff;
  color: #111;
}

.songs-controls .filter-select {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1em;
  border: 1px solid #111;
  padding: 2px 4px;
  background: #fff;
  color: #111;
  cursor: pointer;
}

.results-count {
  color: #9C9C9C;
  margin: 0 0 10px 0;
}

.songs-table-wrap {
  overflow: visible;
}

.songs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1em;
}

.songs-table th {
  font-weight: bold;
  text-align: left;
  padding: 4px 8px 4px 0;
  border-bottom: 2px solid #111;
  white-space: nowrap;
}

.songs-table td {
  padding: 4px 8px 4px 0;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}

.songs-table tr:hover td {
  background: #f5f5f5;
}

.songs-table .song-name {
  font-weight: bold;
  min-width: 250px;
}

.songs-table .song-artist a {
  color: #111;
}

.songs-table .song-artist a:hover {
  color: #fff;
  background: #D00000;
}

.songs-table .song-album {
  color: #9C9C9C;
  font-style: italic;
}

.songs-table .song-genre {
  color: #9C9C9C;
}

.songs-table .song-year {
  white-space: nowrap;
  color: #9C9C9C;
}

.songs-table .song-duration {
  white-space: nowrap;
  color: #9C9C9C;
  font-variant-numeric: tabular-nums;
}

.songs-table .explicit-badge {
  display: inline-block;
  background: #ddd;
  color: #111;
  font-size: 0.8em;
  padding: 0 3px;
  margin-left: 3px;
  font-weight: bold;
}

/* --- PAGINATION --- */
.pagination {
  margin: 20px 0;
}

.pagination button {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1em;
  padding: 2px 8px;
  background: #fff;
  border: 1px solid #111;
  color: #111;
  cursor: pointer;
  margin-right: 2px;
}

.pagination button:hover {
  background: #D00000;
  color: #fff;
  border-color: #D00000;
}

.pagination button.active {
  background: #111;
  color: #fff;
  border-color: #111;
}

.pagination button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pagination button:disabled:hover {
  background: #fff;
  color: #111;
  border-color: #111;
}

.pagination .page-info {
  color: #9C9C9C;
  margin-left: 8px;
}

/* --- ARTISTS --- */
.artists-list {
  line-height: 1.8;
}

.artists-list .artist-entry {
  margin-bottom: 2px;
}

.artists-list .artist-entry .artist-count {
  color: #9C9C9C;
}

.artists-list .artist-entry .artist-genres {
  color: #9C9C9C;
  font-style: italic;
}

.alpha-section {
  margin-bottom: 25px;
}

.alpha-header {
  font-size: 2em;
  font-weight: normal;
  border-bottom: 2px solid #111;
  padding-bottom: 2px;
  margin-bottom: 8px;
}

.alpha-nav {
  margin-bottom: 20px;
  line-height: 2;
}

.alpha-nav a {
  margin-right: 4px;
}

.alpha-nav a.has-artists {
  font-weight: bold;
}

/* --- GENRES --- */
.genres-list {
  line-height: 1.8;
}

/* --- PLAYLISTS --- */
.playlist-entry {
  margin-bottom: 30px;
}

.playlist-entry h3 {
  font-weight: normal;
  font-size: 1.5em;
  margin: 0 0 5px 0;
}

.playlist-entry .playlist-desc {
  color: #9C9C9C;
  margin-bottom: 5px;
}

.playlist-entry .playlist-stats {
  color: #9C9C9C;
  margin-bottom: 15px;
}

.back-link {
  margin-bottom: 15px;
}

/* --- HOMEPAGE RECENT --- */
.recent-entry {
  margin-bottom: 15px;
  overflow: hidden;
}

.recent-entry .entry-title {
  font-weight: bold;
}

.recent-entry .entry-meta {
  color: #9C9C9C;
}

/* --- FOOTER --- */
#footer {
  width: 100%;
  text-align: center;
}

#footer .credit {
  color: #9C9C9C;
  margin: 50px 0 0 0;
  text-align: center;
}

#footer .credit a {
  color: #9C9C9C;
}

#footer .credit a:hover {
  color: #111;
  background: none;
}

/* --- ALBUM COVERS --- */
.album-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 6px;
  transition: transform 0.3s ease;
  transform-origin: left center;
  position: relative;
  z-index: 1;
}

.album-thumb:hover {
  transform: scale(3.75);
  transition-delay: 2.5s;
  z-index: 100;
}

.recent-entry .album-thumb {
  width: 100px;
  height: 100px;
  float: left;
  margin-right: 10px;
  margin-bottom: 5px;
}

.recent-entry .album-thumb:hover {
  transform: none;
  transition-delay: 0s;
}

/* --- NO RESULTS --- */
.no-results {
  color: #9C9C9C;
  margin: 20px 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 820px) {
  #container {
    width: 100%;
  }

  #left {
    float: none;
    width: 100%;
    position: static;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
  }

  #right {
    float: none;
    width: 100%;
  }


  .songs-controls .search-box {
    width: 100%;
    margin-bottom: 5px;
  }
}
