// 生命体征记录
.vital-signs-record {
  margin-top: 8px;
  height: calc(100% - 8px);
  .vsr-content {
    height: 100%;
    overflow: hidden;
    background-color: #fff;
  }
  .lately-btn {
    width: 100%;
    padding: 6px 12px;
    box-sizing: border-box;
    span{
      display: inline-block;
      font-size: 12px;
      width: 50%;
      text-align: center;
      height: 32px;
      line-height: 32px;
      border-color: #0079FE;
      color: #0079FE;
      border: 1px solid #0079FE;
    }
    span:nth-child(1) {
      border-radius: 4px 0 0 4px;
    }
    span:nth-child(2) {
      border-radius: 0 4px 4px 0;
    }
    span.active {
      background: #0079FE;
      color: #fff;
    }
  } 
  .vsr-footer {
    padding: 6px;
    &>p {
      height: 75px;
      line-height: 75px;
      width: 100%;
      text-align: center;
      font-size: 16px;
      color: #666;
    }
  }
  .vsr-message {
    .am-list-body .am-list-item {
      .am-list-thumb .iconfont {
        font-size: 22px;
      }
    }
    .am-list-body .am-list-item.info {
      background-color: #fff5e6;
      .am-list-thumb .iconfont {
        color: #FE9400;
      }
    }
    .am-list-body .am-list-item.success {
      background-color: #e6faf0;
      .am-list-thumb .iconfont {
        color: #4BD863;
      }
    }
    .am-list-item.am-list-item-middle .am-list-content {
      font-size: 16px;
      font-weight: 400;
      .am-list-brief {
        font-size: 14px;
        color: #999;
        font-weight: normal;
      }
    }
    .am-list-body::after, .am-list-body::before {
      height: 0 !important;
    }
  }
  .chart-normal-range {
    position: absolute;
    bottom: 8px;
    left: 6px;
    color: #999;
    font-size: 12px;
  }
  .am-tabs-default-bar-tab {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}


// 录入体征数据
.enter-physical-data {
  margin-top: 8px;
  height: calc(100% - 8px);
  overflow: hidden;
  .epd-btn {
    width: 100%;
    padding: 24px 12px;
    box-sizing: border-box;
    p {
      color: #999;
      padding: 6px 0;
      box-sizing: border-box;
    }
  }
  .am-list-item .am-input-extra {
    overflow: initial;
  }
  .am-list .am-list-body .error-style.am-list-item .am-input-control input {
    color: red;
  }
}

// 家庭成员
.visit-list{
  width: 100%;
  padding: 10px 20px 0 20px;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  .title-p{
    font-size: 14px;
    line-height: 44px;
    height: 48px;
    color: #666;
  }
  .vl-list-item {
    width: 100%;
    max-height: calc(100% - 106px);
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .the-patient.active{transform:translateX(-120px);transition:all .3s;} 
  .the-patient{
    height: 50px;
    line-height: 50px;
    background: #fff;
    font-size: 14px;
    padding: 0 24px;
    color: #333;
    margin-bottom: 14px;
    position: relative;
    transform: translateX(0px);
    transition: all .3s;
    box-sizing: border-box;
    
    cursor: pointer;
    .delbtn, .moditybtn{
      border-bottom: 1px solid #eee;
      position: absolute;
      right: -120px;
      display: inline-block;
      font-size: 14px;
      width: 60px;
      background:red;
      text-align: center;
      color: #fff;
    }
    .moditybtn {
      background-color: #ddd;
      right: -60px;
    }
    .check-pat{
      float: right;
      position: relative;
      &::after{
        position: absolute;
        display: none;
        top: 15px;
        right: 0px;
        z-index: 999;
        width: 7px;
        height: 14px;
        border-style: solid;
        border-width: 0 1.5px 1.5px 0;
        content: " ";
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
      }
    }
    .check-pat.radio-checked {
      &::after{
        display: block;
        border-color: #108ee9;
      }
    }
    &:last-child {
      margin-bottom: 0;
    }
    strong {
      float: right;
      font-weight: normal;
      color: #0079FE;
    }
  }
  .add-card-button{
    margin-top: 12px;
    p {
      line-height: 20px;
      font-size: 12px;
    }
  }
}

// 新增就诊人
.add-parient{
  margin-top: 12px;
  overflow: hidden;
  .ap-footer{
    padding: 0 20px;
    margin-top: 24px;
  }
  .font16 {
    font-size: 16px;
  }
  .font12 {
    font-size: 12px;
  }
}

.rc-swipeout {
  overflow: hidden;
  position: relative;
}
.rc-swipeout-content {
  position: relative;
  background-color: #fff;
}
.rc-swipeout-cover {
  position: absolute;
  z-index: 2;
  background: transparent;
  height: 100%;
  width: 100%;
  top: 0;
  display: none;
}
.rc-swipeout .rc-swipeout-content,
.rc-swipeout .rc-swipeout-actions {
  -webkit-transition: all 250ms;
  transition: all 250ms;
}
.rc-swipeout-swiping .rc-swipeout-content {
  -webkit-transition: none;
  transition: none;
}
.rc-swipeout-actions {
  position: absolute;
  top: 0;
  bottom: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  white-space: nowrap;
}
.rc-swipeout-actions-left {
  left: 0;
}
.rc-swipeout-actions-right {
  right: 0;
}
.rc-swipeout-btn {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
  overflow: hidden;
}
.rc-swipeout-btn-text {
  padding: 0 12px;
}


// 诊疗记录
.diagnosis-and-treatment {
  // padding: 24px 0;
  margin-top: 8px;
  background-color: #fff;
  height: 100%;
  overflow: auto;
  .dat-content {
    padding: 24px 0;
  }
  .am-steps.am-steps-vertical {
    padding-left: 80px;
  }
  .am-steps-item.am-steps-item-custom {
    min-height: 80px;
  }
  .am-steps-item .am-steps-item-content .am-steps-item-title {
    font-size: 14px;
    color: #666;
    position: inherit;
  }
  .am-steps-small .am-steps-item-description {
    color: #0079FE;
    .desc-span {
      margin-right: 12px;
      color: #bbb;
    }
  }
  .step-left-date {
    position: absolute;
    left: -78px;
    top: 0;
    display: flex;
    flex-direction: column;
    font-weight: normal;
    font-size: 14px;
    color: #999;
    width: 70px;
    text-align: right;
    &>span {
      color: #666;
      font-weight: 700;
    }
  }
}

.record-nodata {
  width: 100%;
  padding: 24px 0;
  color: #999;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  img {
    width: 256px;
    height: 126px;
    margin-bottom: 12px;
  }
}

// 体检报告详情
.medical-examination-report {
  margin-top: 8px;
  // background-color: #fff;
  height: 100%;
  overflow: hidden;
  .am-list-item.am-list-item-middle .am-list-line .am-list-content {
    font-size: 12px;
  }
  .mer-content {
    height: calc(100% - 8px);
    overflow: auto;
    padding: 0 8px;
    .am-list {
      margin-bottom: 8px;
    }
    .am-list-item.am-list-item-middle.list-header .am-list-line .am-list-content {
      font-size: 14px;
      color: #666;
      font-weight: 700;
      .am-list-brief {
        font-weight: normal;
        color: #999;
      }
    }
  }
}


// 就诊详情 -- 诊疗记录
.details-of-treatment {
  margin-top: 8px;
  // background-color: #fff;
  height: 100%;
  overflow: hidden;
  .am-list {
    height: calc(100% - 8px);
    overflow: auto;
    padding: 0 8px;
  }
  .am-list-item.am-list-item-top .am-list-line {
    display: flex;
    flex-direction: row-reverse;
    .am-list-extra {
      text-align: left;
      font-size: 14px;
      color: #666;
      flex-basis: auto;
      width: 80px;
    }
    .am-list-content {
      font-size: 14px;
      color: #999;
    }
  }
}

// 服务协议书
.service-agreement {
  margin-top: 8px;
  background-color: #fff;
  height: 100%;
  padding: 0 12px;
  box-sizing: border-box;
  .sa-position {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
  }
  .sa-header {
    padding: 6px 0;
    &>div {
      line-height: 24px;
      display: flex;
      h3 {
        width: 50%;
        font-size: 12px;
        font-weight: 700;
        color: #333;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      span {
        font-size: 12px;
        color: #666;
        font-weight: normal;
      }
    }
  }
  .sa-content {
    position: absolute;
    bottom: 80px;
    top: 84px;
    left: 0;
    width: 100%;
    padding: 12px 0;
    box-sizing: border-box;
    overflow: auto;
    &>div {
      line-height: 18px;
      font-size: 12px;
      color: #666;
    }
    .agreement-content {
      text-indent: 12px
    }
    .sac-table {
      width: 100%;
      margin-top: 24px;
      overflow: scroll;
      table{ 
        background:#ddd;
        width: 100%;
        overflow: auto;
      };
      table td, table th{ 
        background:#FFF;
        min-width: 60px;
        height: 32px;
        line-height: 32px;
        text-align: center;
      }
      table th {
        background-color: #ccc;
      }
    }
    .sac-list-title {
      line-height: 24px;
      margin-top: 12px;
      color: #666;
      font-size: 14px;
    }
    .sac-content {
      padding: 6px;
    }
    .sac-list {
      display: flex;
      &>div {
        font-size: 12px;
        color: #999;
        line-height: 24px;
        height: 24px;
      }
      &>div:nth-child(1) {
        width: 40%;
      }
    }
  }
  .sa-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    // padding: 0 12px;
    height: 80px;
    // line-height: 49px;
    box-sizing: border-box;
    font-size: 14px;
    color: #333;
    font-weight: 700;
    display: flex;
    align-items: center;
    img {
      height: 80px;
      width: 200px;
    }
  }
}

// 随访记录
.follow-up-record {
  height: 100%;
  overflow: auto;
  .am-list-item.am-list-item-top .am-list-line {
    .am-list-extra {
      font-size: 14px;
      color: #999;
      flex-basis: auto;
      max-width: 80%;
    }
    .am-list-content {
      font-size: 14px;
      color: #666;
    }
  }
}