/**
 * SGplayer Mobile CSS.
 *
 * Date: 04/27/2016
 * Authors: Elijah Atkinson
 **/
 #videoPrerollWrapper {
    width: 100%;
    height: 100%;
    background-color: #000000;
    position: absolute;
    top: 0;
    z-index: 99999;
}
#videoPrerollWrapper #prerollBannerAd {
    position: relative;
    text-align: center;
    background-color: #000000;
    padding-top: 10px;
}
#videoPrerollMessage {
    /* Hidden by default until the duration of
    the preroll is known. */
    display: none;
    text-align: center;
    text-shadow: none;
    color: #FFFFFF;
    width: 100%;
    height: 19px;
    position: absolute;
    z-index: 1;
    top: 0;
}
#videoPrerollPlayer {
    width: 100%;
    position: relative;
    top: 20px;
    z-index: 1;
}
.videoPrerollButtonContainer {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 20px;
    width: 50px;
}
.videoPrerollButtonContainer #videoPrerollButton {
    z-index:999;
}
#videoPrerollPlayer .vjs-control-bar {
    display: none;
}
#videoPrerollWrapper.ima-preroll #ima-ad-container {
    width: 100% !important;
    height: 100% !important;
    display: inline !important;
}
/* Make the ima video preroll display on top of the wrapper div. */
#videoPrerollWrapper.ima-preroll #ima-ad-container div:first-child {
    z-index: 999;
    max-height: 300px;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
#videoPrerollWrapper.ima-preroll #ima-ad-container div iframe {
    width: 100% !important;
    height: 100% !important;
}
.videoPrerollBanner {
    width: 300px;
    height: 250px;
}
/*Set the color of non-linked previously played songs
to match the color of buy now links in the previously played listview.*/
#prevPlayed .ui-li.ui-li-static {
    color: #333;
}
 .ui-mobile-breakpoint .ui-block-a.col-20 {
    width: 20%
}
.ui-mobile-breakpoint .ui-block-b.col-80 {
    width: 80%;
}
@media all and (max-width: 20em) {
    .ui-mobile-breakpoint .ui-block-a,
    .ui-mobile-breakpoint .ui-block-b,
    .ui-mobile-breakpoint .ui-block-c,
    .ui-mobile-breakpoint .ui-block-d,
    .ui-mobile-breakpoint .ui-block-e,
    .ui-mobile-breakpoint .ui-block-a.col-20,
    .ui-mobile-breakpoint .ui-block-b.col-80 {
      width: 100%;
      float:none;
    }
    .ui-mobile-breakpoint .ui-block-a {
       border-bottom: 1px solid black;
    }
    .ui-mobile-breakpoint .ui-block-b {
       border-top: 1px solid #3D393A;
    }
}
hr {
    border: 0;
    width: 100%;
    height: 1px;
    background-color: #b3b3b3;
}
.ui-corner-top {
    -webkit-border-top-left-radius: 0.6em;
    -webkit-border-top-right-radius: 0.6em;
    border-top-left-radius: 0.6em;
    border-top-right-radius: 0.6em;
}
.ui-corner-bottom {
    -webkit-border-bottom-left-radius: 0.6em;
    -webkit-border-bottom-right-radius: 0.6em;
    border-bottom-left-radius: 0.6em;
    border-bottom-right-radius: 0.6em;
}
.ui-corner-top,
.ui-corner-bottom {
    -webkit-background-clip: padding;
    background-clip: padding-box;
}
.ui-dialog {
    padding-top: 10px;
    padding-bottom: 0;
}
.center-wrapper {
    display: table;
    margin-left: auto;
    margin-right: auto;
}
.inline-label label {
    margin-right: 1em;
}
.inline-label * {
    display: inline;
}
#player {
    float: left;
    position: auto;
    top: auto;
    left: auto;
}
#playPauseButton {
    margin-left:auto;
    margin-right:auto;
    display:block;
}
.icon-volume {
    float: left;
    position: relative;
    top: 10px;
    padding-right: 4px;
}
.icon-play {
    width: 56px;
    height: 58px;
    background:url('../assets/img/m.sprite.play_pause.png') 0 58px;
}
.icon-play:hover {
    background:url('../assets/img/m.sprite.play_pause.png') 0 0;
}
.icon-pause {
    width: 56px;
    height: 58px;
    background:url('../assets/img/m.sprite.play_pause.png') 57px 58px;
}
.icon-pause:hover {
    background:url('../assets/img/m.sprite.play_pause.png') 57px 0;
}
.RecentSong {
    white-space: nowrap;
}
#songInfo {
    /*max-height: 106px;*/
    overflow: hidden;
}
#songButtons {
    display: table;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0.2em;
}

#songTitle,
.songTitle {
    text-align: center;
    clear: both;
    font-size: 1.5em;
    overflow: hidden;
    white-space: nowrap;
}
#songArtist,
.songArtist,
#songAlbum,
.songAlbum {
    text-align: center;
    clear: both;
    font-size: 1em;
    overflow: hidden;
    white-space: nowrap;
}
#infoButton,
#amazonButton,
#clammrButton,
#socialButtons {
    float: left;
    border: 0;
}
#infoButton a,
#amazonButton a,
#clammrButton a,
#socialButtons a {
    display: inline-block;
    padding: 0 5px 0 0;
    border: 0;
}
#clammrButton .clammr-logo {
    width: 17px;
    height: 17px;
}
#player-wigit {
    margin-top: 12px;
}
#stream-selector-table {
    margin: auto;
}
.source-selector.ui-btn.ui-button-active {
    background: #307fe2;
}
#playerControls .control-col-1 {
    min-width:58px;
    padding: 5px;
}
#playerControls .control-col-2 {
    padding: 5px;
}
#video-bar {
    padding: 5px;
}
#video-bar #art {
    margin-left:auto;
    margin-right:auto;
    display:block;
    width:100%;
    max-width:250px;
}
#nowPlaying {
    padding: 5px;
}
#bannerAd,
.adunit {
    text-align: center;
}
/*
===================================
Video.js Custom Styles
===================================
*/
.video-js {
  height: 100%;
  width: 100%;
  position: inherit;
}
#videoArea {
    position: absolute;
    height: 100%;
    width: 100%;
    line-height: 0;
    margin: 0;
    left: 0;
    right: 0;
    top: 0;
}
.videoWrapper {
  height: 0;
  padding-bottom: 56.25%;
  padding-top: 0;
  position: relative;
}
#videoContainingBlock {
  margin: 0;
  display: none;    /* Hide by default, javascript shows video */
  height: 100%;
  width: 100%;
}
/* End Video.js wigit styles */

/*
=====================================
Art element backgroud color classes
=====================================
One of these classes can be added to the end of the
"layout" player config variable to change the background
color of the player's art display area.
*/
.art-bgcolor-white #art {
    background-color: #FFFFFF;
}

.art-bgcolor-black #art {
    background-color: #000000;
}

.arg-bgcolor-inherit #art {
    background-color: inherit;
}

/*
===================================
Mobile Specific Layout Styles
===================================
*/

/* Controls only mobile player layout */
.layout-controls-only #player-header,
.layout-controls-only #player-content .ui-select,
.layout-controls-only #streamSelector,
.layout-controls-only #prevPlayed,
.layout-controls-only #video-bar,
.layout-controls-only #videoContainingBlock,
.layout-controls-only #nowPlaying
{
    display: none !important;
}
.layout-controls-only #player-wigit {
    margin-top: 0;
}
.layout-controls-only #controlDisplayArea {
    -webkit-background-clip: padding;
    background-clip: padding-box;
    -webkit-border-bottom-left-radius: 0.6em;
    -webkit-border-bottom-right-radius: 0.6em;
    border-bottom-left-radius: 0.6em;
    border-bottom-right-radius: 0.6em;
}
/* Mobile user feedback styles */
#userFeedback {
    cursor: pointer;
    text-align: center;
    border: 0 none;
    display: none;
    position: absolute;
    margin: auto;
    top: 176px;
    left: 0;
    right: 0;
    z-index: 9999999;
    background: none repeat scroll 0 0 #2A2A2A;
    border-color: #1D1D1D;
    color: #FFFFFF;
    text-shadow: 0 1px 0 #111111;
    box-shadow: 0 1px 1px -1px #FFFFFF;
    opacity: 0.88;
    padding: 0.625em;
    width: 60%;
    -webkit-border-radius: 0.3125em;
    -moz-border-radius: 0.3125em;
    border-radius: 0.3125em;
}
/*
Mobile Transport Controls Styles
*/
#progressControl {
    display: none;
}
#progressControl .progress-holder .ui-slider-track {
    background: transparent !important;
    margin-left: 15px;
}
#progressControl .progress-holder #load-progress-holder {
    display: block;
    height: 14px;
    margin: -25px 15px 14px 15px;
}
#progressControl .progress-holder .play-progress {
    display: none;
}
#progressControl .progress-holder .load-progress {
    width: 0%;
    height: 12px;
    border-radius: 1em;
    background: rgb(140,140,140); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(140,140,140,1) 0%, rgba(47,47,47,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(140,140,140,1) 0%,rgba(47,47,47,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(140,140,140,1) 0%,rgba(47,47,47,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8c8c8c', endColorstr='#2f2f2f',GradientType=0 ); /* IE6-9 */
}
#progressControl .mouse-display {
    display: none;
    pointer-events: none;
    position: absolute;
    z-index: 9999;
    width: auto;
    height: auto;
    margin-left: 60px;
    margin-top: -65px;
    border: 1px solid #ffffff;
    padding: 3px;
    color: #ffffff;
    background: rgb(69,72,77); /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzQ1NDg0ZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  rgba(69,72,77,1) 0%, rgba(0,0,0,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(69,72,77,1)), color-stop(100%,rgba(0,0,0,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#45484d', endColorstr='#000000',GradientType=0 ); /* IE6-8 */
}
#progressControl .ui-slider-track:hover {
    cursor: pointer;
}
#progressControl .ui-slider-track:hover .mouse-display {
    display: inline-block;
}
#progressControl .mouse-display .seekBar {
    display: none;
    width: 1px;
    height: 10px;
    background: #ffffff;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 24px;
}
#progressControl .ui-slider-track:hover .seekBar {
    display: block;
}

/* context menu */

.context-menu {
  display: none;
  position: absolute;
  z-index: 1000000;
  padding: 3px 0;
  width: 300px;
  background-color: #fff;
  border: solid 1px #dfdfdf;
  box-shadow: 1px 1px 2px #cfcfcf;
}

.context-menu-active {
  display: block;
}

.context-menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
}

.context-menu-item {
  display: block;
  margin-bottom: 4px;
}

.context-menu-item:last-child {
  margin-bottom: 0;
}

.context-menu-link {
  display: block;
  padding: 4px 12px;
  color: #000000 !important;
  text-decoration: none;
}

.context-menu-link:hover {
  color: #ffffff !important;
  background-color: #808080;
}