/* ********* webrtcView *********** */
.webrtc-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 99%;
  text-align: center;
  background-color: #000;
  z-index: 9999;
}

.webrtc-view-ctrl {
  position: absolute;
  top: 0;
  right: 0;
  width: 15%;
  min-width: 200px;
  height: 15%;
  min-height: 150px;
  text-align: center;
  background-color: #000;
}

.webrtc-view .main-box,
.webrtc-view-ctrl .main-box {
  width: 100%;
  height: 100%;
}

.webrtc-view .main-player,
.webrtc-view-ctrl .main-player {
  width: 100%;
  height: 100%;
}

.webrtc-view .vice-box,
.webrtc-view-ctrl .vice-box {
  display: none;
  position: absolute;
  width: 100%;
  height: 25%;
  bottom: 0;
}

.webrtc-view .vice-player,
.webrtc-view-ctrl .vice-player {
  width: 100%;
  height: 100%;
}

.webrtc-view .control-bar {
  position: absolute;
  bottom: 20px;
  width: 100%;
}

.webrtc-view .control-bar div {
  display: inline-block;
  width: 40px;
  height: 40px;
  margin: 5px;
}

.webrtc-view-ctrl .control-bar {
  position: absolute;
  width: 100%;
  height: 40px;
  bottom: 20px;
}

.webrtc-view-ctrl .control-bar div {
  float: left;
  width: 30px;
  height: 30px;
  margin: 5px;
}

.webrtc-view .control-bar .camera,
.webrtc-view-ctrl .control-bar .camera {
  background: url("../images/rtc/camera_0.png") no-repeat center;
  background-size: 100% 100%;
}

.webrtc-view .control-bar .camera-s,
.webrtc-view-ctrl .control-bar .camera-s {
  background: url("../images/rtc/camera_1.png") no-repeat center;
  background-size: 100% 100%;
}

.webrtc-view .control-bar .speak,
.webrtc-view-ctrl .control-bar .speak {
  background: url("../images/rtc/speak_0.png") no-repeat center;
  background-size: 100% 100%;
}

.webrtc-view .control-bar .speak-s,
.webrtc-view-ctrl .control-bar .speak-s {
  background: url("../images/rtc/speak_1.png") no-repeat center;
  background-size: 100% 100%;
}

.webrtc-view .control-bar .mute,
.webrtc-view-ctrl .control-bar .mute {
  background: url("../images/rtc/mute_0.png") no-repeat center;
  background-size: 100% 100%;
}

.webrtc-view .control-bar .mute-s,
.webrtc-view-ctrl .control-bar .mute-s {
  background: url("../images/rtc/mute_1.png") no-repeat center;
  background-size: 100% 100%;
}

.webrtc-view .control-bar .zoom,
.webrtc-view-ctrl .control-bar .zoom {
  background: url("../images/rtc/zoom_0.png") no-repeat center;
  background-size: 100% 100%;
}

.webrtc-view .control-bar .zoom-s,
.webrtc-view-ctrl .control-bar .zoom-s {
  background: url("../images/rtc/zoom_1.png") no-repeat center;
  background-size: 100% 100%;
}

.webrtc-view .control-bar .telephone,
.webrtc-view-ctrl .control-bar .telephone {
  background: url("../images/rtc/telephone.png") no-repeat center;
  background-size: 100% 100%;
}

.webrtc-view .mask-page {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url(../images/hold.png);
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  color: white;
  font-size: 16px;
  padding-top: 40px;
  line-height: 20px;
  color: #333333;
  z-index: 9;
  display: none;
}

.webrtc-view .control-bar .telephone {
  position: relative;
  z-index: 10;
}