/* Sticky footer styles
-------------------------------------------------- */
/*html {
  position: relative;
  min-height: 100%;
}*/
/*body {
   /*Margin bottom by footer height */
  /*margin-bottom: 160px;
}*/
/*.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 90px; /*120px;*/
 /* line-height:30px; /* Vertically center the text there */
  /*background-color: #f5f5f5;
}*/


/*body > .container {
  padding: 100px 15px 0;
}
*/
/*.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}*/


body {
  padding-top: 100px;
}

.footer {

/* line-height:30px; /* Vertically center the text there */
  background-color: #f5f5f5;
  margin-top: 50px;
}

code {
  font-size: 80%;
}

.modal-custom {
  max-width: 85%;
}

.modal-body-horizontal {
  overflow-x: auto;
}


span.size1 {
  font-size:.75em;
}

span.size3 {
  font-size:1.25em;
}

span.size4 {
  font-size:1.5em;
}

span.size5 {
  font-size:1.75em;
}

span.size6 {
  font-size:2em;
}

span.size7 {
  font-size:2.25em;
}

.uline {
  text-decoration:underline;
}

div.torrent-actions {
  visibility:hidden;
}

tr.torrent-row:hover .torrent-actions{
  visibility:visible;
}

.input-group > .twitter-typeahead {
  flex: 1 1 auto;
  width: auto;
}

.img-btn {
  max-height: 2rem;
  max-width: 2rem;
}

.flex-block {
  display: flex;
  align-items:center;
}

/*ws*/

.controls {
  padding: 30px 0 15px;
  text-align: center;
}

.controls .btn {
  margin-bottom: 15px;
}

@media screen and (min-width: 990px) {
  .controls .mark-controls {
    display: inline;
  }
}

.lead {
  text-align: center;
  padding: 20px;
}

#waveform {
  position: relative;
}

#progress-bar {
  position: absolute;
  z-index: 10;
  top: 50%;
  margin-top: -10px;
  left: 5%;
  width: 90%;
}

#drop {
  border: 3px dashed #ddd;
  padding: 30px;
}

#drop.wavesurfer-dragover {
  border-color: #333;
}

.social-button {
  /*line-height: 10px;*/
}

a.external:after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: " \f35d";
}

.cursor-pointer{
  cursor: pointer;
}

.border-2 {
  border-width:2px !important;
}

.btn-2 {
  padding: 0!important;
}

.white-background {background-color:#ffffff;}

img.emojione {
  width: 25px;
  height: 25px;
  vertical-align: middle;
}

img.joypixels {
  width: 25px;
  height: 25px;
  vertical-align: middle;
}

img.center-circle {
  object-fit: cover;
  border-radius:50%;
  width: 30px;
  height: 30px;
}

.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 25px;
  display: none;
  z-index: 50;
}

/*a:link { text-decoration: none; }

a:hover { text-decoration: underline; } */


.text-underline-hover {
  text-decoration: none;
}

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

.active {
  font-weight: bold;
}

/* Bootstrap 5 tweak: do not underline links unless hovered over */
/*a:not([class*="btn"]) {
  text-decoration: none;
}
a:not([class*="btn"]):hover {
  text-decoration: underline;
}
*/


.btn-adaptive {
  --bs-btn-bg: var(--bs-light);
  --bs-btn-border-color: var(--bs-light);
  --bs-btn-color: #000;
  --bs-btn-hover-bg: #d3d4d5;
  --bs-btn-hover-border-color: #c6c7c8;
  --bs-btn-hover-color: #000;
  --bs-btn-active-bg: #c6c7c8;
  --bs-btn-active-border-color: #babbbc;
  --bs-btn-active-color: #000;
}

[data-bs-theme="dark"] .btn-adaptive {
  --bs-btn-bg: var(--bs-secondary);
  --bs-btn-border-color: var(--bs-secondary);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: #5c636a;
  --bs-btn-hover-border-color: #565e64;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #565e64;
  --bs-btn-active-border-color: #51585e;
  --bs-btn-active-color: #fff;
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover {
  --bs-bg-opacity: 1;
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover {
  --bs-bg-opacity: 1;
}

[data-bs-theme="dark"] #typeahead {
  background-color: var(--bs-gray-800);
}

[data-bs-theme="dark"] iframe[src*="platform.twitter.com"] {
  color-scheme: light;
  background: transparent;
}

/* streaming */
.pcd-player {
  --pcd-track-bg-hover:    rgba(255,255,255,0.03);
  --pcd-track-bg-active:   rgba(201,165,90,0.08);
  --pcd-accent:            #c9a55a;
  --pcd-title-active:      #eef0f4;
  --pcd-title-idle:        #8b90a0;
  --pcd-num-idle:          #50546a;
  --pcd-dur:               #3e4252;
  --pcd-btn:               #9ca3af;
  --pcd-btn-hover:         #fff;
  --pcd-btn-disabled:      #2a2d35;
  --pcd-btn-play-border:   rgba(255,255,255,0.12);
  --pcd-btn-play-hover:    rgba(255,255,255,0.06);
  --pcd-slider-bg:         #2a2d35;
  --pcd-slider-thumb:      #fff;
  --pcd-vol-thumb:         #adb5bd;
  --pcd-time:              #50546a;
  --pcd-now:               #6b7280;
  --pcd-pin-idle:          #3e4252;
  --pcd-pin-hover:         #c9a55a;
}

[data-bs-theme="light"] .pcd-player {
  --pcd-track-bg-hover:    rgba(0,0,0,0.04);
  --pcd-track-bg-active:   rgba(201,165,90,0.18);
  --pcd-accent:            #a87f2e;
  --pcd-title-active:      #212529;
  --pcd-title-idle:        #5a6268;
  --pcd-num-idle:          #868e96;
  --pcd-dur:               #adb5bd;
  --pcd-btn:               #6c757d;
  --pcd-btn-hover:         #212529;
  --pcd-btn-disabled:      #dee2e6;
  --pcd-btn-play-border:   rgba(0,0,0,0.15);
  --pcd-btn-play-hover:    rgba(0,0,0,0.04);
  --pcd-slider-bg:         #dee2e6;
  --pcd-slider-thumb:      #495057;
  --pcd-vol-thumb:         #6c757d;
  --pcd-time:              #868e96;
  --pcd-now:               #495057;
  --pcd-pin-idle:          #adb5bd;
  --pcd-pin-hover:         #a87f2e;
}

.pcd-player { max-width: 100%; font-family: inherit; }

.pcd-seek {
  appearance: none; width: 100%; height: 4px; border-radius: 2px;
  background: var(--pcd-slider-bg); outline: none; cursor: pointer;
  transition: height 0.1s; flex: 1;
}
.pcd-seek:hover { height: 6px; }
.pcd-seek::-webkit-slider-thumb {
  appearance: none; width: 12px; height: 12px; border-radius: 50%;
  background: var(--pcd-slider-thumb); cursor: pointer;
  box-shadow: 0 0 4px rgba(0,0,0,0.4);
  opacity: 0; transition: opacity 0.15s;
}
.pcd-seek:hover::-webkit-slider-thumb { opacity: 1; }
.pcd-seek::-moz-range-thumb {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--pcd-slider-thumb); cursor: pointer; border: none;
}

.pcd-vol {
  appearance: none; width: 72px; height: 4px; border-radius: 2px;
  background: var(--pcd-slider-bg); outline: none; cursor: pointer;
}
.pcd-vol::-webkit-slider-thumb {
  appearance: none; width: 10px; height: 10px; border-radius: 50%;
  background: var(--pcd-vol-thumb); cursor: pointer;
}
.pcd-vol::-moz-range-thumb {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--pcd-vol-thumb); cursor: pointer; border: none;
}

.pcd-track {
  display: flex; align-items: center; padding: 0.45rem 0.6rem;
  gap: 0.75rem; cursor: pointer; border-radius: 3px;
  border-left: 2px solid transparent; transition: background 0.1s;
}
.pcd-track:hover { background: var(--pcd-track-bg-hover); }
.pcd-track.active {
  background: var(--pcd-track-bg-active);
  border-left-color: var(--pcd-accent);
}
.pcd-track.active .pcd-track-title {
  color: var(--pcd-title-active);
  font-weight: 600;
}
.pcd-track.active .pcd-track-num { color: var(--pcd-accent); }
.pcd-track-num {
  width: 24px; text-align: center; font-size: 0.78rem;
  color: var(--pcd-num-idle);
  font-family: 'SFMono-Regular', Consolas, monospace; flex-shrink: 0;
}
.pcd-track-title {
  flex: 1; font-size: 0.84rem; color: var(--pcd-title-idle);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pcd-track-dur {
  font-size: 0.76rem; color: var(--pcd-dur);
  font-family: 'SFMono-Regular', Consolas, monospace; flex-shrink: 0;
}

.pcd-pin {
  background: none; border: none; padding: 4px;
  color: var(--pcd-pin-idle); cursor: pointer;
  border-radius: 3px; flex-shrink: 0;
  display: flex; align-items: center;
  opacity: 0; transition: opacity 0.1s, color 0.15s;
}
.pcd-track:hover .pcd-pin { opacity: 1; }
.pcd-pin:hover { color: var(--pcd-pin-hover); }
.pcd-pin.pinned {
  color: var(--pcd-accent);
  opacity: 1;   /* always visible when actively set */
}

.pcd-bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; }
.pcd-bars span {
  width: 2.5px; background: var(--pcd-accent); border-radius: 1px;
  animation: pcdPulse 0.7s ease-in-out infinite alternate;
}
.pcd-bars span:nth-child(2) { animation-delay: 0.15s; }
.pcd-bars span:nth-child(3) { animation-delay: 0.3s; }
@keyframes pcdPulse { 0% { height: 3px; } 100% { height: 14px; } }

.pcd-btn {
  background: none; border: none; color: var(--pcd-btn); padding: 6px;
  cursor: pointer; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; transition: color 0.15s;
}
.pcd-btn:hover { color: var(--pcd-btn-hover); }
.pcd-btn:disabled { color: var(--pcd-btn-disabled); cursor: default; }
.pcd-btn-play {
  width: 40px; height: 40px;
  border: 1.5px solid var(--pcd-btn-play-border);
}
.pcd-btn-play:hover { background: var(--pcd-btn-play-hover); }

.pcd-time {
  font-size: 0.72rem; color: var(--pcd-time); min-width: 32px;
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-variant-numeric: tabular-nums;
}
.pcd-now-playing { font-size: 0.8rem; color: var(--pcd-now); max-width: 200px; }
