@import './reset.less';
body{
  overflow-y: auto;
  background: #fff;
  border-left: 40px solid #EFF1F6;
  border-right: 40px solid #EFF1F6;
}
.ellipsis{
  overflow: hidden;
  text-overflow:ellipsis;
  white-space: nowrap;
}
#loading{
  text-align: center;
  height: 2000px;
  margin-top: 30px;
}
.waring {
  color: #FF4D4F;
  margin-top: 18px;
  height: 18px;
}
.tab-container{
  /*background: @disColor;
  height: 100%;*/
  .content-box1{
    margin: 0 30px;
    padding-bottom: 90px;
    position: relative;
    overflow-y: auto;
    /*background: #fff;
    border-right: 10px #EFF1F6 solid;
    border-left: 10px #EFF1F6 solid;*/
    box-sizing: border-box;
  }
  .content-item{
    /*display: none;
    height: 100%;*/
    .content-item-wrapper{
      margin-bottom: 50px;
    }

    /**********危急值记录*************/
    &.danger-record{
      height:auto;
      .title{
        /*position: unset;*/
      }
    }
    .title{
      /*position: absolute;
      top: 0;*/
      width: 100%;
      color: #333333;
      font-size: 16px;
      text-align: center;
      font-weight: bold;
      height: 44px;
      line-height: 44px;
      border-bottom:1px #E2E5EF solid;
      text-indent: 20px;
    }
    .container{
      /*margin-top: 45px;*/
      padding: 20px 30px 0;
      height: 100%;
      /*overflow-y: auto;*/
    }
    .info-table{
      margin: 0 0 15px;
    }
    table{
      width: 100%;
      border:1px @tableBorderColor solid;
    }
    .inline-table{
      display: inline;
      border: none;
      td{
        border: none;
      }
    }
    .inner-table table{
      border: none;
      td{
        border: none;
        text-align: left;
        vertical-align: text-bottom;
        width: 41%;
        &[rowspan]{
          // font-weight: bold;
          width: 100px;
          padding-left: 0;
        }
        &.active{
          background: @anchorBg;
        }
      }
    }
    .embed-table{
      border:1px @tableBorderColor solid;
      &>tbody>tr:first-child>td{
        padding: 0;
        border:none;
        &>table td{
          border:1px @tableBorderColor solid;
          line-height: 20px;
          padding: 7px 8px;
          white-space: nowrap;
        }
      }
      .table-tip{
        text-align: left;
      }
    }
    th{
      table{
        border:none;
      }
      border:1px @tableBorderColor solid;
      background: @thBgColor;
      line-height: 20px;
      padding: 7px 8px;
      white-space: nowrap;
    }
    td{
      text-align: center;
      border:1px @tableBorderColor solid;
      padding:2px  8px;
      height: 20px;
      table,td{
        border:none;
      }
    }
    .info-item{
      border-bottom: 1px @borderColor solid;
      .text-left{
        width: 100%;
        text-align: right;
      }
      .cont{
        display: inline-block;
        min-width: 33%;
        margin-bottom: 5px;
        box-sizing: border-box;
        // padding-left: 5px;
        &.active{
          background: @anchorBg;
        }
        & div[contenteditable="true"]{
          border:1px solid #ccc;
          width: 98%;
          min-height: 46px;
          padding: 2px 5px;
          border-radius: 2px;
          margin-top: 5px;
        }
        span{
          line-height: 20px;
          vertical-align: middle;
        }
        .text-indent{
          text-indent: 28px;
        }
        .text-bold{
          font-weight: bold;
        }
        .label{
          display: inline-block;
          /*min-width: 70px;*/
          font-weight: bold;
          overflow-x: hidden;
        }
        .revisitPlanTan{
          border: none;
          td{
            border: none;
          }
        }
      }
      &.cont-2 .cont{
        min-width: 48%;
      }
      &.cont-4 .cont{
        min-width: 23%;
      }
      &.cont-5 .cont{
        min-width: 19%;
      }
      &.no-border{
        border-bottom: none;
        margin-bottom: 0;
      }
      margin-bottom: 5px;
      .info-title{
        font-weight: bold;
        margin-bottom: 10px;
      }
    }
  }
  .oper{
    text-align: right;
  }
}
.empty{
  /*display: none;*/
  margin-top: 120px;
  text-align: center;
  img{
    width: 240px;
  }
  p{
    margin-top: 15px;
    font-size: 12px;
    text-indent: 10px;
    color: #aaa;
  }
}
.empty2{
  margin-top: 60px;
  text-align: center;
  height: 170px;
  td{
    width: 100%;
  }
  img{
    width: 140px;
  }
  p{
    // margin-top: 15px;
    font-size: 12px;
    text-indent: 10px;
    color: #aaa;
  }
}
.oper-box{
  background: #fff;
  text-align: center;
  padding: 30px 0;
  position: absolute;
  bottom: 0;
  width: calc(100% - 140px);
  margin-left: 40px;
  button{
    display: inline-block;
    width: 68px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 4px;
    box-sizing: border-box;
    border: 1px solid #00A1FF;
    color: #fff;
    background: #00A1FF;
  }
}