body {
  margin: 0px;
  -webkit-touch-callout: none;
  -webkit-text-size-adjust: none;
  background: rgb(18,19,23);
  overflow-x: hidden;
  background-size: 100% 100%;
  font-family: 'Noto Sans', sans-serif;
  user-select: none;
  -webkit-user-select: none;
    overflow-y: hidden;
}

.exp {
    opacity: 0.5;
}

.topbutton {
    display: inline-block;
}

.ripple {
    cursor: pointer;
    position: relative;
}
@-webkit-keyframes ripple {
  0% {
    width: 0;
    height: 0;
    opacity: .5;
  }
  100% {
    width: 60px;
    height: 60px;
    opacity: 0;
  }
}
@keyframes ripple {
  0% {
    width: 0;
    height: 0;
    opacity: .5;
  }
  100% {
    width: 60px;
    height: 60px;
    opacity: 0;
  }
}

.ripple::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  border-radius: 50%;
  background-color: #fff;
  visibility: hidden;
  z-index: -1;
}

.ripple:not(:active)::before {
  -webkit-animation: ripple 0.4s cubic-bezier(0, 0, 0.2, 1);
          animation: ripple 0.4s cubic-bezier(0, 0, 0.2, 1);
  -webkit-transition: visibility .4s step-end;
  transition: visibility .4s step-end;
  z-index: -1;
}
.ripple:active::before {
  visibility: visible;
  z-index: -1;
}

.playBar {
    position: relative;
}
.stop {
    position: absolute;
    left: 20px;
    top: 30px;
    width: 40px;
    height: 40px;
    border: 2px solid #888;
    border-radius: 50%;
    padding: 10px;
    filter: opacity(0.1);
    visibility: visible;
}
.no-touch .stop:hover {
    filter: opacity(0.6);
}
.stop2 {
    display:none;
    position:absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: 2px solid #777;
    padding: 7px;
    border-radius: 50%;
}
.stop div,
.stop2 div {
    width: 100%;
    height: 100%;
    background-color: #888;
}
.phone .stop {
    filter: opacity(0.7);
    border: 2px solid #444;
}
.phone .stop2 {
    display: block;
}
.modal-title {
    letter-spacing: 1px;
}

.mbutton {
    display: none;
}

#bPlus {
    display: none;
}

#bMinus,
#bSave { 
    padding: 5px 0 5px 10px;
    cursor: pointer;
    filter: brightness(0.7);
}


.phone .mbutton {
    position: absolute;
    top: 30px;
    right: 10px;
    width: 40px;
    height: 40px;
    text-align: center;
    border: 2px solid #444;
    border-radius: 50%;
    color: #aaa;
    font-size: 22px;
    display: block;
}

.toplib {
    font-size: 20px;
    padding: 10px 30px;
    color: white;
}
.no-touch .toplib:hover{
    cursor: pointer;
}
.clickable {
    cursor: pointer;
}
.sticky {
    position: sticky;
}

.hide {
    display:  none;
}
.tab-content {
    padding-top: 20px;
}

#breadWrapper {
    overflow: auto;
    --webkit-overflow-scrolling: touch;
}

.breadcrumb {
    margin-right: 1rem;
    background: linear-gradient(90deg,rgba(255,255,255,0.1),transparent);
    color: lightblue;
    margin-bottom: 0;
}

.breadcrumb-item.active {
    color: ghostwhite !important;
}

.action,.type {
    width: 30px;
}
.action a {
    display: block;
}
.action img {
    display: inline-block;
    padding: 4px 6px;
}
.type img {
    display: inline-block;
    padding: 4px 14px;
}

#bg {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  z-index: -10;
  filter: blur(40px) brightness(0.3);
  -webkit-filter: blur(40px) brightness(0.3);
  -o-filter: blur(40px) brightness(0.3);
  -moz-filter: blur(40px) brightness(0.3);
}

.topbutton{
    pointer-events: all;
}
.no-touch .topbutton:hover {
    cursor: pointer;
}

.topbar{
  width: 100%;
  height: 36px;
  text-align: right;
  position: fixed;
  padding: 5px;
  top: 0;
  z-index: 2;
  pointer-events: none;
}

.phone .topbar {
  padding:0;
}

#infoBlock {
    width:100%;
    padding: 4px 4px 0 4px;
}
.albumBoxA{
  margin:20px 10px;
  width:100%;
  width: calc(100% - 5px);
}


.phone .albumBoxA{
  margin:10px 10px;
  width: calc(100% - 20px);
}

.phone #all {
    top:0;
    height: 100vh;
    height: calc(100 * var(--vh));
}

#config_body .modal-content {
    max-heigh: 90vh;
    max-height: calc(90 * var (--vh));
}

.phone #config_body .modal-content {
    max-height: 100%;
}


.cell{
  border-right: 1px solid #555;
  padding-right: 2px;
}

.playBar {
    text-align: center;
}
.phone .playBar {
    position: relative;
    margin: 0 -20px;
}
.ctrlbtn-group{
  position: relative;
  margin: 10px auto;
  display: inline-flex;
}

.data{
  text-align: right;
  color: rgb(191,255,255)
}
.error{
  color: #fc3;
  font-weight: bold;
}
.mybtn{
  margin: 6px;
}
option:checked{
  background: #666;
  color: white;
}
.wideList{
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  -ms-text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  -moz-binding: url("ellipsis.xml#ellipsis");
}

/*#Openlist select{*/
Albums {
  appearance: none;
  width: 100% !important;
  height: 32px !important;
  overflow: hidden !important;
  color: white !important;
  font-size: 18px !important;
  text-align: left !important;
  padding-left: 25px !important;
  padding-right: 30px !important;
  outline: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}
#Openlist select option {
    background: black;
}
#Openlist{
  width:;
  height: 16px;
  padding: 5px;
  margin-bottom: -25px;
  display: none;
  color: white;
}
.ProgressBar,.ProgressText{
  width: 70%;
}

.volumeBar{
  width: 72%;
  height: 4px;
  margin-top: 10px;
  border-radius: 2px;
  outline: none;
  background: rgba(0,0,0,0.3);
  transition: background 450ms easy-in;
  -webkit-appearance: none;
}
/*
#volume {
}*/

.progressbar {
  position: relative;
  background-color: rgba(0,0,0.3);
  border-radius: 2px;
  height: 4px;
  width: 100%;
  outline: none;
  background: rgba(0,0,0,0.3);
  transition: background 450ms easy-in;
  -webkit-appearance: none;
}



.volLeft{
  width: 20px;
  text-align: right;
}
.volRight {
  width: 20px;
}

#volValue {
  display: inline;
  padding: 0 10px;
  color: cadetblue;
}

#Image {
  cursor: zoom-in;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 47vh;
}

#Image2 {
  display: none;
}

#about p {
  font-size: small;
}
#about ul {
    list-style-type: none;
    font-size: small;
    padding: 0;

}
#about a {
    color: #007bff;
}

#Folders,
#Playlists{
  width: 100%;
  line-height: 32px;
  padding-left: 5px;
  padding-right: 5px;
  line-height: 24px;
  word-break: break-all;
  word-wrap: break-word;
  color: #9cf;
}

#playnow {
    max-height: calc(100vh - 50px);
    max-height: calc(100 * var(--vh)) - 50px);
/*    overflow-y:scroll;*/
}

.phone #playnow {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px 0;
    position: relative;
}

.songsblock {
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  height: calc(100vh - 101px);
  height: calc(100 * var(--vh) - 101px);
  padding-top: 1rem;
}

#SongsBlock {
    padding-top: 0;
    max-height: calc(100vh - 130px);
    max-height: calc(100 * var(--vh) - 130px);
}

.phone .songsblock {
    width: 100%;
    max-height: calc(100vh - 110px);
    max-height: calc(100 * var(--vh) - 110px);
}

#ImgBlock {
  padding: 0 10px;
  height: 47vh;
  display: table-cell;
  width: 100vw;
  vertical-align: middle;
  margin-bottom: 5px;
  text-align: center;
}

#library {
    width: 70%;
    float: right;
}

#Songs{
  width: 100%;
  line-height: 48px;
  color: #ddd;
  table-layout: fixed;
}

#lSong{
  width: 98%;
  margin-top: 10px;
  line-height: 30px;
  font-size: 18px;
  text-align: center;
  color: white;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone .modal-dialog {
    margin: 0 !important;
}

#lAlbum{
  width: 98%;
  line-height: 32px;
  color: white;
  text-align: center;
  font-weight: bold;
  font-size: x-large;

  white-space:nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

input[type=range]{
  -webkit-appearance: none;
  outline: none;
}
input[type=range]:focus{
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track{
    outline: none;
    cursor: pointer;
}
input[type=range]:focus::-webkit-slider-runnable-track{
    outline: none;
}

#volumebox input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    background: white; /*thumbColor*/
    width: 14px; /* thumbHeight + (2 x thumbBorderWidth)*/
    height: 14px; /* thumbHeight + (2 x thumbBorderWidth)*/
    border-radius: 7px;
    cursor: pointer;
    transition: 0.3s;
}

.progresswrap input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    background: white; /*thumbColor*/
    width: 4px; /* thumbHeight + (2 x thumbBorderWidth)*/
    height: 14px; /* thumbHeight + (2 x thumbBorderWidth)*/
    cursor: pointer;
    transition: 0.3s;
    outline: none;
}

input[type=text]{
  background: #111;
  color: #aaa;
}
.wait{
  width: 250px;
  height: 5px;
  position: relative;
  top: 25px;
}
#lTime {
  float: left;
}
#lLength {
  float: right;
}

#picturebox {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
#picturebox .btn {
    margin: 20px;
    opacity: 0.6;
    cursor: pointer;
    background: none;
    padding: 4px 8px;
}

#picturebox .close {
    position: fixed;
    right: 0;
    top: 0;
}

#picturebox .update {
    position: fixed;
    right: 0;
    top: 50%;
}

.no-touch #picturebox .btn:hover {
    opacity: 1;
}
.zoomed .btn {
    background: rgba(0,0,0,0.4) !important;
}

#fullimg {
    cursor: zoom-in;
}

.zoomed #fullimg {
    cursor: grab;
}

#picturebox .modal-content {
    min-height: 100%;
    overflow: hidden;
}

#info2 {
    position: fixed;
    bottom: 0;
    left: 0;
    color: white;
}

#picturewrap {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.no-touch .songstr:hover,.ctrlbtn-group li:hover,.topbutton:hover {
    cursor:pointer;
}

.no-touch .songstr:hover {
    background: rgba(255,255,255,0.1);
    background-size: 100% 100%;
}

.songactive {
  background: rgba(255,255,255,0.1);
}

.playliststr {
    text-align: left;
    cursor:pointer;
    color:ghostwhite;
    font-family: 'Noto Sans',sans-serif;
    font-size: 16px;
    font-weight:400;
}

.no-touch .playliststr:hover {
    background: rgba(255,255,255,0.3);
}

.phone .playliststr {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}


.volumebox {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  display: none;
  margin: 0 auto;
}
.draggable-button {
    width: 14px; 
    height: 14px;
    background: white;
    border-radius: 50%;
    position: absolute;
    box-shadow: 0px 4px 10px 1px rgba(0,0,0,0.2);
    margin-left: -9px;
    margin-top: -6px;
    cursor: pointer;
}

#playnow,#plist {
    float: none;
    width: 100%;
    padding-top: 10px;
}

.ProgressText {
  color: white;
  margin: 0 auto;
  font-size: small;
  padding-bottom: 10px;
}


.sNum {
  width: 40px;
  padding-left: 10px;
  font-size: small;
}


.sLen {
  width: 60px;
  padding-right: 10px;
  font-size: small;
  text-align: right;
}

.sTitle{
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis;
}

.modal-mody {
    max-height: calc(100vh - 160px);
    max-height: calc(100 * var(--vh) - 160px);
    overflow-y: auto;
}

.ProgressText {
    text-align: center;
}
#bMinus2,#bSave2 {
    display: none;
}

.phone #bMinus2,.phone #bSave2{
  display: inline-block;
  margin: 0 7px;
  opacity: 0.6;
}
.album-btn {
    width: 80px;
}
.phone .album-btn {
    display: none;
}


.trackformat {
    font-size: small;
    color: #889;
    margin-top: 10px;
    text-align: center;
}


@media screen and (orientation:portrait) {
  #playnow {
    padding: 40px 20px;
  }
  #ImgBlock {
    height: 40vh;
  }
  .stop {
    margin: 30px 0;
  }
  .phone .stop {
    margin: 0;
  }
  .phone .trackformat {
    font-size: medium;
  }

  #lSong,#lAlbum {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .phone #lAlbum {
    max-height: 64px;
    overflow: hidden;
  }
  .phone #picturebox .btn {
    margin: 5px;
  }

  .progresswrap input[type="range"]::-webkit-slider-thumb {
    width: 5px; /* thumbHeight + (2 x thumbBorderWidth)*/
  }

  #InfoBlock {
    padding: 40px 0;
  }
  .phone #InfoBlock {
    padding: 10px 0px;
  }
  .phone #Topcontrols {
    padding: 0 15px;
  }
  .ctrlbtn-group {
    margin: 40px auto;
  }

  .phone .ctrlbtn-group {
    margin:10px auto;
    margin-bottom: 0;
  }
  #library,#plist {
    padding-left: 10px;
  }
  .phone #playnow, .phone #plist {
    margin-top: 0;
  }
  .phone #plist, .phone #library {
    padding: 0;
  }
  .phone .action img {
    padding: 6px 4px;
  }
}

@media screen and (orientation:portrait) and (min-height:650px) {
  .phone #lSong,.phone #lAlbum {
    white-space: unset;
    overflow: unset;
    text-overflow: unset;
  }
}

@media (orientation:landscape) {
  .phone .playliststr {
    font-size: 14px;
  }
  .phone .action img {
    padding: 4px 4px;
  }
  .phone .stop {
    top: 20px;
  }

  .sNum {
    width: 45px;
    padding-left: 16px;
  }
  .sLen {
    padding-right: 20px;
  }
  #playnow {
    margin-top: 20px;
    max-height: calc(100vh - 20px);
    max-height: calc(100 * var(--vh) - 20px);
  }
  .phone #playnow {
      padding: 20px 10px;
      margin-top: 0;
  }
  .phone #plist {
      margin-top: 0;
  }
  
  .phone #lAlbum {
    font-size: 1rem;
    line-height: 1rem;
  }
  .phone #lSong {
    font-size: 0.8rem;
    line-height: 0.8rem;
  }
  .phone .ctrlbtn-group {
    margin: 0 auto;
  }
  .phone .mbutton {
    display: none;
  }
  
  .phone .songstr {
    line-height: 2rem;
    font-size: 1rem;
  }
  
  #Image2 {
    width: 47vh;
    height: 47vh;
  }
  .songsblock {
    overflow-y: auto;
  }
  .albumBoxA{
    margin-left: 0;
  }
  #InfoBlock {
    width: 100%;
    padding: 0px 15px 0 15px;
  }
}

.progresswrap {
    width: 72%;
    margin: 0 auto;
    padding-bottom: 7px;
}

.phone .progresswrap,
.phone .ProgressText {
    width: 100%;
}

.ProgressDiv {
    height: 0.25rem;
    background: rgba(0,0,0,0.3);
}

#bRadio {
  padding: 6px 8px;
}

#bOpen,#bOpenadd {
  opacity: 0.85;
  padding: 6px 8px;
}

#bOpenadd {
    display:none;
}

#bPlay,#bPrev,#bNext {
  width: 64px;
}

#bPlay:hover,#bPrev:hover,#bNext:hover,#bSettings:hover,#bRadio,#bOpen,#bOpenadd:hover {
  cursor: pointer;
}


#bSettings {
    width: 32px;
    margin-top: 4px;
    vertical-align: middle;
}

#all {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: calc(100 * var(--vh));
    overflow: hidden;
}

#playnow,#plist {
    margin-top:30px;
}
.phone {
    top: 0 !important;
    height: unset !important;
}
.phone .topbar {
    position: unset !important;
    height: 44px !important;
}

.phone #playnow {
    max-height: 100vh;
    max-height: calc(100 * var(--vh)) !important;
}


.title div {
    max-height: 51px;
    overflow: hidden;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.2);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: #aaa;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

.form-select label { 
    width: 50%;
}
.form-select select { 
    background: rgba(225,229,235,1);
    color: #333;
    border-radius: 4px;
    width: !important;
    padding: 4px;
    margin-bottom: 14px;
}
.form-select select option{ 
    background: gray;
    color: white;
}
#header {
    color: white;
}
#tabs {
    text-align: initial;
    color: white;
}

.nav-tabs {
    margin-bottom: 20px;
}

#tabs1 {
    width: 100px;
    float: left;
}

#tab-content1 {
    margin-left: 120px;
    border-left: 1px solid rgba(255,255,255,0.1);
    padding: 0.5rem 1rem 0 1rem;
    height: calc(100vh - 200px);
    height: calc(100 * var(--vh) - 200px);
}

.phone #tab-content1 {
    margin-left: unset;
/*    height: calc(100 * var(--vh) - 200px);*/
    padding: 10px !important;
}

.phone #tabs1 {
    width: max-content !important;
    float: none;
    padding-right: 10px;
    border-bottom: 1px dotted #ccc;
}

.phone .scrolltabs {
    scrollbar-width: none;
    overflow-x: auto;
    width: 100vw;
    --webkit-overflow-scroll: touch;
}

.phone #breadWrapper {
    overflow-x: auto;
    width: 100vw;
    --webkit-overflow-scroll: touch;
}
.phone .scrolltabs::-webkit-scrollbar,
.phone #breadWrapper::-webkit-scrollbar
{
    display:none;
}
.phone .breadcrumb {
    width: max-content;
}

.form-check {
    height: 32px;
}
hr {
    border-top: 1px solid rgba(255,255,255,0.1);
}

#config_body input[type=text],
#redit input[type=text],
{
  background: rgba(225,229,235,1);
  border-radius: 4px;
  color: #333;
  margin-bottom: 18px;
  padding-left: 4px;
  padding-right: 4px;
}

.modal-content {
  border: 1px solid rgba(255,255,255,0.1);
  min-height: 400px;
  overflow-x: hidden;
  background: rgba(90,90,100,0.2);
  backdrop-filter: blur(30px); 
  -webkit-backdrop-filter: blur(30px); 
  -moz-backdrop-filter: blur(30px); 
}

/* Mozilla */
@-moz-document url-prefix() {

    .modal-content {
      background: #1e1e1e;
    }
    html {
      scrollbar-color: #aaa #333;
      scrollbar-width: thin;
    }
}

.phone .modal-content {
  background: rgba(40,40,50,1);
  backdrop-filter: none; 
  -webkit-backdrop-filter: none; 
}

.modal-header {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.modal-footer {
  border-top: 1px solid rgba(255,255,255,0.1);
}

.modal-body {
  padding:0;
  height:calc(100vh - 170px);
  height:calc(100 * var(--vh) - 170px);
  overflow:hidden;
}

.tab-pane {
    height:100%;
    overflow: auto;
}

.nav-link {
  color:white;
  width: 120px;
}

.no-touch .nav-link:hover {
    color:#007bff;
    border:none;
}
.nav-tabs .nav-link {
    border:unset !important;
}

.phone .nav-link {
    width: unset !important;
    padding: 5px !important;
}

.sEdit {
    width: 50px;
    padding: 0 15px;
}

.edit {
    display: none;
}

.songactive .edit {
    display: table-cell;
}

.nav-pills .nav-link.active{
    border-radius: unset;
}
#asound,#cards,#filters {
    background: #111;
    border-radius: 4px;
    color: #aaa;
    padding: 8px;
    width: 340px;
    height: 100px;
    overflow-y: auto;
    margin: 8px;
}

.close {
    color: white;
}

#status table {
    color: white;
    text-align: left;
    width: 100%;
}

#status table td {
    padding: 4px 5px;
}
.res1 label,.res2 label {
    width: 80px !important;
}

.res1 {
    width: 50%;
    float: left;
    padding-right: 10px;
}
.res2 {
    width: 50%;
    float: left;
    padding-left: 10px;
}

.switch label div {
    width: 50%;
    display: inline-block;
}
.switch label {
    width: 100%;
}
.radiodiv {
    float: left;
}
.radiodiv p:not(:first-child) {
    margin-bottom: 0;
}

.inputtext label {
    width: 50%;
}

.custom-select{
    background-color: #ccc !important;
}

#spinner {
    position:absolute;
    width:4rem !important;
    height:4rem !important;
    border:.4em solid #fff;
    top: 50%;
    left: 50%;
    margin-left: -2rem;
    margin-top: -2rem;
    display: none;
    border-right-color: transparent;
    z-index: 1500;
}

#tabs ul {
    margin: 0;
}

* {
    -webkit-overflow-scrolling: touch;
}

#redit .modal-body,
#saveplist .modal-body {
    color: white;
    padding: 20px 10px;
    height: unset;
}

#redit .inputtext label {
    text-align: left;
    width: 180px;
}
#redit .inputtext input {
    width: 300px;
}

#redit .modal-content,
#saveplist .modal-content {
    min-height: unset;
}
#saveplist input {
    width: 100%;
}

#library {
    background:rgba(200,200,200,0.1);
    height: 100vh;
    height: calc(100 * var(--vh));
}

.nav-pills .nav-link.active:hover {
    color: white;
}

#volumebox {
display:none;
}