@import "~@less/mixin.less";
@import "~@less/variables.less";

.emergencyProdure {
  .contentZIndex2;
  position: fixed;
  top: 50px;
  bottom: 10px;
  width: 450px;
  right: 10px;
  padding: 15px;
  background-color: #fff;
  .modalTop {
    height: 60px;
    line-height: 60px;
    position: relative;
  }
  .modalTopL {
    float: left;
    height: 60px;
    p {
      display: inline-block;
      font-size: 16px;
      padding: 0 5px;
      max-width: 265px;
      
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .imgs {
      position: relative;
      top: -17px;
    }
  }
  .modalTopR {
    float: right;
    color: #2A9BD5;
    font-weight: bold;
    cursor: pointer;
  }
  .nameLis {
    position: absolute;
    width: 400px;
    top: 46px;
    left: 10px;
    padding: 10px;
    box-sizing: border-box;
    background-color: #fff;
    box-shadow: 0 10px 20px 0 #989DA3;
    border: 1px solid #dedede;
    z-index: 1;
    i {
      width: 0;
      height: 0;
      border-width: 10px;
      border-style: solid;
      border-color: transparent transparent #fff transparent;
      position: absolute;
      top: -20px;
      right: 10px;
    }
    li {
      line-height: 18px;
      float: left;
      padding: 10px;
      cursor: pointer;
    }
  }
  .selectColor{
    color: #2A9BD5;
  }
  .imageModal {
    .maskContentZIndex1;
    position: fixed;
    background-color: #fff;
    overflow: hidden;
    width: 900px;
    padding-top: 30px;
    box-sizing: border-box;
    margin-left: -450px;
    // margin-top: -400px;
    // height: 800px;
    // top: 50%;
    left: 50%;
    top: 60px;
    bottom: 60px;
    .emergencyImg{
      height: 100%;
      width: 100%;
      position: relative;
      float: left;
      // position: absolute;
      // left: 50%;
      // transform: translateX(-50%);
    }
  }
  .dragImgWrap {
    .contentZIndex1;
    width: 100%;
    height: 30px;
    line-height: 36px;
    text-indent: 1em;
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
  }
  img.img{
    cursor: pointer;
    position: absolute;
    top: 6px;
    right: 10px;
  }
}
.imageModalWrap {
  .maskZIndex;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.6;
  filter: alpha(opacity=60);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=60);";
}

.imageModal {
  .maskContentZIndex1;
  position: fixed;
  background-color: #fff;
  overflow: hidden;
  width: 900px;
  // padding-top: 20px;
  box-sizing: border-box;
  margin-left: -450px;
  // margin-top: -415px;
  // height: 800px;
  // top: 50%;
  left: 50%;
  top: 60px;
  bottom: 60px;
  .emergencyImg{
    height: 100%;
    width: 100%;
    max-height: 800px;
    position: relative;
    top:10px;
    float: left;
    // position: absolute;
    // left: 50%;
    // transform: translateX(-50%);
  }
}
.dragImgWrap {
  width: 100%;
  height: 30px;
  line-height: 36px;
  text-indent: 1em;
  .maskContentZIndex1;
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
}
img.img{
  .maskContentZIndex2;
  cursor: pointer;
  position: absolute;
  top: 6px;
  right: 10px;
}