.confirmation-of-drug-taking {
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding-bottom: 45px;
  box-sizing: border-box;
}
.confirmation-of-drug-taking.no-padding-bottom {
  padding-bottom: 0;
}
.codt-content {
  height: 100%;
}
.codt-list {
  width: 100%;
  height: 100%;
  overflow: auto;
}
.codt-footer {
  width: 100%;
  height: 45px;
  line-height: 45px;
  text-align: center;
  background-color: #0079fe;
  color: #fff;
  font-size: 16px;
}
.codt-footer.codt-footer-disabled {
  opacity: 0.5;
}
.list-item-head.am-list-item .am-list-line .am-list-content {
  color: #333;
  font-size: 14px;
  font-weight: bold;
}
.list-item-head.am-list-item .am-list-line .am-list-extra {
  flex-basis: 76%,
}
.codt-list .am-list .am-list-item.am-checkbox-item .am-list-thumb .am-checkbox {
  top: calc(50% - 16px);
}
.codt-list .am-list .am-list-item-active {
  background: #fff !important;
}
.codt-list .am-list .am-list-item.am-checkbox-item .am-list-thumb .am-checkbox .am-checkbox-input {
  width: 48px;
}
.codt-list .am-list .am-list-item.am-checkbox-item .am-list-thumb .am-checkbox-inner {
  top: calc(50% - 10px);
}
.codt-list .am-list-body {
  padding: 0 6px;
  background-color: #f5f4f4;
}
.codt-list .am-list-body .am-list-item {
  padding-left: 6px;
  margin-bottom: 6px;
}
.codt-list .am-list-body .am-list-item .am-list-line .am-list-content {
  padding-top: 0;
  padding-bottom: 0;
}
.codt-list .am-list-body {
  .am-list-line {
    padding-right: 6px;
  }
  .codt-last-item {
    .am-list-line {
      padding-right: 0;
    }
    .am-list-line::after {
      height: 0 !important;
    }
    .am-list-line .am-list-content {
      color: #999;
      font-size: 14px;
    }
    .am-list-line .am-list-extra {
      flex-basis: 50%;
    }
    .codt-last-item-btn span {
      display: inline-block;
      padding: 4px 8px;
      border-radius: 16px;
      border: 1PX solid #ccc;
      color: #333;
    }
    .codt-last-item-btn span:nth-child(2) {
      margin-left: 4px;
    }
  }
  .codt-center-item {
    p {
      line-height: 32px;
    }
    p.odt-center-item-usage {
      color: #999;
    }
  }
  .codt-top-item .am-list-line .am-list-content {
    color: #333;
    font-weight: 600;
  }
  .codt-top-item .am-list-line  .am-list-extra {
    flex-basis: 20%;
  }
  .codt-mode {
    .am-list-line .am-list-content, .am-list-line  .am-list-extra {
      color: #333;
      font-weight: 600;
    }
  }
}
// 已确认
.no-check {
  .am-list-body {
    .am-list-item .am-list-thumb, .am-checkbox .am-checkbox-inner, .am-checkbox.am-checkbox-checked, .am-checkbox.am-checkbox-checked .am-checkbox-input {
      width: 0 !important;
      height: 0 !important;
    }
    .am-list-item .am-list-thumb:first-child {
      margin-right: 0;
    }
  }
}
.cdm-accordion.am-accordion {
  .am-accordion-item .am-accordion-content {
    background-color: #f5f4f4;
  }
  .am-accordion-item .am-accordion-content .am-accordion-content-box::after {
    height: 0px !important;
  }
}
.confirm-delivery-method {
  position: relative;
  height: 100%;
  padding-bottom: 50px;
  box-sizing: border-box;
  overflow: auto;
  .cdm-footer-list {
    margin-bottom: 6px;
  }
  .cdm-btn {
    width: 100%;
    height: 50px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10;
    .am-button {
      height: 50px;
      line-height: 50px;
      border-radius: 0;
    }
  }
  .cdm-address {
    .am-list-item .am-list-line .am-list-content {
      white-space: initial;
    }
  }
}
.cdm-radio {
  margin-bottom: 6px;
  .am-list-item .am-checkbox .am-checkbox-inner {
    border-radius: 50%
  }
  .cdm-radio-context {
    color: #333;
    p {
      color: #999;
    }
  }
  .am-list .am-list-item.am-checkbox-item .am-list-thumb .am-checkbox {
    height: 100%;
  }
  .am-list .am-list-item.am-checkbox-item .am-list-thumb .am-checkbox-inner {
    top: calc(50% - 10px);
  }
}

// 取药详情
.details-of-drug-taking {
  height: 100%;
  overflow: auto;
  .codt-list {
    height: auto;
    .am-list-body {
      padding: 0;
    }
  }
  .am-list {
    padding: 0 6px;
    margin-bottom: 6px;
  }
}

// 处方详情
.prescription-details {
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #fff;
  .pd-header {
    width: 100%;
    font-size: 16px;
    height: 48px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    span {
      position: absolute;
      top: calc(50% - 12px);
      right: 12px;
      font-weight: normal;
      font-size: 12px;
      color: #666;
      border: 1px solid #999;
      padding: 4px 8px;
      border-radius: 4px;
    }
  }
  .pd-basic-info {
    width: 100%;
    padding: 6px 12px;
    padding-top: 0;
    box-sizing: border-box;
    .pd-basic-info-header {
      font-weight: 600;
      font-size: 14px;
      color: #333;
      line-height: 28px;
    }
    .pd-basic-info-row {
      display: flex;
      &>div {
        width: 50%;
        color: #666;
        font-size: 14px;
        line-height: 28px;
      }
    }
    .pd-basic-info-diagnosis {
      color: #666;
      font-size: 14px;
      line-height: 28px;
    }
  }
  .pd-content {
    min-height: calc(100% - 48px - 146px - 156px);
    padding: 12px;
    padding-bottom: 16px;
    overflow: auto;
    .pd-content-header {
      line-height: 28px;
      font-size: 16px;
      color: #333;
    }
    .pd-content-center {
      margin-top: 6px;
    }
    .pd-content-drug {
      padding: 0 6px;
      display: flex;
      flex-wrap: wrap;
      &>span {
        display: inline-block;
        width: 33.333%;
        line-height: 24px;
        color: #666;
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
    .pd-content-usage {
      margin-top: 6px;
      padding: 0 6px;
      color: #666;
      font-size: 14px;
    }
    .pd-line {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 24px;
      .pd-line-left {
        display: inline-block;
        width: 40%;
        overflow: hidden;
        white-space: nowrap;
        color: #ccc;
      }
    }
  }
  .pd-footer{
    padding: 12px;
    box-sizing: border-box;
    .pd-footer-desc {
      width: 100%;
      text-align: center;
      color: #999;
      font-size: 12px;
      margin-top: 6px;
    }
    .pd-basic-info-row div span {
      display: inline-block;
      width: 80px;
      text-align: right;
      margin-right: 6px;
    }
  }
}
// 地址选择弹窗
.id-address-modal{
  .am-list .am-list-item.am-list-item-middle .am-list-line .am-list-extra {
    flex-basis: 16%;
  }
  // 配送物流-选择配送地址
  .di-popup-list{
    .am-list-header{
      text-align: left;
      font-size: 14px;
      color: #333;
      font-weight: 900;
      line-height: 36px;
      .close{
        float: right;
        color: #3478F7;
        font-weight: normal;
      }
    }
    .am-list-content{
      .di-popup-list-childiten{
        white-space: initial;
        float: left;
        &>p:nth-child(1) {
          font-size: 12px;
          color: #999;
          line-height: 24px;
          &>span{
            font-size: 16px;
            color: #333;
            margin-right: 24px;
          }
        }
      }
    }
    .dl-btn{
      padding: 12px 0;
      .am-button {
        width: 140px;
        height: 30px;
        line-height: 30px;
        font-size: 14px;
        margin: 0 auto;
      }
    }

    .am-list-item{
      padding-left: 24px;
    }

    .check-pat{
      position: relative;
      &::after{
        position: absolute;
        display: none;
        top: -9px;
        right: 0;
        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;
      }
    }
    // .am-list-item.am-list-item-middle {
    //   padding-left: 0;
    // }
  }
}

// 配送地址维护
.delivery-address-maintenance {
  .btn {
    margin-top: 36px;
    padding: 0 24px;
    &>p {
      width: 100%;
      text-align: center;
      line-height: 48px;
      font-size: 14px;
      color: #666;
    }
  }
}