html, body {
  font-family: 'Helvetica Neue', sans-serif;
  padding: 0;
  margin: 0;
  font-size: 1em;
}

h1, h2, h3, h4, h5, h6, p, div, td {
  margin:0;
  padding: 0;
  font-size: 1em;
  font-weight: normal;
}

a {
  text-decoration: none;
}

.hidden {
  display: none;
}

/* Prevent text selection */
.prevent-selection {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.container {
  position: relative;
  min-width: 150px;
  padding: 0 7px;
}

#sm2-container {
  height: 8px;
  width: 8px;
  overflow: hidden;
}

#player_controls {
  height: 33px;
  clear: both;
  position: relative;
}

#play_button {
  outline: none;
  width: 33px;
  height: 33px;
  background: url(/media/embeddable_player/img/player-sprites.png) no-repeat;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
}

#play_button.playing {
  background-position: -33px 0;
}

#play_button.playing:hover, #play_button.playing:focus {
  background-position: -33px -33px;
}

#play_button.paused {
  background-position: 0 0;
}

#play_button.paused:hover, #play_button.paused:focus {
  background-position: 0 -33px;
}

.volume {
  width: 35px;
  height: 12px;
  margin: 10px 0 0;
  float: right;
  position: relative;
  cursor: pointer;
}

.volume-block {
  width: 3px;
  padding-left: 2px;
  height: 100%;
  float: left;
  background-color: white;
  background-clip: content-box;
  opacity: 0.4;
  filter: alpha(opacity=40);
  -webkit-transition: -webkit-transform 0.25s linear;
  -webkit-transform-origin: 0 100%;
  -moz-transition: -moz-transform 0.25s linear;
  -moz-transform-origin: 0 100%;
  -o-transition: -o-transform 0.25s linear;
  -o-transform-origin: 0 100%;
  -ms-transition: -ms-transform 0.25s linear;
  -ms-transform-origin: 0 100%;
  transition: transform 0.25s linear;
  transform-origin: 0 100%;
}

.volume-block.hover {
  -webkit-transition-duration: 0s;
  -webkit-transform: scaleY(1.3);
  -moz-transition-duration: 0s;
  -moz-transform: scaleY(1.3);
  -o-transition-duration: 0s;
  -o-transform: scaleY(1.3);
  -ms-transition-duration: 0s;
  -ms-transform: scaleY(1.3);
  transition-duration: 0s;
  transform: scaleY(1.3);
}

.volume-block.set {
  opacity: 1;
  filter: alpha(opacity=100);
}

.volume-block:first-child {
  margin-left: 0;
}

.menu-toggle {
  width: 42px;
  height: 33px;
  float: right;
  background: none;
  position: relative;
}

  .menu-toggle .button {
    position: absolute;
    top: 5px;
    left: 10px;
    width: 22px;
    height: 22px;
    background: url(/media/embeddable_player/img/player-sprites.png) no-repeat -97px -6px;
    cursor: pointer;
  }

  .menu-toggle .button:hover {
    background-position: -97px -39px;
  }

  .menu-toggle .button.active, .menu-toggle .button.active:hover {
    background-position: -97px -72px;
  }

.sharing-item {
  float: right;
  margin: 5px 8px 0 0;
  font-size: 0.6em;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  zoom: 1;
}

.sharing-button {
  overflow: hidden;
  position: relative;
  background: url(/media/embeddable_player/img/player-sprites.png) no-repeat 0 0;
}

.sharing-button a {
  display: block;
  position: relative;
  width: 22px;
  height: 22px;
}

.twitter {
  background-position: -153px -6px;
}

.twitter:hover {
  background-position: -153px -39px;
}

.facebook {
  background-position: -125px -6px;
}

.facebook:hover {
  background-position: -125px -39px;
}

.email {
  background-position: -181px -6px;
}

.email:hover {
  background-position: -181px -39px;
}

.embed {
  width: 198px;
  height: 22px;
  position: relative;
  overflow: hidden;
  margin-right: 0;
}

.embed .embed-label, #embed_field {
  float: right;
  cursor: pointer;
}

/*
Hide the embed code field if the player isn't wide enough to accommodate
both it and the sharing buttons.
*/
@media (max-width: 370px) {
  .embed {
    display: none;
  }
}

.embed-label {
  width: 35px;
  height: 100%;
  color: #373737;
  line-height: 23px;
  padding: 0 5px 0 6px;
  margin: 0;
  background: rgba(255, 255, 255, 0.9);
  /* The IE equivalent of an rgba background */
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#90ffffff,endColorstr=#90ffffff);
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
}

#embed_field {
  height: 22px;
  width: 140px;
  padding: 0 6px;
  outline: none;
  border: 0;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  text-transform: none;
  line-height: 23px;
}

#player_controls {
  width: 100%;
  min-width: 170px;
}

#play_button {
  width: 33px;
  float: left;
  position: relative;
}

.midsection {
  margin: 0 42px 0 33px;
  position: relative;
  left: 0;
  width: auto;
  height: 100%;
}

.midsection.no-sharing {
  margin-right: 12px;
}

.sharing-menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#playback_controls {
  height: 100%;
}

  #volume {
    width: 33px;
    float: right;
  }

  #progress_controls {
    height: 100%;
    margin-right: 33px;
  }

    #progress_controls label {
      line-height: 33px;
      width: 30px;
      padding: 0 5px;
      font-size: 0.6em;
    }

      #progress_controls.long-time-display label {
        width: 50px;
      }

    #progress_controls .current-time {
      float: left;
      text-align: right;
    }

    #progress_controls .total-time {
      float: right;
    }

    #progress_controls .progress-wrapper {
      width: auto;
      height: 100%;
      /* The #progress_controls label width + padding */
      margin: 0 40px;
      padding: 0;
      float: none;
      position: relative;
    }

      #progress_controls.long-time-display .progress-wrapper {
        margin: 0 60px;
      }

      .progress-wrapper .progress-bar {
        position: relative;
        top: 11px;
        width: auto;
        float: none;
        height: 10px;
      }

        .progress-bar .progress-fill {
          height: 10px;
          position: absolute;
          top: 0;
          left: 0;
        }

        .progress-bar .progress-background {
          border: 1px solid #fff;
          height: 8px;
          width: auto;
          position: relative;
        }


        .progress-bar .downloaded {
          background: #f18c9c;
        }

        .progress-bar .played {
          background: white;
        }

    .scrubber {
      background: white;
      position: absolute;
      width: 1px;
      height: 20px;
      top: 6px;
      left: 0;
      display: none;
    }

    .scrubber.visible {
      display: block;
    }



body {
  background-color: white;
}

#sm2-container {
  top: 0;
  left: 0;
  position: absolute;
}

a:link {
  color: #888;
}

italic, em {
  font-style: normal;
}

.user-backgroundColor {
  background-color: #444;
}

.user-textColor {
  color: white;
}

.header {
  position: absolute;
  z-index: 100; /* header stays on top as playlist scrolls beneath */
  top: 0;
  left: 0;
  width: 100%;
  height: 75px;
}

.brand-header {
  height: 60px;
  background: #333;
  padding: 0 8px;
}

.list-title {
  height: 18px;
  padding: 2px 8px;
  background-color: #525252;
  color: #ddd;
  font-size: 9.5pt;
  -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.1);
  -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.1);
  box-shadow: 0 3px 3px rgba(0,0,0,0.1);
}

.kale.bucket-player {
  overflow-x: hidden;
}

.kale-playlist-entries {
  margin: 0;
  padding: 0px 15px 50px 15px;
  position: relative;
  top: 85px;
  height: 0px;
  list-style-type: none;
  overflow-y: scroll;
  border: solid #eee;
  border-width: 0 1px;
  box-sizing: border-box;
}

.kale-playlist-entries li {
  position: relative;
  padding: 8px;
  clear: both;
  margin-top: 10px;
  margin-bottom: -7.5px;
  font-size: 0.8em;
}

.kale-playlist-entries li:last-child {
  border: 0;
}

.kale-playlist-entries li:hover {
  cursor: pointer;
}

.kale-playlist-entries li .status {
  padding: 2px 4px;
  position: absolute;
  z-index: 50; /* needs to scroll underneath .header */
  color: white;
  font-size: 0.8em;
  position: absolute;
  visibility: hidden;
  text-align: left;
  left: 8px;
  top: -10px;
  box-sizing: border-box;
  opacity: 0;
  transition: all 80ms ease-in-out;
  -moz-transition: all 80ms ease-in-out;
  -webkit-transition: all 80ms ease-in-out;
  -o-transition: all 80ms ease-in-out;
}

.kale-playlist-entries li:hover .status,
.kale-playlist-entries li.current .status {
  opacity: 1;
  visibility: visible;
}

.kale-playlist-entries li .image {
  display: none;
  height: 60px;
  overflow: hidden;
  float: left;
  margin-right: 10px;
}

.kale-playlist-entries li img {
  width: 80px;
}

.kale-playlist-entries h4 {
  font-size: 1.25em;
  padding-bottom: 0.4em;
  color: #444;
  line-height: 1em;
  letter-spacing: 0.2px;
}

.kale-playlist-entries p {
  font-size: 1em;
  color: #888;
  margin-top: 5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-style: normal !important;
  letter-spacing: 0.4px;
}

p:nth-child(4), 
p:nth-child(5),
p:nth-child(6),
p:nth-child(7),
p:nth-child(8) {
  display: none;
}


#player_controls {
  position: absolute;
  bottom: 0;
  border: solid #eee;
  border-width: 0 1px;
}

.kale-playlist-meta-bar {
  height: 0px;
  padding: 0 0 0 8px;
  margin: 0;
  overflow: hidden;
  color: #525252;
  height: 20px;
  line-height: 20px;
  font-size: 1em;
  -webkit-transition: all 0.2s ease-in-out;
}

.kale-playlist-meta-bar a {
  color: #0073d5;
}

.kale-playlist-meta-bar a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .kale-playlist-entries p {
    display: none;
  }
}

/* Branding colours and logos, shared by multiple players. */

/* Big logo brand link as used in the header of the streaming player. */
#brand_link {
  border: 0;
  width: 0;
  height: 60px;
  top: 0;
  display: block;
  background-image: url('/media/embeddable_player/img/logos-embed-player.png?v2');
  background-repeat: no-repeat;
  overflow: hidden;
  position: absolute;
}

/*
WNYC
WNYC Culture
WNYC AM 820
WNYC FM 939
*/
  .wnyc .user-backgroundColor
, .culture .user-backgroundColor
, .wnyc-am820 .user-backgroundColor
, .wnyc-fm939 .user-backgroundColor
, .jonathan-channel .user-backgroundColor
, .special-events-stream .user-backgroundColor
{
  background-color: #e21838; 
}

  .wnyc .user-downloadedColor
, .culture .user-downloadedColor
, .wnyc-am820 .user-downloadedColor
, .wnyc-fm939 .user-downloadedColor
, .jonathan-channel .user-downloadedColor
, .special-events-stream .user-downloadedColor
{
  background-color:#f18c9c;
}

  .wnyc .user-progressBorderColor
, .culture .user-progressBorderColor
{
  border-color: #f18c9c;
}

  .wnyc-am820 .user-linkColor
, .wnyc-fm939 .user-linkColor
, .culture .user-linkColor
{
  color: #e21838;
}

.jonathan-channel #header {
  background: #E01937;
}

.jonathan-channel #brand_link {
  background-position: 0 -665px;
  width: 150px;
  top: 4px;
  left: -7px;
}

.wnyc-am820 #brand_link
{
  width: 153px;
  background-position: 0px 0px;
}

.wnyc-fm939 #brand_link
{
  width: 155px;
  background-position: 0px -60px;
}

.special-events-stream #brand_link
{
  width: 110px;
  background-position: 0px -60px;
}


/* WQXR */
  .wqxr .user-backgroundColor
, .wqxr-special2 .user-backgroundColor
{
  background-color: #00b3e5;
}

  .wqxr .user-downloadedColor
, .wqxr-special2 .user-downloadedColor
{
  background-color: #94d5ef;
}

  .wqxr .user-progressBorderColor
, .wqxr-special2 .user-progressBorderColor
{
  border-color: #94d5ef;
}

  .wqxr .user-linkColor
, .wqxr-special2 .user-linkColor
{
  color: #00b3e5;
}

  .wqxr #brand_link
, .wqxr-special2 #brand_link
{
  width: 129px;
  background-position: 0px -127px;
  height: 50px;
}

/* Operavore */
.wqxr-special .user-backgroundColor
{
  background-color: #b21928;
}

.wqxr-special .user-linkColor
{
  color: #b21928;
}

.wqxr-special #brand_link
{
  width: 151px;
  background-position: 0px -246px;
}


/* Q2 */
.q2 .user-backgroundColor
{
  background-color: #00b3e5;
}

.q2 .user-linkColor
{
  color: #00b3e5;
}

.q2 #brand_link
{
  width: 60px;
  background-position: 0px -182px;
}


/* Radiolab */
.radiolab .user-backgroundColor
{
  background-color: #fe5800;
}

.radiolab .user-downloadedColor
{
  background-color: #ffac80;
}

.radiolab .user-progressBorderColor
{
  border-color: #ffac80;
}

.radiolab .brand-header
{
  background: #333;
}

.radiolab .user-linkColor
{
  color: #fe5800;
}

.radiolab #brand_link
{
  top: 10px;
  left: 9px;
  width: 123px;
  height: 33px;
  background-position: 0px -314px;
}


/* On The Media */
.onthemedia .user-backgroundColor
{
  background-color: #f24f00;
}

.onthemedia .user-downloadedColor
{
  background-color:  #f9a780;
}

.onthemedia .user-progressBorderColor
{
  border-color: #f9a780;
}

.onthemedia #brand_link
{
  background-position: 0 -423px;
  width: 133px;
}

/* Studio 360 */
.studio360 .user-backgroundColor
{
  background-color: #5a5a5a;
}

.studio360 .user-downloadedColor
{
  background-color: #adadad;
}

.studio360 .user-progressBorderColor
{
  border-color: #adadad;
}

.studio360 #brand_link
{
  background-position: 0 -366px;
  width: 133px;
}


/* The Takeaway */
.takeaway .user-backgroundColor
{
  background-color: #dd0000;
}

.takeaway .user-downloadedColor
{
  background-color: #ee8080;
}

.takeaway .user-progressBorderColor
{
  border-color: #ee8080;
}

.takeaway #brand_link
{
  background-position: 0 -481px;
  width: 133px;
}

/* The Greene Space */
.greenespace .user-backgroundColor
{
  background-color: #8dc63f;
}

.greenespace .user-downloadedColor
{
  background-color: #c6e39f;
}

.greenespace .user-progressBorderColor
{
  border-color: #c6e39f;
}


/* Soundcheck */
.soundcheck .user-backgroundColor
{
  background-color: #C7D923;
}

.soundcheck .user-downloadedColor
{
  background-color: #f8ffaa;
}

.soundcheck .user-progressColor {
  color: white;
}

.soundcheck .user-progressBorderColor
{
  border-color: white;
}

.soundcheck .user-textColor
{
  color: white;
}

/* Freakonomics */

.freakonomics #brand_link
{
  background-position: 0 -542px;
  width: 133px;
}

/* Here's The Thing */
.heresthething .user-backgroundColor
{
  background-color: #5a5a5a;
}

.heresthething .user-downloadedColor
{
  background-color: #adadad;
}

.heresthething .user-progressBorderColor
{
  border-color: #adadad;
}

.heresthething .list-title {
  color: #666;
  background-color: #eee;
}

.heresthething #brand_link {
  /* set to the Takeaway image pending a new
     sprite */
  width: 265px;
  background-position: 0 -599px;
  left: 1px;
}

.heresthething .brand-header {
  background-color: white;
  border: 1px solid #eee;
}
