

html,body{
  font-size: 12px;
  color: #333;
  background-color: #F0F0F0;
  overflow: hidden;
}
/*********公共样式 ************/
.lx-loadding{
  z-index: 99999 !important;
}
.ls-loading{
  display: inline-block;
  width: 67px;
  height: 80px;
  background: url('../../../static/images/loading.gif') no-repeat;
  background-size: 100%  100%;
}
.ls-tips{
  z-index: 2021!important;
}

.ls-vertical{
  flex: 1;
  height:100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;

    .ls-container{
      flex: 1;
      display: flex;
      flex-direction: column;
      margin: 5px;
      background: #fff;
      overflow: hidden;
    }
    .main-container{
      margin: 0;
      border-top: 1px solid #DCDFE6;
      padding: 20px;
      overflow-y: auto;
    }
    .ls-btn-row{
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 15px;
      .left {
        img {
          vertical-align: middle;
          width: 18px;
          margin-right: 2px;
        }
        span {
          vertical-align: middle;
          font-size: 13px;
          font-weight: bold;
        }
      }
      > span{
          vertical-align: middle;
          font-size: 13px;
       }
       .el-icon-star-on{
         color: #E6A23C;
       }
    }
    .ls-table-wrap{
        flex: 1;
        padding: 0px 15px;
        overflow: hidden;
    }

}

.ls-container.mg0{
    margin: 0px;
}

/******搜索条件 begin********/
.ls-search-form {
   background-color: #fff;
   // border-top: 1px solid #f4f4f4;
   padding: 15px 20px;

   .search-style {
     line-height: 32px;
      .el-col{
         display: flex;
         align-items: center;
         justify-content: center;
         margin-bottom: 10px;

         >label{
            margin-right: 10px;
            white-space: nowrap;
            min-width: 60px;
            text-align: left;
         }
         .el-select, .el-time-select, .el-date-picker, .el-range-editor{
             flex: 1;
         }

      }

   }
    .btns-wrap{
      display: flex;
      justify-content: space-between;
      align-items: center;

      .el-button--text{
        display: flex;
        align-items: center;
      }
      .el-icon-star-on {
        font-size: 16px;
        color: #0077FA;
      }
      .el-button--text{
        color: #999;
        &:hover{
          color: #0077FA;
        }
      }
      .extend {

        .el-button, span, i {
          color: #0077FA;
        }
      }
    }

}
/******搜索条件 end********/

/***通用表格样式 begin**/
.ls-table-comm{
    width: 100%;
    line-height: 20px;
    border-collapse: collapse;
    border: none;
    table-layout: fixed;
    word-break: break-all;
    tbody {
      td{
          color: #333;
          border: solid #DCDFE6 1px;
          height: 40px;
          padding: 0 8px;
          &:nth-last-child(2n + 0){
            text-align: center;
            font-weight: bold;
            background: #F8F8F8;
          }
          &:nth-last-child(2n + 1){
            padding-left: 8px;
          }
      }

    }
}
/***通用表格样式 end**/

/***表单模板 start***/
.form-box{
  padding: 20px 20px 10px;
  overflow: hidden;
  .tempalte-contain {
    border: 1px solid #DCDFE6;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin-bottom: 20px;

    .top-title{
      height: 40px;
      background: #F8F8F8;
      border-radius: 4px 4px 0px 0px;
      font-size: 14px;
      font-weight: bold;
      line-height: 40px;
      color: #0077FA;
      padding-left: 20px;
      margin-bottom: 20px;
      position: relative;
      .col-btn{
        position: absolute;
        top: -3px;
        right: 15px;
        cursor: pointer;
        .button{
          margin-left: 10px;
          font-size: 14px;
          color: #357FB9;
          cursor: pointer;
          span{
            margin-left: 10px;
          }
        }
      }
    }
    >.el-row{
      display: flex;
      flex-wrap: wrap;
      padding: 0px 20px 5px 20px;
    }

  }
  .el-select, .el-date-editor{
    width: 100%;
  }
  .el-form-item:not(.is-required) .el-form-item__label{
    padding-left: 8px;
  }
  .lh16 .el-form-item__label {
    line-height: 16px;
  }
  .el-form-item__content{
    position: relative;
    >span{
      position: absolute;
      top: 0;
      left: -80px;
      color: red;
    }
  }

  .item-box{
    background-color: #f8f8f8;
    margin: 20px 10px;
    position: relative;
    &:first-child{
      margin-top: 20px;
    }
    .delete-btn{
      float: right;
      margin-right: 20px;
      .el-button{
        padding: 0;
        font-size: 14px;
        color: #357FB9;
      }
    }
    .title{
      width: 120px;
      height: 45px;
      line-height: 45px;
      text-align: center;
      background: #EDF5FC;
      font-weight: bold;
      font-size: 14px;
      border-radius: 2px;
      margin: 0 10px 0 20px;
    }
    .el-row {
      padding: 18px 15px 0;
    }
    .data-item {
      flex: 1;
    }

  }
  .el-input {
    &.is-disabled .el-input__inner,
    .el-input__count{
      cursor: auto;
    }
  }
  .el-textarea.is-disabled .el-textarea__inner{
    cursor: auto;
  }
  .el-select .el-input.is-disabled .el-input__inner {
    cursor: auto;
  }

}
.el-form{
  .el-select {
    width: 100%;
  }
  .el-form-item--mini .el-form-item__label{
    font-size: 12px;
  }
  .lh15 .el-form-item__label {
    line-height: 15px;
  }
}
/***表单模板 end ***/

.row-form {
   margin-bottom: 10px;
   .el-col {
     display: flex;
     align-items: center;
     label {
       white-space: nowrap;
       min-width: 100px;
       margin-right: 10px;
     }
     .grid-content{
       flex: 1;
       background-color: #F5F7FA;
       border: 1px solid #E4E7ED;
       line-height: 24px;
       padding: 5px 10px;
       border-radius: 4px;
       word-break: break-all;
       min-height: 32px;
     }
   }
 }

//font-color
.c77FA{
  color: #0077FA;
}
.c409E{
  color: #409EFF;
}
.cE6A2{
  color: #E6A23C;
}
.c7fe4{
  color: #7fe447;
}
.c000{
  color: #000;
}
.cFB62{
  color: #FB6260;
}
.c6062{
  color: #606266;
}
.c666{
  color:#666;
}
.c999{
  color: #999;
}
//background

//padding
.p0{
  padding: 0;
}

/***********滚动条 begin*************/
::-webkit-scrollbar {
	width: 0.8em;
	height: 0.8em;
	background-color: #fafafa;
}
::-webkit-scrollbar-thumb{
	background-color: #ccc;
	-webkit-border-radius:5px;
}
/***********滚动条 end*************/

/********icon样式 begin****/
.icon{
    background: url('../img/public/icon.png');
    margin-left: 20px;
    position: relative;
    top: 4px;
    display: inline-block;
    width: 0px;
    height: 20px;
}
.icon.home{
    width: 18px;
    background-position: -35px -7px;
}
.icon.orderhome{
    width: 18px;
    background-position: -159px -6px;
}
.icon.orderboard{
    width: 18px;
    background-position: -158px -35px;
}
.icon.rbp{
    width: 18px;
    background-position: -35px -46px;
}
.icon.look{
    width: 18px;
    background-position: -513px -94px;
}
.icon.promotion{
    width: 18px;
    background-position: -35px -69px;
}
.icon.marketing{
    width: 18px;
    background-position: -35px -113px;
}
.icon.program{
    width: 18px;
    background-position: -36px -88px;
}
.icon.query{
    width: 18px;
    background-position: -35px -27px;
}
.icon.back{
    width: 18px;
    background-position: -162px -198px;
}
.icon.back:hover{
    width: 18px;
    background-position: -162px -221px;
    cursor: pointer;
}
.icon.orderreport{
    width: 18px;
    background-position: -162px -144px;
}
.icon.sample{
    width: 18px;
    background-position: -162px -116px;
}
.icon.ar{
    width: 18px;
    background-position: -159px -91px;
}
.icon.reply{
    width: 18px;
    background-position: -158px -63px;
}
.icon.pm{
   width: 18px;
   background-position: -234px -68px;
}
.icon.cooperation{
   width: 18px;
   background-position: -232px -122px;
}
.icon.check{
   width: 18px;
   background-position: -232px -150px;
}
.icon.position{
   width: 18px;
   background-position: -232px -160px;
}
.icon.set{
   width: 18px;
   background-position: -235px -175px;
}


.icon-btn{
    background: url('../img/public/icon.png');
    width: 13px;
    height: 14px;
    display: inline-block;
    margin-right: 5px;
}

.icon-btn.icon-download{
    background-position: -65px -115px;
}
.icon-btn.icon-upload{
    background-position: -65px -91px;
}
.icon-btn.icon-divide{
    background-position: -5px -248px;
}
.icon-btn.icon-split{
    background-position: -5px -264px;
}

.el-button.el-button--download,.el-button.el-button--upload{
    border: 1px solid #578DBD;
    color: #578DBD;
    padding: 5px 10px;
    position: relative;
    top: -2px;
    &:hover{
      padding: 5px 10px;
      background: #4b78a1;
      color:#fff;
    }
    span{
      position: relative;
      top: -2px;
    }
}

.el-button.el-button--download:hover .icon-btn.icon-download{
    background-position: -87px -115px;
}
.el-button.el-button--upload:hover .icon-btn.icon-upload{
    background-position: -87px -91px;
}

/**vue **/
[v-cloak] {
  display: none;
}

/*********element ui 样式 bgein*********/
.el-select {
 .el-select__tags {
   display: flex;
   overflow-x: auto;
   cursor: pointer;
   flex-wrap: nowrap;
   & ::-webkit-scrollbar {
      width: 3px;
      height: 4px;
   }
   >span {
    display: flex;
   }
  }

}
.el-button--info.is-plain {
    color: #606266;
    background: #f4f4f5;
    border-color: #DCDFE6;
}
.el-button--info.is-plain:active, .el-button--info.is-plain:focus {
    color: #606266;
    background: #f4f4f5;
    border-color: #DCDFE6;
}
.el-button--text {
  color: #0077FA;
}
.el-button--primary {
    color: #fff;
    background-color: #1C5FA6;
    border-color: #1C5FA6;
    &:hover{
      background-color: #0077FA;
      border-color: #0077FA;
    }
}

.el-textarea__inner {
	font-family: "Microsoft yaHei", Arial, Helvetica, sans-serif;
  padding-right: 40px;
}
.el-textarea .el-input__count {
  background: unset;
  bottom: 0;
  color: #666;
}
.el-input {
  &.is-disabled .el-input__inner,
  .el-input__count{
    color: #666;
  }
}
.el-textarea.is-disabled .el-textarea__inner{
  color: #666;
}


/**iocn  start**/
.el-button.el-button--down{
    width: 24px;
    height:24px;
    background: url('../img/public/icon.png') no-repeat -6px -143px;
    vertical-align: super;
    -webkit-transition: 0s !important;
     transition: 0s !important;
     &:hover,&:focus{
       background: url('../img/public/icon.png') no-repeat -40px -143px;
     }
}
.el-button.el-button--refresh{
    width: 24px;
    height:24px;
    background: url('../img/public/icon.png') no-repeat -6px -177px;
    vertical-align: super;
    -webkit-transition: 0s !important;
    transition: 0s !important;
    padding: 12px !important;
    &:hover,&:focus{
       background: url('../img/public/icon.png') no-repeat -40px -177px;
    }
}
/**iocn  end**/

.el-pagination{
    text-align: right;
    padding-right: 1px !important;
    margin: 10px;
}

/*el-table */
.el-table {
   color: #333;
   tbody tr:hover>td {
   background-color:#EAF4FF!important
  }
  .el-table__empty-block{
    min-height: 160px;
    background: url('../img/public/no-data.png') no-repeat center 40%;
    .el-table__empty-text{
      padding-top: 60px;
    }
  }
  .el-table__header th{
    font-weight: normal;
    text-align: center;
    height: 36px;
    background: #F5F7FA;
    padding: 0px;
    color:#fff;
    font-weight: bold;
    color: #333333;
    display: table-cell!important;
  }
  /* 表格列内容居中 */
  .el-table__body {
    td {
      -webkit-transition: background-color .25s ease;
      text-align: center;
      transition: background-color .25s ease;
      height: 36px;
      line-height: 36px;
      padding: 0px;
      cursor: pointer;
    }
    .is-left {
      text-align: left;
    }
  }
  .el-button--text{
     color: #0077FA;
     font-size: 12px;
     &:hover{
       text-decoration: underline;
     }
  }
  .c666.el-button--text{ color: #666;}
  .cut {
     position: relative;
     top: -1px;
     margin: 0 5px 0 7px;
  }
  .el-table__body .el-table__expanded-cell {
    padding: 20px 20px 20px 66px;
  }
  td.align-left{
    text-align: left;
  }
  .el-table__fixed, .el-table__fixed-right {
    bottom: 0;
    height: auto!important;
  }

}
.el-table__fixed-right {
  .el-table__fixed-header-wrapper,
  .el-table__fixed-body-wrapper,
  .el-table__fixed-footer-wrapper {
    left: auto;
    right: 0;
  }
}
.el-table .colspan-top ~ .el-table__cell.gutter{
  display: none!important;
}
.el-table .colspan-top ~ .gutter{
  display: none!important;
}
.sub-table{
  .el-table__header th{
    font-weight: normal;
  }
}
.bgECF5:not(td){
  background-color: #ECF5FF!important;
}
.bgF0F9:not(td){
  background-color: #F0F9EB!important;
}
.bgFDF6:not(td){
  background-color: #FDF6EC!important;
}


/**el-tabs***/
.el-tabs{
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  .el-tabs__active-bar {
    background-color: #0077FA;
  }
  .el-tabs__item{
    font-size: 13px;
    &:hover{
      color: #0077FA;
    }
  }
  .el-tabs__item.is-active {
    color: #0077FA;
    font-weight: bold;
  }
  .el-tabs__content {
    flex: 1;
    display: flex;
     .el-tab-pane{
       flex: 1;
       display: flex;
       flex-direction: column;
       overflow: hidden;
     }
  }
}

/********* 弹出框样式 begin ********/
.common-dialog{
    min-width: 800px;
    border-radius: 4px;

    .el-dialog__body {
      font-size: 12px;
    }
    .el-dialog__header {
        padding: 10px 20px;
        text-align: center;
        background-color: #093A5F;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
        .el-dialog__title {
            color: #fff;
        }
        .el-dialog__headerbtn {
            top: 12px;
            right: 14px !important; /*弹窗X右移*/
           .el-dialog__close {
              color: #fff;
            }
        }
    }
    .el-dialog__footer{
        text-align: center;
    }
    .el-select, .el-time-select, .el-date-picker, .el-date-editor{
        width: 100%;
    }
    .el-form-item:not(.is-required) .el-form-item__label{
      padding-left: 8px;
    }
    .lh18 .el-form-item__label {
      line-height: 18px;
    }
}
.el-date-editor .el-range-separator {
  min-width: 15px;
  padding: 0;
}


.over-dialog{
    margin-top: 1vh!important;
    height: 92vh;
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    .el-dialog__body {
      flex: 1;
      display: flex;
      flex-direction: column;
      padding:  15px;
      overflow-y: auto;
    }

}

.el-message-box {

  .el-message-box__btns {
    position: relative;

    .el-button--primary {
      position: absolute;
      right: 80px;
      bottom: 0;
      z-index: 9;
    }
  }
}
.el-message{
  top: 45%!important;
  transform: translate(-50%, -50%);
}

.el-tooltip__popper {
  max-width: 80%;
}

/** msgbox 弹出框 */
.lx-msgbox .el-message-box__btns .el-button{
   position: unset;
}

/** msgbox 弹出框 */

/*********element ui 样式 end*********/

/***el-drawer**/
.project-drawer.el-drawer{
  min-width: 500px;

  .top{
    display: flex;
    justify-content: space-between;
    padding-left: 10px;
    border-bottom: 1px solid #aaa;
    line-height: 40px;
    div:first-child{
      color: #0077FA;
      font-size: 12px;
      font-weight: bold;
    }
    i {
      font-size: 16px;
      vertical-align: middle;
    }
    .el-icon-arrow-right{
      width: 40px;
      height: 40px;
      text-align: center;
      line-height: 40px;
      background-color: #f5f5f5;
      cursor: pointer;
    }
  }
}
