@keyframes slideDownIn {
  0% {
    opacity: 0;
    transform-origin: 100% 100%;
    transform: scaleY(0.8);
  }
  100% {
    opacity: 1;
    transform-origin: 100% 100%;
    transform: scaleY(1);
  }
}
@keyframes slideDownOut {
  0% {
    opacity: 1;
    transform-origin: 100% 100%;
    transform: scaleY(1);
  }
  100% {
    opacity: 0;
    transform-origin: 100% 100%;
    transform: scaleY(0.8);
  }
}
// 自定义用户组
.jw-m-define-usergroup{
  width: 100%;
  min-height: 700px;
  background: #ffffff;
  box-shadow: 0px 1px 3px 0px rgba(204,204,204,0.5);
  margin-top: 24px;
  padding-bottom: 30px;
  position: relative;
  .define-usergroup-left{
    width: 36%;
    display: inline-block;
    min-height: 700px;
    vertical-align: top;
    padding: 36px 20px 0px 0px;
    overflow: hidden;
    .jw-button{
      display: inline-block;
      width: 44%;
      margin-left: 20px;
      margin-bottom: 40px;
    }
    .users-add-group-btn,
    .users-add-usegroup-btn{
      width: 100%;
      border: 1px solid #333333;
    }
  }
  .usergroup-menu-list{
    min-height: 46px;
    li:focus{
      background-color: transparent;
      &:hover{
        background-color: rgba(0, 0, 0, 0.08);
      }
    }
    .menu-hide,.menu-show{
      width: 0;
      height: 0;
      border-top: 5px solid transparent;
      border-left: 6px solid #b0b0b0;
      border-bottom: 5px solid transparent;
      margin-right: 10px;
    }
    .menu-show{
      transform: rotate(90deg);
    }
    .menu-name{
      width: 73%;
    }
    .jw-custom-menu-w{
      width: auto;
      height: auto;
    }
    .jw-custom-menu-w button{
      padding: 7px 14px;
    }
    .usergroup-operation{
      .icon-add-usergroup{
        vertical-align: middle;
        margin-right: 15px;
      }
      svg{
        vertical-align: middle;
        opacity: 0.3;
        margin-left: 5px;
      }
      .jw-custom-menu-w{
        margin-left: 2px;
      }
    }
    .jwm-usergroup-active{
      background: rgba(0, 0, 0, 0.08);
    }
  }
  .usergroup-menu-list>li{
    width: 98%;
    padding-left: 8%;
    padding-right: 0;
    font-weight: 500;
    font-size: 15px;
  }
  .child-menus.child-menus-hidden{
    display: none;
  }
  .child-menus.child-menus-collapse-active {
    transition: height 0.15s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.15s cubic-bezier(0.645, 0.045, 0.355, 1) !important;
  }
  .child-menus.child-menus-slideDownOut{
    animation-name: slideDownOut;
    animation-play-state: running;
  }
  .child-menus.child-menus-slideDownIn{
    animation-name: slideDownIn;
    animation-play-state: running;
  }
  .child-menus>li{
    font-weight: 400;
    width: 93%;
    padding-left: 13%;
    padding-right: 0;
    font-size: 14px;
    &::before{
      content: '';
      width: 4px;
      height: 4px;
      border-radius: 100%;
      background: #404a53;
      margin-right: 10px;
    }
    .menu-name{
      width: 80.5%;
    }
  }
  .define-usergroup-line{
    width: 1px;
    position: absolute;
    left: 36%;
    top: 0;
    bottom: 0;
    background: #e7e7e7;
  }
  .define-usergroup-right{
    width: 64%;
    display: inline-block;
    vertical-align: top;
    min-height: 700px;
    .usergroup-empty-page{
      margin-top: 200px;
      text-align: center;
      .usergroup-empty-desc1,
      .usergroup-empty-desc2{
        color: #b0b0b0;
        font-weight: 500;
      }
      .usergroup-empty-desc1{
        margin-top: 30px;
      }
      .usergroup-empty-desc2{
        span{
          color: #3297fc;
          cursor: pointer;
        }
      }
    }
    .define-usergroup-title{
      height: 87px;
      line-height: 87px;
      padding: 0 20px 0 14px;
      border-bottom: 1px solid #e7e7e7;
      .title-name{
        font-size: 16px;
        color: #494949;
        font-weight: 500;
        max-width: 60%;
        float: left;
      }
      .jw-button{
        display: inline-block;
        float: right;
      }
      .usergroup-view-member{
        border: 1px solid #b0b0b0;
        padding: 3px 19px;
        margin: 0 20px;
        border-radius: 0;
        &:hover{
          background: #ffffff;
        }
      }
      .usergroup-save{
        &[disabled]{
          background: #e7e7e7;
          color: #666666;
        }
        background: #404a53;
        color: #fff;
        padding: 3px 29px;
        border-radius: 0;
      }
    }
    .user-obj-select-rules{
      font-size: 14px;
      color: #494949;
      margin: 20px 0 0 15px;
    }
    .user-obj-select-rules-desc{
      margin: 8px 0 0 15px;
      font-size: 13px;
      color: #999999;
    }
  }
}
.jw-sharescope-select{
  font-size: 14px;
  min-width: 100px;
}
// 添加用户组分组弹框
.jw-m-addgroup-dialog{
  #form-dialog-title{
    width: 600px;
  }
  .jw-m-addgroup-content{
    width: 100%;
  }

  .jw-m-addgroup-input:after{
    border-bottom: 2px solid #3297fc;
  }
}
// 添加用户组弹框
.jw-m-addusergroup-dialog{
  .addusergroup-cancel-btn{
    border: 1px solid #b0b0b0;
    padding: 3px 8px;
    margin: 0 20px;
    border-radius: 0;
    color: #494949;
    &:hover{
      background: #ffffff;
    }
  }
  .addusergroup-save-btn{
    padding: 3px 8px;
    color: #fff;
    background: #404a53;
    border-radius: 0px;
    &:hover{
      background: #000000;
    }
    &[disabled]{
      background: #b0b0b0;
    }
  }
  .addusergroup-actions{
    margin: 8px 29px 40px;
  }
  #alert-dialog-title{
    width: 600px;
    max-width: 600px;
    overflow-x:hidden;
    border-bottom: 1px solid #e7e7e7;
  }
  .jw-custom-select-w{
    display: inline-block;
    width: 75%;
  }
  .icon-close-big{
    float: right;
    margin: 8px 0px 0 0;
    cursor: pointer;
  }
  .label{
    display: inline-block;
    width: 100px;
    color: #494949;
    font-size: 14px;
    font-weight: 500;
  }
  .label-required{
    color: #FF3B2F;
  }
  .addusergroup-name,
  .addusergroup-belong{
    margin-top: 50px;
    .addusergroup-name-input{
      width: 75%;
    }
    .addusergroup-belong-select{
      width: 100%;
      font-size: 14px;
    }
    #standard-search{
      padding: 0 0 4px;
      font-size: 14px;
    }
    #placeholder{
      font-size: 14px;
    }
  }
}
// 分享范围组件样式
.jw-share-scope-w{
  margin: 20px 0 0 15px;
  .jw-share-scope{
    margin-top: 20px;
    border: none;
    &:first-child{
      margin-top: 5px;
    }
  }
  .jw-share-rules-w{
    max-width:600px;
    height: auto;
    background: #f7f7f7;
    position: relative;
    padding-bottom: 20px;
    .jw-share-rules-title{
      span{
        display: inline-block;
        width: 63px;
        height: 30px;
        background: #404a53;
        line-height: 30px;
        font-size: 12px;
        color: #fff;
        text-align: center;
        margin: 20px 20px 0 20px;
      }
    }
    .jw-share-group{
      margin: 20px 0 0 20px;
    }
    // antd select 样式
    .jw-share-select{
      display: inline-block;
      // margin-bottom: 20px;
      .jw-select {
        width: 100px;
      }
      .jw-select-inner{
        width: 100px;
        border: 1px solid #d7d7d7;
        background: #fff;
        height: 41px;
        padding-left: 5px;
        font-size: 13px;
        &:after,&:before,&:hover:before{
          border-bottom: none;
        }
        div:focus{
          background: #fff;
        }
      }
      .ant-select-selection--single{
        height: 40px;
      }
      .ant-select-selection{
        border-radius: 1.5px;
      }
      .ant-select-selection__placeholder,
      .ant-select-search__field__placeholder{
        margin-top: -3px;
      }
      .ant-select-selection-selected-value{
        margin-top: 4px;
        .icon-selected{
          display: none;
        }
      }
      .ant-select-open .ant-select-selection,
      .ant-select-focused .ant-select-selection,
      .ant-select-selection:focus,
      .ant-select-selection:active,
      .ant-select-selection:hover{
        border-color: #d7d7d7;
      }
      // 小三角形样式
      .ant-select-arrow:before{
        content: '';
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid #999;
      }
      .ant-select-open .ant-select-arrow:before{
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
      }
      .ant-select-dropdown{
        width: 200px !important;
      }
    }
    .jw-share-select-other{
      float: left;
    }
    // 添加 XX 选择框样式
    .jw-share-add{
      display: none;
      margin-left: 9px;
      position:relative;
      // float: left;
      .jw-shareobj{
        max-width: 515px;
      }
      // 用户性别、安全等级select样式
      .jw-share-multiple-select{
        max-width: 340px;
        min-width: 340px;
        height: auto;
        min-height: 41px;
        background: white;
        border: 1px solid #d7d7d7;
        padding-left: 5px;
        &:before,&:after,&:hover:before{
          border: none;
        }
        div:focus{
          background: white;
        }
        .custom-select-check-i{
          height: 19px;
          margin-left: 5px;
        }
      }
      .jw-custom-select-multiple-placeholder{
        margin-left: 5px;
      }
      .ant-select-selection__placeholder,
      .ant-select-search__field__placeholder{
        color: #3297fc;
        right: 30px;
      }
      .jw-share-icon{
        width: 40px;
        text-align: center;
        cursor: pointer;
        position: absolute;
        top: 6px;
        right: 0px;
        border-left: 1px solid #e7e7e7;
        height: 26px;
        .icon-user{
          width: 22px;
        }
        .icon-user-roles{
          height: 20.5px;
        }
        // .icon-new{
        //   margin-top: 4px;
        // }
        .jw-custom-menu-w button:hover{
          padding: 7px;
        }
      }
      .icon-scope-down-w{
        text-align: center;
        position: absolute;
        top: 10px;
        right: 20px;
      }
      .ant-select-dropdown .ant-select-dropdown-menu .ant-select-dropdown-menu-item{
        padding: 0 10px!important;
      }
      .jw-teamscope-baseshare{
        max-width: 342px;
        min-width: 200px;
        width: 400px;
        border: none;
        border: 1px solid #ccc;
        padding: 3.6px;
        background: white;
        min-height: 40px;
        .custom-select-list{
          margin-top: 0;
        }
      }
    }
    .jw-share-add-other{
      display: inline-block;
      vertical-align: middle;
    }
    // “且”字样式
    .jw-share-and{
      width: 50px;
      height: 40px;
      line-height: 40px;
      text-align: center;
      border-radius: 1.5px;
      background: #f4f4f4;
      border: 1px solid #ddd;
      margin-left: 11px;
      display: inline-block;
      vertical-align: top;
    }
    // 删除条件icon样式
    .jw-share-delete-cond{
      width: 12px;
      height: 16px;
      background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAkCAYAAACaJFpUAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAHKADAAQAAAABAAAAJAAAAAD17AflAAAA4klEQVRIDe2XMQ6CQBBFHaW1s/AyBO/gXYROLDZhD+IJPIAkcBW1sqLfdSH8bQxLNLMNGZqf7EzeZB7bLK1mvqIoSmvteaZtKBPRpaqqMtS7CRV/GTZyDmmaUtu29RSX8jy3U8UY5+sY0BBz+QND2y+jRlgj9m3VWg+zln9pZEPcKbYUpWwqARKlMMGWopRNJUCiFCbYUpSyqQRIlMIEW3ql7m33YqN+g5448gPdo/OOwwhZg+kHJklyclu+UeDKntmzwfMv4KZpuizLrsaYvWvauYYtmv7J8Rfd3LCjUuoBxgff7C2EWtibZgAAAABJRU5ErkJggg==) no-repeat;
      display: inline-block;
      margin-left: 20px;
      background-size: 12px 16px;
      cursor: pointer;
      vertical-align: top;
      margin-top: 13px;
    }
    .jw-share-delete-cond-margin{
      margin-left: 81px;
    }
    // 删除规则icon样式
    .jw-share-delete-rules{
      background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAwNJREFUWAnNV89rE0EU/jbxEIJtBX+Si/jjotWDCPUkqGC8Sz30omDRk+JFPfgHKNhexJ4UBb30ULE9agQNeFIoHsSjP3KJFBVsIjEHs+v73uxsNsk26TZZ64PJzE5m3vftvJk33wLrbE4cfM/zsjI+L2VMSs4vUqHsl7dSFxzHqbFzYCbAY1LmPdf9LbWxauWP9+WTKWxbM2Pm5ZEke1rXFRAnO8XDlJQzqNUaeFlI4/UrYPENUK+3Os9kgMNHgKPHgRP5BrLZtAyYk3JNVqTUOrj5tCIBAT8G130qZQRPZlN4dB+oVpozu7WGhoFzF4DxCRep1LKU00KiGDUlkoCAn5XBD7D01cHVS2l8/hg1t3ffrj3A9EwD23Z4cJxJIfG4fVIHAX1z4AU+vE/h+uUUln+2z4n3PLIJuH3Xxf4DrpA42b4SLQQ05q77Dt+WhnF+It03uKVKEg9nG9i6vSLhOBTeEyk7xq+nNeZc9n7fPOyYvuiT+8ls6uDfgIC8PY/NuG64tcY8cBvRoE9uZjlRPpYOCgjI0w09atztSRl98zgTyzclIIyy8LxTes5Xe9Sshzg1fTOXCJZiyly7AnnZoRlNMnEcrmUsExmxTEoPCJi0yQyXtDUxFNOuQA6/qo2O9JoEGaZwYpnLLFiBHH58TwIu2qfB4m2KDdEjQr137skls6qLLTTJby7K7XzlYmd/qMeGoIzNW0LdCTcNFjVEsAJlbBxKg1dq+zXb4w1iUyUGsYyICfYAlYy5z7WR4A81gzHFtCEoSHKoq5iwfydVU7AQS6QbIZSA3E41SQ7PVclQTCRl9E215DjPFNMS8PFuqoyikknK6NtItVsWwoZASDmMyZzKKCqZQdvuvUaiCYaPpQj/lyARZiUKSNVwlFFUMv0afUzNuOrTiNNS2GUQAtspJIoSj0mMHnRVRvUTDs6lFNs3Sj1IUVq0OLZuCYHtZC339frJcktESCT+YWKxutZChJ9mCzE+zRY4p6tT/88VQxA1WZxmpf/ff5xGkRlU31975XiP7oQWBwAAAABJRU5ErkJggg==) no-repeat;
      width: 15px;
      height: 15px;
      background-size: 15px 15px;
      position: absolute;
      top: -7.5px;
      right: -7.5px;
      cursor: pointer;
    }
  }
  // 新增规则 添加条件按钮样式
  .jw-share-add-btn{
    display: block;
    border:none;
    background: transparent;
    margin: 20px 0 0 20px;
    cursor: pointer;
    // width: 100%;
    text-align: left;
    .icon-add-item{
      vertical-align: middle;
      margin-top: -3px;
    }
    .jw-share-add-rules{
      font-size: 13px;
      color: #3297fc;
      margin-left: 6px;
      font-weight: 500;
    }
    &:focus{
      outline: 0;
    }
  }
  // 隐藏样式
  .hide{
    display: none;
  }
}
// 下拉菜单样式
.jw-sharescope-select{
  .ant-select-dropdown-menu-item{
    padding: 11px 8px 11px 46px!important;
  }
}
// 加载更多
.jw-select-down{
  .jw-scope-load-more{
    font-size: 12px;
    color: #999;
    text-align: center;
    padding: 10px 0;
  }
}
.ant-select-dropdown.jw-sharescope-select{
  // width: 200px!important;
  border-radius: 0;
  .ant-select-dropdown-menu{
    padding: 10px 0;
    max-height: 300px;
    .ant-select-dropdown-menu-item{
      position: relative;
      &:hover{
        background: #ffffff;
      }
      .icon-selected{
        width: 19px;
        height: 14px;
        vertical-align: middle;
        margin: 0 10px;
        display: none;
        position: absolute;
        top: 13px;
        left: 8px;
      }
      span{
        padding-left: 0px;
      }
    }
    .ant-select-dropdown-menu-item-selected{
      span{
        padding-left: 0px;
      }
      .icon-selected{
        display: inline-block;
      }
    }
    .ant-select-dropdown-menu-item-active{
      background: #f7f7f7;
    }
  }
}
:root .ant-select-dropdown.ant-select-dropdown--multiple.jw-sharescope-select .ant-select-dropdown-menu-item:after{
  font-size: 20px;
}
.ant-select-dropdown.ant-select-dropdown--multiple.jw-sharescope-select{
  .ant-select-dropdown-menu-item-selected:after,
  .ant-select-dropdown-menu-item-selected:hover:after{
    color: #777777;
  }
   .ant-select-dropdown-menu-item:after{
    left: 15px;
  }
}
.icon-new {display: inline-block; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABIRJREFUWAnNWU1oFEkUrleT6GT8BaOYuWgUjWsiu6iIB1GDP+AkcZVNBBUvsuoqBJaAJ08iCHoS42EXFMQoqBNRMfEPTBBhVbIeFBSNLATU0UWMroNJNjIpv9ehm+5KpzM140zSh9Tfe6++ea/q/VRIZPitq942L6X6f1ZCLBZKRBWpqBBUIoRClxL4kyDBLXWEC0JXb14535XJVmTCFIvVzewlVQ9Am5RQC014icRjQL8cGh85cefymQ/p8qYFcOPGnZOSqc/7AawBwCakK9yPDlr9T0hxpLiIjsXj8V4/GvfciAArY79sUYJOwHTT3YzZ9onojSC5u73l4vUgWaHhFhXscffR00PQWiNostLaMHtMhna2ls4r7+16+eyvYWiErwZranZHkgPdZ3HeNw/H+D3nSYqm4iL5K0zer8uV+gRrLp/geH81IHa87xn4U8fC4yEmHjSr2uNHnOO5n0rLKpJdnc/uu/fxmHjwQogLbgKTPg7+v9BHgVJimgmfTQv+lBCyqr314i17zjExu5LB22ovGbdvw3NKZoWnhudYrsSYnV28CimV+mNDff14m90BaPm5LFwJHPGTG42N/984d+4zrt4Le4MM2tl9/yT22XwWQI4Q7ITtyVFvSRxYW1c3hXFYADl8ZRshvueP4jM80KN2OQABLi/+zuRHIAmxMEnOSmDeH0yY80S7fP3mHTMkp0x52tBoG9xo2d/fVyOtfM6INX/EJNRiCfMi0RybH7QYLbAyYahxhO8t+7kgGoSkv+11Uuo+fOFHe+zXIigsgWcu9luz5xBZorS6qjYJwon2pN5y+OIIwU5YX8tmvGH79sm9n/pew4KTAuS8gh+E1wn8VIHo7nZCTyCpwWKqR4ah9SHJilsElKOoMlb7HH6wzL2g963YOkL4YrO2Xb/0O/NWVtWeQlOhy/GMlShPIzg84DOYgJoDAULQFNAs82ygD7xnrgIHPJhe5/cZQ4MJyaWhz9qYmIJiEpLr1jGBxgcENNghuaj2WRv1KYBLjSuiFskVPxfVo45IAwDXcu9WPN5tpVtc8Wvroz6EV7AwWQD5OSLTND0nv4ToXeG0CLuqwYTVeivBc0RONstAqCR18HZT0xcHIHf4rQQH800G8iwWjq0cvjiHg88sz1QOokvnyqWLTtr83rKzeksMVfQ1zsVsAqOWRJLDF4JnxIjPIaavIRJr7rQ237OnPLGwq/PpS34rQXxeZxMYthyzCw15HHIZot/aWpqvOBPoeADyAj/klJYtnAsz/egmzHWfJB1vb2k+rO/ja0p+yEE+d1onztWYweEO+Ja9njOoA6isrmtANnYUZ3KIpnXazMb0VYbEvrZrzc6l0OUEbswPOaXzKx7iTK4A41SdOZsx39YQUa1+5nSZviZ2E/FDTtHc6AIIbEBITPtt2S3D04cTllLsXbVsUbn7tnpoXINAE7vorC4/R3DFjzjJRfXydN0RB36OrRy+OELYTliX7zc2AugWwA6Z61YuDQE0ChBRtCVo0eBfEEg2OZ9D2yELI60mL/vufb4BCn6MBfvT734AAAAASUVORK5CYII=); background-size: cover; background-repeat: no-repeat; width: 20px; height: 20px; }

// 响应式布局
@media screen and (min-width: 1281px)  and (max-width: 1350px) {
  .jw-share-scope-w{
    .jw-share-rules-w{
      .jw-share-select .ant-select{
        width: 110px;
      }
      .jw-share-add .jw-shareobj,
      .jw-share-add .jw-share-ant-select {
        width: 460px;
      }
    }
  }
}

@media screen and (max-width: 1280px) {
  .jw-share-scope-w{
    .jw-share-rules-w{
      .jw-share-select .jw-select {
        width: 100px;
      }
      .jw-share-add .jw-shareobj,
      .jw-share-add .jw-share-ant-select {
        width: 450px;
      }
      .jw-share-and{
        width: 40px;
      }
      .jw-share-delete-cond{
        margin-left: 15px!important;
      }
      .jw-share-delete-cond-margin{
        margin-left: 66px;
      }
    }
  }
}
.jw-delete-rules-dialog{
  width: 430px;
}

.jw-share-scope-w{
  .jw-custom-menu-w button{
    padding-top: 0;
    right: 2px;
    &:hover{
      margin-top: -7px;
      right: 0;
    }
  }
  .jw-share-rules-w .jw-share-add .jw-share-icon{
    top: 10px;
    right: 2px;
  }
  .custom-shareselect{
    .custom-shareselect-list{
      width: 90%;
    }
    .custom-shareselect-search-input{
      display: none;
    }
    .custom-shareselect-placeholder{
      line-height: 45px;
    }
  }
}
