* {
  xfont-family: Verdana, Arial, Helvetica, sans-serif;
  xfont-size: 11px;
  xmargin-top: 0px;
  xmargin-bottom: 0px;
}

html {
  background-color: #343a40;
}

body {
  /*filter: blur(1px);*/
  /* @see https://developers.google.com/web/updates/2017/11/overscroll-behavior */
  xtouch-action: none; /* prevent scrolling */
  overscroll-behavior-y: none; /* glow disabled on scrolling. */
}

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

::-webkit-scrollbar-thumb {
  background: #333;
  border: 1px solid grey;
  border-radius: 100px;
  box-shadow: inset 0 0 6px #0000004d;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #cccdcf;
}

#list_container {
  scroll-snap-type: y mandatory;
}
#list_container a {
  scroll-snap-align: center;
}
#mainContainer {
  width: 100%;
  height: 100%;
  background-color: white;
}
#toolbar {
  padding: 4px;
  display: inline-block;
}
.picture_container {
  cursor: pointer;
}
.song-info div {
  font-size: 13px;
}

h3 {
  font-size: 12px;
  margin: 0px 0px 15px 0px;
  padding: 0px;
}
fieldset {
  margin: 0px 0px 10px 0px;
  padding: 5px;
  border: 1px solid #aaaaaa;
}
.result_table {
  margin: 0px 0px 0px 0px;
  border: 1px solid #aaaaaa;
  empty-cells: show;
  border-collapse: collapse;
}
.result_table th {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: bold;
  padding: 4px;
  border: 1px solid #aaaaaa;
  color: #353535;
  background-color: #fff2ba;
}
.result_table td {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  padding: 2px 4px 2px 4px;
  border: 1px solid #aaaaaa;
  color: #353535;
}
.select {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  width: 200px;
}

.picture_container {
  width: 180px;
  height: 200px;
  border: 1px solid #999999;
  box-shadow: 1px 1px 5px #888888;
  margin: 3px;
  float: left;
  text-align: center;
}

.picture_container_corrupted {
  border: 1px solid #992222;
  box-shadow: 1px 1px 5px #880000;
}

.picture {
  width: 180px;
  height: 140px;
  text-align: center;
}

.slide {
  xxxbackground-color: white;
  margin: 2px;
}
a img {
  text-decoration: none;
  border: 0 none;
}
#info_container {
  position: absolute;
  left: 0;
  top: 0;
  border: 1px solid black;
  z-index: 10;
  background-color: #cccccc;
  overflow: auto;
}

.ui-autocomplete {
  max-height: 300px;
  overflow-y: auto;
  /* prevent horizontal scrollbar */
  overflow-x: hidden;
}

#gallery {
  width: 100%;
  height: 500px;
  border: 1px solid #ccc;
  overflow: auto;
}

.playlistElement {
  background-color: white;
  color: black;
  text-decoration: none;
  display: block;
  width: 100%;
}
.playlistElementImg {
  display: block;
  float: left;
  width: 24px;
}
.playlistElementSeq {
  width: 100;
  float: left;
  padding-top: 5px;
  text-align: right;
}

.playlistElementTitle {
  display: block;
  float: left;
  padding-top: 5px;
}

.playlistElementDuration {
  display: block;
  width: 100;
  margin-left: 2px;
  padding-top: 5px;
  float: right;
}

.playlistElement:hover {
  xxbackground-color: blue;
  color: blue;
}

.picture_icons {
  position: relative;
  width: 178px;
  padding: 2px 2px 0px 0px;
}
.picture_icons img {
  float: right;
  display: block;
  opacity: 0.2;
}
.picture_icons img:hover {
  opacity: 1;
  xborder: 1px solid #aaaaaa;
}

#song-image img {
  box-shadow: 1px 1px 5px #888888;
}

#playlistElement {
  cursor: hand;
}

/*  LOGIN */
.login-dialog {
  width: 360px;
  padding: 8% 0 0;
  margin: auto;
}

.login-dialog .form {
  position: relative;
  z-index: 1;
  background: #ffffff;
  max-width: 360px;
  margin: 0 auto 100px;
  padding: 45px;
  text-align: center;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}

.login-dialog .form input {
  font-family: "Roboto", sans-serif;
  outline: 0;
  background: #f2f2f2;
  width: 100%;
  border: 0;
  margin: 0 0 15px;
  padding: 15px;
  box-sizing: border-box;
  font-size: 14px;
}

.login-dialog .form input[type="button"] {
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  outline: 0;
  background: #4caf50;
  width: 100%;
  border: 0;
  padding: 15px;
  color: #ffffff;
  font-size: 14px;
  -webkit-transition: all 0.3 ease;
  transition: all 0.3 ease;
  cursor: pointer;
}
.login-dialog .form input[type="button"]:hover,
.form input[type="button"]:active,
.form input[type="button"]:focus {
  background: #43a047;
}

#playlistContainer {
  border: 1px solid #999999;
  box-shadow: 1px 1px 5px #888888;
  margin: 3px;
  padding: 0px;
  float: left;
  text-align: center;
  display: none;
}

#playlistContainer #playlist {
  float: left;
  display: block;
  float: left;
  border: 1px solid #888888;
  width: 420px;
  height: 108px;
  overflow: auto;
}

#playlistContainer #playlistName {
  font-weight: bold;
  text-align: left;
  margin: 5px;
  float: left;
  width: 420px;
}

#playlistContainer #playlistInfoId {
  font-weight: bold;
  text-align: left;
  margin: 5px;
}

#mobileCheck {
  xdisplay: none;
}

/* BOOTSTRAP HERE */

::-moz-selection {
  background-color: #f33;
  color: #000;
}
::selection {
  background-color: #007bff;
  color: #fff;
}

@media (orientation: landscape) {
}

@media (max-width: 767px) {
  .list-group-item {
    padding: 0.5rem 1rem;
    background-color: #464545;
    color: white;
  }
  .list-group-item-action:active,
  .list-group-item-action:focus,
  .list-group-item-action:hover {
    background-color: #464545 !important;
    color: #fff;
    xtext-decoration: none;
    /* background-color: #f8f9fa; */
  }

  .music-main-search {
    xwidth: calc(100% - 100px);
  }
  .music-mobile-progress-bar {
    position: absolute;
    top: 51px;
    width: calc(100vw - 2rem);
    height: 2px;
  }
  .music-mobile-progress-bar div {
    background-color: #007bff;
    width: 0px;
    height: 100%;
  }
}

@media (max-width: 767px) and (orientation: landscape) {
  .music-md-info-container {
    display: none;
  }
  .music-jumbotron-container {
    xxxborder: solid red 1px;
    overflow-y: scroll;
    overflow-x: hidden;
    margin-top: 56px;
    height: calc(100vh - 56px);
  }
  .music-jumbotron-sd-landscape-padding {
    padding-left: 40%;
  }
  .music-sd-info-container {
    width: 40%;
    position: fixed;
    height: calc(100vh - 56px);
    padding: 8px;
  }
  .music-sd-info-container > div {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  .music-sd-button-space {
    margin: auto;
    margin-top: 15px;
  }
}

@media (max-width: 767px) and (orientation: portrait) {
  .music-md-info-container {
    display: none;
  }
  .music-jumbotron-container {
    position: absolute;
    top: 294px; /* 240px - 56px*/
    xxborder: 1px solid red;
    overflow-y: scroll;
    overflow-x: hidden;
    xxxmargin-top: 56px;
    height: calc(100vh - 294px);
    xxxheight: 200px;
    width: 100%;
  }
  .music-sd-info-container {
    top: 56px;
    width: 100%;
    position: fixed;
    height: 240px;
    padding: 0px;
    xxxborder: 1px solid red;
  }
  .music-sd-button-space {
    margin: auto;
    margin-top: -5px;
  }
}

@media (min-width: 767px) {
  .music-sd-info-container {
    display: none;
  }

  .music-jumbotron-container {
    overflow-y: scroll;
    overflow-x: hidden;
    margin-top: 55px;
    position: relative;
    top: 163px;
    overflow-y: scroll;
    overflow-x: hidden;
    height: calc(100vh - 219px);
    width: 100%;
    border-top: 1px solid #868e96;
  }

  .music-md-info-container {
    position: absolute;
    top: 58px;
    xxxwidth: 100%;
    xxxmax-width: 100%;
    xxxborder: 1px solid red;
    height: 100px;
  }

  .music-main-search {
    xwidth: calc(100% - 1050px);
  }
}

.music-jumbotron {
  padding-top: 0px;
}

.radio-mode {
  color: #007bff;
  background-color: transparent;
  border-color: #007bff;
  cursor: pointer;
}
.radio-mode.active {
  color: #fff;
}

.music-main-search {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.music-main-search-menu {
  margin-left: -1rem;
  border-radius: 0.25rem;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* AUTOCOMPLETE */
.ui-autocomplete {
  position: fixed;
  z-index: 10000;
  cursor: default;
  padding: 0;
  margin-top: 2px;
  list-style: none;
  background-color: #ffffff;
  border: 1px solid #ccc;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  overflow-y: scroll;
  overflow-x: hidden;
  color: #111;
  max-height: 300px;
  min-width: 330px;
  max-width: calc(100% - 100px);
}
.ui-autocomplete > li {
  padding: 3px 20px;
  white-space: nowrap;
  overflow: hidden;
}
.ui-autocomplete > li:hover {
  background-color: #868e96;
  border-color: #868e96;
  color: #fff;
}
/* END OF AUTOCOMPLETE */

.music-info-text {
  font-size: 1rem;
  color: #aaa;
  background-color: #343a40;
  width: 100%;
  xpadding: -6px;
  xmargin: -1px;
  xborder: 1 px solid red;
  border: 0;
  xmargin-left: -2px;
  margin-top: -2px;
  xmargin-left: -2px;
  padding: -2px 0;

  xline-height: 1.25;
  xcolor: #495057;
  xbackground-color: #fff;
  xbackground-image: none;
  xbackground-clip: padding-box;
  xborder: 1px solid rgba(0, 0, 0, 0.15);
  xborder-radius: 0.25rem;
  xtransition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
.music-info-text::-webkit-input-placeholder {
  color: #535353;
}
.music-info-text-big {
  font-size: 1.25rem;
  padding: 2px 0;
}

.music-info-text-small {
  font-size: 0.75rem;
  padding: -2px 0;
}

/* TEMPORARY BACKGROUND-COLOR */
.bg-black {
  background-color: #343a40;
  color: #007bff;
}
/* TEMPORARY FONT */
#voteContainer {
  font-size: 0.6rem;
}
/* TEMPORARY FONT */
@media (max-width: 767px) {
  #form {
    display: none;
  }
  #voteContainer {
    display: none !important;
  }
  #playerContainer {
    padding-top: 0px !important;
  }
}
/* Start of "Star Button" */
.star-rating {
  color: #ee8b2d;
  background-color: transparent;
  border: 1px solid transparent;
  border-color: #ee8b2d;
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  border-radius: 0.25rem;
  cursor: pointer;
  padding: 5px;
}
.star-rating:hover {
  color: white;
  background-color: #ee8b2d;
}
/* End of "Star Button" */

/* Start of "Main Search" */
.mainSearchContainer {
  width: calc(100vw - 9.5rem);
  min-width: 100px;
  max-width: 600px;
}
#mainSearch {
  xmin-width: 200px;
  xmax-width: calc(100vw - 150px);
}
@media (max-width: 250px) {
  .mainSearchContainer {
    display: none;
  }
}
/* End of "Main Search" */

/* Start of "Autocomplete" */
.ui-autocomplete {
  position: fixed;
  z-index: 10000;
  cursor: default;
  padding: 0;
  margin-top: 2px;
  list-style: none;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  overflow-x: hidden;
  color: #111;
  max-height: 300px;
  min-width: 330px;
  max-width: calc(100% - 100px);
}
.ui-autocomplete > li {
  padding: 3px 20px;
  white-space: nowrap;
  overflow: hidden;
}
.ui-autocomplete > li:hover {
  background-color: #868e96;
  border-color: #868e96;
  color: #fff;
}
/* End of "Autocomplete" */

/* Start of "Advanced Search" */
#frmAdvancedSearch {
  top: 58px;
  position: fixed;
  z-index: 10000;
  cursor: default;
  padding: 0;
  margin-top: 2px;
  list-style: none;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  overflow-x: hidden;
  color: #111;
  xmax-height: 300px;
  xmin-width: 330px;
  xmax-width: calc(100% - 100px);
  padding: 1.5em 0.3em;
  display: none;
}

.btn-player-disabled {
  color: #ccc;
}
.btn-player-disabled:hover {
  color: #aaa;
}

/* Font su mobile */
a.bg-light,
a.bg-light:focus,
a.bg-light:hover {
  color: #0056b3 !important;
}

/* End of "Advanced Search" */

/* bottom tooltip */
.music-tooltip-bottom {
  position: fixed;
  bottom: 5px;
  left: 2%;
  width: 95%;
  background-color: #343a40;
  color: #868e96;
  text-align: center;
  display: none;
  opacity: 0.95;
}

.offline {
  background-color: #868e96;
  border: 0px;
}
.offline::placeholder {
  color: #ccc;
}
.broken-audio {
  border: 1px solid red;
}
.broken-audio-mobile {
  border: 1px solid red;
  margin: 1px;
}
.not-own-audio {
  border: 1px solid #666;
}
.not-own-audio-mobile {
  border: 1px solid #666;
  margin: 1px;
}

#sidebar {
  overflow-x: hidden;
  overflow-y: auto;
}

ul.music-navbar-left {
  margin-left: -4px;
}

ul.music-navbar-left > li {
  margin-left: 12px;
}

/* Scrollbar */
/* #343a40 */
::-webkit-scrollbar {
  /* Don't remove */
}

::-webkit-scrollbar-track:hover {
  background-color: #474e56;
}

::-webkit-scrollbar-thumb {
  background-color: #9a9da0;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #cccdcf;
}
.bufferingSpinner {
  width: 100%;
}
.bufferingSpinner img {
  position: absolute;
  left: calc(50% - 110px);
  z-index: 21000;
}

#playlist-editor-container {
  display: hidden;
  float: left;
  width: 350px;
  height: calc(100vh - 220px);
  position: fixed;
  border-right: 1px solid #868e96;
}
