.b-cp-video {
  position:relative;
}

.b-cp-audio * {
  width: 3px !important;
  height: 3px !important;
}

.b-cp-audio  object {
  visible: hidden;
}

.b-cp-video__overlay {
    position:absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
    h: expression(
      (this.h != parentNode.offsetHeight) ?
      (this.h = parentNode.offsetHeight,
        style.height = this.h + "px") :
    0 );
}

.b-cp-video__bigPlay, .b-cp-video__bigReplay, .b-cp-video__bigLoading {
  width: 65px;
  height: 65px;
  left: 50%;
  top: 50%;
  position:absolute;
  margin: -32px 0 0 -32px;
  background: url(/images/player/Button_Start_up.png) 0 0 no-repeat;
}

.b-cp-video__bigReplay {
  width: 94px;
  height: 94px;
  margin: -48px 0 0 -45px;
  background: url(/images/player/Button_Repeat_up.png) 0 0 no-repeat;
}

.b-cp-video__bigLoading {
  width: 93px;
  height: 93px;
  margin: -48px 0 0 -45px;

  background-color: black;
  border-radius: 47px;
  -moz-border-radius: 47px;
  -webkit-border-radius: 47px;

  background-position: 0 0;
  background-repeat: no-repeat;
  background-image: url(/images/player/Loader.gif);
}

.b-cp-video_fullscreen {
  position: fixed;
  width: 100% !important;
  height: 100% !important;
  left: 0;
  top: 0;
  z-index: 9999;
  background: rgb(0, 0, 0);
}

.b-cp-video_fullscreen object, .b-cp-video_fullscreen video, .b-cp-video_fullscreen .b-cp-video__placeholder, .b-cp-video_fullscreen .b-cp-video__image, .b-cp-video_fullscreen .b-cp-video__image img {
    width: 100% !important;
    height: 100% !important;
  }

  .b-cp-video__image {
        height: 100%;
    width: 100%;
    position:absolute;
    left: 0;
    top: 0;
        /*h: expression(
          (this.h != parentNode.offsetHeight) ?
          (this.h = parentNode.offsetHeight,
            style.height = this.h + "px") :
        0 );*/
  }

  .b-cp-video__image img {
    width: 100% !important;
    height: 100% !important;
  }


  .b-cp-video_fullscreen .b-cp-video__image {
    position:absolute;
    left: 0;
    top: 0;
  }
  
.b-cp-video__liveUp, .b-cp-video__liveDown {
  position:absolute;
  left: 0;
  top: 0;
  width: 91px;
  height: 24px;
  cursor: pointer;
}

.b-cp-video__liveUp {
  background: url(/images/player/Button_Live_up.png) repeat-x;
}

.b-cp-video__liveDown {
  background: url(/images/player/Button_Live_down.png) repeat-x;
}

.b-cp-video__placeholder {
  background: black;
  position:relative;
}

.b-cp-video__bottom {
  height: 25px;
  position:relative;
  left: 0;
  bottom: 0;
  z-index: 3;
  border: 1px solid #b4b9bf;
  padding: 23px 0;
  margin-top: 1px;
}

.b-cp-video_notimeline .b-cp-video__bottom {
  border-top: none;
  padding-top: 0;
}

.b-cp-video__bottom__left, .b-cp-video__bottom__right {
  width: 35px;
  height: 71px;
  left: 0;
  top: 0;
  background: url(/images/player/ControlPanel_back.gif);
  position:absolute;
}

.b-cp-video_notimeline .b-cp-video__bottom__left, .b-cp-video_notimeline .b-cp-video__bottom__right {
  height: 48px;
}

.b-cp-video__bottom__right {
  left: auto;
  right: 0;
}

.b-cp-video__playcontrol {
  height: 25px;
  width: 36px;
  float:left;
  background: url(/images/player/PlayControl_back.png) no-repeat;
  margin-left: -1px;
  position:relative;
  z-index: 20;
}

.b-cp-video__fullscreencontrol {
  height: 24px;
  width: 28px;
  float: right;
  background: url(/images/player/ControlPanel_back.png) repeat-x;
}

.b-cp-video__volumecontrol {
  height: 25px;
  width: 36px;
  float: right;
  background: url(/images/player/VolumeControl_back.png) repeat-x;
  position:relative;
  margin-right: -1px;
  z-index: 20;
}

.b-cp-video__timelinecontrol {
  margin: 0 35px;
  height: 23px;
  position:relative;
  border-top: 1px solid #b4b9bf;
  border-bottom: 1px solid #b4b9bf;
}

.b-cp-video__timeline__track {
  height: 24px;
  position:relative;
  overflow:hidden;
  z-index: 2;
}

  .b-cp-video__timeline__track__line {
    border-bottom: 2px solid #292e33;
    height: 22px;
    position:absolute;
    left: 0;
    bottom: 0;
  }

.b-cp-video__timeline__curpos {
  width: 20px;
  height: 20px;
  position:absolute;
  right: -10px;
  top: 2px;
  background: url(/images/player/TimelineDisc.png) -1px 0 no-repeat;
}

.b-cp-video__play, .b-cp-video__pause, .b-cp-video__fullscreen, .b-cp-video__fullscreenOff, .b-cp-video__volumeOff {
  display:block;
  height: 24px;
  cursor: pointer;
}

.b-cp-video__play {
  background-image: url(/images/player/Button_Play.png);
  background-position:center 0;
}

.b-cp-video__pause {
  background-image: url(/images/player/Button_Pause.png);
  background-position:center 0;
  display: none;
}

.b-cp-video__fullscreen, .b-cp-video__fullscreenOff {
  background-image: url(/images/player/Button_Fullscreen.png);
}

.b-cp-video__volumeOff {
  background: url(/images/player/Button_Volume.png) -1px 1px;
  position:absolute;
  top: 0;
  left: 6px;
  width: 26px;
  height: 20px;
  z-index: 7;
}

.muted .b-cp-video__volumeOff {
  background-position: -2px -24px;
}

.b-cp-video__fullscreenOff {
  display: none;
}

.playing .b-cp-video__pause, .fullScreen .b-cp-video__fullscreenOff {
  display:block;
}

.playing .b-cp-video__play, .fullScreen .b-cp-video__fullscreen {
  display:none;
}
/*.b-cp-video__play:hover, .b-cp-video__pause:hover {
  background-position: 0 bottom;
}

.b-cp-video__fullscreen:hover {
  background-position: 0 -24px;
}*/

.b-cp-video__fullscreenOff {
  background-position: 0 -48px;
}

.b-cp-video__fullscreenOff:hover {
  background-position: 0 -72px;
}

.b-cp-video__volumepopup {
  width: 36px;
  height: 49px;
  top: 0;
  left: 0;
  position: absolute;
  background: #292e33;
  display:none;
  z-index: 6;
}

.b-cp-video__volumecontrol:hover .b-cp-video__volumepopup {
  display:block;
}

.b-cp-video__volumeTrack {
  height: 22px;
  width: 20px;
  background: url(/images/player/Volume_track.png) 0 bottom repeat-y;
  cursor: pointer;
  margin: 24px auto 0 auto;
  position:relative;
}

  .b-cp-video__volumeTrack__value {
    background: url(/images/player/Volume_track.png) right bottom repeat-y;
    position:absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  }
  
/*  .muted .b-cp-video__volumeTrack__value {
    width: 0 !important;
  }*/
  /*
  .b-cp-video__volumeTrack:hover .b-cp-video__volumeTrack__value {
    background-position: 0 bottom;
  }*/
  
.b-cp-video__timeline {
  height: 23px;
  position:relative;
  padding: 0 1px;
}

.b-cp-video__timeline__buffer {
  position: absolute;
  background: #fff;
  height: 11px;
  left: 0;
  top: 0;
}

.b-cp-video__timeline__episodesContainer {
  position:absolute;
  left: 0;
  top: 0;
  width: 100%;
  zoom: 1;
}

.b-cp-video__timeline__episode {
  position:absolute;
  height: 25px;
  border-left: 1px solid #56ac56;
  border-right: 1px solid #56ac56;
  margin-left: -1px;
  margin-top: -1px;
  cursor: pointer;
  background: #60bf60;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=66)";
  filter: alpha(opacity=66);
  -moz-opacity: 0.66;
  -khtml-opacity: 0.66;
  opacity: 0.66;
}


.b-cp-video__timeline__episode.local {
  background: #09b209;
  сolor: #09b209;
  border: none;
}
.b-cp-video__timeline__episode.network {
  background: #5e9ddd;
  сolor: #5e9ddd;
  border: none;
}
.b-cp-video__timeline__episode.orbit {
  background: #c757ff;
  сolor: #c757ff;
  border: none;
}
.b-cp-video__timeline__episode.retranslation {
  background: #c757ff;
  сolor: #c757ff;
  border: none;
}
.b-cp-video__timeline__episode.sp-local {
  background: #ffd100;
  сolor: #ffd100;
  border: none;
}
.b-cp-video__timeline__episode.sp-network {
  background: #e58600;
  сolor: #e58600;
  border: none;
}
.b-cp-video__timeline__episode.sp-retranslation {
  background: #f58147;
  сolor: #f58147;
  border: none;
}
.b-cp-video__timeline__episode.unknown {
  background: #000;
  сolor: #000;
  border: none;
}



.b-cp-video__timeline__episode.diff {
  background: #ff0000;
  border: none;
  height: 9px;
  z-index: 1;
  margin-top: 14px;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=50);
  -moz-opacity: 0.50;
  -khtml-opacity: 0.50;
  opacity: 0.5;
}

  .b-cp-video__timeline__episode .time_start, .b-cp-video__timeline__episode .time_end, .b-cp-video__timeline__episode .marked_period_start, .b-cp-video__timeline__episode .marked_period_end {
    height: 23px;
    position:absolute;
    top: -23px;
    width: 50px;
    left: -61px;
    border-right: 1px solid grey;
    text-align:right;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 24px;
    /*color:#2b802d;*/
    padding: 0 5px;
    font-style:normal;
    display:none;
  }
  
  .b-cp-video__timeline__episode .time_end, .b-cp-video__timeline__episode .marked_period_end {
    border-left: 1px solid grey;
    border-right: none;
    text-align:left;
    left: 100%;
  }
  
  .b-cp-video__timeline__episode.active .time_start, .b-cp-video__timeline__episode.active .time_end {
    display:block;
  }
  
  .b-cp-video_mini .b-cp-video__timeline__episode .time_end, .b-cp-video_mini .b-cp-video__timeline__episode .time_start {
    display: none !important;
  }
  
  .b-cp-video__timeline__episode .marked_period_start, .b-cp-video__timeline__episode .marked_period_end {
    display:block;
    color: grey;
    border-color: grey;
    top: 25px;
  }

.b-cp-video__timeline__episode.active {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  -moz-opacity: 1.0;
  -khtml-opacity: 1.0;
  opacity: 1.0;
  z-index: 1;
}

.b-cp-video__timeline__episode.local.active {
  background: #00b300;
}
.b-cp-video__timeline__episode.network.active {
  background: #0066cb;
}
.b-cp-video__timeline__episode.orbit.active {
  background: #c757ff;
}
.b-cp-video__timeline__episode.retranslation.active {
  background: #c757ff;
}
.b-cp-video__timeline__episode.sp-local.active {
  background: #f3c700;
}
.b-cp-video__timeline__episode.sp-network.active {
  background: #e58600;
}
.b-cp-video__timeline__episode.sp-retranslation.active {
  background: #bc5f31;
}
.b-cp-video__timeline__episode.unknown.active {
  background: #ff0000;
}

.b-cp-video__timeline__time {
  position:absolute;
  width: 50px;
  height: 27px;
  padding-top: 2px;
  background: url(/images/player/TimelineThumb_up.png) 0 0 no-repeat;
  font-family: Arial, Helvetica, sans-serif;
  color: #ffffff;
  font-size: 11px;
  line-height: 26px;
  text-align:center;
  top: 22px;
  left: 0;
  margin-left: -25px;
  z-index: 5;
}

.b-cp-video__timeline__time_hover {
  color: #292e33;
  top: -25px;
  height: 47px;
  line-height: 22px;
  background-position:0 bottom;
}

/** STATES **/

.is-mobile .b-cp-video__timelinecontrol {
  margin-right: 30px;
}

.is-mobile .b-cp-video__volumecontrol {
  display: none;
}

.b-cp-video_mini .b-cp-video__timelinecontrol {
  margin: 0;
}

.b-cp-video_mini .b-cp-video__volumepopup {
  display:block;
}

.b-cp-video_mini .b-cp-video__placeholder {
  box-shadow: 0 1px 5px #888;
  -webkit-box-shadow: 0 1px 5px #888;
  -moz-box-shadow: 0 1px 5px #888;
  border: 1px solid #292e33;
}

.b-cp-video_mini .b-cp-video__bottom {
  margin-top: 0;
  margin-right: -2px;
}

.b-cp-video_mini .b-cp-video__volumepopup {
  width: 72px;
  height: 25px;
  background: #292e33;
  background: rgba(41, 46, 51, 0.8);
}

.b-cp-video_mini .b-cp-video__volumecontrol {
  background:none;
  position:absolute;
  top: -26px;
  right: 0;
  width: 72px;
}

.b-cp-video_mini .b-cp-video__volumeTrack {
  width: 38px;
  height: 13px;
  margin: 6px 0 0 28px;
  background: url(/images/player/Volume_track_mini.png) 0 0 repeat-x;
}

.b-cp-video_mini .b-cp-video__volumeTrack__value {
  background: url(/images/player/Volume_track_mini.png) 0 bottom repeat-x;
  height: 13px;
  width: auto;
}

.b-cp-video_mini .b-cp-video__volumeOff {
  left: 1px;
  top: 0;
}

.b-cp-video_mini .b-cp-video__overlay {
  background: url(/images/player/overlay.png) 0 0 no-repeat;
}

.b-cp-video_mini .b-cp-video__overlay_play {
  background: none;
}

.b-cp-video_mini .b-cp-video__overlay_play .b-cp-video__bigPlay {
  display:none;
}