#media_desc {
  float:left;
  width: 95%;
  margin:5px;
  font-size: 12px;
  font-family: 'Roboto', "Open Sans", "Verdana", Georgia, Serif;
}

#cast-content {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
  background-size: 100% 100%;
  overflow: hidden;
  z-index: 10;
  background-size: cover;
}

#cast-info {
  position: absolute;
  bottom: 13%;
  left: 7px;
  font-family: 'Roboto', "Open Sans", "Verdana", Georgia, Serif;
  color: #fff;
  text-shadow: -1px 1px 1px rgba(0, 0, 0, 1);
  z-index: 3;
  background-color: rgba(0,0,0,0.3);
  padding: 18px;
  border-radius: 3px;
}

#cast-info img {
  float: left;
  cursor: pointer;
}

#cast-info h3 {
  margin: 0px 0px 1px 5px;
}


#cast-info img {
  float: left;
}

#chromecast-device-name {
  float: left;
  margin: 0px 0px 1px 5px;
}

#media_control {
  position: absolute;
  left: 8px;
  bottom: 4%;
  width: 97%;
  height: 30px;
  z-index: 1000;
  padding: 0px;
  opacity: 0.7;
  background-color: #000;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  font-family: 'Roboto', "Open Sans", "Verdana", Georgia, Serif;
  transition: opacity 1s;
  -webkit-transition: opacity 1s;
}

#media_control[live="true"] #progress_bg {
  display: none;
}

#media_control[live="true"] #media-duration {
  display: none;
}

#media_control:hover {
  opacity: 0.7;
}

#play {
  margin: 0px 10px 10px 5px;
  float:left;
  width: 46px;
  height: 28px;
  background-image:url('../images/chromecast_imagefiles/play.png');
}

#play:hover {
  background-image:url('../images/chromecast_imagefiles/play-hover.png');
}

#play:press {
  background-image:url('../images/chromecast_imagefiles/play-press.png');
}

#pause {
  display:none;
  margin: 0px 10px 10px 5px;
  float:left;
  width: 46px;
  height: 28px;
  background-image:url('../images/chromecast_imagefiles/pause.png');
}

#pause:hover {
  background-image:url('../images/chromecast_imagefiles/pause-hover.png');
}

/*
.button {
  margin: 5px;
  font-size: 100%;
  font-family: 'Roboto', "Open Sans", "Verdana", Georgia, Serif;
}
*/
.chromecast-overlay-poster-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -10px 0px 0px -10px;
  background: #333 url('../images/loading1.gif') center no-repeat;
  width: 20px;
  height: 20px;
  border-radius: 20px;
  padding: 10px;
  z-index: 100;
}

.volume {
  width:60px;
  margin-left:8px;
}

#muteText {
  width:30px;
  margin-left:3px;
}

.muteButton {
  font-size: 110%;
  font-family: 'Roboto', "Open Sans", "Verdana", Georgia, Serif;
}

#progress {
  float:left;
  width: 1px;
  height: 36px;
  z-index: 10;
  background-image:url('../images/chromecast_imagefiles/timeline_bg_progress.png');
  background-repeat:repeat-x;
}

#progress_bg {
  /*position: relative;
  margin: 10px 10px 10px 20px;
  float:left;
  height: 6px !important;*/

  position: absolute;
  top: 40%;
  right: 20px;
  left: 120px;
  bottom: 40%;
  height: 2px !important;
}

div#subtitle_btn {
    position: absolute;
    right: 95px;
    top: 6px;
    text-align: center;
    width: 60px;
    cursor:pointer;
    color: rgba(255,255,255,0.8);
}

#subtitle_btn ul {
    position:absolute;
    bottom:17px;
    width:60px;
    background: #000;
    padding: 5px;
    display: none;
}

#subtitle_btn:hover ul{
    display:block;
}

#subtitle_btn ul li{
    cursor: pointer;
    padding : 2px;
}

#subtitle_btn ul li.active{
    color: #fff;
    font-weight: bold;
}


/*Custom Handle for the cast slider*/
.ui-slider-horizontal .ui-state-default {
  height: 10px !important;
  width: 10px !important;
  border-radius: 20px;
  outline: none;
  background: white url(../images/chromecast_imagefiles/ico_seek.png) no-repeat scroll 50% 50%;
}

#progress_indicator {
  position: absolute;
  draggable: true;
  width: 6px;
  height: 36px;
  z-index: 1000;
  background-image:url('../images/chromecast_imagefiles/timeline_indicator.png');
  background-repeat:repeat-x;
}

/*#cast-control {
  z-index: 999;
  cursor: pointer;
  position: absolute;
  top: 15px;
  left: 15px;
  margin:10px 17px 14px 0px;
  width: 50px;
  height: 40px;
}*/

#casticonactive {
  z-index: 10;
  cursor: pointer;
  position: absolute;
  top: 5px;
  left: 5px;
  margin:10px 17px 14px 0px;
  width: 50px;
  height: 40px;
  display:none;
  background-image:url('../images/chromecast_imagefiles/btn-casting-small.png');
  background-repeat:no-repeat;
  background-position:center;
  background-color: rgba(18, 32, 43, 0.7);
  border-radius: 5px;
  padding: 15px;
}

#casticonactive:hover {
  background-color: rgba(18, 32, 43, 1);
}

#casticonidle {
  z-index: 999;
  cursor: pointer;
  position: absolute;
  top: 5px;
  left: 5px;
  margin:10px 17px 14px 0px;
  width: 50px;
  height: 40px;
  /*display:block;*/
  display:none;
  background-image:url('../images/chromecast_imagefiles/btn-cast-small.png');
}

#audio_off {
  float:right;
  margin: 4px 20px 10px 0px;
  width: 20px;
  height: 20px;
  display:none;
  background-image:url('../images/chromecast_imagefiles/audio_off.png');
}

#audio_on {
  float:right;
  width: 20px;
  height: 20px;
  margin: 4px 20px 10px 0px;
  display:block;
  background-image:url('../images/chromecast_imagefiles/audio_on.png');
}

#audio_bg {
  float:right;
  opacity: 0.1;
  width: 41px;
  height: 124px;
  margin: -125px 9px -10px 0px;
  display:block;
  background: #000;
  /*background-image:url('../images/chromecast_imagefiles/audio_bg.png');*/
  position:relative;
  z-index:10;
  border-radius: 10px;
}

#audio_bg_track {
  float:right;
  opacity: 0.0;
  width: 3px;
  height: 100px;
  margin: -113px 26px -30px 0px;
  display:block;
  background-image:url('../images/chromecast_imagefiles/audio_bg_track.png');
  position:relative;
  z-index:1000;
}

#audio_bg_track .ui-slider-handle {
  width: 10px !important;
  height: 10px !important;
  border-radius: 10px !important;
}

.ui-slider-handle.ui-state-hover,
.ui-slider-handle.ui-state-focus {
  background: white url(../images/chromecast_imagefiles/ico_seek.png) no-repeat scroll 50% 50% !important;
}

#audio_indicator {
  float:right;
  opacity: 0.0;
  width: 16px;
  height: 5px;
  margin:-50px 20px -30px 0px;
  display:none;
  background-image:url('../images/chromecast_imagefiles/audio_indicator.png');
  position:relative;
  z-index:1000;
}

#audio_bg_level {
  float: right;
  opacity: 0.0;
  width: 12px;
  height: 50px;
  margin: -50px 22px -30px 0px;
  /*display: block;*/
  display: none !important;
  background: #29AAE1;
  /* background-image: url('../images/chromecast_imagefiles/audio_bg_level.png'); */
  position: relative;
  z-index: 1000;
}
/*
#duration {
  float: left;
  color: #fff;
  margin: -27px 0px 10px -20px;
  display: block;
  font-size: 12px;
  background: #000;
  border-radius: 5px;
  padding: 2px;
}*/



/************************************************************************************/
#media-current-time, #media-duration {
    color: rgba(255,255,255,0.8);
    font-size: 11px;
    font-weight: normal;
    line-height: 30px;
    position: absolute;
}

#media-current-time {
    left: 55px;
}

#media-duration {
    right: 50px;
}
