/*页面左侧围栏种类*/
#fenceListWrapper {
  position: absolute;
  width: 380px;
  height: 8000px;
  top: 0;
  left: 0;
  z-index: 99999;
  border-right: 1px solid #ddd;
  background-color: #fff;
}

#fenceListWrapper div {
  position: static;
}

.leftHeader {
  padding: 12px 15px;
  font-size: 16px;
  font-weight: 600;
  cursor: default;
  border-bottom: 1px solid #ddd;
}

#fenceListWrapper #fenceBox {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 5px;
  padding-right: 0;
}

.fence-box:after,
.fence-box::after {
  content: '';
  font-size: 20px;
  text-align: center;
  line-height: 10vh;
  display: block;
  position: absolute;
  width: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  background: black;
  opacity: 0.3;
  transition: all 300ms;
}

.panel-heading span {
  font-size: 14px;
  color: #ff0000;
  float: right;
  position: relative;
  top: -33px;
  right: 10px;
}

#fenceListWrapper #fenceList, #fenceListWrapper #subFenceList {
  position: relative;
  float: left;
  width: 50%;
  height: 100%;
  padding-bottom: 38px;
  border-right: 1px solid #ddd;
}

#fenceUl, #subFenceList .tab-pane.active {
  height: 100%;
  overflow-y: auto;
}

#fenceListWrapper .handleBox {
  position: absolute;
  display: flex;
  width: 100%;
  height: 30px;
  left: -2px;
  bottom: 0;
}

.treeArea {
  display: flex;
  width: 100%;
  height: 600px;
  border: 1px solid #ccc;
  overflow: auto
}

.handleBox button {
  flex: 1;
  margin: 0;
  padding: 0;
  font-size: 17px;
  color: #428bca;
  cursor: pointer;
  text-align: center;
  border: none;
  background-color: transparent;
}

.handleBox button[disabled] {
  color: #bbb;
  cursor: not-allowed;
}

#fenceList .nav-tabs {
  border: none;
}

.nav-tabs > li {
  float: initial;
}

.nav-tabs > li a {
  position: relative;
  margin: 0;
  border-radius: 0;
  border: none;
  border-right: 2px solid transparent;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus, #subFenceUl li.active {
  color: #428bca;
  cursor: default;
  border: none;
  border-right: 2px solid #428bca;
  background-color: rgb(230, 247, 250);
}

.fence-color-circle {
  position: absolute;
  width: 11px;
  height: 11px;
  top: 14px;
  right: 5px;
  border-radius: 100%;
  background-color: red;
}

#subFenceList {
  border-right: none;
}

#subFenceList ul {
  border-top: 1px solid #ddd;
}

#subFenceList ul li {
  height: 40px;
  padding: 11px 15px;
  overflow: hidden;
}

#subFenceList ul li label {
  width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -moz-text-overflow: ellipsis;
  -moz-white-space: nowrap;
  -webkit-text-overflow: ellipsis;
  -webkit-white-space: nowrap;
}

#subFenceList ul li input {
  vertical-align: 1px;
  margin-top: 0;
}

#subFenceList ul li label {
  font-weight: 500;
}

/*#subFenceUl li.active{
  color: #428bca;
  cursor: default;
  background-color: rgb(230,247,250);
}*/


#content-right {
  width: 100% !important;
  padding-left: 381px;
}

.mapDropSettingMenu {
  display: none;
  z-index: 999;
  position: absolute;
  top: 50px;
  right: 310px;
  width: 140px;
  background: #fff;
  border: 1px solid #c4c4c4;
  border-radius: 3px;
  left: unset !important;
}

.disSetMenu p, .mapDropSettingMenu p {
  text-align: left;
  margin: 5px;
  padding: 0px 10px;
}

#amapMap, #googleSatelliteMap, #googleGeograpyMap, #realTimeRC, #smoothMove {
  vertical-align: text-top;
}

#amapMapLab, #googleSatelliteMapLab, #googleGeograpyMapLab, #realTimeRCLab, #smoothMoveLab {
  margin: 0;
}

.fence-type {
  text-align: center;
  padding: 10px 0px;
  border-bottom: 1px solid lightgrey;
  cursor: pointer;
}

.fence-type:hover {
  background-color: #ddd;
}

.fence-type:active, .subFence:hover {
  background-color: #eee;
}

.fence-type:last-child {
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px
}

.fence-icon {
  line-height: 0;
  margin: -2px 3px 0px 0px;
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  border: 0 none;
  outline: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-image: url(/clbs/resources/js/zTree/css/img/zTreeStandard.svg);
  background-size: 200px 200px;
}

.fence-polygon {
  background-position: -165px -93px;
}

.fence-circle {
  background-position: -165px -70px;
}

.fence-line {
  background-position: -165px -28px;
}

.fence-marker {
  background-position: -165px -8px;
}

.fence-text {
  display: inline-block;
  width: 50px;
}

.visual-setting {
  position: absolute;
  bottom: 6px;
  right: 6px;
  z-index: 999;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  border: 1px solid lightgray;
  background-color: white;
  padding-left: 7px;
  padding-top: 0px;
}

.visual-setting:hover {
  background-color: #ddd;
}

.visual-setting:active {
  background-color: #eee;
}

.related {
  padding-top: 8px;
  max-height: 200px;
  overflow-y: auto;
  display: none;
}
