@import "../../../../src/theme.less";
:host {
  width: 100%;
  height: 100%;
}
.remandTypeId ::ng-deep {
  .ant-select-selection {
    border: 1px solid red !important;
  }
}
.turnoff {
  margin: 0;
  margin-bottom: 13px;
  .ant-checkbox-wrapper {
    color: #333 !important;
  }
}
.dynamic {
  margin-top: 8px !important;
  display: flex !important;
  align-items: center !important;
  input {
    width: 90%;
  }
  i {
    margin-left: 8px;
    cursor: pointer;
    font-size: 18px;
  }
}

.pagination {
  margin-top: 14px;
  margin-bottom: 14px;
  bottom: 12px;
  right: 5px;
}

.TaskTypeManagement {
  height: calc(100vh - 88px);
  background: #f9fafb;
  overflow: hidden;
  padding: 16px 20px;

  .pagination {
    margin-top: 14px;
    margin-bottom: 14px;
    bottom: 12px;
    right: 5px;
  }

  .taskType {
    float: left;
    width: 24%;
    height: 100%;
    border: 1px solid #e5e9ed;
    background: #fff;
    color: #333;
    font-size: 14px;
    position: relative;
    overflow: hidden;

    .title {
      width: 100%;
      height: 40px;
      line-height: 40px;
      padding-left: 16px;
      border-bottom: 1px solid #e5e9ed;
      position: relative;
      background: #fff;
      z-index: 2;
    }

    .operate {
      width: 100%;
      border-bottom: 1px solid #e5e9ed;
      position: relative;
      background: #fff;
      z-index: 2;
      display: flex;

      .item {
        flex: 1;
        height: 34px;
        line-height: 34px;
        border-right: 1px solid #e5e9ed;
        text-align: center;
        color: #666; // cursor: default;
        cursor: pointer;

        &:hover {
          color: @primary-color;
          background: #f0f6ed;
        }

        &:nth-last-child(1) {
          border: none;
        }
      }
    }

    .taskTypes {
      width: 100%;
      height: 97%;
      overflow-y: auto;
      z-index: 1;
      padding-bottom: 30px;

      .itemChoice {
        color: @primary-color;
        background: #f0f6ed;
      }

      .item {
        width: 100%;
        height: 34px;
        line-height: 34px;
        text-align: center;
        cursor: pointer;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;

        &:hover {
          color: @primary-color;
          background: #f0f6ed;
        }

        &.checked {
          color: @primary-color;
          background: #f0f6ed;
        }
      }
    }
  }

  //任务类型管理-主体
  .taskTypeInfo {
    float: right;
    width: 75%;
    height: 100%;
    border: 1px solid #e5e9ed;
    background: #fff;
    color: #333;
    position: relative;

    .top {
      height: 61px;
      line-height: 60px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid #e5e9ed;
      position: relative;
      z-index: 2;

      .items {
        background: #f0f6ed;
      }

      & > div {
        border-right: 1px solid #e5e9ed;
        width: 30%;
        text-align: center; // display: flex;
        // align-items: center;
        cursor: pointer;

        &:hover {
          background: #f0f6ed;
        }
      }

      &:nth-last-child(4) {
        border: none;
      }
    }

    .list {
      width: 100%; // height: 100%;
      padding: 16px; // position: absolute;
      background: #fff;
      height: 89%;
      overflow: auto;

      .tabContent{
        margin-bottom: 30px;
        display: flex;
				
				.label{
					margin-left:0 !important;
					display: flex;
					align-items: center;
				}
				
        .tabContent_checkbox{
          width: 130px;
        }

        .tabContent_textarea{
          flex: 1;
          p{
            margin: 0;
            margin-top: 20px;
            color: #777;
            strong{
              font-weight: normal;
              cursor: pointer;
              color: #266CA4;
            }
            em{
              font-style: normal;
            }
          }
        }
      }

      nz-form-label {
        margin-left: 0px !important;
      }

      & > div {
        background: #f9fafb;
        border: 1px solid #e5e9ed;
        border-radius: 10px 10px 0px 0px;
        padding: 52px;

        .label {
          margin-left: 16px;
          font-size: 14px;
          color: #333;
        }
      }

      // 规则信息
      .ruleList {
        padding: 15px 15px 0px 15px;
        background: #fff;

        .table {
          width: 100%;
          height: 100%;

          .box {
            // background: #f9fafb;
            // border: 1px solid #e5e9ed;
            border-radius: 5px;
            position: relative;

            .table_title {
              font-size: 18px;
              margin: 14px 0px;
              text-align: center;
            }

            .thead {
              background-image: linear-gradient(to right, @bg-start, @bg-end);

              th {
                background: transparent;
                color: #fff;
                text-align: center;
                font-size: 14px;
              }
            }

            .ant-table-body {
              border-bottom: 1px solid #e5e9ed;
              background: #f9fafb;
            }

            .ant-table-tbody {
              background: #f9fafb;
              border: 1px solid #e5e9ed;

              .zzBontton {
                & > td {
                  border-bottom: 1px solid #e5e9ed;
                }
              }

              tr {
                text-align: center;
                font-size: 14px;
                border: none;
                color: #333;
                overflow: hidden;

                .lin {
                  width: 68.2%;
                  height: 2rem;
                  border-bottom: 0.1rem solid #e5e9ed;
                  position: absolute;
                  text-align: center;
                  margin-left: 0%;
                  margin-top: -0.8%;
                  transform: rotate(6.5deg);
                }

                td {
                  border: none;

                  nz-input-number {
                    width: 50px;
                  }

                  .coop {
                    .line {
                      margin: 10px;
                    }

                    span:nth-child(2n-1) {
                      cursor: pointer;

                      &:hover {
                        color: @primary-color;
                      }

                      &:active {
                        color: @primary-color;
                      }
                    }
                  }
                }
              }

              tr:nth-child(even) {
                background: #fff;
              }
            }
          }
        }
      }

      //运送过程
      .ysgcItem {
        padding: 0px 0px 0px 0px; // background: #fff;

        .ysgc_top {
          height: 88px;
          background: #fff;
          border-radius: 10px 10px 0px 0px;
          padding: 15px 22px 0px 22px;

          .title {
            span {
              font-size: 18px;
            }
          }

          .carrItems {
            color: @primary-color;
            border-color: @primary-color !important;
          }

          .process {
            width: 80%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 5px auto;
            font-size: 14px;

            .carrItem {
              height: 40px;
              line-height: 28px;
              cursor: pointer;
              display: flex;
              justify-content: center;
              align-items: center;

              .carrItem_icon {
                width: 35px;
                height: 35px;
                border: 1px solid #e5e9ed;
                border-radius: 50%;
                text-align: center;
                line-height: 35px;
                margin-right: 10px;

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

            .carrItem1 {
              float: left;
              width: 45%;
              height: 40px;
              line-height: 28px;
              padding-left: 10%;
              cursor: pointer;

              .carrItem_icon {
                width: 35px;
                height: 35px;
                border: 1px solid #e5e9ed;
                border-radius: 50%;
                text-align: center;
                line-height: 35px;
                float: left;
                margin-right: 10px;

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

        .ysgc_cont {
          padding: 0px 240px 24px 240px;

          textarea {
            padding-right: 10%;
          }

          .icon_btn {
            cursor: pointer;
            font-size: 18px;
          }

          .icon_text {
            display: block;
            cursor: pointer;
            position: relative;
            right: 5px;
          }

          .item_type_cont {
            height: 70px;
            padding-top: 4px;

            & > div {
              height: 65px;
              border: 1px solid #e5e9ed;
              border-radius: 5px;
              background: #fff;

              .item_type_cont_L {
                height: 100%;
                width: 90%;
                float: left;
                padding: 2px 12px;
                overflow: auto;

                .item_yq {
                  width: 24%;
                  height: 28px;
                  display: inline-block;
                  border: 1px solid #e5e9ed;
                  border-radius: 20px;
                  text-align: center;
                  line-height: 26px;
                  background: #f9fafb;
                  margin-right: 1%;
                  margin-bottom: 2px;
                  font-size: 12px;
                  padding-left: 8px;

                  span {
                    width: 75%;
                    float: left;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                  }

                  i {
                    font-size: 14px;
                    color: #999;
                    cursor: pointer;
                  }
                }
              }

              .item_type_cont_R {
                height: 100%;
                width: 10%;
                float: right;
                text-align: center;
                padding-top: 15px;
                border-left: 1px solid #e5e9ed;
                cursor: pointer;

                i {
                  display: block;
                  font-size: 16px;
                }

                i:hover {
                  color: @primary-color;
                }

                .icon_text {
                  right: 1px;
                }
              }
            }
          }
        }
      }

      //关联信息
      .glxxItem {
        padding: 10px 15px 0px 15px;
        background: #fff;

        .tab_btn {
          cursor: pointer;
        }

        .tab_btn:hover {
          color: @primary-color;
        }

        .table_title {
          font-size: 18px;
          margin: 14px 0px;
          text-align: center;
        }

        .thead {
          background-image: linear-gradient(to right, @bg-start, @bg-end);

          th {
            background: transparent;
            color: #fff;
            text-align: center;
            font-size: 14px;
          }
        }

        .ant-table-body {
          // border-bottom: 1px solid #e5e9ed;
          background: #f9fafb;
        }

        .ant-table-tbody {
          background: #f9fafb;
          border: 1px solid #e5e9ed;

          tr {
            text-align: center;
            font-size: 14px;
            border: none;
            color: #333;

            td {
              border: none; // font-size: 14px;

              nz-input-number {
                width: 40px;
              }

              .coop {
                .line {
                  margin: 10px;
                }

                span:nth-child(2n-1) {
                  cursor: pointer;

                  &:hover {
                    color: @primary-color;
                  }

                  &:active {
                    color: @primary-color;
                  }
                }
              }
            }
          }

          tr:nth-child(even) {
            background: #fff;
          }
        }
      }

      // 开通科室
      .ktksItem {
        padding: 0px 0px 0px 0px;
        background: #fff;

        .top {
          width: 100%; // padding-bottom: 7px;
          // border-bottom: 1px solid #e5e9ed;
          position: relative;
          overflow: hidden;
          z-index: 2;
          display: flex;
          align-items: center;
          justify-content: space-between;

          .top_L {
            width: 70%;
            text-align: left;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            padding: 0 4px;
            .top_L_item {
              margin-left: 4px;
            }

            .label {
              font-size: 14px;
              color: #333;
              margin-left: 0;
            }

            nz-select {
              font-size: 12px;
              width: 100px;
            }

            input {
              font-size: 12px;
              width: 100px;
            }
          }

          .top_R {
            border: 0px;

            .btn {
              margin-left: 10px;
            }
          }
        }

        .ktksItemList {
          padding: 10px 15px 0px 15px;
          .table {
            min-height: 528px;
          }

          .operate {
            float: right;
            margin-bottom: 5px;

            span {
              font-size: 14px;
            }

            .num {
              font-size: 18px;
              color: @primary-color;
            }
          }

          .thead {
            background-image: linear-gradient(to right, @bg-start, @bg-end);

            th {
              background: transparent;
              color: #fff;
              text-align: center;
              font-size: 14px;
            }
          }

          .ant-table-body {
            border-bottom: 1px solid #e5e9ed;
            background: #f9fafb;
          }

          .ant-table-tbody {
            background: #f9fafb;
            border: 1px solid #e5e9ed;

            .zzBontton {
              & > td {
                border-bottom: 1px solid #e5e9ed;
              }
            }

            tr {
              text-align: center;
              font-size: 14px;
              border: none;
              color: #333;

              td {
                border: none; // font-size: 14px;

                nz-input-number {
                  width: 40px;
                }

                .coop {
                  .line {
                    margin: 10px;
                  }

                  span:nth-child(2n-1) {
                    cursor: pointer;

                    &:hover {
                      color: @primary-color;
                    }

                    &:active {
                      color: @primary-color;
                    }
                  }
                }
              }
            }

            tr:nth-child(even) {
              background: #fff;
            }
          }
        }

        .pagination {
          margin-top: 25px;
          margin-bottom: 14px;
          bottom: 12px;
          right: 5px;
          position: relative;
          height: 30px;
          .page {
            position: absolute;
            right: 5px;
          }
        }
      }

      .bottom {
        height: 60px;
        border-radius: 0px 0px 10px 10px;
        padding: 10px 240px 0px 240px;
        border-top: 0px;

        button {
          width: 80px;
          height: 34px;
          display: block;
          margin: 0 auto;
        }
      }
    }
  }
}

// 运送过程-------
//详情模态框
.newOrder1 {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;

  .modalBody {
    width: 480px; // height: 580px;
    background: #fff;
    border-radius: 5px;
    padding: 12px 20px;
    color: #333;
    font-size: 14px;
    .fixHieght {
      max-height: 400px;
      overflow-y: auto;
    }

    .pagination {
      margin-top: 14px;
      margin-bottom: 14px;
      bottom: 12px;
      right: 5px;
    }

    .title {
      font-size: 18px;
      text-align: center;
      line-height: 24px;
      margin: 0;
      margin-bottom: 12px;
      position: relative;

      i {
        position: absolute;
        right: 0;
        top: 0;
        font-size: 20px;
        color: #666;
        cursor: pointer;
        padding: 0 5px;
      }
    }

    .content {
      // width: 960px; // height: 474px;
      // border: 1px solid #e5e9ed;
      // background: #f9fafb;
      // border-radius: 5px;
      overflow: hidden;

      .items1 {
        height: 686px;
        overflow: auto;
      }

      .addItem {
        height: 28px;
        line-height: 28px;
        text-align: center;
        border: 1px dashed #999999;
        color: #999999;
        border-radius: 5px;
      }

      .addItem:hover {
        background: #e5e9ed;
        cursor: pointer;
      }

      .Items {
        // height: 140px;
        border: 1px solid #e5e9ed;
        border-radius: 5px;
        margin-top: 6px;

        .Items_cont {
          // height: 105px;
          background: #f9fafb;
          padding: 5px 16px;

          .top {
            height: 34px;
            border-bottom: 2px solid #e5e9ed;
            line-height: 34px;
          }

          .cont {
            height: 53px;
          }

          .cont1 {
            // height: 260px;

            .item_types {
              // height: 130px;

              .item_title {
                height: 30px;
                .ant-form-item-label {
                  height: 30px;
                }
              }

              .item_type {
                height: 100px;

                .item_type_top {
                  height: 30px;

                  .label1 {
                    float: left;
                  }
                }

                .item_type_cont {
                  height: 70px;
                  padding-top: 4px;

                  & > div {
                    height: 65px;
                    border: 1px solid #e5e9ed;
                    border-radius: 5px;
                    background: #fff;

                    .item_type_cont_L {
                      height: 100%;
                      width: 85%;
                      float: left;
                      padding: 2px 12px;
                      overflow: auto;

                      .item_yq {
                        width: 24%;
                        height: 28px;
                        display: inline-block;
                        border: 1px solid #e5e9ed;
                        border-radius: 20px;
                        text-align: center;
                        line-height: 26px;
                        background: #f9fafb;
                        margin-right: 1%;
                        margin-bottom: 2px;
                        font-size: 12px;
                        padding-left: 8px;

                        span {
                          width: 75%;
                          float: left;
                          overflow: hidden;
                          text-overflow: ellipsis;
                          white-space: nowrap;
                        }

                        i {
                          font-size: 14px;
                          color: #999;
                          cursor: pointer;
                        }
                      }
                    }

                    .item_type_cont_R {
                      height: 100%;
                      width: 15%;
                      float: right;
                      text-align: center;
                      padding-top: 15px;
                      border-left: 1px solid #e5e9ed;
                      cursor: pointer;

                      i {
                        display: block;
                        font-size: 16px;
                      }

                      i:hover {
                        color: @primary-color;
                      }
                    }
                  }
                }
              }
            }
          }

          .cont2 {
            height: 150px;

            .item_types {
              height: 75px;

              .item_title {
                height: 35px;
              }

              .item_level {
                height: 35px;
              }
            }
          }
        }

        .Items_bott {
          border-top: 1px solid #e5e9ed;
          height: 34px;
          display: flex;

          & > div:hover {
            background: #f0f6ed;
          }

          & > div {
            cursor: pointer;
            flex: 1;
          }

          .stop {
            line-height: 34px;
            color: @primary-color;
            text-align: center;
          }

          .start {
            border-right: 1px solid #e5e9ed;
            height: 100%;
            line-height: 32px;
            text-align: center;
            color: @primary-color;
          }

          .delete {
            border-left: 1px solid #e5e9ed;
            height: 100%;
            line-height: 32px;
            text-align: center;
            color: #ff3b53;
          }
        }
      }
    }
  }

  .btns {
    display: flex;
    justify-content: center;
    align-items: center;

    button {
      margin: 9px;
      margin-bottom: 0;
    }
  }
}

// 关联信息-------
//详情模态框
.newOrder {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;

  .modalBody {
    width: 1000px; // height: 580px;
    background: #fff;
    border-radius: 5px;
    padding: 12px 20px;
    color: #333;
    font-size: 14px;

    .pagination {
      margin-top: 14px;
      margin-bottom: 14px;
      bottom: 12px;
      right: 5px;
    }

    .title {
      font-size: 18px;
      text-align: center;
      line-height: 24px;
      margin: 0;
      margin-bottom: 12px;
      position: relative;

      i {
        position: absolute;
        right: 0;
        top: 0;
        font-size: 20px;
        color: #666;
        cursor: pointer;
        padding: 0 5px;
      }
    }

    .content {
      width: 960px; // height: 474px;
      border: 1px solid #e5e9ed;
      background: #f9fafb;
      border-radius: 5px;
      overflow: hidden;

      .thead {
        background-image: linear-gradient(to right, @bg-start, @bg-end);

        th {
          background: transparent;
          color: #fff;
          text-align: center;
          font-size: 14px;
        }
      }

      .ant-table-body {
        // border-bottom: 1px solid #e5e9ed;
        background: #f9fafb;
      }

      .ant-table-tbody {
        background: #f9fafb;
        border: 1px solid #e5e9ed;

        tr {
          text-align: center;
          font-size: 14px;
          border: none;
          color: #333;

          td {
            border: none; // font-size: 14px;

            nz-input-number {
              width: 40px;
            }

            .coop {
              .line {
                margin: 10px;
              }

              span:nth-child(2n-1) {
                cursor: pointer;

                &:hover {
                  color: @primary-color;
                }

                &:active {
                  color: @primary-color;
                }
              }
            }
          }
        }

        tr:nth-child(even) {
          background: #fff;
        }
      }
    }
  }

  .btns {
    display: flex;
    justify-content: center;
    align-items: center;

    .btn {
      margin: 9px;
      margin-bottom: 0;
    }
  }
}
.pagination {
  margin-top: 25px;
  margin-bottom: 14px;
  bottom: 12px;
  right: 5px;
  position: relative;
  height: 30px;
  .page {
    position: absolute;
    right: 5px;
  }
}

.save {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99;

  .modalBody {
    width: 350px;
    height: 220px;
    background: #fff;
    border-radius: 5px;
    padding: 10px 20px;
    color: #333;

    .title {
      width: 100%;
      text-align: center;
      font-size: 18px;
      position: relative;

      i {
        position: absolute;
        right: 0;
        top: 0;
        font-size: 20px;
        color: #666;
        cursor: pointer;
        padding: 0 5px;
      }
    }

    .content {
      width: 310px;
      height: 117px;
      background: #f9fafb;
      border: 1px solid #e5e9ed;
      border-radius: 5px;
      overflow: hidden;
      margin-top: 12px;

      div {
        text-align: center;
        margin: 0;

        &.icon {
          margin-top: 17px;

          i {
            color: #34b349;
            font-size: 30px !important;

            &.transport-wenhao {
              color: #f5a523;
            }

            &.transport-shibai {
              color: #ff3a52;
            }
          }
        }

        &.defeat {
          color: #333;
          font-size: 18px;
        }

        &:nth-child(3) {
          font-size: 14px;
          color: #666;
        }
      }
    }

    button {
      margin-top: 10px;

      &.btn {
        margin-left: 8px;
      }
    }
  }

  // 新增
  &.add {
    .modalBody {
      width: 480px;
      height: auto;

      .content {
        width: 100%;
        height: auto;
        padding: 18px 14px 0 14px;

        .addForm {
          .ant-form-item {
            margin-bottom: 15px;

            .ant-form-item-label {
              line-height: 0;
              text-align: left;
            }
          }
        }

        .editForm {
          .ant-form-item {
            margin-bottom: 15px;

            .ant-form-item-label {
              line-height: 0;
              text-align: left;
            }
          }
        }
      }

      button {
        &:nth-child(1) {
          margin-right: 20px;
        }
      }
    }
  }
}
