.batch-top-bar {
  /* height: 44px;*/
  margin-top: 10px; 
  margin-bottom: 10px; 
  width: 100%;
  float: left;
  border-bottom: 2px solid #d1d1d1;
  margin-bottom: 3px; 
}
.sync{
  height: 26px;
  text-align: center;
  padding-top: 2px;
}

.batch-nav {
  padding-left: 10px;
  text-align: left;
  margin: 0;
  float: left;
}

.batch-nav > li {
  padding-right: 15px;
  float: left;
  display: inline-block;
  text-align: left;
  position: relative;
  margin: 0;
}

.batch-nav > li > a {
  display: inline-block;
  text-align: left;
  padding: 0 !important;
  padding-right: 18px !important;
  padding-left: 14px !important;
  font-size: 15px;
  line-height: 44px;
  color: #777777;
  font-weight: 400;
  height: 44px;
  position: relative;
}

.batch-nav > li > a > span.fa {
  display: inline-block;
  float: left;
  margin: 8px 8px 0 0;
  font-size: 28px;
}

.batch-nav > li > a > span.fa-mobile {
  font-size: 30px;
}

.batch-nav > li > a.current {
  color: #5684ab;
}

.navbar {
  height: 44px !important;
  min-height: 44px !important;
}

.btn-group{
  margin: 0 0 0 0;
}

.add-phone-img{
  cursor: not-allowed;
  content: url("../../common/img/plus.png");
}
.add-active{
  cursor: pointer;
  content: url("../../common/img/plus-active.png");
}

.phone-list-content {
  display: flex; 
  /* position: relative; */
  flex-wrap: wrap;
  justify-content: end;
}

.phone-screen, iframe{
  width: 140px;
  height: 190px;
}

.phone-item{
  /* float: left; */
  height: 230px;
  margin-top: 1px;
  margin-right: 2px;
  width: 140px;
  margin-left: 2px;
  display: block;
  position: relative;

}
.phone-item:not(.master) {
  border: 1px solid #ccc;
  border-radius: 10px;
}

.phone-footer{
  border-top: 1px solid #ccc;
  border-radius: 3px;
  height: 20px;
  line-height: 20px;
  font-size: 2px;
}

.phone-screen-master, iframe{
  width: 280px;
  height: 400px;
}

.phone-item-master{
  /* float: left; */
  height: 460px;
  margin-top: 1px;
  margin-right: 2px;
  width: 280px;
  margin-left: 2px;
  display: block;
  position: relative;
  border: 1px solid #ccc;
  border-radius: 10px;
}

.phone-footer-master{
  border-top: 1px solid #ccc;
  border-radius: 3px;
  height: 30px;
  line-height: 30px;
  font-size: 2px;
}
.phone-top-master{
  border-bottom:1px solid #ccc;
  height:30px;
}

.phone-top{
  border-bottom:1px solid #ccc;
  height:20px;
}

.phone-name{
  /* border-bottom: 1px solid #ccc; */
  font-size: 20px; 
  margin-bottom: 1px;
  overflow: hidden;
  padding: 1px 12px;
  text-overflow: ellipsis;
}
.phone-list{
  width: 100%;
  display: flex;
  float: left;
  min-height: 90vh;
  justify-content: space-between;
}
.phone-list-right{
  width: 78vw; 
  /* height: 100%; */
  overflow-y:scroll ;
  overflow-x: hidden;
  max-height: 90vh;
  position: fixed;
  left: 22vw;
}
.batch-nav-phone-left{
  text-align: center;
  /* margin-left: 10px; */
}
.phone-list-left{
  width: 20vw;
  /* height: 650px; */
  border: 2px solid #d1d1d1;
  max-width: 22vw;
  max-height: 90vh;
}
.search{
    text-align:left;
    height:25px;
    width:150px;
}
.search select{
    height:22px
}
.in-search{
  border-radius: 5px;
  border: 1px solid #337ab7;
  width: 80%;
  height: 25px;
  max-width: 240px;
}
.device_table{
  text-align: center;
  /* height: 80%; */
  width: 100%;
  table-layout:fixed;
  overflow: auto;
}

.device-th-box{
  text-align: center;
  max-height: 20px;
  color: #000;
  border-left: #d1d1d1;
  width: 15%;
}
.device-th-status{
  text-align: center;
  max-height: 20px;
  color: #000;
  border-left: #d1d1d1;
  width: 15%;
}
.device-th-long{
  text-align: center;
  max-height: 20px;
  color: #000;
  border-left: #d1d1d1;
  width: 20%;
}
.device-th-short{
  text-align: center;
  max-height: 20px;
  color: #000;
  border-left: #d1d1d1;
  width: 30%;
}

.batch-nav-phone {
  text-align: center;
  margin: 0;
  float: left;
  display: inline-block;
  /* margin-left: 10px; */
}

.linkage{
  border-top: 1px solid #ccc;
  width: auto;
}

.phone-footer div{
  float: left;
  height: 100%;
  width: 25%;
  text-align: center;
  vertical-align: center;
  position: relative;
  box-sizing: border-box;
}


.phone-screen img{
  width: auto;
  margin-top: 50%;
  /* margin-left: 35%; */
}

.phone-power, .phone-home, .phone-full{
  border-left: 1px solid #ccc;
}


.phone-footer div:hover{
  background-color: #ddd;
  cursor: pointer;
}
.linkage-control{
  width: 64px;
}
.linkage-control:checked+label {
  background: url("../../common/img/switch.png") no-repeat center center;
  width: 64px;
}
.linkage-control+label{
  background: url("../../common/img/no_switch.png") no-repeat center center;
  cursor: pointer;
  display: block;
  height: 64px;
  margin: 15px 10px;
  width: 64px;
}

.master.phone-name{
  border-top: 1px solid #ccc;
  border-radius: 10px;
}

.pb_container{
  /* display: block; */
  width: 80%;
  height: 80%;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 100px;
  /* overflow:auto; */
}

.pb_mask{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.3;
  z-index: 10000;
  /* overflow:auto; */
}

.pb_panel{
  margin-left: 10%;
  width: 80%;
  /* display: block; */
  position: fixed;
  overflow-y: auto;
  max-height: 80vh;
  z-index: 10001;
  background-color: #fff;
}

.pb_header{
  cursor: move;
  background: #EDEDED;
  height: 46px;
  padding-left: 24px;
  position: relative;
  margin-bottom: 5px;
}

.pb_title{
  margin: 0 10px;
  display: inline-block;
  line-height: 46px;
  color: #333;
  font-size: 18px;
  font-weight: normal;
  letter-spacing: 2px;
}

.pb_closebtn:link, .pb_closebtn:visited{
  display: inline-block;
  width: 46px;
  height: 46px;
  position: absolute;
  right: 0;
  top: 0;
  color: #999;
  font-size: 22px;
  text-decoration: none;
  text-align: center;
  line-height: 46px;
  background: url("../../common/img/close.png") no-repeat center center ;
  /*background-repeat: no-repeat;*/
  /*background-position: 16px;*/
}

.pb_body{
  overflow-y: auto;
  padding: 10px;
  max-height: 60vh;
  font-size: 14px;
}

.pb_btns{
  text-align: center;
  margin-top: 15px;

}

.pb_cancelbtn:link{
  background: #e1e1e1;
  color: #333;
  display: inline-block;
  line-height: 36px;
  font-weight: normal;
  font-size: 18px;
  border-radius: 5px;
  margin: 0 15px;
  padding: 0 24px;
}

.pb_footer{
  margin: 20px 0 10px;
  font-size: 12px;
  color: #666;
  text-align: right;
  padding-right: 20px;
}

iframe.phone-select{
  width: 100%;
  height: 1000px;
}

a.pb_closebtn:hover{
  background-color: #ddd;
}

.cancel{
  display: none;
}

.hide{
  display: none;
}


.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 25px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 50%;
  /*border-radius: 34px;*/
}

.slider.round:before {
  border-radius: 34px;
}
