// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    min-width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}
.el-date-editor .el-range-separator{
  color: white !important;
  padding-top: 6px;
}
.el-date-editor .el-range-input{
  background-color: #111827;
  color: white;
}
.el-form-item__label{
  color: white;
  font-size: 15px;
  padding-top: 2px;
}
.el-input__inner {
  background-color: #111827;
  color: #fff;
  border: 1px solid #263042;
  .el-input__inner:focus,.el-input__inner:hover{
    border-color:none;
  }
}
.el-date-range-picker__editor 
{
  .el-input__inner{
    background-color: #fff;
    border-color: #C0C4CC;
    color: #606266;
  }
}
.charge-tools{
  .el-input--medium .el-input__inner{
    height: 40px;
    width: 265px;
  }
}

.el-select-dropdown__item {
  color: black;
  
}
.el-select .el-input.is-focus .el-input__inner{
  border-color:#c1c4cc !important;
}
.el-select .el-input__inner:focus{
  border-color:#c1c4cc !important;
}
.el-input__inner:focus,.el-input__inner:hover{
  border-color:#c1c4cc !important;
}
.el-select-dropdown__item:hover,.el-select-dropdown__item.selected{
  color:black;
}
.el-select-dropdown.is-multiple .el-select-dropdown__item.selected{
  color: rgb(132, 146, 166);
}
/*顶部告警列表修改*/ 
.warnTab{
  .el-table{
    color: #000000;
    font-weight: 400;
    font-size: 16px;
    th.gutter{
      background-color:rgba(127,151,197,0.92);
      border-bottom: #CDDEFF solid 1px;
    }
  }
  .el-table td{
    border-bottom:#CDDEFF solid 1px; 
  }
  .el-table tr{
    background: #BBCFF6 !important;
  }
  .el-table--striped .el-table__body tr.el-table__row--striped td{
    background-color: #BBCFF6;
  }
  .el-table--enable-row-hover .el-table__body tr:hover > td{
    background-color: #AAC3F3!important;
    color: #000000;
    cursor: pointer;
  }
  .Warnbtn{
    width: 48px;
    height: 32px;
    background: #91FDB9;
    border-radius: 2px;
    border: none;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    padding: 0;
  }
  ::-webkit-scrollbar {
    width: 6px;
    height: 8px;
    background-color: #BBCFF6;
  }
  ::-webkit-scrollbar-thumb {
    background-color: #EEEEEE;
    border-radius: 6px;
  }
  ::-webkit-scrollbar-track{
    border-radius: 3px;
    background: #BBCFF6;
  }
}
/*顶部告警列表修改结束*/ 

/*表格样式修改*/ 
.el-table{
  color: #e1e2e4;
  font-size: 14px;
  background-color: #111827 !important;
  overflow: hidden;
  .el-table__row .imgborder:hover{
    border: #00e19b solid 2px;
  }
  th.gutter{
    background-color:#1d283e;
    border-bottom: #2f3c86 solid 1px;
  }
  .el-table__fixed-right-patch{
    background-color: #1d283e;
    border-bottom: #2f3c86 solid 1px;
    top: 0;
  }
}
.el-table::before {
  display: none;
}
.el-table__fixed-body-wrapper{
  height: calc(100% - 70px) !important;
}
.el-table tr{
  background: #111827;
  height:56px;
}

.el-table .table-row-bg {
  background: rgba(114, 139, 198, 0.2);
}
.el-table--enable-row-hover .el-table__body tr:hover > td{
  background-color: #1e2f36!important;
  color: #e1e2e4;
  cursor: pointer;
}
.el-table__body tr.hover-row > td{
  background-color: #1e2f36!important;
  cursor: pointer;
}

.el-table--striped .el-table__body tr.el-table__row--striped td{
  background-color: #141b2b;
}
.el-table th.is-leaf, .el-table td{
  border-bottom: #292d46 solid 1px;
}
.el-pagination__total{
  color: #fff !important;
}
.el-table .descending .sort-caret.descending{
  border-top-color:#91fdb9;
}
.el-table .ascending .sort-caret.ascending{
  border-bottom-color:#91fdb9;
}
//滚顶列bug修改
.el-table__fixed::before, .el-table__fixed-right::before{
  background-color:#111827;
  height:0;
}

//表格滚动条修改
::-webkit-scrollbar {
  width: 6px;
  height: 8px;
  background-color: #111827;
}
::-webkit-scrollbar-thumb {
  background-color: #273056;
  border-radius: 6px;
}
::-webkit-scrollbar-track{
  border-radius: 3px;
  background: #111827;
}


/*分页修改*/
.el-pagination .btn-prev, .el-pagination .btn-next{
  background-color: #111827;
  color: white !important;
}
.el-pagination button:disabled{
  background-color: #111827;
  color: white !important;
}
.el-pager li{
  background-color: #111827;
  color: white;
}
.el-pager li:hover,.el-pager li.active{
  color: #91fdb9;
}
.el-pagination__jump{
  color: white;
}
.el-pagination__editor .el-input__inner{
  color: #91fdb9;
}

/*修改密码表单修改*/
.frompwd{
  .el-input{
    width: 265px;
  }
  .el-form-item{
    margin-bottom: 35px;
  }
  .el-input--medium .el-input__inner{
    width: 265px;
    height: 42px;
    border-color: #263042;
  }
}
//充电时段明细
.chargeshow{
  .el-dialog__body{
    padding: 0px;
    margin-top: 20px;
  }
}
/*修改换电监控弹窗*/
.onlineManage{
  .el-pagination .btn-prev, .el-pagination .btn-next{
    background-color: #181e2e;
  }
  .el-pager li{
    background-color: #181e2e;
    border: #00e19b solid 1px;
    min-width: 24px;
    height: 24px;
    line-height: 24px;
  }
  .el-pagination button:disabled{
    background-color: #181e2e;
  }
  .el-dialog{
    position: relative;
    z-index: 100;
    background-color: rgb(24, 30,46, 1);
    margin-top: 20vh !important;
    border-top-right-radius:20px;
    border-bottom-left-radius:20px;
    .el-input.is-disabled .el-input__inner{
      background-color: #181e2e;
      border: black solid 1px;
    }
    .el-dialog__body{
      padding-bottom: 0px;
    }
    .el-dialog__header{
      background: url('../assets/onlinet.png') no-repeat top;
      border-bottom: #2d3448 solid 1px;
      background-size: contain;
      padding-left: 0px;
      .el-dialog__title{
        color: white;
        width: 110px;
        position: relative;
        text-align: right;
        border-bottom: white solid 3px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 11px;
      }
    }
    .el-dialog__footer{
      background: url('../assets/onlineb.png') no-repeat bottom;
      background-size: contain;
    }
    .el-dialog__headerbtn:focus .el-dialog__close, .el-dialog__headerbtn:hover .el-dialog__close{
      color: white;
    }
    .el-dialog__headerbtn{
      font-size: 20px;
    }
  }
}
/*修改换电监控弹窗结束*/

/*修改账号管理弹窗*/
.rolemanage{
  .el-form .is-required {
      display: flex;
      align-items: center;
      padding-right: 25px;
      justify-content: center;
  }
  .el-dialog{
    position: relative;
    z-index: 100;
    background-color: rgb(24, 30,46, 1);
    width: 530px;
    margin-top: 28vh !important;
    border-top-right-radius:20px;
    border-bottom-left-radius:20px;
    .el-input.is-disabled .el-input__inner{
      background-color: #181e2e;
      border: black solid 1px;
    }
    .el-input__inner{
      width: 240px;
      height:38px;
      border: #263042 solid 1px;
      background-color: #181e2e;
    }
    .el-textarea__inner{
      width: 240px;
      border: #263042 solid 1px;
      background-color: #181e2e;
      color: white;
    }
    .el-form-item{
      margin-left: 25px;
    }
    .el-dialog__header{
      background: url('../assets/roletop.png') no-repeat top;
      border-bottom: #2d3448 solid 1px;
      padding-left: 0px;
      background-size: contain;
      .el-dialog__title{
        color: white;
        width: 110px;
        position: relative;
        text-align: right;
        border-bottom: white solid 3px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 11px;
      }
    }
    .el-dialog__footer{
      background: url('../assets/roleb.png') no-repeat bottom;
      background-size: contain;
    }
    .el-dialog__headerbtn:focus .el-dialog__close, .el-dialog__headerbtn:hover .el-dialog__close{
      color: white;
    }
    .el-dialog__headerbtn{
      font-size: 20px;
    }
  }
  .words{
    font-size:16px;
    color: #00e19b;
  }
}
.alarmFrom{
  .el-form-item{
    margin-bottom: 0;
    span{
      color:#e2e2e3;
    }
  }
}

.date-time{
  .el-badge__content{
    border: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    top: 5px;
    padding: 0;
    line-height: 16px;
    text-align: center;
  }
}

//表格按钮修改
.charge-table-bottom{
  //表格状态样式
  .nostate{
    .el-badge__content{
      background-color: #727d8a;
      border-color: #727d8a;
    }
  }
  .instate{
    .el-badge__content{
      background-color: #1eaeff;
      border-color: #1eaeff;
    }
  }
  .disable{
    .el-badge__content{
      background-color: #ff1e1e;
      border-color: #ff1e1e;
    }
  }
  .el-badge__content{
    background-color: #00e19b;
    border-color: #00e19b;
  }
  .el-badge__content.is-fixed{
    left: -10px;
    top: 50%;
  }
  .el-badge{
    padding-left: 12px;
  }
  .el-button + .el-button{
    margin: 0;
  }
  .el-button--small{
    padding: 9px 10px;
  }
  .handle{
    background: none;
    color:#81e0a7 ;
    border: none;
    font-size: 14px;
    font-weight: 600;
  } 
  .handle:hover{
    color: #4c5d71;
  }
}
//loading加载动画样式
.el-loading-mask{
  background-color:rgb(15, 17, 24,0.5)
}
.el-loading-spinner .path{
  stroke:#91fdb9
}
//确认弹窗
.el-message-box{
  border: none;
  padding-bottom: 30px;
  background: url('../assets/messageb.png') no-repeat bottom #141a25;
  .el-message-box__header{
    background: url('../assets/messaget.png') no-repeat top;
    border-bottom: #2d3448 solid 1px;
    padding-left: 0;
    .el-message-box__title{
      color: white;
      width: 110px;
      position: relative;
      text-align: center;
      border-bottom: white solid 3px;
      padding-bottom: 20px;
      bottom: -12px;
    }
  }
  .el-message-box__title,.el-message-box__message{
    color: white;
   
  }
  .el-message-box__message{
    margin-top: 25px;
    font-size: 16px;
  }
  .el-message-box__headerbtn:focus .el-message-box__close, .el-message-box__headerbtn:hover .el-message-box__close{
    color: white;
    font-size: 20px;
  }
  .el-message-box__headerbtn{
    font-size: 20px;
  }
  //弹窗按钮样式
  .el-message-box__btns{
    margin-top: 15px;
    button:first-child{
      background-color: #181e2e;
      color: white;
      border-color: #414a63;
      width: 70px;
      height: 36px;
      font-size: 16px;
    }
    button:first-child:hover{
      color: #69b889;
      background-color: #181e2e;
      border-color: #69b889;
    }
    button:last-child{
      background-color: #91fdb9;
      border-color: #91fdb9;
      color: #0d1711;
      width: 70px;
      height: 36px;
      font-size: 16px;
    }
    button:last-child:hover{
      background-color: #69b889;
      border-color: #69b889;
      color: white;
    }
  }
}

//确认和取消按钮公共样式
.exit{
  background-color: #181e2e;
  color: white;
  border-color: #414a63;
  font-size: 16px;
}
.exit:hover,.exit:focus{
  color: #69b889;
  background-color: #181e2e;
  border-color: #69b889;
  font-size: 16px;
}
.save{
  background-color: #91fdb9;
  border-color: #91fdb9;
  color: #0d1711;
  font-size: 16px;
}
.save:hover,.save:focus{
  background-color: #69b889;
  border-color: #69b889;
  color: white;
  font-size: 16px;
}
::-webkit-scrollbar-corner {
  background-color: inherit!important;
}
//换电详情弹窗
.charge-RecordDetail{
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  justify-content: space-between;
  .el-tabs__item{
    font-size: 16px;
    color: white;
    font-weight: 600;
    
  }
  .el-tabs__active-bar{
    background-color: #91FDB9;
  }
  .is-active{
    font-weight: 600;
    color: #55B693 !important;
  }
  .el-tabs__nav-wrap::after{
    background-color: #2d3448;
  }
  .RecordBottom{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around;
    flex: 1;
    .DetailDefault{
      width: 342px;
      display: flex;
      flex-direction: column;
      .frame{
        width: 230px;
        text-indent: 16px;
        border: 1px solid #556179;
        height: 36px;
      }
    }
    .DetailMin{
      width: 235px;
      display: flex;
      flex-direction: column;
      .frame{
        width: 120px;
        text-indent: 16px;
        border: 1px solid #556179;
        height: 36px;
      }
    }
    .DetailList{
      display: flex;
      font-weight: 400;
      font-size: 16px;
      color: white;
      line-height: 36px;
      margin-top: 25px;
      span{
        flex: 1;
      }
    }
  }
  .DetailStoreList{
    display: flex;
    flex: 1;
    justify-content: space-between;
    .DetailStore{
      width: 183px;
      height: 310px;
      background-color: #0A101C;
      margin-top: 15px;
      .StoreHead{
        flex: 1;
        height: 40px;
        line-height: 40px;
        text-align: center;      
        background: #1C263A;
        font-size: 16px;
        font-weight: 500;
        color: white;
      }
      .StoreFoot{
          padding: 5px 8px;
          display: flex;
          flex-direction: column;
          .battery-begin{
            display:flex;
            flex-direction: column;
            font-size: 12px;
            color: white;
            font-weight: 500;
            .downInfo{
              display: flex;
              span{
                line-height: 28px;
              }
            }
            span{
              width: 60px;
              margin-top: 10px;
            }
            .frame-text{
              flex: 1;
              height: 28px;
              text-indent: 10px;
              border: 1px solid #263042;
              border-radius: 2px;
              line-height: 28px;
              margin-top: 10px;
            }
          }
          .Store-direction{
            text-align: center;
            height: 50px;
            padding-top: 20px;
            box-sizing: border-box;
          }
      }
    }
  }
  .DetailClose{
    .close{
      width: 94px;
      height: 36px;
      text-align: center;
      border-radius: 2px;
      border: 1px solid #414A63;
      font-size: 18px;
      color: white;
      line-height: 36px;
      cursor: pointer;
      margin: 0 auto;
    }
  }
}