@import "../../../../../src/theme.less";
:host {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #F0F2F5;
  .list-template__nzTable,
  .list-template__bottom{
    padding: 0!important;
    border: none!important;
    background: #fff!important;
  }
  .list-template{
    width: 100%!important;
    height: 100%!important;
  }
  #dictionary{
    margin: 24px 16px;
    .addressAssign{
      flex: 7;
    }
    .contentItem{
      margin: 0 16px;
      padding: 8px;
      text-align: center;
      &.active{
        background-color: @primary-color;
        color: #fff;
        border-radius: 4px;
      }
    }
    .contentBody{
      padding: 16px;
      min-height: 0;
      display: flex;
      flex-direction: column;
    }
    .contentBody2{
      flex: 1;
    }
    ::ng-deep .ant-form-item{
      margin-bottom: 0;
    }
    .dictionaryRow{
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      .orders{
        flex: 1;
        display: flex;
        justify-content: flex-end;
        align-items: center;
      }
      .name{
        width: 100px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
      }
      .value{
        flex: 3;
        display: flex;
        align-items: center;
        .valueInput{
          width: 600px;
        }
        .icon_transport{
          font-size: 20px;
          color: #8a8a8a;
          cursor: pointer;
        }
      }

    }
  }
  .content{
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #EEF3F9;
    &.priority{
      margin: 24px 118px 0;
      background-color: #fff;
      .contentInner{
        padding: 48px 206px;
        border: 1px solid #E8EBEF;
      }
    }
    .contentItem{
      padding: 4px 16px;
      cursor: pointer;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      &.active{
        color: @primary-color;
        background-color: #F0F6ED;
        border-radius: 4px;
      }
    }
    .contentInner{
      flex: 1;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 16px;
      gap: 16px;
      .contentHead{
        height: 45px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        padding: 0 16px;
        font-size: 16px;
        font-weight: bold;
        border-bottom: 1px solid #D9D9D9;
        .title{
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
        .btns{
          flex-shrink: 0;
        }
      }
      .contentBody{
        padding: 0 8px;
        margin: 4px 0;
        flex: 1;
      }
      .address{
        flex: 1;
        height: 100%;
        background: #FFFFFF;
        border: 1px solid #E8EBEF;
        display: flex;
        flex-direction: column;
        width: 0;
      }
      .addressAssign{
        flex: 3;
        height: 100%;
        background: #FFFFFF;
        border: 1px solid #E8EBEF;
        display: flex;
        flex-direction: column;
        width: 0;
      }
      .list-template__searchItem {
        margin-bottom: 16px;
        .label {
          color: #333;
          display: inline-block;
          width: 70px;
          text-align-last: justify;
          text-align: justify;
          &.label--big {
            width: 100px;
          }
        }
        .formItem {
          width: 135px;
        }
      }
    }
    .contentBtns{
      margin-bottom: 16px;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }
  .TaskTypeManagement {
    height: calc(100vh - 136px);
    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: 110%;
        width: 100%;
        height: 92%;
        // padding-right: 10%;
        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 {
      height: 100%;
      border: 1px solid #e5e9ed;
      background: #fff;
      color: #333;
      position: relative;

      .top {
        height: 61px;
        line-height: 60px;
        display: flex;
        align-items: center;
        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;
        // top: 0;
        // padding-top: 90px;
        background: #fff;
        height: 89%;
        overflow: auto;

        nz-form-label {
          margin-left: 0px !important;
        }
				
				.ant-select{
					width: 200px;
				}
				
				.width-200{
					width: 275px;
				}
				
        & > div {
          background: #f9fafb;
          border: 1px solid #e5e9ed;
          border-radius: 10px 10px 0px 0px;
          padding: 24px 120px;

          .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;
          }
        }
      }
    }
  }
}
