@font-face {
    font-family: 'FontAwesome';
    font-weight: 400;
    font-style: normal;
    src: local('FontAwesome'), local('FontAwesome'), url(/fonts/fontawesome-webfont.woff) format('woff');
}
html {
  background-color: black;
  height: 100%;
}
body {
  cursor: default;
  overflow: hidden;
  font-family: 'Helvetica', sans-serif;
  color: rgba(255, 255, 255, 0.35);
  background-color: black;
  margin: 0;
  height: 100%
}
body.playlists {
  overflow: unset;
}
div#video-background {
  z-index: -99;
  position: fixed;
  bottom: 0px; right: 0px;
  width: 100%;
  height: 100%
}
div#volume {
  position: absolute;
  top: 50%; left: 50%;
  display: none;
  text-align: center;
  vertical-align: middle;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
}
div#video-background-cover {
  z-index: -89;
  position: fixed;
  bottom: 0px; right: 0px;
  width: 100%;
  height: 100%;
}
a {
  text-decoration: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.55);
}
a:hover {
  text-decoration: underline;
}
div.video-container {
  position: relative;
}
div#player {
  /*z-index: 99;*/
  position: fixed;
  top: 50px;
  width: 10%;
  text-align: center;
}
div#player iframe {
  width: 100%;
}
div#overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
div#services {
  width: 330px;
  margin: 20px auto;
}
div#services a img {
  width: 150px;
}
div#services a#spotify img {
  margin-right: 20px;
}
div#playlists ul.playlists {
  list-style: none;
  padding: 0;
}
div#playlists li.playlist {
  display: flex;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.55) !important;
  align-items: center;
}
div#playlists li.playlist a {
  display: flex;
  color: rgba(255, 255, 255, 0.55) !important;
  align-items: center;
  width: 100%;
}
div#playlists li.playlist a:hover {
  background-color: rgba(200, 200, 200, 0.5);
  text-decoration: none;
  color: rgba(255, 255, 255, 1.0);
}
div#playlists li.playlist a img {
  width: 120px;
  height: auto;
  margin: 1em;
}
div#playlists li.playlist .name {
  text-align: center;
}
div#playlists ul.tracks {
  display: none;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}
div#playlists ul.tracks.revealed {
  display: flex;
}
div#playlists li.track {
  color: rgba(255, 255, 255, 0.55) !important;
  width: 100%;
  white-space: nowrap;
}
div#playlists li.track a {
  color: rgba(255, 255, 255, 0.55) !important;
  padding-top: 1em;
  padding-left: 1em;
  padding-bottom: 1em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  box-sizing: border-box;
}
div#playlists li.track a:hover {
  background-color: rgba(200, 200, 200, 0.5);
  text-decoration: none;
  color: rgba(255, 255, 255, 1.0);
}
div#playlists li.track span {
  font-size: 0.8em;
}
div.menubar {
  position: relative;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.35) !important;
  background-color: rgba(0, 0, 0, 0.25);
  display: inline-flex;
  width: 100%;
}
div#menubar-secondary {
  float: left;
  /*width: 100%;*/
  display: flex;
}
div.menus {
  z-index: 6;
  float: left;
  white-space: nowrap;
}
div.menus a {
  padding: 0.6em 1em;
  display: inline-flex;
}
div.search {
  float: right;
  width: 40%;
  margin: 5px auto;
}
.search div.wrapper, li.search div.wrapper {
  width: 100%;
  display: inline-flex;
  white-space: nowrap;
}
.search div.input {
  display: inline-flex;
  width: 60%;
}
.search div.input input#q {
  font-size: 0.8em;
  color: rgba(255, 255, 255, 0.75);
  background-color: rgba(255, 255, 255, 0.15);
  border: none;
  width: 100%;
  padding: 0.5em 0px;
  padding-left: 0.5em;
}
.search div.input input#q:hover {
  background-color: rgba(255, 255, 255, 0.20);
}
.search div.button {
  font-size: 0.8em;
  display: inline-block;
  color: rgba(255, 255, 255, 0.75);
  background-color: rgba(255, 255, 255, 0.20);
  vertical-align: middle;
  padding: 0.65em 1em 0.35em;
  margin-left: 3px;
  cursor: pointer;
  /*display: inline-block;*/
}
.search div.button a#search {
  width: 60px;
}
.search div.button a#primary-search-button {
  display: inline-block;
}
.search div.button a#secondary-search-button {
  display: inline-block;
}
.search div.button:hover a#search {
  text-decoration: none;
  color: rgba(255, 255, 255, 1.0);
}
div.options {
  float: right;
  margin-left: auto;
  font-weight: bold;
  display: inline-flex;
}
div.options a {
  padding: 0.6em 1em;
  display: inline-flex;
}
div.options:hover a {
  text-decoration: none;
  color: rgba(255, 255, 255, 1.0);
}
div.menu {
  position: absolute;
  top: 100%;
  display: none;
  color: rgba(255, 255, 255, 0.35);
  background-color: rgba(0, 0, 0, 0.25);
  overflow: hidden;
  left: 0px;
  z-index: 10;
}
div.menu div {
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0;
  white-space: nowrap;
  margin-right: -50px;
  padding-right: 50px;
}
ul {
  list-style-type: none;
}
div.menu ul li {
  list-style-type: none;
  line-height: 1.1em;
  color: rgba(255, 255, 255, 0.55) !important;
  padding: 1em;
  margin-left: -2em;
  width: 100%;
  cursor: pointer;
  white-space: nowrap;
}
div.menu ul li span {
  font-size: 0.8em;
}
div.menu ul li:hover {
  background-color: rgba(255, 255, 255, 0.22);
}
div.menu ul li:hover a {
  text-decoration: none;
  color: rgba(255, 255, 255, 1.0);
}
div.menu ul li.selected {
  text-decoration: none;
  color: rgba(255, 255, 255, 1.0);
  background-color: rgba(255, 255, 255, 0.32);
}
div.menu#config-menu li.search {
  display: none;
}
div.menu#config-menu li.search div.input input#q {
  width: 50%;
}
div.menu#config-menu {
  right: 0px;
  font-size: 0.8em;
  float: right;
  padding-right: 1.5em;
  left: auto;
}
input[type=checkbox], input[type=radio],
input[type=checkbox] + label, input[type=radio] + label {
  cursor: pointer;
}
div.menu li.section p {
  font-size: 0.8em;
}
div.share {
  display: none;
}
span#sharenote {
  font-size: 0.5em;
  font-weight: bold;
  color: gray;
  margin-top: 0.6em;
  margin-left: 1em;
}
a#amazonnote {
  font-size: 0.5em;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.85);
  margin-left: 1em;
  padding-right: 1em;
}
div.controlsbar {
  position: fixed;
  bottom: 0px; left: 0px;
  height: 3em;
  width: 100%;
  white-space: nowrap;
  vertical-align: center;
  border-top: 2px dotted rgba(255, 255, 255, 0.65);
  border-bottom: 6px solid transparent;
  background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.65)), to(rgba(255, 255, 255, 0.25)));
  background: -moz-linear-gradient(left, rgba(0, 0, 0, 0.65), rgba(255, 255, 255, 0.25));
  filter: progid:DXImageTransform.Microsoft.gradient(gradientyype=0, startColorstr='#55000000', endColorstr='#25ffffff');
  -ms-filter: progid:DXImageTransform.Microsoft.gradient(gradientyype=0, startColorstr='#55000000', endColorstr='#25ffffff');
}
div.controls {
  display: inline-flex;
}
div#buttons {
  display: inline-flex;
  padding-top: 0.75em;
  padding-left: 30px;
}
div#buttons a {
  color: rgba(255, 255, 255, 0.55);
  min-width: 35px;
  max-height: 30px;
}
div#buttons a#play, div#buttons a#pause {
  font-family: 'FontAwesome';
}
div#buttons a#pause {
  display: none;
}
div#buttons a#play:hover, div#buttons a#pause:hover {
  text-decoration: none;
}
div#buttons a:hover {
  color: rgba(255, 255, 255, 0.85) !important;
}
div#buttons a#play {
  font-size: 30px;
  display: none;
}
div#buttons a#pause {
  font-size: 30px;
}
div#pan {
  min-width: 35px;
  height: 30px;
  padding-top: 0.75em;
  padding-left: 1em;
}
div.crust {
  background-color: rgba(255, 255, 255, 0.55);
  position: absolute;
  width: 30px;
  height: 30px;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  -o-border-radius: 15px;
  border-radius: 15px;
} 
div.pie {
  position: absolute;
  width: 30px;
  height: 30px;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  -o-border-radius: 15px;
  border-radius: 15px;
  clip: rect(0px, 15px, 30px, 0px);
}
div.hold {
  position: absolute;
  width: 30px;
  height: 30px;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  -o-border-radius: 15px;
  border-radius: 15px;
  clip: rect(0px, 30px, 30px, 15px);
}
div#first .pie { background-color: rgba(255, 255, 255, 0.25); }
div#second .pie { background-color: rgba(255, 255, 255, 0.25); }
div#second { background-color: rgba(0, 0, 0, 0.0);
  -webkit-transform:rotate(180deg);
  -moz-transform:rotate(180deg);
  -o-transform:rotate(180deg);
  transform:rotate(180deg);
}
div#status {
  display: inline-flex;
  height: 30px;
}
div#meta-links {
  float: right;
  height: 3em;
  line-height: 1.4em;
  display: inline-flex;
  /*position: relative;*/
  text-align: left;
  background-color: rgba(0, 0, 0, 0.75);
}
div#meta-links p {
  margin: 0;
  position: absolute;
  top: 50%;
  transform: translate(-110%, -50%);
  text-align: left;
}
div#meta-links span {
  font-size: 0.8em;
  padding-top: 1em;
  text-align: left;
}
div#colophon {
  z-index: -88;
  position: fixed;
  bottom: 6px;
  right: 0px;
  height: 3em;
  display: inline-flex;
}
div#debugging {
  position: absolute;
  padding: 0px 0px 0px 25px;
  bottom: 3.5em; left: 0px;
  border: 1px solid #d3d3d3;
  background-color: rgba(255, 255, 255, 0.4);
  text-align: right;
  z-index: 12;
}
div#debugging div {
  padding-top: 12px;
}
img#preview {
  display: none;
}

/* Samsung Galaxy S4 Active portrait */
/* Samsung Galaxy S5 portrait */
/*@media screen and (max-width: 480px) and (max-device-width: 480px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 3) and (device-aspect-ratio: 9/16) {*/
@media screen and (max-width: 480px) {
  div.menubar {
    font-size: 1.25em;
  }
  div.search, div#tos, div#colophon {
    display: none;
  }
  div.menu {
    /*position: relative;
    top: auto;*/
    position: absolute;
    top: 100%;
    width: 100%;
    display: none;
    color: rgba(255, 255, 255, 0.35);
    background-color: rgba(0, 0, 0, 0.25);
    overflow: hidden;
    left: 0px;
    z-index: 10;
  }
  div.menu div {
    width: 100%;
  }
  div.menu div ul {
    width: 100%;
  }
  div.menu#config-menu {
    /*position: inherit;
    font-size: 1em;
    width: 50%;
    float: right;
    left: inherit;*/
    right: 0px;
    width: 100%;
    font-size: 0.8em;
    float: right;
    padding-right: 1.5em;
    left: auto;
  }
  div.menu#config-menu li.search {
    display: inherit;
  }
  .search div.input {
    display: inline-flex;
    width: 80%;
  }
  div.menu#config-menu li.search div.input input#q {
    width: 90%;
  }
  div#buttons {
    padding-top: inherit;
  }
  div#pan {
    padding-top: inherit;
  }
  div#status {
    margin-top: 1em;
  }
  a#videolink {
    pointer-events: none;
    cursor: default;
  }
  div.scroll-left {
    overflow: hidden;
  }
  div.scroll-left p {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    text-align: center;
    /* Starting position */
    -moz-transform:translateX(100%);
    -webkit-transform:translateX(100%);  
    transform:translateX(100%);
    /* Apply animation to this element */  
    -moz-animation: scroll-left 20s linear infinite;
    -webkit-animation: scroll-left 20s linear infinite;
    animation: scroll-left 15s linear infinite;
    z-index: -87;
  }
  /* Move it (define the animation) */
  @-moz-keyframes scroll-left {
    0%   { -moz-transform: translateX(100%); }
    100% { -moz-transform: translateX(-130%); }
  }
  @-webkit-keyframes scroll-left {
    0%   { -webkit-transform: translateX(100%); }
    100% { -webkit-transform: translateX(-130%); }
  }
  @keyframes scroll-left {
    0%   { 
      -moz-transform: translateX(100%); /* Browser bug fix */
      -webkit-transform: translateX(100%); /* Browser bug fix */
      transform: translateX(100%);     
    }
    100% { 
      -moz-transform: translateX(-130%); /* Browser bug fix */
      -webkit-transform: translateX(-130%); /* Browser bug fix */
      transform: translateX(-130%); 
    }
  }
}

/* Samsung Galaxy S4 Active landscape */
/*@media screen and (max-device-width: 360px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 3) and (device-aspect-ratio: 9/16) {*/
@media screen and (max-device-width: 480px) and (orientation: landscape) {
  div#search {
    float: left;
    width: 10%;
  }
}
