

html,body{
    font-size: 12px;
    color: #333;
    background-color: #F0F0F0;
    overflow: hidden;
}
/*********公共样式 ************/

//color
.c357F{
  color: #0077FA;
}
.c77FA{
  color: #0077FA;
}
.c7fe4{
  color: #7fe447;
}
.c000{
  color: #000;
}
.c6062{
  color: #606266;
}
.c666{
  color:#666;
}
.c999{
  color: #999;
}

.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;
    }
    .ls-btn-row{
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 15px;
      .left {
        img {
          vertical-align: middle;
          width: 18px;
          margin-right: 2px;
        }
        span {
          vertical-align: middle;
          font-size: 14px;
          font-weight: bold;
        }
      }
      > span{
          vertical-align: middle;
          font-size: 14px;
       }
    }
    .ls-table-warp{
        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 {
    margin-bottom: 10px;
    line-height: 32px;
      .el-col{
         display: flex;
         align-items: center;
         justify-content: center;

         >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: center;
      align-items: center;
      position: relative;
      .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 {
        position: absolute;
        right: 0;
        top: 6px;
        z-index: 9;
        .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;
          }
      }

    }
}
.row-form {
   margin-bottom: 10px;
   .el-col {
     display: flex;
     align-items: center;
     label {
       white-space: nowrap;
       width: 100px;
       margin-right: 10px;
     }
     .grid-content{
       flex: 1;
       background-color: #F5F7FA;
       border: 1px solid #E4E7ED;
       line-height: 24px;
       padding: 3px 10px;
       border-radius: 4px;
       word-break: break-all;
       min-height: 32px;
     }
   }
 }

/***通用表格审核样式 end**/

/***********滚动条 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: -232px -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: -232px -178px;
}


.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;
}

.order-edit-btn {

  .icon-btn{
    vertical-align: top;
  }
  .el-button{

    &:hover {
      .icon-upload{
          background-position: -87px -91px;
      }
      .icon-download{
          background-position: -87px -116px;
      }
      .icon-divide{
          background-position: -23px -248px;
      }
      .icon-split{
          background-position: -24px -264px;
      }
    }

  }

}





/**vue **/
[v-cloak] {
  display: none;
}

/*********element ui 样式 bgein*********/
.el-select {
 .el-select__tags {
   display: flex;
   overflow-x: auto;
   cursor: pointer;
   & ::-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-button, .el-button--small, .el-form-item__label{
  font-size: 12px;
}

.el-textarea__inner {
	font-family: "Microsoft yaHei", Arial, Helvetica, sans-serif;
  padding-right: 40px;
}
.el-textarea .el-input__count {
    background: unset;
    bottom: 0;
}
/**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;
   cursor: pointer;
   font-size: 12px;
   tbody tr:hover>td {
   background-color:#EAF4FF!important
  }
  .el-table__empty-block{
    min-height: 320px;
    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;
    // border-right:1px solid #999;
    font-size: 12px;
    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;
    }
    .is-left {
      text-align: left;
    }
  }
  .el-button--text{
     color: #0077FA;
     font-size: 12px;
     &:hover{
       text-decoration: underline;
     }
  }

  .cut {
     position: relative;
     top: -1px;
     margin: 0 5px 0 7px;
  }

  .el-table__body .el-table__expanded-cell {
    padding: 20px
  }
  td.align-left{
    text-align: left;
  }
  .el-table__fixed, .el-table__fixed-right {
    bottom: 16px;
    height: auto!important;
  }
  td.el-table__cell,  th.el-table__cell.is-leaf {
    border-bottom: none;
  }

  .el-table__cell, .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed {
    border-right: none;
  }

}
.el-table__fixed-right {
  .el-table__fixed-header-wrapper, .el-table__fixed-body-wrapper,  .el-table__fixed-footer-wrapper {
      left: auto;
      right: 0;
  }
}


/**el-tabs***/
.el-tabs{
  flex: 1;
  display: flex;
  flex-direction: column;
  .el-tabs__active-bar {
      background-color: #0077FA;
  }
  .el-tabs__item{
    font-size: 13px;
  }
  .el-tabs__item: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;
       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-date-editor .el-range-separator {
  min-width: 15px;
  padding: 0;
}
.el-table-column--selection .cell {
  padding: 0px;
}
.el-table .cell, .el-table--border .el-table__cell:first-child .cell{
  padding: 0;
}

.over-dialog{
    margin-top: 1vh!important;
    min-height: 450px;
    height: auto;
    max-height: 95vh;
    width: 96vw;
    max-width: 1250px;
    display: flex;
    flex-direction: column;
    .el-dialog__body {
      flex: 1;
      display: flex;
      flex-direction: column;
      padding: 25px 15px;
      overflow: auto;
    }

}

.el-message-box {

  .el-message-box__btns {
    position: relative;

    .el-button--primary {
      position: absolute;
      right: 80px;
      bottom: 0;
      z-index: 9;
    }
  }
}

.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: 14px;
      vertical-align: middle;
    }
    .el-icon-arrow-right{
      width: 40px;
      height: 40px;
      text-align: center;
      line-height: 40px;
      background-color: #f5f5f5;
      cursor: pointer;
    }
  }
}
