html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
}
video {
  object-fit: fill;
  display: none;
}
.stream-loading {
  width: 200px;
  height: 30px;
  line-height: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -15px;
  margin-left: -100px;
  color: #fff;
  font-size: 16px;
  padding-left: 30px;
  background: transparent url(./lib/ztree/zTreeStyle/img/loading.gif) no-repeat
    10px center;
}
.base-input {
  width: 220px;
  border-radius: 2px;
  padding-left: 10px;
  height: 30px;
  border: 1px solid #e2e2e2;
}
.base-btn {
  border: 1px solid #3b8cff;
  border-radius: 4px;
  background-color: rgb(255, 255, 255);
  width: 78px;
  height: 26px;
  color: #3b8cff;
  font-size: 16px;
  line-height: 24px;
  margin-right: 10px;
  cursor: pointer;
}
.part-left {
  width: 320px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  z-index: 2000;
  box-shadow: 2px 0px 3px rgba(0, 0, 0, 0.15);
  transition: all 0.5s ease;
}

.part-left.hide {
  left: -320px;
}

.part-right {
  position: absolute;
  right: 150px;
  top: 0;
  bottom: 0;
  left: 150px;
  transition: all 0.5s ease;
}

.part-right.hide {
  left: 0;
}

.part-left .left-tab {
  width: 30px;
  float: left;
}
.part-left .left-tab > li {
  width: 100%;
  height: 105px;
  display: table;
  text-align: center;
  line-height: 18px;
  font-size: 16;
  margin-top: 1px;
  white-space: normal;
  color: #fff;
  background-size: cover;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  background: url(./images/left_tab_bg.png) no-repeat;
}
.part-left .left-tab > li:hover {
  background-position-x: -30px;
}
.part-left .left-tab > li.sel {
  background-position-x: -60px;
}
.part-left .left-tab > li.sel:hover {
  background-position-x: -90px;
}
.part-left .left-tab > li > span {
  display: table-cell;
  vertical-align: middle;
  font-size: 16px;
}
.part-left .left-view {
  width: 290px;
  height: 100%;
  float: left;
  overflow: hidden;
}
.part-left .left-view > li {
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  height: 100%;
  display: none;
  position: relative;
}
.part-left .left-switch {
  position: absolute;
  left: 320px;
  width: 17px;
  height: 82px;
  background: transparent url(./images/left_switch_close.png) no-repeat;
  top: 50%;
  margin-top: -70px;
  z-index: 10;
  border: none;
  outline: none;
  cursor: pointer;
}
.part-left .left-switch.open {
  background: transparent url(./images/left_switch_open.png) no-repeat;
}
.video-header {
  padding: 20px;
}
.header-btns {
  position: absolute;
  top: 20px;
  right: 20px;
}
.p-config {
}
.video-devid {
  display: inline-block;
  margin-left: 20px;
}
.menu-screen {
  display: inline-block;
  vertical-align: middle;
}

/* .video-main{
	position: absolute;
	top: 85px;
	left: 30px;
	right: 25px;
	bottom: 20px;
	border:1px solid #999;
} */
.video-main > li {
  border: 1px solid #aaa;
  float: left;
  position: relative;
}
.video-main > li.loading {
  background: #000;
}
.video-main > li:hover {
  border: 2px solid #ffb951;
}
.video-main > li.sel {
  border: 2px solid #ef8601;
}
.video-main.mode-1 > li {
  width: 100%;
  /* height: 100%; */
}
.video-main.mode-4 > li {
  width: 50%;
  height: 50%;
}
.video-main.mode-9 > li {
  width: 33.3%;
  height: 33.3%;
}
.video-main.mode-16 > li {
  width: 25%;
  height: 25%;
}

.video-container {
  padding: 1.25rem 2.2rem;
}
.menu-screen li {
  float: left;
  width: 48px;
  height: 38px;
  text-align: center;
  margin-left: -1px;
  border: 1px solid #c7c9ce;
  cursor: pointer;
  background-image: url("./images/icon_rank_off.png");
}
.menu-screen li:hover {
  position: relative;
  border: #ef8601 1px solid;
  background-color: #fbb966;
  background-image: url("./images/icon_rank_on.png");
  z-index: 10;
}
.menu-screen .on-sel {
  position: relative;
  border: none;
  background-color: #ef8601 !important;
  background-image: url("./images/icon_rank_on.png");
  z-index: 10;
}
.menu-screen .btn-one {
  background-position: 0 0;
}
.menu-screen .btn-four {
  background-position: -49px -1px;
}
.menu-screen .btn-nine {
  background-position: -99px -1px;
}
.menu-screen .btn-sixteen {
  background-position: -148px -1px;
}
.menu-select,
.menu-play-back {
  float: right;
}
.menu-select li,
.menu-play-back li {
  display: inline-block;
  height: 38px;
  line-height: 38px;
  padding: 0 0.6rem;
  color: #fff;
  background-color: #4ac049;
  cursor: pointer;
}
.menu-select li i,
.menu-play-back li i {
  width: 24px;
  height: 20px;
  margin-right: 6px;
}
.menu-select li:hover,
.menu-play-back li:hover {
  background-color: #ef8601;
}
.menu-select .on-sel,
.menu-play-back .on-sel {
  background-color: #ef8601;
}

.p-config {
  cursor: pointer;
}
.dialog {
  top: 300px;
  left: 400px;
  position: absolute;
  z-index: 1000;
  background-color: #fff;
  border: 1px solid #f0f0f0;
  display: none;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.15);
  width: 450px;
  height: 295px;
}
.dialog-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  background-color: rgba(50, 50, 50, 0.5);
}

.dialog .dialog-header {
  width: 100%;
  height: 40px;
  background-color: #eff6ff;
  border-bottom: 1px solid #b0d5fc;
  padding: 9px 15px;
}
.dialog .dialog-close {
  width: 20px;
  height: 20px;
  position: absolute;
  right: 10px;
  border: none;
  background: transparent url("./images/btn_close1.png") no-repeat center center;
}
.dialog-header-title {
  color: #1c5590;
}

.dialog .dialog-content {
  position: absolute;
  top: 40px;
  bottom: 64px;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}
.dialog .dialog-footer {
  height: 55px;
  width: 100%;
  position: absolute;
  bottom: 0;
  background-color: #f5f5f5;
}
.footer-btns {
  margin: auto;
  width: 180px;
  margin-top: 15px;
}
.footer-btns > button {
  border-radius: 4px;
  width: 80px;
  height: 28px;
  border: none;
  font-size: 16px;
  color: #fff;
  line-height: 28px;
}
.btn-confirm {
  background-color: #3b8cff;
  margin-right: 15px;
}
.btn-cancel {
  background-color: #a0a0a0;
}
.config-main {
  margin-left: 75px;
  display: block;
  margin-top: 20px;
}
.config-main input {
  width: 220px;
  border-radius: 2px;
  padding-left: 10px;
  height: 30px;
  border: 1px solid #e2e2e2;
}
.config-main span {
  display: inline-block;
  width: 72px;
}
.config-main > li {
  margin-bottom: 12px;
}

.zTree-container {
  position: absolute;
  width: 240px;
  top: 0;
  bottom: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.ztree {
  padding: 1rem;
}

.ztree li span.button.ico_docu,
.ztree li span.button.ico_close,
.ztree li span.button.ico_open {
  display: none;
}

.ztree li span.button.noline_close,
.ztree li span.button.roots_open,
.ztree li span.button.center_open,
.ztree li span.button.bottom_open {
  background: url("./images/config_gis_tree.png") no-repeat;
  position: relative;
  z-index: 999;
}

.ztree li span.button.noline_open,
.ztree li span.button.roots_close,
.ztree li span.button.center_close,
.ztree li span.button.bottom_close {
  background: url("./images/config_gis_tree.png") no-repeat;
  background-position: -17px 0;
  position: relative;
  z-index: 999;
}

.ztree li a {
  width: 150%;
  height: 35px;
  line-height: 35px;
  text-indent: 80px;
  margin-left: -80px;
}

.ztree li a.curSelectedNode {
  opacity: 1;
  height: 35px;
  line-height: 35px;
  border: none;
  background-color: #ffefcc;
}

.ztree li span.button {
  margin: 9px 0 0 0;
}

.ztree * {
  color: #000;
  font: 1rem "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.ztree li a {
  padding: 0 0 0 6px;
}

.ztree li a:hover {
  background: #e1f2ff;
  text-decoration: none;
}

.ztree li ul.line {
  background: none;
}
.ztree li span {
  line-height: 35px;
}

.ztree li span.button.ico_docu {
  display: inline-block;
  background: url("images/monitor.png") no-repeat center;
  margin-top: 10px;
}

.ztree li a {
  position: relative;
}

.play-monitor {
  background: url("images/stop-monitor.png");
  display: inline-block;
  width: 24px;
  height: 24px;
  position: absolute;
  right: 2.7rem;
  top: 7px;
}

.ztree li span.node_name {
  display: inline-block;
  text-indent: 0;
  width: 42%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.video-area {
  position: absolute;
  top: 80px;
  bottom: 50px;
  left: 0px;
  right: 0px;
}
.video-main {
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
}
