// 所有页面的公共样式
@import "./public.less";

.view {
  margin-top: 16px;
  padding: 0 16px;
}

// table表格、分页包裹样式
.main {
  padding: 0 8px;
  margin-top: 10px;
}

.p16 {
  padding: 16px;
}

.p8 {
  padding: 8px;
}

.p16-8 {
  padding: 16px 8px;
}

.p0-16 {
  padding: 0 16px;
}

.p16-0 {
  padding: 16px 0;
}

.pt16 {
  padding-top: 16px;
}

.mr10 {
  margin-right: 10px;
}

.mt10 {
  margin-top: 10px;
}

.mb10 {
  margin-bottom: 10px !important;
}

.mb16 {
  margin-bottom: 16px;
}

.m24-0 {
  margin: 24px 0;
}

.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/*=================项目列表模块start======================*/
//项目列表模块标题
.title {
  height: 40px;
  line-height: 39px;
  font-weight: bold;

  i {
    color: @hyacinthine;
    margin-right: 10px;
  }
}

// 项目模块标题边框
.title_border {
  box-shadow: 0px 1px 0px 0px rgba(238, 238, 238, 1), 0px 1px 0px 0px rgba(238, 238, 238, 1);
}

.crud_menu_title {
  border-bottom: 1px solid #EEEEEE;
  color: rgba(51, 51, 51, 1);
  line-height: 36px;
  font-size: 12px;
  margin-bottom: 10px;

  .icon-line {
    font-weight: bold;
    display: inline-block;

    &:after {
      content: '';
      display: block;
      height: 2px;
      background: rgba(0, 124, 204, 1);

    }
  }
}

/*=================项目列表模块start======================*/
.page-title {
  font-size: 14px;
  margin: 6px 0;
  font-weight: bold;
}

//------------项目管理二级tabs样式Start-------------
.tab-item {
  font-size: 16px;
  line-height: 52px;
  color: @light-font;
  margin-right: 24px;
}

.router-link-tab {
  color: @dark-font;
  border-bottom: 4px solid @hyacinthine;
}

//------------项目管理二级tabs样式End-------------

//------------查看页面展示表格样式Start-------------
.tableData {
  width: 100%;

  td {
    border: 1px solid #E0E0E0;
    line-height: 20px;
    padding: 9px 10px;
  }

  tr td:nth-child(odd) {
    background-color: #F5F7F9;
    width: 16%;
  }

  tr td:nth-child(even) {
    width: 34%;
  }

  tr {
    &.singleRow {
      td:nth-child(odd) {
        background-color: #F5F7F9;
        width: 6.5%;
      }
    }
  }
}

/*以列表形式展示*/
.bidderList_table {
  width: 100%;

  thead {
    th {
      border: 1px solid #dcdfe6;
      background-color: #F7F9FC;
      font-weight: normal;
      text-align: left;
      padding: 0 8px;
    }
  }

  tbody {
    tr {
      td {
        border: 1px solid #dcdfe6;
        line-height: 40px;
        padding: 0 8px;
      }
    }
  }
}

//------------查看页面展示表格样式End-------------

//input 间距
.el-form-item--small.el-form-item {
  margin-bottom: 16px;
}

.tools {
  border-bottom: 1px solid @cut-off;
}

//------------------采购人个人中心---------------

//标题
.h3_title {
  padding-left: 6px;
  font-size: 30px;
  line-height: 70px;
  color: #757575;
  font-weight: normal;
}

.mt_20 {
  margin-top: 20px;
}

//确认-取消-操作按钮样式-居中
.oBtn_center {
  display: block;
  text-align: center;
}

/*元素上下剧中*/
.element-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*=====表格嵌套input====*/
.from_table {
  width: 100%;

  td {
    border: 1px solid #E0E0E0;
    line-height: 20px;
    padding: 6px;

    .el-form-item--small.el-form-item {
      margin: 0;
    }

    .el-input {
      width: 90%;
    }
  }

  tr td:nth-child(odd) {
    background-color: #F5F7F9;
    width: 16%;
  }

  tr td:nth-child(even) {
    width: 34%;
  }

  tr {
    &.singleRow {
      td:nth-child(odd) {
        background-color: #F5F7F9;
        width: 6.5%;
      }
    }
  }
}

.position_r {
  position: relative;
}

.position_a {
  position: absolute;
}

//立项信息-框间距样式
.projectInfoAdd_main {
  border: 1px solid #e4e7ed;
  padding: 24px;
  margin-bottom: 14px;
  min-height: calc(100vh - 80px - 70px - 48px - 42px);
  position: relative;
}

//项目驱动内容-边框间距样式
.projectDrive_main {
  border: 1px solid #e4e7ed;
  padding: 24px;
  margin-bottom: 14px;
  min-height: calc(100vh - 40px - 70px - 56px - 40px - 70px);
  position: relative;
}

.p_top {
  top: -59px;
  right: 64px;
}

//------------项目管理及项目查看标题Start-------------
.title-back {
  .h3-size;
  float: left;
  line-height: 40px;
}

.title-back i {
  display: block;
  float: left;
  line-height: 40px;
  color: @hyacinthine;
}

.title-back .titleH1 {
  .h3-size;
  max-width: 260px;
  margin-right: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-left: 12px;
  color: @dark-font;
  float: left;
}

//------------项目管理及项目查看标题End-------------
//标书费
.tender_fee {
  height: 705px;

  .tender_shadow {
    width: 985px;
    height: 605px;
    margin: 50px auto;
    box-shadow: 0 13px 29px 0 rgba(0, 0, 0, 0.15);
    position: relative;

    .tender_left {
      width: 492px;
      position: absolute;
      left: 0;
      top: 0;

      .infoWrap {
        padding: 56px 0 68px;

        .infoTitle {
          width: 375px;
          height: 45px;
          text-align: center;
          font-size: 18px;
          font-weight: 500;
        }

        .info_middle {
          width: 163px;
          height: 80px;
          margin: 63px 0 0 111px;
          text-align: center;

          .timu_wenjian {
            display: block;
            margin-bottom: 19px;
            font-size: 32px;
            font-weight: 700;
            color: #333333;
          }
        }

        .info_footer {
          //width: 270px;
          height: 50px;
          margin: 200px 0 35px 0;
          text-align: center;

          span {
            display: block;
          }

          .footer_name {
            text-align: left;
          }

          .footer_company {
            text-align: left;
          }

          .footer_time {
            margin-top: 22px;
          }
        }
      }
    }

    .tender_right {
      position: absolute;
      right: 0;
      top: 0;
      border-left: 1px solid #EDF0F5;

      .right_pay {
        height: 580px;
        width: 492px;
        position: relative;

        .right_btn {
          text-align: right;
          margin: 10px 24px 0 0;
        }

        .right_payfor {
          width: 460px;
          margin: 32px 0 0 -50px;

          .pay_money {
            color: #FF6030;
            font-size: 24px;
          }

          .cost {
            color: #FF6030
          }

          .fapiao {
            span {
              cursor: pointer;
              color: @blue;
            }
          }

          .fapiao_content {
            width: 428px;
            height: 128px;
            background-color: #F7F9FC;
            margin-left: 88px;
            margin-bottom: 8px;
            position: relative;

            .taitou_kuang {
              position: absolute;
              top: 0;
              left: -87px;
            }

            .genghuan {
              position: absolute;
              top: 4px;
              right: 16px;
              cursor: pointer;
              color: @blue;
            }
          }
        }

        .btn_submit {
          position: absolute;
          right: 139px;
          bottom: 10px;
        }

        .el-form-item .el-form-item--small {
          margin-bottom: 15px;
        }

        .el-form-item--small.el-form-item[data-v-3d882275] {
          margin-bottom: 15px;
        }

        .zhifu {
          margin-left: 42px;

          .zhifubao {
            color: #00A9F2;

            &::before {
              font-size: 32px;
              margin-right: 8px;
              vertical-align: middle;
            }
          }

          .weixin {
            color: #3CB034;

            &::before {
              font-size: 32px;
              margin-right: 8px;
              vertical-align: middle;
            }
          }

          .liulan {
            span {
              cursor: pointer;
              color: @blue;
            }
          }
        }
      }
    }
  }
}

//选择发票
.selectInvoiceInfo {
  .el-dialog__wrapper {
    .el-dialog.signThrough {
      .el-dialog__body {
        .notice {
          background-color: #ffefea;
          border-right: 4px;
          height: 48px;
          color: #FF6030;
          padding: 1%;
          box-sizing: border-box;
        }

        .addInvoiceInfo {
          color: #6687ED;
          margin: 15px 0;
          display: inline-block;
        }

        .invoiceInfo {
          border-top: 1px solid @cut-off;
          border-left: 1px solid @cut-off;
          border-right: 1px solid @cut-off;
          border-radius: 4px;

          .el-col-6 {
            line-height: 127px;
            border-right: 1px solid @cut-off;
            text-align: center;

            .el-radio {
              .el-radio__label {
                font-size: 0 !important;
              }
            }
          }
        }

        .el-form {
          .el-row {
            border-bottom: 1px solid @cut-off;
            padding: 10px 0;

            .el-col-12 {
              padding: 0 30px !important;
            }
          }
        }
      }
    }
  }
}

// 微信支付样式
.payment {
  .weChat_wrap {
    width: 830px;
    box-sizing: border-box;
    padding: 10px;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
    margin: 15vh auto 50px !important;
  }

  .weChatPayment {
    margin: 0 auto;
    padding-top: 16px;

    .presentation {
      margin: 16px 0;

      .buy_tender {
        font-size: 16px;
        margin-right: 16px;
        display: inline-block;
      }

      .money {
        color: @orange;
        font-size: 24px;
      }
    }

    .pay_wrap {
      height: 448px;
      background: rgba(255, 255, 255, 1);
      padding: 20px 23px;
      box-sizing: border-box;
      position: relative;

      .clue {
        span.title {
          width: 57px;
          height: 15px;
          font-size: 14px;
          font-weight: bold;
          color: rgba(51, 51, 51, 1);
          line-height: 26px;
        }

        i {
          font-style: normal;
          color: #FF6030;
        }
      }

      .qrCode {
        width: 350px;
        height: 350px;
        margin: auto;
        text-align: center;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;

        .pay_prompt {
          display: flex;
          width: 177px;
          height: 40px;
          background: rgba(255, 132, 130, 1);
          color: #fff;
          margin: 20px auto 0;
          padding: 0 8px;
          i {
            display: inline-block;
            font-size: 32px;
            margin-right: 5px;
            margin-top: -3px;
          }

          span {
            display: inline-block;
            text-align: left;
            width: 108px;
            font-size: 12px;
            font-weight: 400;
            color: rgba(255, 255, 255, 1);
          }
        }
      }

      .richScan {
        position: absolute;
        top: 47px;
        right: 66px;
      }
    }

    .pay_success {
      .qrCode {
        i {
          font-size: 60px;
          color: #23bd63;
        }

        h4 {
          font-weight: normal;
          margin-top: 14px;
        }
      }
    }
  }
}

/* 所有展开更多*/
.more {
  text-align: center;
  font-size: 12px;
  padding: 6px;
  border-bottom: 1px solid #dfe6ec;
  line-height: 20px;
  border-top: 0px;
  color: @hyacinthine;
}

.amount_words {
  display: inline-block;
  font-weight: bold;
  font-size: 14px;

  span {
    color: red;
  }
}

/*
    保存 固定底部按钮-新版华能
  */
.but_footer {
  .but_footer-h {
    height: 80px;
  }

  .but_footer-but {
    z-index: 11;
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background: #F5F7F9;
    height: 70px;
    line-height: 70px;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #E0E0E0;
  }
}

//------------搜索栏布局Start-------------
//搜索栏布局效果
.SearchContent {
  height: 33.8px;
  overflow: hidden;

  &.SearchContent_show {
    overflow: auto;
    height: auto;
  }

  .SearchContent_leftInput {
    width: calc(100% - 140px);
    .el-form .el-form-item__label{
      text-align: left !important;
      width:  130px;
    }
    .el-input,.el-select,.el-date-editor{
      width: 220px !important;
    }
    p{
      .el-input,.el-select,.el-date-editor{
        width: 100px !important;
      }
    }
  }
}

//搜索栏下的div样式
.derivedScore {
  margin: 8px 8px 0;
  padding: 6px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  .derivedScore_div {
    width: calc(100% / 3);
  }

  .derivedScore_orange {
    text-align: center;
    color: #FF6030;
  }
}

//展开关闭按钮
.toggleSearchStatus {
  transition: transform .3s;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-weight: bold;
  width: 32px;

  &.arrow-is-active {
    transform: rotate(-180deg)
  }
}

//------------搜索栏布局End-------------
//预览和查看样式(html布局拷贝立项的)
.projectInfoDetail {
  margin-bottom: 16px;

  dt {
    border: 1px solid #dcdfe6;
    border-bottom: 1px solid @hyacinthine;
    padding: 8px;
    line-height: 26px;
    font-weight: bold;

    .projectInfoDetail_icon {
      border-radius: 50%;
      height: 26px;
      width: 26px;
      float: left;
      margin-right: 10px;
      text-align: center;
      color: @hyacinthine;

      i {
        font-size: 26px;
      }
    }
  }

  dd {
  }
}


/*================选择标段包样式start==============*/
.package {
  z-index: 1000000;
  //添加标段（包）按钮
  .select_bao {
    margin-right: 16px;
    width: 150px;
    height: 28px;
    line-height: 20px;
    border: 1px solid #edf0f5;
    padding: 3px 16px;
    color: #fff;
    background-color: #007CCC;
    border-radius: 20px 20px 20px 20px;
    cursor: pointer;
    float: left;
  }
}

//选中的内容
.content_selected {
  padding: 8px 0px 0px 0px;
  border: 1px solid #dcdfe6;
  background-color: #ffffffff;
  border-radius: 4px;
  width: 100%;
  display: block;
}

//展开/关闭展开
.unfold {
  width: 100%;
  height: 22px;
  border-top: 1px dotted #dcdfe6;
  line-height: 22px;
  text-align: center;
  color: #4666db;
  cursor: pointer;
  font-size: 12px;
  display: block;
  float: left;
  user-select: none;
}

//选中样式
.selected {
  position: relative;

  & > div {
    padding-left: 16px;
  }

  .el-tag {
    margin-right: 16px;
    margin-bottom: 8px;
    height: 28px;
    line-height: 24px;
    padding: 3px 16px;
    background-color: #edf0f5;
    border-radius: 20px 20px 20px 20px;
    border: none;
    width: auto;
    line-height: 22px;
    color: #2a2b2d;
    font-size: 14px;
    float: left;

    .el-icon-close {
      color: #2a2b2d;

      &:hover {
        background-color: #edf0f5;
      }
    }
  }
}

//标包是否全部显示-样式
.content_selected_show {
  & > div {
    padding-left: 0px;
  }

  height: 36px;
  overflow: hidden;
}

.pt16 {
  padding: 16px 16px 0;
}

/*================选择标段包样式end==============*/

/*费用表格顶部显示文字*/
.table-alert-info {
  .el-link.el-link--default {
    &:hover {
      color: #606266;
    }

    .el-link--inner {
      font-size: 14px;
    }
  }

  .sum_color {
    color: red;
    padding: 0 3px;
    font-weight: 400;
  }
}

/*费用表格顶部显示文字end*/

/*pdf预览中的正在加载样式-start*/
#loadingBar {
  text-align:center;
  position: absolute;
  top: 50%;
  left: 50%;
  /*垂直水平居中*/
  margin: -60px 0 0 -40px;
  width: 80px;
  font-size: 12px;
  color: #027bd0;
}
#loadingBar >.progress>.glimmer {
  /*垂直水平居中*/
  margin: 0 auto;
  margin-bottom: 10px;
  width: 40px;
  height: 40px;
  border: 2px solid;
  border-color: #027bd0 #027bd0 transparent;
  border-radius: 50%;
  box-sizing: border-box;
  /*动画时间1s，线性变化，无限循环*/
  animation: loading 0.8s linear infinite;
}

@keyframes loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*pdf预览中的正在加载样式-end*/