.polypic_container {
  position:relative;
  background-color:#eeeeee;
  overflow: hidden;
}

.polypic_img {
  position:absolute;
}

.polypic-warning {
  position:absolute;
  background-color: #ffeeee;
  color: red;
  border-radius: 5px;
  border: 1px solid #550000;
  text-align:center;
  font-weight:bold;
  font-size:9pt;
  z-index:15;
  padding:5px;
}

.polypic-warning .controlbutin {
  float:right;
  margin-top:4px;
  margin-right:4px;
}

.polypic_img.back_black {
  background-color:grey;
  z-index:1;
}
.polypic_img.back_img {
  opacity:0.5;
  z-index:5;
}
.polypic_img.polyed {
  z-index:10;
}

.poly_anchor {
  width:8px;
  height:8px;
  background-color:black;
  border: 1px solid white;
  opacity:0.5;
  position:absolute;
  z-index:12;
  cursor: move;
  border-radius:5px;
}

.poly_anchor.virtual {
  background-color:#666666;
  width:6px;
  height:6px;
  border-radius:3px;
}

.controlbox {
  position:absolute;
  right:10px;
  bottom:10px;
  background-color:black;
  opacity:0.8;
  width:104px;
  height:62px;
  z-index: 15;
  border-radius:5px;
}
.controlboxin {
  position:relative;
}
.controlbut {
  position:absolute;
  background-color:#dddddd;
  width:18px;
  height:18px;  
  border-radius:5px;
  cursor:pointer;
}
.controlbut.mini {
  width:16px;
  height:16px;  
}
.controlbutin {
  position: relative;
}
.controlbutin .controlbutimg {
  position: absolute;
  width: 18px;
  height: 18px;
  background: transparent url(../img/icons.png) 0px 0px no-repeat;
}
.controlbut.mini .controlbutin .controlbutimg {
  width:16px;
  height:16px;  
}
.controlbut.active {
  background-color:white;
}
.controlbut.disabled {
  background-color:grey;
  cursor:not-allowed;
}
