html {
  margin: 0;
  padding: 0;
}

body {
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  background-color: black;
  color: #e5e1db;
  text-align: center;
  margin: 0;
  padding: 0;
}

#top {
  max-width: 100vw;
}

#wrapper {
  position: relative;
  min-height: 200px;
  width: 800px;
  text-align: left;
  margin: auto;
}

table {
  border-collapse: collapse;
}

ul {
  padding-left: 0px;
}

.no-select {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: -moz-none;
  -ms-user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.hidden {
  display: none;
}

.nowrap {
  white-space: nowrap;
}

#login_status {
  font-size: 0.8em;
  height: 40px;
}

h1 {
  text-align: center;
  font-size: 1.3em;
  padding-bottom: 5px;
  margin-bottom: 5px;
  font-weight: 500;
}

h2 {
  padding-bottom: 5px;
  margin-bottom: 0px;
}

hr {
  border: none;
  height: 1px;
  color: #888;
  background-color: #888;
}

a {
  color: #bbbbbb;
}

a.more {
  color: #fc1480;
  text-decoration: none;
  font-size: .8em;
  padding-left: 20px;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.left {
  text-align: left;
}

.section {
  margin-top: 20px;
  margin-bottom: 20px;
}

#additional_links {
  display: none;
  margin-top: 80px;
}

#navbar {
  padding-left: 5px;
  padding-right: 5px;
  margin-bottom: 2em;
}

.nav {
  text-align: center;
  margin-bottom: 30px;
  margin-left: 0px;
}

.nav .active a {
  color: #55b1ad;
}

#navbar ul {
  padding: 0;
  margin: 0;
}

#navbar li {
  display: inline;
  margin: 0px 5px;
  white-space: nowrap;
}

#enter_code {
  margin-top: 80px;
  margin-bottom: 80px;
}

#room_code input {
  margin: 2px 2px;
  padding: 5px;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
}

#bad_code {
  font-size: 90%;
  color: #EF4B5E;
  margin: 5px 5px;
}

.start-button {
  border-radius: 20px;
  padding: 12px 12px;
  background-color: #0061c1;
  color: white;
  width: 250px;
  min-width: 250px;
  margin: 20px 10px;

  z-index: 1;
  text-align: center;
  position: relative;
}

.start-button.continue {
  background-color: #0061c1;
}

.start-button.no-code {
  background-color: #22525c;
  border-radius: 22px;
  padding: 14px 10px;
}

.start-button::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  border-radius: 20px;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  opacity: 0;

  background: #d867c6;
  background: -webkit-linear-gradient(45deg, #c77ff2, #e8519e);
  background: -o-linear-gradient(45deg, #c77ff2, #e8519e);
  background: -moz-linear-gradient(45deg, #c77ff2, #e8519e);
  background: linear-gradient(45deg, #c77ff2, #e8519e);

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.start-button:hover::before {
  opacity: 1;
}

.start-button[disabled], .start-button[disabled]::before, .start-button.disabled::before {
  background: #999999;
}


.new:after, .new-true:after {
  position: relative;
  font-size: 0.8em;
  top: -0.55em;
  color: #DB4846;
  content: "new!";
  margin-right: -5px;
}

.beta:after {
  position: relative;
  font-size: 0.8em;
  top: -0.55em;
  color: #EAC634;
  content: "beta!";
  margin-right: -5px;
}

.title.new-true:after {
  font-size: 0.7em;
  margin-left: 3px;
}

#spinner {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
}

#loadingNotice {
  display: none;
  text-align: center;
  margin-top: 40px;
  font-size: 1em;
}

.note {
  font-size: 0.8em;
  margin: 5px 0px;
}

#query {
  font-size: 1em;
  margin: 10px 0px;
  width: 200px;
}

#reset {
  margin-right: 0px;
}

#searchResults {
  margin: 10px auto;
}

.badResults {
  text-align: center;
  font-style: italic;
  padding: 5px;
}

.startHidden {
  display: none;
}

tr.success {
  background-color: #034E4B;
}

tr.selected {
  background-color: #4D4467;
}

.resultHeader {
  text-align: center;
  font-size: 1.0em;
  font-weight: bold;
  color: rgb(253,136,100);
  padding: 5px;
  margin-top: 20px;
}

.resultsPage {
  display: none;
}

#footer {
  position: absolute;
  bottom: -200px;
  width: 100%;
  height: 35px;
}

.bottom-align {
  vertical-align: bottom;
}

ul.buttons {
  margin-left: 0px;
  padding-left: 0px;
}

ul.buttons li {
  list-style: none;
  display: inline-block;
  outline: none;
  cursor: pointer;
  text-align: center;
  font: 15px/100% Arial, Helvetica, sans-serif;
  text-shadow: 0 1px 1px rgba(0,0,0,.3);
  border: 1px;
  border-color: white;
  border-style: solid;
  padding: 0.5em 1em 0.55em;
  width: 70px;
  -webkit-border-radius: .8em;
  -moz-border-radius: .8em;
  border-radius: .8em;
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
  -moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
}

.blue {
  color: #E5E1DB;
  background: #00BCB5;
  background: -webkit-gradient(linear, left top, left bottom, from(#1eeddf), to(#07302e));
  background: -moz-linear-gradient(top,  #85E9E5,  #04ADA7);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#85E9E5', endColorstr='#04ADA7');
}

.blue:hover {
  background: #287573;
  background: -webkit-gradient(linear, left top, left bottom, from(#53B1AD), to(#287573));
  background: -moz-linear-gradient(top,  #53B1AD,  #287573);
  filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#53B1AD', endColorstr='#287573');
}

.blue.selected {
  background: #DB4846;
  background: -webkit-gradient(linear, left top, left bottom, from(#D67272), to(#BB2321));
  background: -moz-linear-gradient(top,  #D67272,  #BB2321);
  filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#D67272', endColorstr='#BB2321');
}

#socials {
  width: 100%;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  text-justify: distribute-all-lines;
}

#serviceCall {
  cursor: pointer;
  margin-top: 80px;
  margin-left: auto;
  margin-right: auto;
  width: 270px;
  padding: 8px 10px 12px 10px;
  border-radius: 20px;
  border: solid 1px #3b6c65;
}

#serviceCall.requested {
  background-color: #17a117;
}

#serviceCall.acknowledged {
  background-color: #1f61c4;
}

#serviceCall.rerequested {
  background-color: #579900;
}

#serviceCall .title {
  font-size: 1.3em;
  font-weight: bold;
}

#serviceCall .description {
  font-size: 0.85em;
}

.inlined {
  display: inline-block;
  margin-left: 20px;
  margin-right: 20px;
  vertical-align: middle;
}

table.sublist {
  width: 800px;
}

.twoRowTitleArtist {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.twoRowTitleArtist td {
  padding: 5px 10px 5px 0px;
}

.twoRowTitleArtist .title {
  font-size: 1.2em;
}

.twoRowTitleArtist .artist {
  font-size: 0.9em;
}

.twoRowTitleArtist .message {
  font-size: 0.8em;
}

.twoRowTitleArtist .handle {
  font-size: 0.8em;
}

#queue .twoRowTitleArtist .indicator {
  position: relative;
  padding-right: 5px;
}

.oneRowTitle td {
  padding: 0px 0px 0px 0px;
}

.oneRowTitle .indicator {
  position: relative;
  left: -1%;
}

.artist a {
  text-decoration: none;
}

#current_song .title {
  font-size: 1.8em;
}

#current_song .artist {
  font-size: 1.2em;
}

#current_song .message {
  font-size: 1.1em;
}

.favorite {
  text-align: left;
  vertical-align: middle;
  cursor: pointer;
  margin-top: -5px;
  height: 25px;
}

.favorited {
  color: rgb(43, 176, 170);
  font-size: 1.2em;
}

.favorite.in_progress {
  color: orange;
}

.rank {
  font-weight: bold;
  padding-right: 15px;
  font-size: 2em;
}

.rank.small {
  font-size: 1.3em;
}

td {
  vertical-align: middle;
}

td.favorite {
  width: 5%;
}

td.title {
  width: 70%;
}

td.code {
  width: 8%;
}

td.indicator {
  width: 1%;
  max-width: 1em;
  min-width: 1em;
  cursor: default;
}

td.enqueue {
  width: 12%;
}

td.title_artist {
  width: 70%;
  max-width: 100px;   /* prevent long words from overflowing */
}

td.time {
  width: 10%;
  text-align: right;
  padding-right: 1em;
  min-width: 4em;
}

tr.unavailable-true, tr.unavailable-true a {
  color: #7d7d7d;
}

.indicator .streaming {
  color: #db94e6;
  font-size: 0.5em;
  text-align: right;
}

#unavailableNotice {
  margin-top: 30px;
}

#categoryTitle {
  padding-top: 1.4em;
}

#categoryNotes {
  margin-top: 0em;
  color: #95b9b7;
}

.categoryGroup {
  overflow: hidden;
}

.categoryGroup h4 {
  margin-bottom: 5px;
}
.categoryGroup a {
  margin: 9px;
  line-height: 2em;
  white-space: nowrap;
}

#popupForm input#text {
  width: 80%;
  padding-left: 5px;
  margin: 10px 0px;
  font-size: 1.1em;
}

#forget {
  font-size: 0.8em;
  position: relative;
  margin-left: 8px;
}

#forget a {
  text-decoration: none;
}

#forget-clicked {
  opacity: 0;
  color: #00ff00;
}

#profileForm input {
  margin-bottom: 2em;
}

#profileForm .sp-replacer {
  margin-bottom: 1.5em;
}

#save {
  left: 8px;
  position: relative;
}

#save-done {
  opacity: 0;
  color: #00ff00;
}

#requestForm .field {
  font-size: 1em;
  width: 220px;
  margin: 5px 0px 25px 0px;
}

#requestForm #success {
  opacity: 0;
  color: #00ff00;
  margin-left: 8px;
  position: absolute;
}

.required {
  display: none;
  margin-top: 3px;
  margin-left: 10px;
  position: absolute;
  color: #FF0000;
}

.swipe-icon {
  position: absolute;
  overflow: hidden;
  left: 0px;
  top: 50px;
  width: 20px;
  height: 50px;
}

#current_song_wrapper {
  cursor: pointer;
  position: relative;
  margin-bottom: 1em;
}

#queue {
  cursor: pointer;
  position: relative;
}

#queue .spinner {
  background-image: url(/images/ajax-loader.gif);
  background-repeat: no-repeat;
  background-position: left center;
}

#current_song.spinner {
  background-image: url(/images/ajax-loader.gif);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 80px 80px;
}

.swipe-icon.will-swipe {
  font-weight: bold;
  font-size: 110%;
}

.swipe-icon > * {
  position: absolute;
  top: 50%;
  left: 50%;
  ms-transform: translate(-50%, -50%);
  transform:    translate(-50%, -50%);
}

.slip-swiping-container {
  overflow-x: hidden;
}

.slip-reordering {
  box-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

#queue .swipe-icon .left {
  background-color: #009666;
}

#queue .swipe-icon .right {
  background-color: #D62323;
}

#current_song_wrapper .swipe-icon .left {
  background-color: #9A009A;
}

#current_song_wrapper .swipe-icon .right {
  background-color: #006FCE;
}

#current_song.selected {
  background-color: #4D4467;
}

#controls {
  margin-bottom: 2em;
}

#controls .button {
  display: inline-block;
  -webkit-border-radius: 8;
  -moz-border-radius: 8;
  border-radius: 8px;
  color: #1f1f1f;
  background: #d8d8d8;
  font-size: 11px;
  padding: 5px 10px 5px 10px;
  margin-bottom: 5px;
  text-decoration: none;
  cursor: pointer;
  vertical-align: middle;
  text-align: center;
  line-height: 14px;
  height: 14px;
}

#controls .button.large {
  font-size: 12px;
  line-height: 24px;
  height: 24px;
}

#controls .button:not(.disabled):active {
  background: #888888;
}

#controls .button.disabled {
  color: #a5a5a5;
}

#volume_slider {
  width: 200px;
  margin-top: 10px;
  margin-bottom: 25px;
}

#pitch_zero {
  font-weight: bold;
}

.status_light {
  position: fixed;
  top: 1px;
  left: 1px;
  width: 3px;
  height: 3px;
  background-color: red;
}

.status_light.ok {
  background-color: green;
}

.status_light.refreshing {
  background-color: yellow !important;
}

#vbrt_status {
  left: 1px;
}

#vblive_status {
  left: 6px;
}

.help {
  margin: 5px 5px 25px 5px;
  font-size: 90%;
}

.roulette #refreshButton {
  width: 186px;
  height: 186px;
  cursor: pointer;
  background-image: url(/images/roulette.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 186px 186px;
}

.spin{-webkit-animation:spin 2.5s ease-out infinite; animation:spin 2.5s ease-out infinite}
@-webkit-keyframes spin{2%{-webkit-transform:rotate(0deg); transform:rotate(0deg)} 100%{-webkit-transform:rotate(1080deg); transform:rotate(1080deg)}}
@keyframes spin{2%{-webkit-transform:rotate(0deg); transform:rotate(0deg)} 100%{-webkit-transform:rotate(1080deg); transform:rotate(1080deg)}}

.autocomplete {
  font-size: 0.9em;
  border: 1px solid #222;
  background: #111;
  cursor: pointer;
  text-align: left;
  max-height: 350px;
  overflow: auto;
  margin: 6px 6px 6px -6px;
}
.autocomplete .selected { background: #444444; }
.autocomplete div { padding: 2px 5px; white-space: nowrap; }
.autocomplete strong { font-weight: normal; color: #1481E6; }
